comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Emacs and long file names
Date: Mon, 24 May 2010 14:24:33 -0700 (PDT)
Date: 2010-05-24T14:24:33-07:00	[thread overview]
Message-ID: <755de929-67b4-4de6-8982-a0bfc43effc0@z15g2000prh.googlegroups.com> (raw)

This isn't really about Ada, but I figure it probably affects readers
of this newsgroup more than many others.

I've been using GNU Emacs for my Ada sources for a long time.
Recently, I needed it on a new machine, so I installed a recent
version of GNU Emacs.  A major annoyance is that the Electric Buffer
List now truncates file names to 20-22 characters; older versions
would try to display the whole file name but truncate some of the
other information.  (I like using an 80-character width.)  This may
not be a problem for a typical C user, but many of the publicly
available Ada packages use file names built from all the ancestor and
child package names, with an .ads or .adb extension (spec/body).  If I
go to the Electric Buffer List to select a buffer, and I've already
loaded both the .ads and .adb files, I can't tell from the list which
is which, and I have to try to guess whether I'm selecting the .ads or
the .adb file.

I asked the Emacs newsgroup whether there was a solution.  There seem
to be some possible lame solutions, which I haven't looked into, but I
also recall someone commenting that I should just switch to using
shorter file names like the rest of the world.  Pretty inane, not just
the idea that I should redo all my own file naming conventions to suit
the editor, but they didn't even consider that I might be using
someone else's package of files and don't have control over the
naming.  Anyway, (1) I figured I'd get more sympathy for my whining on
this newsgroup, plus (2) I thought maybe some other Ada user who had
run into a similar problem had a solution.  If so, I'd appreciate any
thoughts.

                               -- thanks, Adam



             reply	other threads:[~2010-05-24 21:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24 21:24 Adam Beneschan [this message]
2010-05-24 22:04 ` Emacs and long file names Simon Wright
2010-05-25  2:44   ` Stephen Leake
2010-05-25 16:42     ` Adam Beneschan
2010-05-25 17:23       ` Ludovic Brenta
2010-05-25 19:33         ` Warren
2010-05-26  7:42           ` Stephen Leake
2010-05-27 16:55             ` Warren
2010-05-25 19:07       ` Simon Wright
2010-05-26  7:35       ` Stephen Leake
2010-05-26 15:17         ` Adam Beneschan
2010-05-26 15:42           ` Jeffrey R. Carter
2010-05-26 21:39             ` Peter C. Chapin
2010-05-27 17:00             ` Warren
2010-05-28 12:52               ` Stephen Leake
2010-05-28 15:18                 ` Warren
2010-05-29 17:15                   ` Stephen Leake
2010-05-26 12:42       ` Peter C. Chapin
2010-05-26 14:26         ` Jeffrey R. Carter
2010-05-26 21:24           ` Simon Wright
2010-05-26 23:30             ` Jeffrey R. Carter
2010-05-27  5:43               ` Simon Wright
2010-05-25  2:36 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox