LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-22-2012, 02:16 AM   #1
ekinakoglu
Member
 
Registered: Jul 2007
Location: Turkey
Distribution: Slackware64 14.1
Posts: 30

Rep: Reputation: 15
Change which buffers loaded by default when Emacs is launched


Dear all,

Is there a way to change the buffers loaded by default when you first open Emacs? In my case, for I use "ESS" it is loaded by default along with the common "scratch" and "Messages" buffers. However, when I open multiple files in Emacs, switching through buffers with C-x and arrow keys becomes a pain due to its visiting also those default buffers along with the files in buffers I intentionally opened. And this is a waste of time and confusion for me each time. I would be glad if you can help me on the matter.

Cheers,
 
Old 02-22-2012, 07:12 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,434

Rep: Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192
Hi,

this is a common issue.

It seems you can automatically close buffers with lines like the following:
Code:
(kill-buffer "*scratch*")
An alternative, and perhaps better approach is to tell emacs to ignore those buffers when cycling through the buffer list. Searching the web reveals many different approaches to achieve this. Try a search like the following.

http://www.google.com/search?hl=en&q...uffers%20cycle

HTH,

Evo2.
 
  


Reply

Tags
buffer, emacs


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs: Enable minor mode in all buffers nb85 Programming 2 04-13-2009 03:56 PM
change grub boot order, all instructions say change default, but I don't see default mhg Linux - Newbie 5 11-09-2008 10:01 AM
How do you change default emacs behavior on .h files? BrianK Programming 4 02-26-2008 07:11 PM
LXer: Emacs tips: Windows and buffers LXer Syndicated Linux News 0 06-01-2006 09:03 AM
.emacs file and Scheme buffers jrdioko Linux - Software 0 09-30-2005 11:22 PM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration