From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Should undefined behavior be encouraged in Emacs? Date: Fri, 7 Oct 2011 11:41:12 -0700 Message-ID: <6C81B346CD914F81A65CC5F74DBD5526@us.oracle.com> References: <4E89124D.8070405@cs.ucla.edu><4E895885.5060201@online.de><87ehyu1qk7.fsf@uwakimon.sk.tsukuba.ac.jp><4E89794F.8040706@online.de><87zkheg8xc.fsf@uwakimon.sk.tsukuba.ac.jp><874nzlsxwf.fsf@uwakimon.sk.tsukuba.ac.jp><4E8E0AB4.1050900@online.de> <20111007112652.2d07ffd4@resist.wooz.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318012899 933 80.91.229.12 (7 Oct 2011 18:41:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 18:41:39 +0000 (UTC) To: "'Barry Warsaw'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 20:41:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCFMT-0005GK-5r for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 20:41:33 +0200 Original-Received: from localhost ([::1]:37898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCFMS-0006uC-Ij for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 14:41:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCFMP-0006u4-7V for emacs-devel@gnu.org; Fri, 07 Oct 2011 14:41:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCFMN-0002BZ-Ho for emacs-devel@gnu.org; Fri, 07 Oct 2011 14:41:29 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:43419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCFMN-0002Ax-Cb for emacs-devel@gnu.org; Fri, 07 Oct 2011 14:41:27 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p97IfL1l023437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 Oct 2011 18:41:23 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p97IfKqZ023565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Oct 2011 18:41:21 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p97IfD7c023945; Fri, 7 Oct 2011 13:41:14 -0500 Original-Received: from dradamslap1 (/10.159.52.253) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 07 Oct 2011 11:41:13 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20111007112652.2d07ffd4@resist.wooz.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Thread-Index: AcyFBZ4O3gxWaLrUSJG1TNJsn0hHMgAFxWPQ X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090205.4E8F47D4.0058,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144713 Archived-At: > I've used Ken Manheimer's most awesome namedmarks code... > they allow you to name locations in the buffer. E.g. > C-u C-space -> Set named mark: here RET > > (move somewhere far away) > C-u C-x C-x -> Goto mark named (default here) RET > > jumps you back to the mark named 'here'. Of course, you can have > any number of named marks, and both prompts support completion. Good stuff. FWIW - 1. In Icicles you automatically have completion for (ordinary) markers - no need to stop and name any of them. Command `icicle-goto-marker' (`C-- C-SPC', same key as setting the mark) lets you complete against any part of the line the marker is in. You can also cycle among markers (any subset: those that match your current minibuffer input), in any sort order you like (default order: buffer position). You can change the sort order on the fly while completing. Likewise, for global markers: `icicle-goto-global-marker' (`C-- C-x C-SPC', same key as setting a global mark). 2. In Bookmark+ you can set autonamed bookmarks without providing any name, then jump to them or cycle among them. You can optionally have them be highlighted (in the fringe or with a face) - visible markers. The same key sets and deletes an autonamed bookmark (toggle). With a prefix arg, (upon confirmation) it deletes all of them in the current buffer. The automatic names are (by default) the buffer position + the buffer name, e.g., the autonamed bookmark in buffer foo.el at position 58356 is `000058356 foo.el'. The names are automatically updated to reflect buffer edits. http://www.emacswiki.org/emacs/BookmarkPlus#AutonamedBookmarks