From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: How start on a DIFFERENT buffer when start Emacs with MANY buffers at the same time?
Date: Fri, 12 Jul 2013 12:27:36 -0400 [thread overview]
Message-ID: <barmar-CB893E.12273612072013@news.eternal-september.org> (raw)
In-Reply-To: 87txjzvolz.fsf@VLAN-3434.student.uu.se
In article <87txjzvolz.fsf@VLAN-3434.student.uu.se>,
Emanuel Berg <embe8573@student.uu.se> wrote:
> > Chris Seberino <cseberino@gmail.com> writes:
>
> > Suppose you start Emacs with lots of files such as "emacs *.txt
> > *.c".
>
> and
>
> > I've noticed that Emacs will display the LAST email in sorted
> > order. How make it display the FIRST one in sorted order?
>
> Email? How do you mean, how is that related to the number of files
> you open Emacs with?
I think he meant "LAST file".
When you give Emacs multiple filenames on the command line, it acts as
if you'd opened them with find-file in the order given. So when it's
done, you end up in the last file.
The shell expands the wildcards. AFAIK, there's no way to customize the
order it expands them. You could do something like:
emacs $(ls *.txt *.c | tac)
If your OS doesn't have "tac", try "rev".
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
next prev parent reply other threads:[~2013-07-12 16:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 14:15 How start on a DIFFERENT buffer when start Emacs with MANY buffers at the same time? Chris Seberino
2013-07-12 14:28 ` Emanuel Berg
2013-07-12 16:27 ` Barry Margolin [this message]
2013-07-12 19:02 ` Emanuel Berg
2013-07-12 23:37 ` Barry Margolin
2013-07-13 16:46 ` Chris Seberino
2013-07-13 20:24 ` Thien-Thi Nguyen
2013-07-16 13:40 ` Kevin Rodgers
2013-07-12 19:04 ` Chris Seberino
2013-07-12 20:05 ` Peter Dyballa
2013-07-12 20:27 ` Thien-Thi Nguyen
[not found] ` <mailman.965.1373659534.12400.help-gnu-emacs@gnu.org>
2013-07-13 15:47 ` Chris Seberino
2013-07-13 15:57 ` Drew Adams
2013-07-12 18:34 ` Chris Seberino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=barmar-CB893E.12273612072013@news.eternal-september.org \
--to=barmar@alum.mit.edu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.