LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2008, 05:04 AM   #1
ypy13
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Rep: Reputation: 0
Question [emacs] bookmark-set: Buffer not visiting a file or directory


Today,I try to set a bookmark in my emacs,
i typed "C-x r m","M-x bookmark-set" neither of them worked,
but i get this message:
bookmark-set: Buffer not visiting a file or directory
I've googled,but seems like no one but me meet the problem...
Can anyone help me with this?
 
Old 01-01-2009, 06:11 AM   #2
ypy13
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

Anybody here?
 
Old 01-01-2009, 07:50 PM   #3
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Quote:
Originally Posted by ypy13 View Post
Today,I try to set a bookmark in my emacs,
i typed "C-x r m","M-x bookmark-set" neither of them worked,
but i get this message:
bookmark-set: Buffer not visiting a file or directory
I've googled,but seems like no one but me meet the problem...
Can anyone help me with this?
What are trying to bookmark? You have to be visiting a real file or directory. You can't bookmark something like *scratch* buffer.
 
Old 01-01-2009, 09:04 PM   #4
ypy13
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, that's it.
Thank you,vls.
I thought I could set a bookmark by writing a path to it. i'm wrong

Last edited by ypy13; 01-01-2009 at 09:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs - set file format? rose_bud4201 Linux - Software 3 06-12-2007 04:51 PM
Emacs Lisp - buffer name as part of compile-command jantman Programming 4 10-02-2006 09:32 PM
/usr/bin/emacs: No such file or directory...yet it exists andeity Linux - General 6 04-16-2006 09:54 PM
Lisp/Emacs: How to do a macro on a buffer-name with another extension LuisG Linux - Software 3 10-25-2004 10:26 PM
emacs buffer ! black Linux - Software 3 07-21-2004 10:57 PM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration