From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#11529: redoing gnulib import to avoid 8+3 glitches Date: Mon, 21 May 2012 12:05:17 -0700 Organization: UCLA Computer Science Department Message-ID: <4FBA91ED.8030605__32721.929861191$1337627191$gmane$org@cs.ucla.edu> References: <4FB9B2B5.3000807@cs.ucla.edu> <83txz9xvsm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337627191 21475 80.91.229.3 (21 May 2012 19:06:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 May 2012 19:06:31 +0000 (UTC) Cc: 11529-done@debbugs.gnu.org, Gnulib bugs To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 21 21:06:30 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SWXw5-0006Ry-6C for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 May 2012 21:06:29 +0200 Original-Received: from localhost ([::1]:39258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWXw4-0007LL-JR for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 May 2012 15:06:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWXw1-0007KV-7y for bug-gnu-emacs@gnu.org; Mon, 21 May 2012 15:06:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWXvz-0000tp-91 for bug-gnu-emacs@gnu.org; Mon, 21 May 2012 15:06:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWXvz-0000tZ-5F for bug-gnu-emacs@gnu.org; Mon, 21 May 2012 15:06:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SWXwb-0006uB-Tl for bug-gnu-emacs@gnu.org; Mon, 21 May 2012 15:07:02 -0400 Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 May 2012 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 11529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 11529@debbugs.gnu.org, eggert@cs.ucla.edu Original-Received: via spool by 11529-done@debbugs.gnu.org id=D11529.133762716726475 (code D ref 11529); Mon, 21 May 2012 19:07:01 +0000 Original-Received: (at 11529-done) by debbugs.gnu.org; 21 May 2012 19:06:07 +0000 Original-Received: from localhost ([127.0.0.1]:37593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWXvi-0006sx-0p for submit@debbugs.gnu.org; Mon, 21 May 2012 15:06:06 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:52527) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWXvf-0006sO-KJ for 11529-done@debbugs.gnu.org; Mon, 21 May 2012 15:06:04 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id AF57339E8007; Mon, 21 May 2012 12:05:18 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2rX-PpIef25j; Mon, 21 May 2012 12:05:17 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id DBB3639E8006; Mon, 21 May 2012 12:05:17 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 In-Reply-To: <83txz9xvsm.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60266 Archived-At: Re , Eli Zaretskii wrote: > Could the offending file be renamed in gnulib in some way that > eliminates the problem? We asked about that earlier, and the consensus on the gnulib side was that porting to 8+3 file name restrictions was outside gnulib's scope. The solution that we came up at the time was to have the Emacs sync-from-gnulib (now merge-gnulib) procedure rename a file both before and after gnulib-tool, temporarily, so that gnulib-tool sees the long file name but Emacs otherwise sees the short one. Unfortunately this has proved to be a problem in practice. One way to satisfy your request would be to add a gnulib-tool option such as --file-name-prefix=PREFIX (default "gnulib-") so that gnulib-tool can generate differently-named files that will happen to fit in 8+3 limits if Emacs uses --file-name-prefix="gl-". Unfortunately gnulib-tool is a 6700-line shell script with a reasonable amount of complexity re caching and inferring file name options; I briefly looked into writing and debugging such a change but it looked like it might be more trouble than it's worth. There's a project to rewrite gnulib-tool from scratch, for performance reasons. Maybe adding such an option will be easier if and when that's done. I'll CC: this message to bug-gnulib to give that project a heads-up about this need. > If not, just leave the file at its original name, without any changes > to MS-DOS specific files, and I will find my own solution that will > not bother anyone but me. OK, thanks, that's simple, and I've done that for now and am closing bug 11529. We can improve this if and when gnulib-tool gets that option.