emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110362: * lisp/dired.el (dired-shrin


From: Juri Linkov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110362: * lisp/dired.el (dired-shrink-to-fit): Declare obsolete.
Date: Thu, 04 Oct 2012 21:30:08 +0300
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110362
fixes bug: http://debbugs.gnu.org/1806
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Thu 2012-10-04 21:30:08 +0300
message:
  * lisp/dired.el (dired-shrink-to-fit): Declare obsolete. 
  (dired-pop-to-buffer): Declare obsolete.
  (dired-mark-pop-up): Doc fix.
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/dired.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2012-10-02 06:46:40 +0000
+++ b/etc/NEWS  2012-10-04 18:30:08 +0000
@@ -792,6 +792,7 @@
 **** `special-display-buffer-names'
 **** `special-display-function'
 **** `display-buffer-function'
+**** `dired-shrink-to-fit'
 
 ** Time
 ---
@@ -856,6 +857,7 @@
 *** `buffer-has-markers-at'
 *** `macro-declaration-function' (use `macro-declarations-alist').
 *** `window-system-version'
+*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
 
 
 * Changes in Emacs 24.3 on non-free operating systems

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-10-04 16:39:37 +0000
+++ b/lisp/ChangeLog    2012-10-04 18:30:08 +0000
@@ -1,3 +1,9 @@
+2012-10-04  Juri Linkov  <address@hidden>
+
+       * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
+       (dired-pop-to-buffer): Declare obsolete.
+       (dired-mark-pop-up): Doc fix.
+
 2012-10-04  Fabián Ezequiel Gallina  <address@hidden>
 
        Allow user to set docstring style for fill-paragraph.
@@ -347,7 +353,7 @@
 2012-09-30  Juri Linkov  <address@hidden>
 
        * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
-       to nil around the call to `add-text-properties' to prevent
+       to nil around the call to `insert' to prevent
        directory time modification by lock_file.  (Bug#2295)
        * tar-mode.el (tar-summarize-buffer): Idem.
 

=== modified file 'lisp/dired.el'
--- a/lisp/dired.el     2012-09-30 09:10:59 +0000
+++ b/lisp/dired.el     2012-10-04 18:30:08 +0000
@@ -248,6 +248,10 @@
 ;; I see no reason ever to make this nil -- rms.
 ;;  (> baud-rate search-slow-speed)
   "Non-nil means Dired shrinks the display buffer to fit the marked files.")
+(make-obsolete-variable 'dired-shrink-to-fit
+                       "use the Customization interface to add a new rule
+to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\",
+action argument symbol is `window-height' and its value is nil." "24.3")
 
 (defvar dired-file-version-alist)
 
@@ -1877,7 +1881,6 @@
 
   `dired-listing-switches'
   `dired-trivial-filenames'
-  `dired-shrink-to-fit'
   `dired-marker-char'
   `dired-del-marker'
   `dired-keep-marker-rename'
@@ -2940,6 +2943,7 @@
 
 (defun dired-pop-to-buffer (buf)
   "Pop up buffer BUF in a way suitable for Dired."
+  (declare (obsolete dired-mark-pop-up "24.3"))
   (let ((split-window-preferred-function
         (lambda (window)
           (or (and (let ((split-height-threshold 0))
@@ -2981,6 +2985,11 @@
 window is not shown if there is just one file, `dired-no-confirm'
 is t, or OP-SYMBOL is a member of the list in `dired-no-confirm'.
 
+By default, Dired shrinks the display buffer to fit the marked files.
+To disable this, use the Customization interface to add a new rule
+to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\",
+action argument symbol is `window-height' and its value is nil.
+
 FILES is the list of marked files.  It can also be (t FILENAME)
 in the case of one marked file, to distinguish that from using
 just the current file.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]