unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: bug-gnu-emacs@gnu.org
Subject: bug#4318: 23.1; trouble indenting looooong lines with visual-line-mode
Date: Wed, 02 Sep 2009 10:13:28 -0400	[thread overview]
Message-ID: <yu9ocptv3hz.fsf@nyu.edu> (raw)


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Start with emacs -Q and a buffer in fundamental mode

Consider a line wider than the frame, for example

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

which exceeds an 80 column frame.
Now assume you have a short line say
yyyy
followed by the above long line, i.e.
yyyy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

So far so good.  Now indent the long line with say one space.
If visual-line-mode is OFF, I see what I expect, the long line is
preceded by one space.

But with visual-line-mode ON, a blank line appears on the screen between
the short and long lines, i.e. the long line (with only one word) was
wrapped.
This behavior seems wrong.
I realize the blank line is not in the file, but believe the on-screen
image is misleading or at least annoying.

Thanks for emacs.
allan <gottlieb@nyu.edu>


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-08-17 on ajglap
Windowing system distributor `The X.Org Foundation', version 11.0.10503000
configured using `configure  '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--without-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe' 'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Article

Minor modes in effect:
  iswitchb-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x a j g SPC i n i t <return> M-x g n u s <return> 
<return> <down> <down> <down> SPC E SPC <help-echo> 
<select-window> <help-echo> <select-window> <help-echo> 
<select-window> <select-window> q <down> <return> <C-end> 
C-r - > <return> <return> <help-echo> <help-echo> <select-window> 
<help-echo> <select-window> <select-window> <select-window> 
<help-echo> <help-echo> <select-window> ! d ! <select-window> 
<select-window> C-x 5 2 <switch-frame> <switch-frame> 
<select-window> <help-echo> <help-echo> M-x r e p o 
r t - e m <tab> <return>

Recent messages:
Fetching headers for nnml:MAIL...done
Finding all score files...done
Generating summary...done
Retrieving newsgroup: nnml:emacs...
Fetching headers for nnml:emacs...done
Scoring...done
Generating summary...done
Mark set
Mark saved where search started
Auto-saving...done






             reply	other threads:[~2009-09-02 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02 14:13 Allan Gottlieb [this message]
2011-09-17  7:23 ` bug#4318: 23.1; trouble indenting looooong lines with visual-line-mode Lars Magne Ingebrigtsen
2011-09-17  9:42   ` Eli Zaretskii
2011-09-18  7:56     ` Lars Magne Ingebrigtsen
2011-09-18 15:26     ` Chong Yidong
2015-12-15 10:51 ` bug#4318: GMNT p8

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9ocptv3hz.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=4318@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).