1. 11 Jan, 2013 6 commits
    • 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
  2. 10 Jan, 2013 16 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
    • Michael Albinus's avatar
    • Stefan Monnier's avatar
      * lisp/doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name. · bbc7ff25
      Stefan Monnier authored
      (doc-view-pdf->png-converter-function): Use mupdf if available.
      (doc-view-djvu->png-converter-function)
      (doc-view-ps->png-converter-function): Remove.
      (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
      (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
      (doc-view-already-converted-p): Adjust accordingly.
      (doc-view-mode-p): Simplify.
      (doc-view-enlarge): Use setq-local.
      (doc-view-pdf->png-converter-ghostscript)
      (doc-view-djvu->png-converter-ddjvu)
      (doc-view-pdf->png-converter-mupdf): Rework to call
      doc-view-start-process directly.
      (doc-view-pdf/ps->png): Simplify accordingly.
      (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
      (doc-view-document->bitmap): Rename from doc-view-document->png.
      (doc-view-convert-current-doc): Merge pdf and djvu cases.
      (doc-view-set-slice-from-bounding-box): Fix completion table.
      (doc-view-mode): Use add-hook for after-revert-hook.
      bbc7ff25
    • Glenn Morris's avatar
      Misc make-tarball updates · 31045a5b
      Glenn Morris authored
      31045a5b
    • Stefan Monnier's avatar
      Merge from emacs-24 · 3f9549e8
      Stefan Monnier authored
      3f9549e8
    • Glenn Morris's avatar
      Bump version to 24.2.92 · c4dd9efc
      Glenn Morris authored
      Regenerate etc/AUTHORS and lisp/ldefs-boot.el
      c4dd9efc
    • Roland Winkler's avatar
      * lisp/emacs-lisp/crm.el: Allow any regexp for separators. · b14abca9
      Roland Winkler authored
      (crm-default-separator): All spaces around the default comma separator.
      (crm--completion-command): New macro.
      (crm-completion-help, crm-complete, crm-complete-word): Use it.
      (crm-complete-and-exit): Handle non-single-char separators.
      b14abca9
    • Glenn Morris's avatar
      ChangeLog fixes from M-x authors · d1b066d2
      Glenn Morris authored
      d1b066d2
    • Glenn Morris's avatar
      authors.el tiny updates · 3c855b96
      Glenn Morris authored
      * lisp/emacs-lisp/authors.el (authors-ignored-files)
      (authors-valid-file-names, authors-renamed-files-alist):
      Add some more entries.
      3c855b96
    • Paul Eggert's avatar
      Merge from gnulib. · 6466e676
      Paul Eggert authored
      6466e676
  3. 09 Jan, 2013 18 commits