1. 02 Sep, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix bug #18384 with incorrect reporting of row number by posn-col-row. · 5735a30d
      Eli Zaretskii authored
       lisp/subr.el (posn-col-row): Revert the change from commit
       2010-11-13T21:07:58Z!eliz@gnu.org, which
       was inadvertently merged from emacs-23 release branch in 
      2010-11-18T03:54:14Z!monnier@iro.umontreal.ca, and
       introduced an off-by-one error in the reported row when there is a
       header line.
      
       src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in
       the reported row in the case of a window with a header line, by
       improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org
       eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc.
      5735a30d
  2. 01 Sep, 2014 2 commits
  3. 30 Aug, 2014 1 commit
  4. 29 Aug, 2014 1 commit
  5. 28 Aug, 2014 1 commit
  6. 27 Aug, 2014 3 commits
  7. 25 Aug, 2014 1 commit
  8. 18 Aug, 2014 2 commits
  9. 13 Aug, 2014 1 commit
  10. 11 Aug, 2014 2 commits
  11. 10 Aug, 2014 1 commit
  12. 09 Aug, 2014 1 commit
  13. 08 Aug, 2014 2 commits
  14. 07 Aug, 2014 1 commit
  15. 05 Aug, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix bug #18195 with inaccurate results from window-screen-lines. · 5818408f
      Eli Zaretskii authored
       lisp/simple.el (default-line-height): A floating-point value of
       line-spacing means a fraction of the default frame font's height,
       not of the font currently used by the 'default' face.  Truncate
       the pixel value, like the display engine does.
       (window-screen-lines): Use window-inside-pixel-edges for
       determining the window height in pixels.
      5818408f
  16. 29 Jul, 2014 1 commit
  17. 28 Jul, 2014 1 commit
  18. 27 Jul, 2014 3 commits
  19. 25 Jul, 2014 4 commits
    • Stephen Berman's avatar
      * calendar/todo-mode.el (todo-edit-item--next-key): If next key is · e72e6612
      Stephen Berman authored
      not a character, ignore it instead of raising an error.
      e72e6612
    • Stephen Berman's avatar
      Fix code and doc involving marked items. · 6dd006a8
      Stephen Berman authored
      * todo-mode.texi (Marked Items): Correct omission of item deletion
      from commands applying to both todo and done items.
      
      * calendar/todo-mode.el: Fix handling of marked items and make
      minor code improvements.
      (todo-edit-item): If there are marked items, ensure user can only
      invoke editing commands that work with marked items.
      (todo-edit-item--text): When there are marked items, make it a
      noop if invoked with point not on an item; otherwise, ensure it
      applies only to item at point.
      (todo-item-undone): If there are marked not-done items, return
      point to its original position before signaling user error.
      (todo--user-error-if-marked-done-item): New function.
      (todo-edit-item--header, todo-edit-item--diary-inclusion)
      (todo-item-done): Use it.
      6dd006a8
    • Glenn Morris's avatar
      More toggle-read-only doc tweaks · 59bb3785
      Glenn Morris authored
      * lisp/files.el (toggle-read-only): Re-add basic doc-string.
      
      * lisp/vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
      59bb3785
    • Glenn Morris's avatar
      prolog.el: Fix for missing `switch-to-prolog' · 25aa0da5
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00228.html
      
      * lisp/progmodes/prolog.el (prolog-mode-keybindings-edit):
      Replace missing `switch-to-prolog' with `run-prolog'.
      (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
      25aa0da5
  20. 22 Jul, 2014 1 commit
  21. 21 Jul, 2014 2 commits
    • Paul Eggert's avatar
      Spelling fixes. · ad4c5263
      Paul Eggert authored
      ad4c5263
    • Glenn Morris's avatar
      Small fixes re toggle-read-only, mainly doc · f6c951e5
      Glenn Morris authored
      * progmodes/hideif.el (hide-ifdef-mode-submap): Also substitute read-only-mode.
      
      * bindings.el (mode-line-toggle-read-only):
      * bs.el (bs-toggle-readonly):
      * buff-menu.el (Buffer-menu-toggle-read-only):
      * dired.el (dired-toggle-read-only):
      * files.el (view-read-only, find-file-read-only)
      (find-file-read-only-other-window)
      (find-file-read-only-other-frame):
      * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
      Doc fixes re toggle-read-only.
      
      * view.el: Comment updates.
      f6c951e5
  22. 20 Jul, 2014 3 commits
  23. 19 Jul, 2014 2 commits
    • Fabián Ezequiel Gallina's avatar
      Fix Python shell prompts detection for remote hosts. · eb8cb39e
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-prompt-detect): Replace
      call-process with process-file and make it more robust.
      eb8cb39e
    • Fabián Ezequiel Gallina's avatar
      Autodetect Python shell prompts. · d949ade3
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el:
      (python-shell-interpreter-interactive-arg)
      (python-shell-prompt-detect-enabled)
      (python-shell-prompt-detect-failure-warning)
      (python-shell-prompt-input-regexps)
      (python-shell-prompt-output-regexps): New vars.
      (python-shell-prompt-calculated-input-regexp)
      (python-shell-prompt-calculated-output-regexp): New vars.
      (python-shell-get-process-name)
      (python-shell-internal-get-process-name)
      (python-shell-output-filter)
      (python-shell-completion-get-completions): Use them.
      (python-shell-prompt-detect)
      (python-shell-prompt-validate-regexps): New functions.
      (python-shell-prompt-set-calculated-regexps): New function.
      (inferior-python-mode): Use it.  Also honor overriden
      python-shell-interpreter and python-shell-interpreter-args.
      (python-shell-make-comint): Honor overriden
      python-shell-interpreter and python-shell-interpreter-args.
      (python-shell-get-or-create-process): Make it testable by allowing
      to call run-python non-interactively.
      (python-util-valid-regexp-p): New function.
      (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
      (python-shell-prompt-output-regexp)
      (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
      
      * test/automated/python-tests.el (python-shell-make-comint-1):
      (python-shell-make-comint-2): Fix indentation.
      (python-shell-make-comint-3)
      (python-shell-make-comint-4): New tests.
      (python-shell-get-or-create-process-1): Fix test.
      (python-shell-get-or-create-process-2)
      (python-shell-get-or-create-process-3): New tests.
      (python-shell-internal-get-or-create-process-1): Fix test.
      (python-shell-prompt-detect-1): New test.
      (python-shell-prompt-detect-2): New test.  (Bug#17370)
      (python-shell-prompt-detect-3)
      (python-shell-prompt-detect-4)
      (python-shell-prompt-detect-5)
      (python-shell-prompt-detect-6)
      (python-shell-prompt-validate-regexps-1)
      (python-shell-prompt-validate-regexps-2)
      (python-shell-prompt-validate-regexps-3)
      (python-shell-prompt-validate-regexps-4)
      (python-shell-prompt-validate-regexps-5)
      (python-shell-prompt-validate-regexps-6)
      (python-shell-prompt-validate-regexps-7)
      (python-shell-prompt-set-calculated-regexps-1)
      (python-shell-prompt-set-calculated-regexps-2)
      (python-shell-prompt-set-calculated-regexps-3)
      (python-shell-prompt-set-calculated-regexps-4)
      (python-shell-prompt-set-calculated-regexps-5)
      (python-shell-prompt-set-calculated-regexps-6)
      (python-util-valid-regexp-p-1): New tests.
      d949ade3
  24. 16 Jul, 2014 1 commit
  25. 14 Jul, 2014 1 commit
    • Glenn Morris's avatar
      Tweak earlier vc-log-edit change · be8b1ebb
      Glenn Morris authored
      * lisp/vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
      if it was "empty", or used for a different set of files.
      
      Fixes: debbugs:17884
      be8b1ebb