From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Goedson Teixeira Paixao Newsgroups: gmane.linux.debian.devel.bugs.general,gmane.emacs.devel Subject: Bug#469486: emacs22-common: partial-complete adds ".h" to filename without trying the plain input first Date: Wed, 05 Mar 2008 15:36:06 -0300 Organization: Debian Project Message-ID: <1204742167.26268.8.camel@framps> References: <1204726142.22737.10.camel@framps> <87ejap9jvz.fsf@gmx.de> <871w6poyyx.fsf@stupidchicken.com> Reply-To: Goedson Teixeira Paixao , 469486@bugs.debian.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-wuZyUDdVBcYTg6Dwk5H7" X-Trace: ger.gmane.org 1204742579 27347 80.91.229.12 (5 Mar 2008 18:42:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 18:42:59 +0000 (UTC) Cc: goedson@debian.org, Sven Joachim , 469486@bugs.debian.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: bounce-debian-bugs-dist=glddb-debian-bugs-dist=m.gmane.org@lists.debian.org Wed Mar 05 19:43:22 2008 Return-path: Envelope-to: glddb-debian-bugs-dist@m.gmane.org Original-Received: from liszt.debian.org ([82.195.75.100]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWya2-00085S-9W for glddb-debian-bugs-dist@m.gmane.org; Wed, 05 Mar 2008 19:43:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with QMQP id E38DF13A5E8C; Wed, 5 Mar 2008 18:42:32 +0000 (UTC) Old-Return-Path: Original-Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with ESMTP id AA14E13A5E6B for ; Wed, 5 Mar 2008 18:42:32 +0000 (UTC) Original-Received: from liszt.debian.org ([127.0.0.1]) by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525) with ESMTP id 01163-53 for ; Wed, 5 Mar 2008 18:42:28 +0000 (UTC) Original-Received: from rietz.debian.org (rietz.debian.org [140.211.166.43]) by liszt.debian.org (Postfix) with ESMTP id 875F013A5E52; Wed, 5 Mar 2008 18:42:28 +0000 (UTC) Original-Received: from debbugs by rietz.debian.org with local (Exim 4.63) (envelope-from ) id 1JWyWA-0004n0-AD; Wed, 05 Mar 2008 18:39:06 +0000 X-Loop: owner@bugs.debian.org Resent-From: Goedson Teixeira Paixao Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Rob Browning Resent-Date: Wed, 05 Mar 2008 18:39:05 +0000 Resent-Message-ID: X-Debian-PR-Message: report 469486 X-Debian-PR-Package: emacs22-common X-Debian-PR-Keywords: X-Debian-PR-Source: emacs22 Original-Received: via spool by 469486-submit@bugs.debian.org id=B469486.12047421802626 (code B ref 469486); Wed, 05 Mar 2008 18:39:05 +0000 Original-Received: (at 469486) by bugs.debian.org; 5 Mar 2008 18:36:20 +0000 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5] helo=swarthymail-a3.g.dreamhost.com) by rietz.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JWyTU-0000g0-13 for 469486@bugs.debian.org; Wed, 05 Mar 2008 18:36:20 +0000 Original-Received: from [192.168.100.66] (BHE201062171136.res-com.wayinternet.com.br [201.62.171.136]) by swarthymail-a3.g.dreamhost.com (Postfix) with ESMTP id CCA4C7F018; Wed, 5 Mar 2008 10:36:15 -0800 (PST) In-Reply-To: <871w6poyyx.fsf@stupidchicken.com> X-Mailer: Evolution 2.12.3 Resent-Date: Wed, 05 Mar 2008 18:39:06 +0000 X-Virus-Scanned: at lists.debian.org with policy bank bug X-Spam-Status: No, score=-7 tagged_above=3.6 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] X-Spam-Level: X-Debian-Message: from BTS X-Mailing-List: archive/latest/298753 X-Loop: debian-bugs-dist@lists.debian.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-bugs-dist-request@lists.debian.org Xref: news.gmane.org gmane.linux.debian.devel.bugs.general:381115 gmane.emacs.devel:91402 Archived-At: --=-wuZyUDdVBcYTg6Dwk5H7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Em Qua, 2008-03-05 =C3=A0s 12:35 -0500, Chong Yidong escreveu: > Sven Joachim writes: > >> 1 - enable partial-complete-mode > >> 2 - Add a directory containing a file without an extension in its > name > >> to the list PC-include-file-path. (add-to-list > 'PC-include-file-path > >> "/usr/include/c++/4.2") is enough if you have libstdc++6-4.2-dev > >> installed. > >> 3 - Invoke find-file (C-x C-f) and type "" as the name of > file > >> to find. > >> 4 - emacs will complain there is no header named "list.h" when it > >> should have loaded "/usr/include/c++/4.2/list" >=20 > This is ambiguous, because the docstring for PC-include-file-path says >=20 > A list of directories in which to look for include files. >=20 > This seems to imply that PC-include-file-path won't be searched for > files that aren't explicitly include files. You're right. But we can't decide on what is or what is not an include file based only in the filename extension. In the example cited above, "list" is a perfectly legal include file from the C++ STL. And most of the headers (if not all) from the Standard C++ library don't have names ending in ".h". > However, I don't use > partial-completion-mode, so I'd like the opinions of those who do use > it. (If the users agree with this change, we can add it to the branch > after 22.2 is released.) As you may guess by the name of the bug submiter, I'm in favor of this change ;) --=20 Goedson Teixeira Paixao http://mundolivre.wordpress.com/ Debian Project http://www.debian.org/ Jabber ID: goedson@jabber.org http://www.jabber.org/ --=-wuZyUDdVBcYTg6Dwk5H7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHzugW7tjUzB3rjq4RAmeOAJ9EQkebz/JHMKvw/4+tjUYf8eAGmQCcCYQR BeGVSt80T/DoPzdS/hcSKQg= =fpGf -----END PGP SIGNATURE----- --=-wuZyUDdVBcYTg6Dwk5H7--