From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,82dadb8a32a5cd0b,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!z15g2000prh.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Emacs and long file names Date: Mon, 24 May 2010 14:24:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <755de929-67b4-4de6-8982-a0bfc43effc0@z15g2000prh.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1274736273 891 127.0.0.1 (24 May 2010 21:24:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 May 2010 21:24:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z15g2000prh.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11936 Date: 2010-05-24T14:24:33-07:00 List-Id: 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