1. 13 Jan, 2013 2 commits
  2. 11 Jan, 2013 3 commits
  3. 13 Jan, 2013 4 commits
  4. 12 Jan, 2013 10 commits
  5. 11 Jan, 2013 14 commits
    • Paul Eggert's avatar
      002b8433
    • Felix H. Dahlke's avatar
      * lisp/progmodes/js.el: Fix multiline declarations's indentation. · f90ff906
      Felix H. Dahlke authored
      (js--declaration-keyword-re): New var.
      (js--multi-line-declaration-indentation): New function.
      (js--proper-indentation): Use it.
      
      Fixes: debbugs:8576
      f90ff906
    • Aaron S. Hawley's avatar
      Disambiguate function and variable references in docstrings. · 9fc9a531
      Aaron S. Hawley authored
      * lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/ffap.el (ffap-string-at-point-region, ffap-next)
      (ffap-string-at-point, ffap-string-around)
      (ffap-copy-string-as-kill, ffap-highlight-overlay)
      (ffap-literally): Fix ambiguous doc string cross-reference(s).
      
      * lisp/font-lock.el (font-lock-keywords-alist)
      (font-lock-removed-keywords-alist): Fix ambiguous doc string
              cross-reference(s).
      
      * lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for
      a cross-reference to a function.
      
      * lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/newcomment.el (comment-box): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
      (pr-setting-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
      (ps-n-up-filling-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/server.el (server-buffer, server-log): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/simple.el (newline, delete-backward-char, delete-forward-char)
      (minibuffer-history-isearch-message, kill-line, track-eol)
      (temporary-goal-column): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/whitespace.el (whitespace-point)
      (whitespace-font-lock-refontify, whitespace-bob-marker)
      (whitespace-eob-marker): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/calc/calc.el (calc-highlight-selections-with-faces)
       (calc-dispatch): Fix ambiguous doc string cross-reference(s).
      
      * lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3)
      (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
      (java-font-lock-keywords-3, idl-font-lock-keywords-3)
      (pike-font-lock-keywords-3): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/compile.el (compile): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/etags.el (tags-table-files)
      (tags-table-files-function, tags-included-tables-function): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows)
      (gdb-restore-windows): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag)
      (flyspell-default-deplacement-commands): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/vc/compare-w.el (compare-ignore-whitespace)
      (compare-ignore-case, compare-windows-dehighlight): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s).
      
      * src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
       ambiguous doc string cross-reference(s).
      
      * src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
       doc string cross-reference(s).
      
      * src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
       string cross-reference(s).
      
      Fixes: debbugs:12686
      9fc9a531
    • Stefan Monnier's avatar
      *** empty log message *** · ab7c80f1
      Stefan Monnier authored
      ab7c80f1
    • Michael Albinus's avatar
      Fix a scoping error. · c88be996
      Michael Albinus authored
      c88be996
    • Michael Albinus's avatar
      * autorevert.el (top): Require 'cl in order to pacify byte compiler. · 65adfa20
      Michael Albinus authored
      (auto-revert-notify-rm-watch): Ignore errors.
      (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
      inotify, and '(size last-write-time) for w32notify.  Set
      buffer-local `auto-revert-use-notify' to nil when adding a file
      watch fails - this is a fallback to the file modification check.
      (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
      (auto-revert-notify-event-action)
      (auto-revert-notify-event-file-name): New defuns.
      (auto-revert-notify-handler): Use them.  Implement first
      plausibility checks.
      (auto-revert-handler): Handle also `auto-revert-tail-mode'.
      65adfa20
    • Julien Danjou's avatar
      color.el: fix color-rgb-to-hsv computing · 43b2e2e7
      Julien Danjou authored
      43b2e2e7
    • Dmitry Antipov's avatar
      Avoid unnecessary byte position calculation for the gap movement. · 6020559a
      Dmitry Antipov authored
      Since all users of move_gap do CHAR_TO_BYTE for other purposes
      anyway, all of them should use move_gap_both instead.
      * lisp.h (move_gap): Remove prototype.
      * insdel.c (move_gap): Remove.
      (move_gap_both): Add eassert.
      * editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
      * xml.c (parse_region): Likewise.
      6020559a
    • Dmitry Antipov's avatar
      Use point-max-marker and point-min-marker here and there. · 30818a23
      Dmitry Antipov authored
      * lisp/emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
      * lisp/erc/erc-dcc.el (erc-dcc-chat-setup): Likewise.
      * lisp/gnus/gnus-async.el (gnus-async-article-callback): Likewise.
      * lisp/erc/erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
      * lisp/gnus/gnus-art.el (gnus-mime-display-security): Use point-min-marker
      and point-max-marker.
      30818a23
    • Eli Zaretskii's avatar
      Fix last commit in autorevert.el. · 10e714d5
      Eli Zaretskii authored
       lisp/autorevert.el (auto-revert-notify-rm-watch)
       (auto-revert-notify-add-watch): Fix typos in w32notify function
       names.
      10e714d5
    • Eli Zaretskii's avatar
      MS-Windows followup to bugfix #13387. · 99a7a591
      Eli Zaretskii authored
       nt/inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
       used in term.c.
      99a7a591
    • Eli Zaretskii's avatar
      lib/getopt_.h: Regenerate. · b76381c6
      Eli Zaretskii authored
      b76381c6
    • Uwe Brauer's avatar
      lisp/gnus/mml-smime.el: Add mml-smime-encrypt-to-self · 0b2780df
      Uwe Brauer authored
      * mml-smime.el (mml-smime-encrypt-to-self): New user option analogous
      to mml2015-encrypt-to-self.
      (mml-smime-epg-encrypt): Respect mml-smime-encrypt-to-self.
      0b2780df
    • Paul Eggert's avatar
      emacsclient -t should not suspend Emacs server · b8956427
      Paul Eggert authored
      * lisp.h, sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
      New functions.
      * term.c (init_tty): Use them instead of rolling our own code.
      * sysdep.c (tcsetpgrp_without_stopping): Likewise.  Here, this
      switches from 'signal' to 'pthread_sigmask', which is safer in
      multithreaded applications.
      * term.c (Fresume_tty): Don't bother dissociating if O_IGNORE_CTTY,
      which has already arranged for that.
      (dissociate_if_controlling_tty): If setsid fails, fall back on TIOCNOTTY.
      This is the main part of the bug fix.
      
      Fixes: debbugs:13387
      b8956427
  6. 10 Jan, 2013 7 commits
    • Michael Albinus's avatar
      * autorevert.el (auto-revert-notify-enabled): Move up. · a778dd57
      Michael Albinus authored
      (auto-revert-use-notify): New defcustom.
      (auto-revert-mode, global-auto-revert-mode)
      (auto-revert-notify-add-watch, auto-revert-handler)
      (auto-revert-buffers): Use `auto-revert-use-notify' instead of
      `auto-revert-notify-enabled'.
      a778dd57
    • Jan Djärv's avatar
      * gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around · 48660ca5
      Jan Djärv authored
      x_last_font_name.
      
      Fixes: debbugs:13403
      48660ca5
    • Elias Pipping's avatar
      * lisp/files.el (auto-mode-alist): Use doc-view for djvu files. · 72781fef
      Elias Pipping authored
      * lisp/doc-view.el (doc-view-document->bitmap):
      Use doc-view-single-page-converter-function instead of
      single-page-converter arg; adjust callers.
      
      Fixes: debbugs:13164
      72781fef
    • Feng Li's avatar
      * lisp/progmodes/which-func.el (which-function): Understand Semantic's use · e6ed8f08
      Feng Li authored
      of overlays in imenu--index-alist.
      e6ed8f08
    • Wolfgang Jenkner's avatar
      * lisp/man.el: Handle different "man -k" behaviors. Use utf-8. · 327a6cca
      Wolfgang Jenkner authored
      (Man-man-k-use-anchor): New var.
      (Man-parse-man-k): New function.
      (Man-completion-table): Use it.
      (man): Flush the completion cache between uses.
      * test/automated/man-tests.el: New file.
      
      Fixes: debbugs:13160
      327a6cca
    • Michael Albinus's avatar
      * autorevert.el: Add file watch support. · ed911257
      Michael Albinus authored
      (auto-revert-notify-enabled): New defconst.
      (auto-revert-notify-watch-descriptor-hash-list)
      (auto-revert-notify-watch-descriptor)
      (auto-revert-notify-modified-p): New defvars.
      (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
      (auto-revert-notify-handler): New defuns.
      (auto-revert-mode, global-auto-revert-mode): Remove file watches
      when mode is disabled.
      (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
      (auto-revert-buffers): Add file watches for active buffers.
      ed911257
    • Dmitry Antipov's avatar
      Omit buffer_slot_type_mismatch and use generic predicates to enforce · 58cc0a01
      Dmitry Antipov authored
      the type of per-buffer values where appropriate.
      * src/lisp.h (struct Lisp_Buffer_Objfwd): Rename slottype member to
      predicate, which is how it's really used now.  Adjust comment.
      * src/buffer.h (buffer_slot_type_mismatch): Remove prototype.
      * src/buffer.c (buffer_slot_type_mismatch): Remove.
      (DEFVAR_PER_BUFFER, defvar_per_buffer): Rename type argument to
      predicate.  Adjust comment.
      (syms_of_buffer): Use Qsymbolp for major-mode.  Use Qintegerp for
      fill-column, left-margin, tab-width, buffer-saved-size,
      left-margin-width, right-margin-width, left-fringe-width,
      right-fringe-width, scroll-bar-width and buffer-display-count.
      Use Qstringp for default-directory, buffer-file-name,
      buffer-file-truename and buffer-auto-save-file-name.  Use Qfloatp for
      scroll-up-aggressively and scroll-down-aggressively.  Use Qnumberp for
      line-spacing.
      * src/data.c (store_symval_forwarding): Adjust to call the predicate.
      * lisp/cus-start.el (toplevel): Only allow float values for
      scroll-up-aggressively and scroll-down-aggressively.
      Allow any number for line-spacing.
      58cc0a01