1. 22 Sep, 2012 6 commits
    • Chong Yidong's avatar
      * files.el (ctl-x-map): Bind C-x C-q to read-only-mode. · 3df47cd5
      Chong Yidong authored
      Fixes: debbugs:12462
      3df47cd5
    • Chong Yidong's avatar
      Misc doc fixes. · c88b867f
      Chong Yidong authored
      * searching.texi (Replacing Match): Minor clarification.
      
      * lisp/repeat.el (repeat): Doc fix.
      
      * lisp/simple.el (shell-command-on-region): Doc fix.
      
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
      
      * cmds.c (Fforward_char, Fbackward_char): Doc fix.
      
      * editfns.c (Fline_beginning_position): Doc fix.
      (Fline_end_position): Doc fix.
      
      * minibuf.c (Finternal_complete_buffer): Doc fix.
      
      * search.c (Freplace_match): Doc fix.
      
      Fixes: debbugs:12325 debbugs:12391 debbugs:12416 debbugs:12414 debbugs:10909 debbugs:12348
      c88b867f
    • Eli Zaretskii's avatar
      Fix bugs #12447 and #12326 with infloop causes by idle timers, update docs. · df9685f3
      Eli Zaretskii authored
       src/keyboard.c (timer_check_2): Move calculation of 'timers' and
       'idle_timers' from here ...
       (timer_check): ... to here.  Use Fcopy_sequence to copy the timer
       lists, to avoid infloops when the timer does something stupid,
       like reinvoke itself with the same or smaller time-out.
      
       lisp/emacs-lisp/timer.el (run-with-idle-timer)
       (timer-activate-when-idle): Warn against reinvoking an idle timer
       from within its own timer action.
      
       doc/lispref/os.texi (Idle Timers): Warn against reinvoking an idle timer
       from within its own timer action.
      df9685f3
    • Martin Rudalics's avatar
      Make Temp Buffer Resize Mode less intrusive (Bug#1806). · 8e17c9ba
      Martin Rudalics authored
      * window.c (Fsplit_window_internal): Handle only Qt value of
      Vwindow_combination_limit separately.
      (Qtemp_buffer_resize): New symbol.
      (Vwindow_combination_limit): New default value.  Rewrite
      doc-string.
      * cus-start.el (window-combination-limit): Add new optional
      values.
      * window.el (temp-buffer-window-show)
      (window--try-to-split-window): Obey new values of
      window-combination-limit.
      (split-window): Test window-combination-limit for t instead of
      non-nil.
      (display-buffer-at-bottom): New buffer display action function.
      * help.el (temp-buffer-resize-regexps): New option.
      (temp-buffer-resize-mode): Rewrite doc-string.
      (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
      Don't resize reused window.  Suggested by Glen Morris.
      8e17c9ba
    • Stefan Merten's avatar
      * rst.el: Revamp section title faces. · 48a24920
      Stefan Merten authored
      (rst-official-version)
      (rst-package-emacs-version-alist): Sync with official version
      V1.4.0.
      (rst-faces-defaults, rst-set-level-default)
      (rst-level-face-max, rst-level-face-base-color)
      (rst-level-face-base-light, rst-level-face-format-light)
      (rst-level-face-step-light, rst-define-level-faces): Obsolete.
      (rst-adornment-faces-alist): Match new setup.
      (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
      (rst-level-5, rst-level-6): New faces.
      48a24920
    • Chong Yidong's avatar
      Fix auto-save and locking for indirect buffers. · 82f8cd94
      Chong Yidong authored
      * lisp/simple.el (undo): Handle indirect buffers.
      
      * buffer.c (Fset_buffer_modified_p): Handle indirect buffers.
      
      Fixes: debbugs:8207
      82f8cd94
  2. 20 Sep, 2012 14 commits
  3. 19 Sep, 2012 7 commits
    • Juri Linkov's avatar
      * lisp/dired-aux.el (dired-diff): Add (require 'diff) because · 12734222
      Juri Linkov authored
      `diff-latest-backup-file' is not autoloaded.
      (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
      of `dired-get-filename' to t to not report error when there is
      no default file on the current line.
      12734222
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from · ce97595b
      Stefan Monnier authored
      macroexp--eval-if-compile.
      (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
      (macroexp--expand-all): Use them.
      
      Fixes: debbugs:12371
      ce97595b
    • Stefan Monnier's avatar
      * lisp/doc-view.el (doc-view-guess-paper-size) · 46624b4f
      Stefan Monnier authored
      (doc-view-scale-bounding-box): Fix unbound `caddr'.
      46624b4f
    • Tassilo Horn's avatar
      New feature: set optimal slice from BoundingBox information. · db8a5a18
      Tassilo Horn authored
      * doc-view.el (doc-view-mode-map): Add keybinding.
      (doc-view-menu): Add menu entry.
      (doc-view-set-slice): Adapt docstring.
      (doc-view-get-bounding-box, doc-view-guess-paper-size)
      (doc-view-scale-bounding-box)
      (doc-view-set-slice-from-bounding-box): New functions.
      (doc-view-paper-sizes): New defvar.
      
      * doc/emacs/misc.texi (DocView Slicing): Document new slice from
      BoundingBox feature.
      db8a5a18
    • Glenn Morris's avatar
      Partial fix for bug#12371 · 35f5b19d
      Glenn Morris authored
      * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
      (byte-compile-log-warning): Autoload.
      35f5b19d
    • Glenn Morris's avatar
      Allow customization of calendar month header text · 69f6644c
      Glenn Morris authored
      * lisp/calendar/calendar.el (calendar-american-month-header)
      (calendar-european-month-header, calendar-iso-month-header)
      (calendar-month-header): New options.
      (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
      (calendar-generate-month): Use calendar-month-header.
      
      Fixes: debbugs:9510
      69f6644c
    • Jan Djärv's avatar
      * lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry. · e543ae91
      Jan Djärv authored
      * src/frame.c (read_integer, XParseGeometry): Moved from w32xfns.c.
      (Fx_parse_geometry): If there is a space in string, call
      Qns_parse_geometry, otherwise do as on other terms.
      
      * src/w32xfns.c (read_integer, XParseGeometry): Move to frame.c.
      
      * src/nsfns.m (XParseGeometry): Remove.
      (Fx_create_frame): Call x_set_offset to correctly interpret
      top_pos in geometry.
      
      Fixes: debbugs:12368
      e543ae91
  4. 18 Sep, 2012 9 commits
  5. 17 Sep, 2012 4 commits
    • Stefan Merten's avatar
      2012-09-17 Stefan Merten <smerten@oekonux.de> · 64f6a736
      Stefan Merten authored
      	* rst.el: Add support for `testcover'.
      	(rst-defcustom-testcover, rst-testcover-add-compose)
      	(rst-testcover-add-1value): New functions.
      	(rst-portable-mark-active-p): Replace by `use-region-p'.
      	(rst-update-section, rst-classify-adornment)
      	(rst-find-title-line): Mark `1value' forms.
      	(rst-classify-adornment): Remove superfluous form.
      	(rst-update-section, rst-get-adornments-around)
      	(rst-adornment-complete-p, rst-get-next-adornment)
      	(rst-adjust, rst-promote-region)
      	(rst-display-adornments-hierarchy, rst-straighten-adornments)
      	(rst-find-pfx-in-region, rst-section-tree-rec)
      	(rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
      	(rst-toc-node, rst-toc, rst-forward-section)
      	(rst-iterate-leftmost-paragraphs)
      	(rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
      	(rst-bullet-list-region)
      	(rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
      	(rst-compile-find-conf, rst-compile)
      	(rst-repeat-last-character): Fix style.
      64f6a736
    • Glenn Morris's avatar
      Add ChangeLog bug refs · 6b250df6
      Glenn Morris authored
      6b250df6
    • Chong Yidong's avatar
      Make pcomplete less eager to add an extra space. · 580bd868
      Chong Yidong authored
      * comint.el (comint--complete-file-name-data): Don't add a space
      if the status is `sole'; that adds a gratuitous space in the
      completion-cycling case.
      
      * pcomplete.el (pcomplete-completions-at-point): Likewise.
      
      Fixes: debbugs:12092
      580bd868
    • Richard M. Stallman's avatar