unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Roland.Meier@continental-corporation.com
To: bug-gnu-emacs@gnu.org
Subject: bug#4587: 23.1; sort-lines and sort-fields always set buffer modified
Date: Tue, 29 Sep 2009 18:38:44 +0200	[thread overview]
Message-ID: <OF24152BC5.4B27E59E-ONC1257640.005A815D-C1257640.005B7026@continental-corporation.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3629 bytes --]

M-x sort-lines and M-x sort-fields always set the buffer modified
status ("-" -> "*" in column 5 of the status line), even if the region
was sorted and the command did not modify anything.
An unmodified buffer should stay unmodified if nothing was changed.
Reproduction:
C-x C-f a <return> a <return> b <return> c <return> C-x C-s <C-home> 
M-x s o r t - l <tab> <return>
Status line should start with --\---, it starts with --\**-


In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

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: DEU
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-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

Recent input:
C-s C-s C-s C-a <up> <up> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-delete> <S-up> <S-up> <S-up> <S-down> 
<S-delete> <delete> C-s C-s C-a <f11> C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <C-right> M-. <return> 
<lwindow> <help-echo> <help-echo> <help-echo> <lwindow> 
<f1> i <f2> <M-backspace> e t <tab> p r <tab> <return> 
<C-home> C-s s o r t C-s C-s C-a <C-home> <lwindow> 
<f3> <return> C-s s o r t C-s C-s C-a <C-home> <down> 
<down> <down> <down> 2 C-s C-s <down> <up> <return> 
C-s m o d i f C-s C-s C-s C-s C-a <lwindow> <f9> a 
<tab> <return> C-g <f2> a <return> a <return> b <return> 
c <return> <f3> <return> y e s <return> <f2> c : \ 
a <return> a <return> b <return> c <return> <f11> <C-S-home> 
<C-end> M-x s o r t - l <tab> <return> C-_ <lwindow> 
M-x r e p o <tab> r <tab> <return>

Recent messages:
Mark saved where search started
Mark set
Mark saved where search started [2 times]
Quit
(New file) [2 times]
Saving file c:/a...
Wrote c:/a
Mark set [3 times]
Undo!
Making completion list...

-- 
Mit freundlichen Grüßen
Roland Meier
     \|||/ 
     (o o) 
==ooO==U==Ooo== 
mailto:rm369@arcor.de

[-- Attachment #2: Type: text/html, Size: 8968 bytes --]

             reply	other threads:[~2009-09-29 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-29 16:38 Roland.Meier [this message]
2009-09-30  4:44 ` bug#4587: 23.1; sort-lines and sort-fields always set buffer modified Stefan Monnier
2009-09-30 10:00   ` bug#4597: Antwort: " Roland.Meier
2009-09-30 13:51     ` bug#4587: " Stefan Monnier
2009-10-01 12:25       ` Kevin Rodgers
2009-10-01 14:19         ` Stefan Monnier
2009-10-25 13:41           ` Kevin Rodgers
2009-10-25 15:27             ` Stefan Monnier
2009-09-30 16:56     ` bug#4597: " Magnus Henoch
2022-05-03 19:24 ` bug#4587: " Lars Ingebrigtsen
2022-05-04  7:21   ` Eli Zaretskii
2022-05-04  7:53     ` Lars Ingebrigtsen

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=OF24152BC5.4B27E59E-ONC1257640.005A815D-C1257640.005B7026@continental-corporation.com \
    --to=roland.meier@continental-corporation.com \
    --cc=4587@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=rm369@arcor.de \
    /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).