From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: bug with file name completing Date: Sat, 08 Oct 2005 03:05:27 +0300 Organization: JURTA Message-ID: <87vf08x1gr.fsf@jurta.org> References: <20051007.062959.123909205.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128742474 26113 80.91.229.2 (8 Oct 2005 03:34:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2005 03:34:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 08 05:34:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EO5SQ-0007To-7A for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2005 05:33:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EO5SP-0001Oh-05 for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2005 23:33:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EO5SE-0001OC-EX for emacs-devel@gnu.org; Fri, 07 Oct 2005 23:32:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EO5SC-0001Ny-Qj for emacs-devel@gnu.org; Fri, 07 Oct 2005 23:32:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EO5SC-0001Nv-OA for emacs-devel@gnu.org; Fri, 07 Oct 2005 23:32:56 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EO5SB-0006ye-Bz; Fri, 07 Oct 2005 23:32:55 -0400 Original-Received: from mail.neti.ee (80-235-37-160-dsl.mus.estpak.ee [80.235.37.160]) by Relayhost1.neti.ee (Postfix) with ESMTP id 8FC59170C; Sat, 8 Oct 2005 06:33:05 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 07 Oct 2005 15:09:02 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43675 Archived-At: > This is the completion-ignored-extensions feature at work. > .pdf is ignored; .ps is not, because (the idea is) that's a language > people sometimes edit. > > In fact, nearly all .ps files are generated by programs, just as .pdf > files are. Should we add .ps to completion-ignored-extensions? There are not many reasons to treat .ps differently than .pdf nowadays. So I think the question is whether to add them both to completion-ignored-extensions or to remove them both from it. I want to remind that completion-ignored-extensions is used also by dired to display files with these extensions in a different face. There is actually no problem to have .ps and .pdf files name displayed differently than other files, but what is bad is that dired-x uses completion-ignored-extensions to omit files from dired buffers. .ps, .pdf and .dvi files contain the resulting material that users very likely may want to view via external programs calling a shell command on them. So removing them from the dired buffer is not a good choice. Omitting the files in dired-x is controlled by the variable dired-omit-extensions created from the value of completion-ignored-extensions. I suggest to remove .pdf and .dvi from the default value dired-omit-extensions. -- Juri Linkov http://www.jurta.org/emacs/