From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Tue, 18 Nov 2014 12:24:49 +0100 Message-ID: References: <20141102151524.0d9c665c@forcix> <20141117211039.37f03409@forcix> <85ppclgcec.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416309932 7242 80.91.229.3 (18 Nov 2014 11:25:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 11:25:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 18 12:25:24 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XqguQ-0006pr-0e for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 12:25:22 +0100 Original-Received: from localhost ([::1]:52493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqguP-0001cQ-I0 for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 06:25:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqguD-0001Iw-9N for emacs-devel@gnu.org; Tue, 18 Nov 2014 06:25:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xqgu5-0003X7-MX for emacs-devel@gnu.org; Tue, 18 Nov 2014 06:25:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:41480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqgu5-0003UG-G7 for emacs-devel@gnu.org; Tue, 18 Nov 2014 06:25:01 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xqgu4-0006i9-7Y for emacs-devel@gnu.org; Tue, 18 Nov 2014 12:25:00 +0100 Original-Received: from dial-183220.pool.broadband44.net ([212.46.183.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Nov 2014 12:25:00 +0100 Original-Received: from eller.helmut by dial-183220.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Nov 2014 12:25:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dial-183220.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:vb6Id5WwESqulcdbre+xcM2LXdw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:177537 Archived-At: On Tue, Nov 18 2014, Stephen Leake wrote: >> +(defvar find-definition-marker-ring >> + (make-ring find-definition-marker-ring-length) >> + "Ring of positions visited by `find-definition'.") > > This variable might want to be mode-specific, but not buffer-local; I'm > not sure how to accomplish that. I think this should be global and not mode-specific. Making it global makes it easier to switch between languages, e.g. from ELisp to C and back. Helmut