From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [dak@gnu.org: Where to ask for Info features?] Date: 05 Apr 2004 17:33:16 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200404051506.i35F6HO11985@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081180447 12080 80.91.224.253 (5 Apr 2004 15:54:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2004 15:54:07 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 05 17:53:55 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BAWQ7-00030Z-00 for ; Mon, 05 Apr 2004 17:53:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BAWQ6-00069p-00 for ; Mon, 05 Apr 2004 17:53:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BAWGo-0004Pe-40 for emacs-devel@quimby.gnus.org; Mon, 05 Apr 2004 11:44:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BAWGE-0004Oc-Hs for emacs-devel@gnu.org; Mon, 05 Apr 2004 11:43:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BAWFh-0004Ew-NX for emacs-devel@gnu.org; Mon, 05 Apr 2004 11:43:41 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BAW6C-0002Ak-HP for emacs-devel@gnu.org; Mon, 05 Apr 2004 11:33:20 -0400 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BAW65-0004SO-6O; Mon, 05 Apr 2004 11:33:13 -0400 Original-To: karl@freefriends.org (Karl Berry) In-Reply-To: <200404051506.i35F6HO11985@f7.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 47 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21284 karl@freefriends.org (Karl Berry) writes: > I was just asking for a way > in which an Info file can tell Emacs to do it. > > David, as I mentioned to you, You have to excuse my bad memory. > right now @image takes a bunch of optional arguments: > > @image{FILENAME[, WIDTH[, HEIGHT[, ALTTEXT[, EXTENSION]]]]} > > In the Info output (as of the upcoming release) this gets written as: > > ^@^H[image src="BINARYFILE" text="TXTFILE" > alt="ALTTEXT ... ^@^H] > > And the Info readers interpret/ignore this as they please. So this > is easily extendable with more image properties as they are needed. This looks rather like being just what I'd need. > I hope/assume the alttext will do for the help text. It certainly would. I just want to make sure that the info reader in Emacs would a) make the ALTTEXT, if specified, the base text onto which the image property gets attached, so that copy&paste and writing of buffer regions will save the ALTTEXT. b) have an option that will make the ALTTEXT also be the default for the tooltip help, like HTML browsers tend to do. I don't know whether this already is the case. Please excuse my ignorance in these matters: I am not yet working with this feature, but once I find time to do so, it would be inconvenient if I find that one of the very rare feature releases of Emacs happened in between and missed out on those semantics which certainly appear desirable to me. I am glad to hear that most of my worries appear to be unsubstantiated. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum