From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: RefTeX Merge Date: Thu, 01 Nov 2012 15:05:21 +0100 Message-ID: <87390t8llq.fsf@caeruleus.net> References: <877grkehl2.fsf@caeruleus.net> <87k3uqsw4w.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1351778742 27574 80.91.229.3 (1 Nov 2012 14:05:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2012 14:05:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 01 15:05:52 2012 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 1TTvP5-000769-4k for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2012 15:05:51 +0100 Original-Received: from localhost ([::1]:46826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTvOw-0001qV-Lv for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2012 10:05:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTvOi-0001Gg-Ld for emacs-devel@gnu.org; Thu, 01 Nov 2012 10:05:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTvOh-0008OM-Ez for emacs-devel@gnu.org; Thu, 01 Nov 2012 10:05:28 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:64613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTvOh-0008Nj-52 for emacs-devel@gnu.org; Thu, 01 Nov 2012 10:05:27 -0400 Original-Received: from photon (p54A502C0.dip0.t-ipconnect.de [84.165.2.192]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0LhpBu-1SyUaW2Uok-00nJcv; Thu, 01 Nov 2012 15:05:24 +0100 In-Reply-To: <87k3uqsw4w.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Tue, 16 Oct 2012 09:39:59 +0200") X-Provags-ID: V02:K0:Yxc5q6NFuna+TDo8tTP9cUqezMXvWA+IbtdzLHbj8Hb dWYc4ojEE9tEQKDeSB7H+xeXV50Dtc7+rGQmcINuMZdGSkcUVr DMR9XY93hynwFpl2SJ5DIyDYtKkaYMPqNYhps6eNk1OhkJVYAn AODsyXjH2MIbo8fAcqZakSVfRXkoHG6n49frhId1aNgoXvfSzl AD92zCdQnzRPmddKJqL0DJ3C9tWqjnpsN28FY2xz3UzTTz+XxE to54RovKXkORy/ns1Zd86VD4csbONivwjcTvKUJoEHbFKLbpaE fpywFsSbxDY7u0s88hZa5pPEFnDhkeCCd+Tw4EMGbSHBSVR0g= = X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.186 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:154615 Archived-At: * Tassilo Horn (2012-10-16) writes: > I've seen the reftex changes have landed in emacs/trunk. As far as I > can see, it works just fine. Now after the merge, even the TAB > completion for bib-entries at the `reftex-citation' prompt works > again. :-) Good to know. (c: > One thing which seems a bit inconvenient to me is `reftex-reference' now > always querying if one wants a \ref or \pageref. You can turn this off by setting `reftex-ref-macro-prompt' to nil. IIRC I made t the default value because other reference styles (see `reftex-ref-style-alist') offer macros in addition to \ref and \pageref. With the prompt enabled it is quite convenient to insert those. And it is also easier to insert \pageref with the prompt. > This is made even a > bit stranger by the fact that this query pops up a selection window > immediately, whereas the next query (which labels to show) starts > without a window (it pops up only after some idle time). IMO, either > both should pop up the selection window immediately, or both should > start with a minibuffer message and pop up the full selection window > after some idle time. It should not be too difficult to make both behave identically because both are implemented by calling `reftex-select-with-char'. Personally I don't have a problem in them behaving differently. I dunno if one gets so familiar with the shortcuts used for the reference styles that it is not necessary anymore to display the selection buffer. But people are likely quite familiar with the shortcuts for the label types and there it makes sense to display the selection buffer only after a short delay. > And can't the \ref or \pageref question be guessed with rather high > certainty anyway? E.g. only if the preceeding word is "page", "Seite", > "página", etc, one wants a \pageref, else we want a \ref. That would be convenient if we were only dealing with \ref and \pageref. But what about the macros offered by the other reference styles? For those you'd need the prompt nevertheless. > Anyway, thanks a lot for your work! I'm pretty sure that wasn't much > fun. And it took quite some time because I merged "by hand". (c: > Is the reftex CVS now officially obsolete, so that when I change > reftex stuff in emacs I don't need to fiddle the change in there, too? Yes, I guess it is obsolete. I still plan to do a final release based on the state which is in CVS but I don't think it is necessary to merge anything from the Emacs repository until then. -- Ralf