From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67475 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with gnus-article-hide-citation Date: Mon, 29 Sep 2008 11:25:12 +0200 Message-ID: References: <87y71eeav9.fsf@pcdesk.net> <87r675r1m3.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222680400 25398 80.91.229.12 (29 Sep 2008 09:26:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2008 09:26:40 +0000 (UTC) Cc: Tyler Spivey To: ding@gnus.org Original-X-From: ding-owner+M15926@lists.math.uh.edu Mon Sep 29 11:27:35 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KkF2U-0003kv-Mb for ding-account@gmane.org; Mon, 29 Sep 2008 11:27:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KkF0M-0002g8-Bd; Mon, 29 Sep 2008 04:25:22 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KkF0K-0002fs-R9 for ding@lists.math.uh.edu; Mon, 29 Sep 2008 04:25:20 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KkF0G-0005Ac-On for ding@lists.math.uh.edu; Mon, 29 Sep 2008 04:25:20 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KkF0L-0003lu-00 for ; Mon, 29 Sep 2008 11:25:21 +0200 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by m61s02.vlinux.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KkF0v-0000KV-JH; Mon, 29 Sep 2008 11:25:57 +0200 Mail-Copies-To: never Mail-Followup-To: ding@gnus.org, Tyler Spivey In-Reply-To: (Katsumi Yamaoka's message of "Mon, 29 Sep 2008 08:28:03 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.90 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67475 Archived-At: Katsumi Yamaoka writes: > I doubted the behavior of C-a (i.e. move-beginning-of-line) is > really useful. It moves the point to the next visible field, > but shouldn't it be the end of the previous visible field (or > the beginning of the buffer)? Anyway, how about trying the > following for a while? It is just what Emacs 21 does: > > (global-set-key "\C-a" 'beginning-of-line) The problem is that the hidden text practically shadows the first character of the visible one. You may try this with the following test code: (save-excursion (set-buffer (get-buffer-create "invtest")) (erase-buffer) (insert "\naaaaa\nbbbbb\n") (goto-char (point-min)) (forward-line 1) (set-text-properties (point) (1+ (point-at-eol)) '(invisible t intangible t))) Now switch to the buffer "invtest", and put the cursor on the first "b". Doing C-x = here will show the hidden "a" on position 2. If you go one step to the right, C-x = will (correctly) show the second "b" at position 9. In fact, it seems you cannot really access the first "b" at position 8 through cursor movements. Therefore, EmacsSpeak would not only have to ignore invisible text, but skip it until it reaches the first visible character. This seems rather odd to me, and I also didn't expect that behavior after reading the section on invisible text in the ELisp reference. -David