From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ? Date: Sun, 01 Feb 2015 14:55:53 +0100 Message-ID: <87y4ohlora.fsf@web.de> References: <90b92a22-d34c-4f7e-953e-74444f42e767@googlegroups.com> <54CB109E.1030802@gmail.com> <54CC1410.1050408@gmail.com> <54CC2360.20102@gmail.com> <54CC2420.9050306@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422798973 30311 80.91.229.3 (1 Feb 2015 13:56:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 13:56:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Christian Seberino Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 14:56:12 2015 Return-path: Envelope-to: geh-help-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 1YHv0W-0005VO-1h for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 14:56:12 +0100 Original-Received: from localhost ([::1]:50579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHv0V-0005dU-H8 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 08:56:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHv0L-0005dI-5c for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 08:56:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHv0I-0007LC-12 for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 08:56:01 -0500 Original-Received: from mout.web.de ([212.227.17.12]:60874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHv0H-0007L7-Ok for help-gnu-emacs@gnu.org; Sun, 01 Feb 2015 08:55:57 -0500 Original-Received: from drachen.dragon ([90.187.65.108]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0Lz3BE-1XeTYy0uKu-014CYB; Sun, 01 Feb 2015 14:55:56 +0100 In-Reply-To: <54CC2420.9050306@gmail.com> (Christian Seberino's message of "Fri, 30 Jan 2015 18:38:56 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:2rVZMix60/xDa+kESPFeO+xrLshfAeExLYZ9u+Q1Llsk2d3UwHU /NVDzoIUzNx6SfzFA8W15tsWATJjVOKqw59Aq5lg1PCzSgy0EU2mwoc/c1j3RSMD1ycPsxj OqlTCbhnACb1LaM0yCBX3oTHPFx9PPDFg9BOJQmtLDirsS6nfciwtNduNcDZHQDWkCuhi9N osx9IR8vTmnt8UqdhAOFw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102423 Archived-At: Christian Seberino writes: > (define-abbrev-table > 'tramp-abbrev-table > '(("d" "/ssh:cs@philfour.com:/home/cs/Ws") > ("dr" "/ssh:cs@philfour.com|su:philfour.com:/home") > ("w" "/ssh:cs@services.philfour.com:/home/webwork_custom") > ("wr" "/ssh:cs@services.philfour.com|su:services.philfour.com:/home"))) > > (add-hook 'minibuffer-setup-hook (lambda () > (abbrev-mode t) > (setq local-abbrev-table > tramp-abbrev-table))) > > (defadvice minibuffer-complete > (before my-minibuffer-complete activate) > (expand-abbrev)) I tried this and invoked `find-file-read-args'. I don't see any tab character inserted or being left, I get the expected behavior, with all Emacs versions I tried. Of course I can't connect to your hosts. But really, all the trouble you may provoke with your hack is IMHO much worse than getting used to the "Find file" wording. Michael.