From unknown Mon Jun 23 18:26:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14881 <14881@debbugs.gnu.org> To: bug#14881 <14881@debbugs.gnu.org> Subject: Status: 24.3.50; Odd cursor movement with images (or lines with different heights?) Reply-To: bug#14881 <14881@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:26:12 +0000 retitle 14881 24.3.50; Odd cursor movement with images (or lines with diffe= rent heights?) reassign 14881 emacs submitter 14881 Lars Magne Ingebrigtsen severity 14881 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 13:58:16 2013 Received: (at submit) by debbugs.gnu.org; 16 Jul 2013 17:58:16 +0000 Received: from localhost ([127.0.0.1]:58900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uz9Vu-0000Tk-RF for submit@debbugs.gnu.org; Tue, 16 Jul 2013 13:58:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47155) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uz9Vp-0000TC-Iu for submit@debbugs.gnu.org; Tue, 16 Jul 2013 13:58:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz9Vc-0003Nr-K5 for submit@debbugs.gnu.org; Tue, 16 Jul 2013 13:58:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9Vc-0003Nd-Et for submit@debbugs.gnu.org; Tue, 16 Jul 2013 13:57:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9VX-0006gp-Ai for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:57:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz9VR-0003Hx-T9 for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:57:51 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:51664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9VR-0003En-G8 for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 13:57:45 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Uz9V7-0003Q2-NY for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 19:57:26 +0200 From: Lars Magne Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Odd cursor movement with images (or lines with different heights?) X-Now-Playing: Pet Shop Boys's _Electric_: "Vocal" X-Hashcash: 1:23:130716:bug-gnu-emacs@gnu.org::l+jsXE2+GeNU9uau:00000000000000000000000000000000000000019zCw Date: Tue, 16 Jul 2013 19:57:24 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Uz9V7-0003Q2-NY X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374602246.42301@OvI4b1cX1m5FkqqWGTzEuw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) I've seen some increasingly odd cursor movements the last few weeks if I have images in a buffer. To reproduce, have a frame that's 800 pixels high. Eval the following: (url-retrieve "http://quimby.gnus.org/circus/jukebox.php?image=micro.png&group=Phill%20Niblock&album=Touch%20Food%20%281%29" (lambda (&rest args) (search-forward "\n\n") (let ((image (create-image (buffer-substring (point) (point-max)) nil t))) (pop-to-buffer "*test*") (erase-buffer) (dotimes (i 100) (insert-image image "*") (insert (format " foo %d\n" i)))))) Go to the first line in the buffer and hit `C-n'. Instead of moving the cursor to the next line, the buffer is shifted one line up instead. `C-u 2 C-n' will move point two lines down, however. So the weird movement action apparently only happens when moving down a single line. In GNU Emacs 24.3.50.45 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2013-07-16 on stories Bzr revision: 113434 eggert@cs.ucla.edu-20130716163942-lzo8wm5ipj0rwarp Windowing system distributor `The X.Org Foundation', version 11.0.11103000 System Description: Debian GNU/Linux 7.0 (wheezy) Important settings: value of $LANG: en_US locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x C-f q H-o C-a C-SPC M-> M-w C-y M-d m i c r o M-> C-x C-e M-< C-x 1 C-n C-n C-n M-< C-x b C-e SPC % s d * ( i n s e r t SPC C-M-f SPC i C-e ) C-M-x q C-x o ) C-x C-e q C-x o M-d f o r m a t C-e C-x C-e M-< C-x 1 C-x k M-d m c i c r o C-x C-e C-x 1 M-< C-u 2 C-x C-g C-x b C-g M-x r e p o r b Recent messages: Entering debugger... Back to top level. Contacting host: quimby.gnus.org:80 # Mark set Contacting host: quimby.gnus.org:80 # Mark set Quit Making completion list... Load-path shadows: /home/larsi/mgnus/lisp/compface hides ~/pgnus/contrib/compface /home/larsi/src/clock.el/clock hides /home/larsi/lisp/clock /home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect /home/larsi/src/pvr.el/pvr hides /home/larsi/lisp/pvr ~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard /home/larsi/src/cddb.el/captitle hides /home/larsi/lisp/captitle ~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example /home/larsi/mgnus/lisp/format-spec hides /home/larsi/src/emacs/trunk/lisp/format-spec /home/larsi/mgnus/lisp/hex-util hides /home/larsi/src/emacs/trunk/lisp/hex-util /home/larsi/mgnus/lisp/color hides /home/larsi/src/emacs/trunk/lisp/color /home/larsi/mgnus/lisp/md4 hides /home/larsi/src/emacs/trunk/lisp/md4 /home/larsi/mgnus/lisp/password-cache hides /home/larsi/src/emacs/trunk/lisp/password-cache /home/larsi/mgnus/lisp/dns-mode hides /home/larsi/src/emacs/trunk/lisp/textmodes/dns-mode /home/larsi/mgnus/lisp/sasl-ntlm hides /home/larsi/src/emacs/trunk/lisp/net/sasl-ntlm /home/larsi/mgnus/lisp/dns hides /home/larsi/src/emacs/trunk/lisp/net/dns /home/larsi/mgnus/lisp/hmac-def hides /home/larsi/src/emacs/trunk/lisp/net/hmac-def /home/larsi/mgnus/lisp/ntlm hides /home/larsi/src/emacs/trunk/lisp/net/ntlm /home/larsi/mgnus/lisp/tls hides /home/larsi/src/emacs/trunk/lisp/net/tls /home/larsi/mgnus/lisp/sasl-digest hides /home/larsi/src/emacs/trunk/lisp/net/sasl-digest /home/larsi/mgnus/lisp/netrc hides /home/larsi/src/emacs/trunk/lisp/net/netrc /home/larsi/mgnus/lisp/sasl-cram hides /home/larsi/src/emacs/trunk/lisp/net/sasl-cram /home/larsi/mgnus/lisp/hmac-md5 hides /home/larsi/src/emacs/trunk/lisp/net/hmac-md5 /home/larsi/mgnus/lisp/dig hides /home/larsi/src/emacs/trunk/lisp/net/dig /home/larsi/mgnus/lisp/sasl hides /home/larsi/src/emacs/trunk/lisp/net/sasl /home/larsi/mgnus/lisp/uudecode hides /home/larsi/src/emacs/trunk/lisp/mail/uudecode /home/larsi/mgnus/lisp/hashcash hides /home/larsi/src/emacs/trunk/lisp/mail/hashcash /home/larsi/mgnus/lisp/binhex hides /home/larsi/src/emacs/trunk/lisp/mail/binhex /home/larsi/mgnus/lisp/nndoc hides /home/larsi/src/emacs/trunk/lisp/gnus/nndoc /home/larsi/mgnus/lisp/mm-partial hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-partial /home/larsi/mgnus/lisp/gnus-srvr hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-srvr /home/larsi/mgnus/lisp/mailcap hides /home/larsi/src/emacs/trunk/lisp/gnus/mailcap /home/larsi/mgnus/lisp/gnus-range hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-range /home/larsi/mgnus/lisp/rfc1843 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc1843 /home/larsi/mgnus/lisp/nneething hides /home/larsi/src/emacs/trunk/lisp/gnus/nneething /home/larsi/mgnus/lisp/gnus-logic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-logic /home/larsi/mgnus/lisp/spam-wash hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-wash /home/larsi/mgnus/lisp/nnmail hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmail /home/larsi/mgnus/lisp/nnmbox hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmbox /home/larsi/mgnus/lisp/gssapi hides /home/larsi/src/emacs/trunk/lisp/gnus/gssapi /home/larsi/mgnus/lisp/gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-agent /home/larsi/mgnus/lisp/mail-parse hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-parse /home/larsi/mgnus/lisp/mml-smime hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-smime /home/larsi/mgnus/lisp/gnus-msg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-msg /home/larsi/mgnus/lisp/gnus-fun hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-fun /home/larsi/mgnus/lisp/mail-source hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-source /home/larsi/mgnus/lisp/mm-encode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-encode /home/larsi/mgnus/lisp/gnus-cache hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cache /home/larsi/mgnus/lisp/mm-util hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-util /home/larsi/mgnus/lisp/mm-archive hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-archive /home/larsi/mgnus/lisp/nnnil hides /home/larsi/src/emacs/trunk/lisp/gnus/nnnil /home/larsi/mgnus/lisp/mml2015 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml2015 /home/larsi/mgnus/lisp/nnoo hides /home/larsi/src/emacs/trunk/lisp/gnus/nnoo /home/larsi/mgnus/lisp/messcompat hides /home/larsi/src/emacs/trunk/lisp/gnus/messcompat /home/larsi/mgnus/lisp/gnus-sync hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sync /home/larsi/mgnus/lisp/nnweb hides /home/larsi/src/emacs/trunk/lisp/gnus/nnweb /home/larsi/mgnus/lisp/nnrss hides /home/larsi/src/emacs/trunk/lisp/gnus/nnrss /home/larsi/mgnus/lisp/legacy-gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/legacy-gnus-agent /home/larsi/mgnus/lisp/nnspool hides /home/larsi/src/emacs/trunk/lisp/gnus/nnspool /home/larsi/mgnus/lisp/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface /home/larsi/mgnus/lisp/smime hides /home/larsi/src/emacs/trunk/lisp/gnus/smime /home/larsi/mgnus/lisp/ietf-drums hides /home/larsi/src/emacs/trunk/lisp/gnus/ietf-drums /home/larsi/mgnus/lisp/yenc hides /home/larsi/src/emacs/trunk/lisp/gnus/yenc /home/larsi/mgnus/lisp/gnus-delay hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-delay /home/larsi/mgnus/lisp/gnus-async hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-async /home/larsi/mgnus/lisp/nnmh hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmh /home/larsi/mgnus/lisp/mm-url hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-url /home/larsi/mgnus/lisp/gnus-picon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-picon /home/larsi/mgnus/lisp/gnus-bookmark hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bookmark /home/larsi/mgnus/lisp/gnus-diary hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-diary /home/larsi/mgnus/lisp/html2text hides /home/larsi/src/emacs/trunk/lisp/gnus/html2text /home/larsi/mgnus/lisp/nndraft hides /home/larsi/src/emacs/trunk/lisp/gnus/nndraft /home/larsi/mgnus/lisp/auth-source hides /home/larsi/src/emacs/trunk/lisp/gnus/auth-source /home/larsi/mgnus/lisp/gnus-bcklg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bcklg /home/larsi/mgnus/lisp/gnus-win hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-win /home/larsi/mgnus/lisp/gnus-salt hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-salt /home/larsi/mgnus/lisp/rfc2045 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2045 /home/larsi/mgnus/lisp/gnus-draft hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-draft /home/larsi/mgnus/lisp/gnus-spec hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-spec /home/larsi/mgnus/lisp/nnir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnir /home/larsi/mgnus/lisp/mm-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-uu /home/larsi/mgnus/lisp/rfc2104 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2104 /home/larsi/mgnus/lisp/nngateway hides /home/larsi/src/emacs/trunk/lisp/gnus/nngateway /home/larsi/mgnus/lisp/gnus-sum hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sum /home/larsi/mgnus/lisp/mail-prsvr hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-prsvr /home/larsi/mgnus/lisp/gnus-dup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dup /home/larsi/mgnus/lisp/score-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/score-mode /home/larsi/mgnus/lisp/starttls hides /home/larsi/src/emacs/trunk/lisp/gnus/starttls /home/larsi/mgnus/lisp/plstore hides /home/larsi/src/emacs/trunk/lisp/gnus/plstore /home/larsi/mgnus/lisp/gnus-topic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-topic /home/larsi/mgnus/lisp/gnus-notifications hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-notifications /home/larsi/mgnus/lisp/registry hides /home/larsi/src/emacs/trunk/lisp/gnus/registry /home/larsi/mgnus/lisp/mml-sec hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-sec /home/larsi/mgnus/lisp/nnmaildir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmaildir /home/larsi/mgnus/lisp/nnbabyl hides /home/larsi/src/emacs/trunk/lisp/gnus/nnbabyl /home/larsi/mgnus/lisp/sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve /home/larsi/mgnus/lisp/qp hides /home/larsi/src/emacs/trunk/lisp/gnus/qp /home/larsi/mgnus/lisp/nnregistry hides /home/larsi/src/emacs/trunk/lisp/gnus/nnregistry /home/larsi/mgnus/lisp/gnus-art hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-art /home/larsi/mgnus/lisp/gnus-dired hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dired /home/larsi/mgnus/lisp/gnus-util hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-util /home/larsi/mgnus/lisp/nnheader hides /home/larsi/src/emacs/trunk/lisp/gnus/nnheader /home/larsi/mgnus/lisp/gnus-demon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-demon /home/larsi/mgnus/lisp/message hides /home/larsi/src/emacs/trunk/lisp/gnus/message /home/larsi/mgnus/lisp/rfc2231 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2231 /home/larsi/mgnus/lisp/canlock hides /home/larsi/src/emacs/trunk/lisp/gnus/canlock /home/larsi/mgnus/lisp/mm-extern hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-extern /home/larsi/mgnus/lisp/gnus-undo hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-undo /home/larsi/mgnus/lisp/mm-bodies hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-bodies /home/larsi/mgnus/lisp/gnus-score hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-score /home/larsi/mgnus/lisp/gnus-mh hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mh /home/larsi/mgnus/lisp/nnvirtual hides /home/larsi/src/emacs/trunk/lisp/gnus/nnvirtual /home/larsi/mgnus/lisp/spam-report hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-report /home/larsi/mgnus/lisp/nndiary hides /home/larsi/src/emacs/trunk/lisp/gnus/nndiary /home/larsi/mgnus/lisp/sieve-manage hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-manage /home/larsi/mgnus/lisp/mml1991 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml1991 /home/larsi/mgnus/lisp/gnus-eform hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-eform /home/larsi/mgnus/lisp/mml hides /home/larsi/src/emacs/trunk/lisp/gnus/mml /home/larsi/mgnus/lisp/gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gravatar /home/larsi/mgnus/lisp/nntp hides /home/larsi/src/emacs/trunk/lisp/gnus/nntp /home/larsi/mgnus/lisp/gnus-setup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-setup /home/larsi/mgnus/lisp/ecomplete hides /home/larsi/src/emacs/trunk/lisp/gnus/ecomplete /home/larsi/mgnus/lisp/rtree hides /home/larsi/src/emacs/trunk/lisp/gnus/rtree /home/larsi/mgnus/lisp/gnus-int hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-int /home/larsi/mgnus/lisp/gnus-sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sieve /home/larsi/mgnus/lisp/smiley hides /home/larsi/src/emacs/trunk/lisp/gnus/smiley /home/larsi/mgnus/lisp/gnus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus /home/larsi/mgnus/lisp/gnus-cus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cus /home/larsi/mgnus/lisp/nnfolder hides /home/larsi/src/emacs/trunk/lisp/gnus/nnfolder /home/larsi/mgnus/lisp/nnmairix hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmairix /home/larsi/mgnus/lisp/pop3 hides /home/larsi/src/emacs/trunk/lisp/gnus/pop3 /home/larsi/mgnus/lisp/gnus-start hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-start /home/larsi/mgnus/lisp/nnml hides /home/larsi/src/emacs/trunk/lisp/gnus/nnml /home/larsi/mgnus/lisp/gnus-vm hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-vm /home/larsi/mgnus/lisp/gnus-mlspl hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mlspl /home/larsi/mgnus/lisp/gnus-registry hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-registry /home/larsi/mgnus/lisp/gnus-ml hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ml /home/larsi/mgnus/lisp/gnus-gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-gravatar /home/larsi/mgnus/lisp/spam hides /home/larsi/src/emacs/trunk/lisp/gnus/spam /home/larsi/mgnus/lisp/gnus-cite hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cite /home/larsi/mgnus/lisp/flow-fill hides /home/larsi/src/emacs/trunk/lisp/gnus/flow-fill /home/larsi/mgnus/lisp/mm-view hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-view /home/larsi/mgnus/lisp/gnus-html hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-html /home/larsi/mgnus/lisp/gnus-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-uu /home/larsi/mgnus/lisp/deuglify hides /home/larsi/src/emacs/trunk/lisp/gnus/deuglify /home/larsi/mgnus/lisp/spam-stat hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-stat /home/larsi/mgnus/lisp/nndir hides /home/larsi/src/emacs/trunk/lisp/gnus/nndir /home/larsi/mgnus/lisp/gnus-kill hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-kill /home/larsi/mgnus/lisp/gnus-ems hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ems /home/larsi/mgnus/lisp/gnus-group hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-group /home/larsi/mgnus/lisp/nnagent hides /home/larsi/src/emacs/trunk/lisp/gnus/nnagent /home/larsi/mgnus/lisp/.dir-locals hides /home/larsi/src/emacs/trunk/lisp/gnus/.dir-locals /home/larsi/mgnus/lisp/sieve-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-mode /home/larsi/mgnus/lisp/rfc2047 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2047 /home/larsi/mgnus/lisp/gmm-utils hides /home/larsi/src/emacs/trunk/lisp/gnus/gmm-utils /home/larsi/mgnus/lisp/utf7 hides /home/larsi/src/emacs/trunk/lisp/gnus/utf7 /home/larsi/mgnus/lisp/nnimap hides /home/larsi/src/emacs/trunk/lisp/gnus/nnimap /home/larsi/mgnus/lisp/mm-decode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-decode /home/larsi/mgnus/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date /home/larsi/mgnus/lisp/parse-time hides /home/larsi/src/emacs/trunk/lisp/calendar/parse-time Features: (shadow hashcash ecomplete emacsbug sendmail url-cache help-mode discogs json dae musicbrainz scan scrobble tellstick wave cddb captitle expect copyright vc-cvs gnus-picon sort gnus-cite smiley ansi-color mule-util shr-color color shr mm-archive gnus-async gnus-dup qp gnus-ml gmane spam-gmane dns mm-url disp-table gnus-fun gnus-mdrtn gnus-topic pop3 nndoc nnmbox nndraft utf-7 nnimap utf7 nnmh nnml nnfolder parse-time netrc gnutls network-stream starttls nnir spam-report spam spam-stat gnus-uu yenc gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec mailabbrev gmm-utils mailheader gnus-win gnus-load gnus gnus-ems gnus-compat help-fns nnheader mail-utils debug uniquify debbugs-gnu easy-mmode derived debbugs soap-client mm-decode mm-bodies mm-encode url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap warnings xml ido flyspell ispell benchmark w3m browse-url doc-view dired image-mode easymenu timezone w3m-hist w3m-fb w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util cl-macs gv add-log mail-extr jka-compr cl nadvice cl-loaddefs cl-lib time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 14:29:39 2013 Received: (at 14881) by debbugs.gnu.org; 16 Jul 2013 18:29:39 +0000 Received: from localhost ([127.0.0.1]:58935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzA0F-0001YZ-4R for submit@debbugs.gnu.org; Tue, 16 Jul 2013 14:29:39 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:47703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzA09-0001Y4-0A for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 14:29:34 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ100400KL0B800@a-mtaout23.012.net.il> for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 21:29:22 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ1004UGKOX9Z30@a-mtaout23.012.net.il>; Tue, 16 Jul 2013 21:29:22 +0300 (IDT) Date: Tue, 16 Jul 2013 21:29:26 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83hafu2wah.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Date: Tue, 16 Jul 2013 19:57:24 +0200 > > I've seen some increasingly odd cursor movements the last few weeks if I > have images in a buffer. To reproduce, have a frame that's 800 pixels > high. Eval the following: > > (url-retrieve "http://quimby.gnus.org/circus/jukebox.php?image=micro.png&group=Phill%20Niblock&album=Touch%20Food%20%281%29" > (lambda (&rest args) > (search-forward "\n\n") > (let ((image (create-image > (buffer-substring (point) (point-max)) > nil t))) > (pop-to-buffer "*test*") > (erase-buffer) > (dotimes (i 100) > (insert-image image "*") > (insert (format " foo %d\n" i)))))) > > Go to the first line in the buffer and hit `C-n'. Instead of moving the > cursor to the next line, the buffer is shifted one line up instead. It is not supposed to move to the next line, it is supposed to vscroll by the number of pixels that is the height of the default face's font (16 pixels on my system, YMMV). That is what line-move-visual option does when auto-window-vscroll is non-nil, and both are on by default. IOW, this is by design, except that Emacs was supposed to "shift" the buffer by 1`6 pixels, not by the entire size of the image. I will take a look to see why the vscroll scrolls by too much, but if you don't want that at all, just customize auto-window-vscroll to nil. > `C-u 2 C-n' will move point two lines down, however. So the weird > movement action apparently only happens when moving down a single line. That's because auto-window-vscroll is only in effect when moving by single lines. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 14:40:14 2013 Received: (at 14881) by debbugs.gnu.org; 16 Jul 2013 18:40:14 +0000 Received: from localhost ([127.0.0.1]:58941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzAAY-0001xi-AL for submit@debbugs.gnu.org; Tue, 16 Jul 2013 14:40:14 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:48252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzAAU-0001xT-EO for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 14:40:11 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UzAAJ-00041L-0W; Tue, 16 Jul 2013 20:39:59 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXLw7oHBQP+/Pv69/Pg 29ZnY18DAQDUzsYFAgH9+fe4sanw7OYzUTsZAAACQUlEQVQ4jXXTv4vbMBQHcB3kMLhLHjTFeEy7 ZGvwdamXDALTZqkhJsHdTUYPB6K56YYYrU2Gok4OjQmoS8u5HD39c31PtvOjpQ+sQZ9835Nswoa2 XuovWlcJ1iqxNWPD4UhhVW+ypiq7Sp/ZgFLbty/OIWthONoGT95/IPgRZ8UR+h2oIAjqRZYtK0n7 yw6GBOEv3KxkscThl1B7RUFQLE8wIjCLIkuLDKk7bjM9NFdFkd57Uv4FgfkpZap1EssWFD4E4VOS lK7WetHA6AjG8ByhvPbOITS1MSaihAs+Gx3hpte7M6YmYLtjAofXQnCMrBB0hYmNau4RPjKGiXCi GQoCfowGDL/l3Dw8ajpYeg5Rj/OpCbUtC0pt1LbOeen2cApN14cziIQQmOF2+r4FPJWpJwfcjgQl yg5GamuinAlMMXuREwRmUuqeEHkD8wY2BJHDHIT8H+DCdTCQ44SS9dpWCmHFXFcwlrsMa89umv0t tqKfM8fBbe3s2fidna1emxqPypwcQWunZGOfJqiv8KzmXNCp6FiOZmNI9Kf3v3fw3QL1pzeSIgA8 j78BfKRWbaB0fQs+zFApkbeJqoEBzHE5h7iDPq68A1dX0IGP66wD5p6AEn0edRBfANwS0Bt04RLm UfMx9A7OZsh7GDgtQAveAB8E8AV10vER1gBSUrODvRx0AGv8r1ACPrDETiD4jN0tEPnXkNpODcgW JAyuPP8IXgNLSqx3sD4lAAEFPDx3DIMOXuFXu+NtTWs+DQzVwx9f9He+ykbd6wAAAABJRU5ErkJg gg== X-Now-Playing: Neneh Cherry & The Thing's _The Cherry Thing Remixes_: "Cashback (Remixed by Lindstrom & Prins Thomas)" X-Hashcash: 1:23:130716:14881@debbugs.gnu.org::eS8SN7rsGYUK36GI:0000000000000000000000000000000000000000AcrQ X-Hashcash: 1:23:130716:eliz@gnu.org::9LB0Wp1OShXBIiTY:00001O0Zq Date: Tue, 16 Jul 2013 20:39:58 +0200 In-Reply-To: <83hafu2wah.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jul 2013 21:29:26 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1UzAAJ-00041L-0W X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374604799.22547@hdnog7w56rPDyApbpIJRgg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > It is not supposed to move to the next line, it is supposed to vscroll > by the number of pixels that is the height of the default face's font > (16 pixels on my system, YMMV). That is what line-move-visual option > does when auto-window-vscroll is non-nil, and both are on by default. I see. Setting `auto-window-vscroll' to nil gets back the cursor movement I expected to see. Defaulting to the current cursor (non-)movement seems kinda un-obvious. Why would anybody want `C-n' to scroll the window instead of er moving the cursor down? > IOW, this is by design, except that Emacs was supposed to "shift" the > buffer by 1`6 pixels, not by the entire size of the image. I rather like the way Emacs keeps the entire image in the buffer. Scrolling so that an image is cut off (at the top) is not very pleasant. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 15:37:28 2013 Received: (at 14881) by debbugs.gnu.org; 16 Jul 2013 19:37:28 +0000 Received: from localhost ([127.0.0.1]:58983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzB3s-0003vi-FM for submit@debbugs.gnu.org; Tue, 16 Jul 2013 15:37:28 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:44808) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzB3m-0003vI-HU for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 15:37:23 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MQ100C00NDGKU00@a-mtaout22.012.net.il> for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 22:36:26 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ100CQINSNAEB0@a-mtaout22.012.net.il>; Tue, 16 Jul 2013 22:36:24 +0300 (IDT) Date: Tue, 16 Jul 2013 22:36:28 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83a9lm2t6r.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Tue, 16 Jul 2013 20:39:58 +0200 > > Defaulting to the current cursor (non-)movement seems kinda un-obvious. > Why would anybody want `C-n' to scroll the window instead of er moving > the cursor down? Because you don't want the images to jump. If they do, you won't see some of their parts, especially if the window height is small. > I rather like the way Emacs keeps the entire image in the buffer. ??? You mean in the window, right? > Scrolling so that an image is cut off (at the top) is not very pleasant. Then I think you are in the minority here. Most people want to see the images they scroll across in their entirety, not just some parts of them. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 15:41:38 2013 Received: (at 14881) by debbugs.gnu.org; 16 Jul 2013 19:41:38 +0000 Received: from localhost ([127.0.0.1]:58988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzB7x-00044H-PO for submit@debbugs.gnu.org; Tue, 16 Jul 2013 15:41:38 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:49623) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzB7u-000448-Lc for 14881@debbugs.gnu.org; Tue, 16 Jul 2013 15:41:35 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UzB7j-00055g-6u; Tue, 16 Jul 2013 21:41:23 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEWurLhSUlakoq26uMSz sr0I+7KMAAACfElEQVQ4jU1TgZEjMQgjNgXEvi/AdrYA56AAbqH/ml449zPvmUx2VwYhEKQh5sbk ah4SoXiuIo2U8b7ZapgrgAiilwKQcBHci2CXYA5lioyQg7gNwjdHgEZ+AKDVZQtdN4C8ZFS1RqYS d41FiAA5HvHkmqmkivEaFo4XD1scvhPIzLQGxUUenrk+ESoV0WvdgZvJa0SCCAgMGjT4Jyt+oVIz CgBIWtYoIx4W5BViQC7WKBhprkE0oUTQBjVzAQfiaYzO3C6/X+6oxKqcVEy4fl1txLzCT9MkPhEU s83+nJ2hGR/ik8oK8Vxttf5kdBLVUPYqIwqt52ztPUZU9wodmjpAEdpaafMGYBqDkzwwMZNHe+1H IwOHKDpwOMK+kefad+uewwhnkZnkNFufw77BMzA+D0rAE1qI0N1bW/mKuQDgQXZbaVcprRdKHWEJ UIGMuHvX2Vi5wkSufgBCWx9I1n/YklrTSAAWb6Y527vNl6Z/zCwQAd/gH2X99P4VCQSVmqmGsX/3 NeeY3X0fK9YTwSZvRk1kM1JclHXI01FWNj1JCzsxXkYCmAZmwyp/WEuaGs3mBNBETAbu/NrwNopl HREnAjP3dJ15CkQwIjybiHn4WYM44aKF4tNdCN7GTEqYDbKWkb2qackx4F3cRwAmcp+ZowVj5YEx 0wAgLpSrZulEnEE3UsZJdVaN07oJ3GhzTqnGkgTsHwBdVkDO6N2Z+S40VjnkKRuuxuJnEyMNj43c odhk0MheVzYRotOWWC9FoVhpwfdMpYo1xFKrbMBbdI/DIZ+TS2lZlu9yYfSTdu72xg6apZyCH5er zl91H/G/ByVyo/bfycm3z832F/xPrnPL3VakAAAAAElFTkSuQmCC X-Now-Playing: Coil's _Colour Sound Oblivion 11_: "Paris" X-Hashcash: 1:23:130716:eliz@gnu.org::Tqm4pBZOgJfukEZK:000002o7U X-Hashcash: 1:23:130716:14881@debbugs.gnu.org::Zm+7ISI7vwbjtpwq:0000000000000000000000000000000000000000WN93 Date: Tue, 16 Jul 2013 21:41:22 +0200 In-Reply-To: <83a9lm2t6r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jul 2013 22:36:28 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1UzB7j-00055g-6u X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374608483.38176@l/4/KMwZtZj3m69eZ+S1yQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> I rather like the way Emacs keeps the entire image in the buffer. > > ??? You mean in the window, right? Yes. >> Scrolling so that an image is cut off (at the top) is not very pleasant. > > Then I think you are in the minority here. Most people want to see > the images they scroll across in their entirety, not just some parts > of them. These images are smaller than the height of the window, so they are displayed in their entirety, just as everybody would (or should :-)) want. Showing an image that's higher than the window is a different matter. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 06:50:51 2013 Received: (at 14881) by debbugs.gnu.org; 17 Jul 2013 10:50:51 +0000 Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzPJr-0005Au-4G for submit@debbugs.gnu.org; Wed, 17 Jul 2013 06:50:51 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:34289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzPJo-0005Ag-3a for 14881@debbugs.gnu.org; Wed, 17 Jul 2013 06:50:49 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UzPJb-00057o-BW; Wed, 17 Jul 2013 12:50:35 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEX+//n9/fj89+n+/vv6 8OP+//focFDoz7/8+/DtoYXtvaXNQjDw3Mz////whmX+//ZlJ7otAAACOUlEQVQ4jbXTT2jTUBwH 8AelFy9SBaeHHgw99OCkNQNBVmFdLw5bevHsRaJJS5BNq+wvdiJRLDkEgu1UEEoKdQvsUpyRHrSU Uu1YzaB26/MY2WxDQYV5ii9J10GaCh78kkN+78PvB78XAlIQRYb9bEEZx33OxyAF7bL1G4zaAjwG wv8Il4ZBA9T+O7SGw4I9bP8dAvbQypdak4FzED5NwTF93/GACeNkulqtTVXd0nol8erO1crcSBh+ 1ke1RZLnIsVwTJViG1KsKK286UGGFNcj/NqGtEIWJLLwnX43+gWBnJ3PbHJTL8PCKpXbV3NtNZJf MADHcUcAx9HTizzmrg/bow9nskbJQTgyr7/J+h7fxNpmQs1fEdN+ejb7kX/eNqGhUB1R2afLFDFB 8bceZWgFtaDbvazEO6qi0nxcnSiKnVMZcs+E7dx0rXqvWlp9/2l59vxao1TJmmCmd5FP3L0agayf yT2QXUewM4O78Iuc3+V3nfTj+Z23h9CkBYFSOCV9k9jjy9Tua6MZfIBNQVAWqRdxkqQTtJrfnTNh BjYJhVgkuBsESZYVgfpaeGbAbXgh+BBLYstnGS9z+ueJB/VJ488Ad3GfD2hRYP3uYOl4FAAnANbr BUta95rTHvQ4raNkBAespv0CjqOzXgfLMAyrda0t4D6jxxa8SS9zoA0ChmFe1DIA05ghbNcxBK7/ CFghGMQwNCtqBU8o5EHCdgcg6AmhYawWNbbDD6GCtkjqkxw+VNb7bX8A6wMuovd4DJQAAAAASUVO RK5CYII= X-Now-Playing: 0's =?iso-8859-1?Q?=5FSo=F1ando=5F=3A_=22So=F1ando?= 1" X-Hashcash: 1:23:130717:eliz@gnu.org::fWmBZIsHOFaS+514:00000d439 X-Hashcash: 1:23:130717:14881@debbugs.gnu.org::WOvLr223M/Dq2yBK:0000000000000000000000000000000000000001N2rp Date: Wed, 17 Jul 2013 12:50:34 +0200 In-Reply-To: <83a9lm2t6r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jul 2013 22:36:28 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1UzPJb-00057o-BW X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374663035.58028@cB7aRN0TFWDcHu3yddgDJA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> Defaulting to the current cursor (non-)movement seems kinda un-obvious. >> Why would anybody want `C-n' to scroll the window instead of er moving >> the cursor down? > > Because you don't want the images to jump. If they do, you won't see > some of their parts, especially if the window height is small. In the example that started this bug report, there's no danger of images jumping or not being shown, so I don't understand why users would want `C-n' to do anything but behave as normal; i.e., go to the next line. That's a pretty fundamental thing to do, and if you can't rely on `C-n' taking you to the next line, lots of things get very, very confusing. Now, if you have an image that's higher than the window size, then, yes, perhaps `C-n' should do something else than going to the next line. But having such an image is not the normal use case. The normal use case is to have lots of smaller images in the window. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 12:55:07 2013 Received: (at 14881-done) by debbugs.gnu.org; 17 Jul 2013 16:55:07 +0000 Received: from localhost ([127.0.0.1]:33251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzV0I-0004pV-IC for submit@debbugs.gnu.org; Wed, 17 Jul 2013 12:55:06 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:37838) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzV0B-0004ol-Df for 14881-done@debbugs.gnu.org; Wed, 17 Jul 2013 12:55:00 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ300C00AW83H00@a-mtaout20.012.net.il> for 14881-done@debbugs.gnu.org; Wed, 17 Jul 2013 19:54:33 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ300CJWAYX1C10@a-mtaout20.012.net.il>; Wed, 17 Jul 2013 19:54:33 +0300 (IDT) Date: Wed, 17 Jul 2013 19:54:40 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83wqop160f.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881-done Cc: 14881-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Wed, 17 Jul 2013 12:50:34 +0200 > > Eli Zaretskii writes: > > >> Defaulting to the current cursor (non-)movement seems kinda un-obvious. > >> Why would anybody want `C-n' to scroll the window instead of er moving > >> the cursor down? > > > > Because you don't want the images to jump. If they do, you won't see > > some of their parts, especially if the window height is small. > > In the example that started this bug report, there's no danger of images > jumping or not being shown, so I don't understand why users would want > `C-n' to do anything but behave as normal; i.e., go to the next line. > > That's a pretty fundamental thing to do, and if you can't rely on `C-n' > taking you to the next line, lots of things get very, very confusing. If you want C-n to always take you to the next line in interactive usage, the you should set auto-window-vscroll to nil. Non-interactively, you should call next-line with nil TRY-VSCROLL argument. C-n doesn't always take you to the next line since Emacs 22, and not only with tall images. > Now, if you have an image that's higher than the window size, then, yes, > perhaps `C-n' should do something else than going to the next line. But > having such an image is not the normal use case. The normal use case is > to have lots of smaller images in the window. "Normal" is in the eyes of the beholder. Anyway, you should have what you wanted in trunk revision 113442. I hope you like it. FWIW, this never worked well in Emacs (e.g., try C-p in your test case with older Emacsen). From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 18 09:57:32 2013 Received: (at 14881) by debbugs.gnu.org; 18 Jul 2013 13:57:32 +0000 Received: from localhost ([127.0.0.1]:35136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uzoi4-00087M-9E for submit@debbugs.gnu.org; Thu, 18 Jul 2013 09:57:32 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:36064) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uzoi0-00087C-OS for 14881@debbugs.gnu.org; Thu, 18 Jul 2013 09:57:30 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Uzoho-0001py-2x; Thu, 18 Jul 2013 15:57:16 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAArHRl3Yj/39/AB AQGObzqzrJ2RcjyHz7y7AAACaUlEQVQ4jVWUQW/jIBCF3YofsDgoua6x5Z5jVuzVuKP0Xon6bBPR cy0R/v4+sJN4OSQtn97MvGEmRYzhS+H89MX9GItTxGgzmLZb1hdmjPETIN6yomBNEr3qxsQ9aPqL TuCi1JzBuAItXpxqAA74e6/oqFZLBVB37X9gGtTEORXGTcc90OIyV5wL6LTbAJJAQMZLKUWb6liB tTHIioiOUNS4Ne0djAuXnGhADqf8bGa+gpwDElyclJ4G15kY7AY0wEWwo+qOKdgDaP1DbKDWK52S I1QACABvi6B3N5NrVFern6wIY8rhK36YBM3k8c8Urb0bdN8Ozt2ZDgjWhQxgENVeHCx3gi6pPTaB EOICe1XqqmD0quZS5lDBAgyCoGhFAf+D/w7jmmMxrjF4KiNMi89Soks2g1pVperw2E6pK5elHdML ol48pk/TwFDeuZJ8nZIQ41wenbqm59MHXfFyGx/EKm8reNct7MiQAATxbeaHDD7gYi6rbBD+omzo kJIXLwB/q3USoVjwTBfMSd8zlDVX5bjlWKjAk/ubv7IauStptyYCFMz4Fml4z3j5fa9qSaP5Ik/q d5pqXsonYJAMb+pXXgJh9orecK/wzdrmDkL8TKGM9D536w89FVQwKhdTESZedYw/AabKp11LXdRk 4g6c/JxArWslTHiA3ty0TyW9K6+uuxw0OD+nzUxdPO+TH9UkEjBpufaKWsM1I8K8Y2vvPhYyTou8 5OygxeYj2ACFOlNqC3aQ+g1gIgDcRNvp4SmXa20O1ayXvaEnGBf68CIDhCvQsPgAp0cklhQYxK3c oaLdwY+Mtf8AT1ItS0jWr4YAAAAASUVORK5CYII= X-Now-Playing: Tenko and Ikue Mori's _Death Praxis: Mystery_: "I Know You" X-Hashcash: 1:23:130718:14881-done@debbugs.gnu.org::8VQdmXGH/Cywk1ZB:00000000000000000000000000000000000WHGi X-Hashcash: 1:23:130718:eliz@gnu.org::Aj/rvs0md9cPjNHs:00000umNt Date: Thu, 18 Jul 2013 15:57:15 +0200 In-Reply-To: <83wqop160f.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Jul 2013 19:54:40 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Uzoho-0001py-2x X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374760636.37637@TQWCWVlO38qO1kieSBXWAw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > C-n doesn't always take you to the next line since Emacs 22, and not > only with tall images. Well... I'm using a lot of modes with (small) images in them, and `C-n' has mostly taken me to the next line. There's been some corner cases if point was actually on an image, but it's mostly worked. > Anyway, you should have what you wanted in trunk revision 113442. I > hope you like it. Great, now `C-n' reliably takes me to the next line; thanks. > FWIW, this never worked well in Emacs (e.g., try > C-p in your test case with older Emacsen). Yeah, `C-p' in buffers with images has had a tendency to do random things. :-) But it now seems to work perfectly. However, there's a new (well, different) tiny problem with `C-n' now. In the test buffer, go to the first line and press `C-n' until point is at the last line in the buffer. Press `C-n' again. Point goes to the next line, but the buffer is only scrolled up two lines instead of the more natural four (perhaps). `C-p' the other way does this the expected way. Nit-picking. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 18 12:52:45 2013 Received: (at 14881) by debbugs.gnu.org; 18 Jul 2013 16:52:45 +0000 Received: from localhost ([127.0.0.1]:35445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzrRZ-0007Dy-Q5 for submit@debbugs.gnu.org; Thu, 18 Jul 2013 12:52:45 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:45589) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzrRT-0007DT-Ut for 14881@debbugs.gnu.org; Thu, 18 Jul 2013 12:52:40 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ500F004YO9H00@a-mtaout23.012.net.il> for 14881@debbugs.gnu.org; Thu, 18 Jul 2013 19:52:04 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ500F075IS9E30@a-mtaout23.012.net.il>; Thu, 18 Jul 2013 19:52:04 +0300 (IDT) Date: Thu, 18 Jul 2013 19:52:13 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <834nbr24le.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Thu, 18 Jul 2013 15:57:15 +0200 > > Eli Zaretskii writes: > > > C-n doesn't always take you to the next line since Emacs 22, and not > > only with tall images. > > Well... I'm using a lot of modes with (small) images in them, and `C-n' > has mostly taken me to the next line. There's been some corner cases if > point was actually on an image, but it's mostly worked. You've been lucky, that's all. Depending on how the lines and pixels turn out, and also whether you have something line global-hl-line-mode frobbing your post-command-hook, you can see either vscroll or scroll-up being done by C-n, instead of going to the next line. > However, there's a new (well, different) tiny problem with `C-n' now. > In the test buffer, go to the first line and press `C-n' until point is > at the last line in the buffer. Press `C-n' again. Point goes to the > next line, but the buffer is only scrolled up two lines instead of the > more natural four (perhaps). I cannot reproduce this. Is this in "emacs -Q"? If so, how many complete images do you see in the window before the C-n that scrolls two lines instead of 4, and is there a partially-visible image at the bottom (and if so, which part of it is visible)? If this is not in "emacs -Q", I suspect that some scroll-* option was customized to cause this. Which one, and how did you customize it? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 07:07:37 2013 Received: (at 14881) by debbugs.gnu.org; 19 Jul 2013 11:07:37 +0000 Received: from localhost ([127.0.0.1]:36884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V08XA-0006Rc-KD for submit@debbugs.gnu.org; Fri, 19 Jul 2013 07:07:37 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:40408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V08X8-0006RK-6d for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 07:07:35 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V08Ww-0006Ma-Ja; Fri, 19 Jul 2013 13:07:22 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> <834nbr24le.fsf@gnu.org> X-Now-Playing: Winston Tong's _Theoretically Chinese_: "Endgame" X-Hashcash: 1:23:130719:14881@debbugs.gnu.org::xgcGjvZiQ2cyobKb:00000000000000000000000000000000000000001AY+ X-Hashcash: 1:23:130719:eliz@gnu.org::1Nk05SPyQovevzds:000010W0k Date: Fri, 19 Jul 2013 13:07:22 +0200 In-Reply-To: <834nbr24le.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Jul 2013 19:52:13 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1V08Ww-0006Ma-Ja X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374836842.88963@lS/L/t+S+dUHkuB20xtIsA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > I cannot reproduce this. Is this in "emacs -Q"? If so, how many > complete images do you see in the window before the C-n that scrolls two lines > instead of 4, and is there a partially-visible image at the bottom > (and if so, which part of it is visible)? It's with "emacs -Q". The frame is 521 pixels high, so I see six and a half images. I think it's debatable whether the current way it puts point after `C-n' is wrong, but it seems unsymmetrical to what `C-p' is doing, at least. For me, `C-n' when standing on the sixth image (with the seventh half-visible) will put point on the fifth image (after scrolling). I think putting point on the third would possibly seem more intuitive. If we're at the first image, `C-p' will place point on the fifth image, which seems kinda natural. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 10:04:18 2013 Received: (at 14881) by debbugs.gnu.org; 19 Jul 2013 14:04:18 +0000 Received: from localhost ([127.0.0.1]:37482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BI9-0007xC-0J for submit@debbugs.gnu.org; Fri, 19 Jul 2013 10:04:17 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:40517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BI1-0007wK-D9 for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 10:04:14 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ600K00RZVCN00@a-mtaout20.012.net.il> for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 17:04:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ600KIOSEQCH20@a-mtaout20.012.net.il>; Fri, 19 Jul 2013 17:04:02 +0300 (IDT) Date: Fri, 19 Jul 2013 17:04:14 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83mwpizlwh.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> <834nbr24le.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Fri, 19 Jul 2013 13:07:22 +0200 > > For me, `C-n' when standing on the sixth image (with the seventh > half-visible) will put point on the fifth image (after scrolling). I > think putting point on the third would possibly seem more intuitive. I misunderstood your original description. Yes, I see this, too. But it is simply a matter of deciding what is the "middle" line of a window. Emacs currently looks, starting from the window's beginning, for the first screen line whose Y pixel coordinate is _past_ the middle of the window. I think that is what you see. > If we're at the first image, `C-p' will place point on the fifth image, Not here. I see point on the same 5th image (starting from the window beginning) with both C-p and C-n. Are you sure you type C-p slowly enough to see the effect of each one of them separately? In any case, "M-x trace-redisplay RET" shows that redisplay takes a different path when scrolling forward and back in this case. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 10:13:37 2013 Received: (at 14881) by debbugs.gnu.org; 19 Jul 2013 14:13:37 +0000 Received: from localhost ([127.0.0.1]:37489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BRB-0008QE-5U for submit@debbugs.gnu.org; Fri, 19 Jul 2013 10:13:37 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:38153) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BR8-0008Q3-J3 for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 10:13:35 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V0BQt-0002zH-2m; Fri, 19 Jul 2013 16:13:19 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> <834nbr24le.fsf@gnu.org> <83mwpizlwh.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUfHh3AwMAFBAQEAgP/ //8GBQQEAwIDAQG/nq4VAAACFklEQVQ4jV2TwY7jIAyGndFwByl7rxzB3IO250biAVK05L5Uca4j rZS8/tqQTJtySBAfP79tDAQZqS2/MDQGVCoDyoKq6+E26DOAHRgGdR3rkt5PaodbEcQDmDDIuuEt VTDbAxhTJbuD3RUclG5aE7TZLaL9AUGPTavMflTeQRiAl0ajiiK7ifAAQaURQnWYEv07AOemoC1g oojL+gRB81TFC3xgGT/AqIZBgjESpYgWnoJWgGo/Zpvci6LkrmyjP2xKXd8/geSicEyICWd6AaX8 Ule0iP4NRCsAM3Z4AkO0JdTcXc+KoZyErn/4N0WyfEeRLbrfb4CvLsphF3MCt3LbmC3ewxvgWLkc idvpBRhOQ5Lgex3DSaHFAsV/PCnCoEq0/LFjewK/UICVgO9wnC+fm1hjkvzHAgbNbqZtbxGjkzR8 BdIyclNGxVJBRx4vDHT0s23ZWpXNDCIJYP0146fcumz32LlOwKCcX7L7EwyYUiZ0D99zMyiM2fv+ PnAPSki1iAykbJ6uF7bCUpAUK+A2RXpkdtfcajkKcI9eFHwqof0Uc+61FFkhgLIjIsetbiBilqeR OTgLXwXQzLkqdBnn5KrH6hYBZOWB7S9W/vC1bCsx+6sBGgAN8ucJuAU3Wrbtm+ejgucgmrZt2aiO meNgz4wJaN1krAvxt8A0TeKxvQ5evvL+8nDOoLvWE0WxvID1sLLpPwuNGKVrO4y7AAAAAElFTkSu QmCC X-Now-Playing: Winston Tong's _Theoretically Chinese_: "Endgame" X-Hashcash: 1:23:130719:14881@debbugs.gnu.org::ExvmbWM7cbm0PduJ:00000000000000000000000000000000000000005veL X-Hashcash: 1:23:130719:eliz@gnu.org::nhlHIYBlGLcGFlnN:00000897E Date: Fri, 19 Jul 2013 16:13:18 +0200 In-Reply-To: <83mwpizlwh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Jul 2013 17:04:14 +0300") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1V0BQt-0002zH-2m X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1374848000.73602@bO6JDArZN8CJXKPfZOKSMg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > I misunderstood your original description. Yes, I see this, too. But > it is simply a matter of deciding what is the "middle" line of a > window. Emacs currently looks, starting from the window's beginning, > for the first screen line whose Y pixel coordinate is _past_ the > middle of the window. I think that is what you see. Ah, I see. >> If we're at the first image, `C-p' will place point on the fifth image, > > Not here. I see point on the same 5th image (starting from the window > beginning) with both C-p and C-n. Are you sure you type C-p slowly > enough to see the effect of each one of them separately? Yes, that's what I was trying to explain that I was seeing, too. :-) But I see now -- `C-n' and `C-p' are consistent: They both place point on the fifth image. I was sorta expecting `C-n' to move a "over" the middle to be more "symmetric". But I guess this way of placing point after scrolling makes sense. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 10:31:32 2013 Received: (at 14881) by debbugs.gnu.org; 19 Jul 2013 14:31:32 +0000 Received: from localhost ([127.0.0.1]:37576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BiS-0001rm-PP for submit@debbugs.gnu.org; Fri, 19 Jul 2013 10:31:32 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:42835) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BiM-0001rH-6P for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 10:31:26 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ600M00TGJKW00@a-mtaout23.012.net.il> for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 17:31:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ600MZTTO3HA80@a-mtaout23.012.net.il>; Fri, 19 Jul 2013 17:31:15 +0300 (IDT) Date: Fri, 19 Jul 2013 17:31:26 +0300 From: Eli Zaretskii Subject: Re: bug#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83li52zkn5.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> <834nbr24le.fsf@gnu.org> <83mwpizlwh.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14881 Cc: 14881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Fri, 19 Jul 2013 16:13:18 +0200 > > But I see now -- `C-n' and `C-p' are consistent: They both place point > on the fifth image. I was sorta expecting `C-n' to move a "over" the > middle to be more "symmetric". But I guess this way of placing point > after scrolling makes sense. There's no "symmetry" here because Emacs's display routines always examine text from the window start moving forward. There's currently no way of doing this backward, never was. From unknown Mon Jun 23 18:26:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Aug 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator