From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: port x-symbol to GNU emacs 24. Date: Fri, 14 Aug 2015 18:05:50 +0200 Message-ID: <87pp2pq2ht.fsf@gnu.org> References: <87oaia6ict.fsf@mat.ucm.es> <837foxor1t.fsf@gnu.org> <878u9d7vdg.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439568384 17032 80.91.229.3 (14 Aug 2015 16:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 16:06:24 +0000 (UTC) Cc: Eli Zaretskii , XEmacs Beta Discussion , emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 18:06:09 2015 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 1ZQHUd-0000os-QY for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2015 18:06:07 +0200 Original-Received: from localhost ([::1]:47106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHUd-0003eH-16 for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2015 12:06:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHUX-0003eB-4E for emacs-devel@gnu.org; Fri, 14 Aug 2015 12:06:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQHUS-0003FH-1r for emacs-devel@gnu.org; Fri, 14 Aug 2015 12:06:01 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHUR-0003F4-II for emacs-devel@gnu.org; Fri, 14 Aug 2015 12:05:55 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9CF822272D for ; Fri, 14 Aug 2015 12:05:54 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 14 Aug 2015 12:05:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=dajc7KaaWK5l/Rg4JUO2iy6cIzE=; b=dfiIS jW7a31KxpC9wEhHUxpeqGb89JrOGUmh0zAFGs7187r0VuHI998XBTvIHQD2xHDtc +sCmewuSpBYvGj/v5rauL/TXL7dc3LHU9NTGVF2WvLk+TnGRdbzoK5KogjW7sg2d MQgIoC7SfzWXpnklK3OzxiWz/Q4NB4xJ5EVafk= X-Sasl-enc: Phe05IZVnTTGlL4ivjebmsoCPi4TqG/mNcubmd4dQgzV 1439568354 Original-Received: from thinkpad-t440p (unknown [2.162.69.248]) by mail.messagingengine.com (Postfix) with ESMTPA id 764D9C00021; Fri, 14 Aug 2015 12:05:53 -0400 (EDT) Mail-Followup-To: Uwe Brauer , Eli Zaretskii , emacs-devel@gnu.org, XEmacs Beta Discussion In-Reply-To: <878u9d7vdg.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 14 Aug 2015 15:16:59 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 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:188797 gmane.emacs.xemacs.beta:39297 Archived-At: Uwe Brauer writes: > > What features are those you don't see elsewhere in Emacs? (I'm > > specifically asking about GNU Emacs, not XEmacs.) > > I think a picture says more than 1000 words, here is a screenshot. (I > hope it will not be blocked). Well, I guess you could use Emacs' built-in `prettify-symbols-mode' in order to display TeX macros using some unicode characters (or preview-latex of course). > > GNU Emacs doesn't have extents and specifiers. > > But what would provide a similar feature? I hoped somebody on the > list could tell me. Emacs' overlays serve the same purpose as XEmacs' extents, and I think there is or has been some 3rd-party package providing a unified API for overlays and extents. But I have no clue what specifiers are... > > My suggestion is to use the equivalent features provided by GNU > > Emacs. If you tell which features you miss, people here could > > advise you about the replacements, either in core or in add-on > > packages. > > Ok, so I have to dig more into the code or hope that somebody in > xemacs-beta could point me out what is the GNU emacs equivalent to > those functions. I still wonder how x-symbol could have worked under > GNU emacs 21, given that extents and specifiers did not exist neither > for emacs 21. I just downloaded x-symbol 4.5.1, and in its x-symbol-emacs.el there are several aliases defined for things that error for you. For example, `map-extents' is made an alias for `cl-map-overlays'. So you have to load that first. Well, eventually when loading x-symbol.el I also got an wrong-number-of-arguments error but that's probably an incompatibility which is easy to fix. Bye, Tassilo