From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: next-history-element and previous-history-element could point be moved to the end of the input? left at the front of input Date: Sat, 16 Aug 2008 10:58:43 -0700 Message-ID: <18599.5459.272937.69350@gargle.gargle.HOWL> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218909548 23923 80.91.229.12 (16 Aug 2008 17:59:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2008 17:59:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 16 20:00:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KUQ4C-00047f-SD for ged-emacs-devel@m.gmane.org; Sat, 16 Aug 2008 19:59:57 +0200 Original-Received: from localhost ([127.0.0.1]:45145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUQ3G-0003SU-9U for ged-emacs-devel@m.gmane.org; Sat, 16 Aug 2008 13:58:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUQ36-0003OT-4S for emacs-devel@gnu.org; Sat, 16 Aug 2008 13:58:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUQ34-0003Nt-Ux for emacs-devel@gnu.org; Sat, 16 Aug 2008 13:58:47 -0400 Original-Received: from [199.232.76.173] (port=36279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUQ34-0003No-Dr for emacs-devel@gnu.org; Sat, 16 Aug 2008 13:58:46 -0400 Original-Received: from qmta03.emeryville.ca.mail.comcast.net ([76.96.30.32]:60179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KUQ34-000109-4T for emacs-devel@gnu.org; Sat, 16 Aug 2008 13:58:46 -0400 Original-Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id 2zxp1a0020lTkoCA35ykCA; Sat, 16 Aug 2008 17:58:44 +0000 Original-Received: from localhost ([71.202.191.236]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id 35yj1a01k56Ur8v8Q5yjWd; Sat, 16 Aug 2008 17:58:44 +0000 X-Authority-Analysis: v=1.0 c=1 a=BfvqUyfZRhkA:10 a=-QCOEATXOPsA:10 a=2z1OXlWFAAAA:8 a=EkPCuHnf265cMYICCY8A:9 a=3W4JKthXrlQgH2W8euA0zS1-TWwA:4 a=MSl-tDqOz04A:10 a=50e4U0PicR4A:10 Original-Received: by localhost (Postfix, from userid 1000) id 8BC4012A4101; Sat, 16 Aug 2008 10:58:43 -0700 (PDT) X-Mailer: VM alpha-479 under Emacs 23.0.60.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:102537 Archived-At: Hi, At present, commands next-history-element and previous-history-element when used in the minibuffer leave point at the front of the minibuffer input. Could this be changed so that point is left at the end? Justification: If you pass a default value to functions like completing-read, that default value can be brought into the minibuffer via M-n. But if you then want to have this input passed to a custom completer -- one needs to move point to the end of the minibuffer before hitting tab --- if you just hit tab after hitting M-n, the custom completer receives the empty string as input, and will consequently fail. -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs