From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Removing rollback from VC mode - request for comment Date: Wed, 17 Dec 2014 16:01:15 -0500 Message-ID: References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <87y4qcj2mq.fsf@mat.ucm.es> <87mw6sdetf.fsf@fencepost.gnu.org> <87tx10iya1.fsf@mat.ucm.es> <87iohgdarf.fsf@fencepost.gnu.org> <87wq5wa8s7.fsf@mat.ucm.es> <87tx0zsxq5.fsf@mat.ucm.es> <87wq5vy3qh.fsf@mat.ucm.es> <87bnn68jdr.fsf@mat.ucm.es> <87oar4es1d.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418850143 32344 80.91.229.3 (17 Dec 2014 21:02:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2014 21:02:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 17 22:02:16 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 1Y1Ljb-0003TY-HF for ged-emacs-devel@m.gmane.org; Wed, 17 Dec 2014 22:02:15 +0100 Original-Received: from localhost ([::1]:51516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Lja-0008NN-Ql for ged-emacs-devel@m.gmane.org; Wed, 17 Dec 2014 16:02:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1LjG-0008N2-9B for emacs-devel@gnu.org; Wed, 17 Dec 2014 16:02:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1Lj2-0004FB-Vp for emacs-devel@gnu.org; Wed, 17 Dec 2014 16:01:54 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:51299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Lj2-0004Ez-Rs for emacs-devel@gnu.org; Wed, 17 Dec 2014 16:01:40 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5E79D85A48; Wed, 17 Dec 2014 16:01:40 -0500 (EST) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 571581E5B8A; Wed, 17 Dec 2014 16:01:15 -0500 (EST) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 361C1B40DF; Wed, 17 Dec 2014 16:01:15 -0500 (EST) In-Reply-To: <87oar4es1d.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 15 Dec 2014 18:34:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:180249 Archived-At: >> completely depends on your particular setup. Maybe if you post >> a snapshot showing the symbols chosen by Emacs for the actual characters >> alongside the symbols displayed by X-Symbol for the corresponding TeX >> commands, someone will be able to help you get Emacs to choose >> better symbols. > Here are two snapshots attached below Hmm... the sizes are very different, which might be a significant part of the explanation. Of course the bad karma of using XEmacs might be the main reason why things turn out so poorly for you ;-) It seems that the symbols provided by X-Symbol have wildly varying sizes, which seems to fit your expectations (since you say you like it), but can't be matched by a simple font since usually fonts try to stick to a "governing" font size. So, to reproduce the X-Symbol size variations, you'd have to use a an additional set of font-lock rules that change the size of some characters such as the =CE=A3 used in sums. Of course, in my area, we don't use sums, so when =CE=A3 appears, it is typically just the name of some environment and shouldn't be any larger than a normal capital letter. >> That's just a conscious choice of the font-lock settings used in >> tex-mode.el. You could easily tweak those settings to additionally hide >> the _ or ^ characters. > Can you give me an example. I have never seen such settings would be > most welcome. Look at the font-lock rules used for the sub/superscript in tex-mode.el and adjust them to place an `invisible' property on the ^/_ char. Search for `tex-fontify-script' which is the boolean variable which governs whether or not font-lock should raise/lower the super/subscripts in (la)tex-mode. >> Indeed. There's also no input method corresponding to the X-Symbol's >> symbol menu, nor for its symbol table (which displays the symbols in > Now I don't understand you. If I use (set-input-method "TeX") (or > something like this) > typing \alpha results in =CE=B1 but the same happens in a LaTeX buffer wi= th > x-symbol-mode (-minor) turned on. In this sense X-symbol provides a > input method (otherwise it would be very clumsy to use), or what do I mis= s? I didn't say X-Symbol doesn't provide an input method. I said the opposite: that there is no non-X-Sybmol input methods that correspond to X-Symbol's symbol menu nor to X-Symbol's table (both of which are kinds of input method). Stefan