unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: 5000@emacsbugs.donarmstrong.com
Subject: bug#5000: 23.1.50; empty string not allowed as line-prefix
Date: Sun, 22 Nov 2009 22:49:23 -0500	[thread overview]
Message-ID: <jwveinp3nr3.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <BB0EDA6E-5938-4EFA-98D7-722378BEB14D@gmail.com> (Carsten Dominik's message of "Sat, 21 Nov 2009 12:01:02 +0100")

> - open a new buffer in fundamental mode, no auto-fill-mode
> - insert a long line that will be wrapped for display into two or more
>   lines.
> - insert the following form into the buffer, after the long line

>    (add-text-properties (point-min) (point) '(line-prefix ""))

> - evaluate this form

> Expected result:  No change in display
> Actual result:  The formerly wrapped line is no longer wrapped but
> displayed as if truncate-lines had been set (it is not set)

Isn't this the feature you were asking for?  ;-)


        Stefan


PS: You've won a special prize for submitting bug number 5000.





  reply	other threads:[~2009-11-23  3:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87638lc9z0.fsf@stupidchicken.com>
2009-11-21 11:01 ` bug#5000: 23.1.50; empty string not allowed as line-prefix Carsten Dominik
2009-11-23  3:49   ` Stefan Monnier [this message]
2009-11-23  5:13     ` Carsten Dominik
2009-12-05 22:55   ` bug#5000: marked as done (23.1.50; empty string not allowed as line-prefix) Emacs bug Tracking System

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=jwveinp3nr3.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=5000@emacsbugs.donarmstrong.com \
    --cc=carsten.dominik@gmail.com \
    /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).