1. 01 Nov, 2014 10 commits
    • Michael R. Mauger's avatar
      * sql.el (sql-interactive-mode, sql-stop): Correct fix for · fcc5b488
      Michael R. Mauger authored
      Bug#16814 with let-bind of comint-input-ring variables around read
      and save functions.
      fcc5b488
    • Glenn Morris's avatar
      ChangeLog simplification · b99e8f83
      Glenn Morris authored
      b99e8f83
    • Glenn Morris's avatar
      Fix ChangeLog typo · e54c5e4e
      Glenn Morris authored
      e54c5e4e
    • Michael Albinus's avatar
      * net/tramp-cache.el (tramp-get-file-property) · 7a2d5600
      Michael Albinus authored
      (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
      and `tramp-cache-set-count-*' are bound.  Otherwise, there might
      be compiler warnings.
      
      * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
      Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
      7a2d5600
    • Alan Mackenzie's avatar
      Make blink-parens work with a closing template delimiter. · f3f7acc5
      Alan Mackenzie authored
      progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
      before calling blink-paren-function, so as to apply syntax-table
      properties to the ">".
      f3f7acc5
    • Eli Zaretskii's avatar
      Fix bug #18856 with failure to fontify compilation buffers. · 85f20e48
      Eli Zaretskii authored
       lisp/progmodes/compile.el (compilation-mode): Turn off deferred
       fontifications locally.
      85f20e48
    • Wolfgang Jenkner's avatar
      * net/tramp-sh.el (tramp-send-command): Fix the case where the · b14b7f43
      Wolfgang Jenkner authored
      remote-echo connection property is non-nil.
      
      Fixes: debbugs:18858
      b14b7f43
    • Michael Albinus's avatar
      Backport Tramp changes from trunk. · ae5602c5
      Michael Albinus authored
      * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
      (tramp-adb-handle-write-region): Improve messages.
      (tramp-adb-maybe-open-connection): Don't set
      `tramp-current-*' variables.
      
      * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
      Suppress debug messages.
      
      * net/tramp-ftp.el (top): Remove special handling for URL syntax.
      (tramp-ftp-file-name-handler):
      
      * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
      (tramp-gvfs-methods-mounttracker)
      (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
      during initialization. 
      (tramp-gvfs-handle-delete-file): Flush file properties, not
      directory properties.
      (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
      reading "unix::mode".
      (tramp-gvfs-handle-file-name-all-completions):
      Use "-h" option for "gvfs-ls".
      (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
      `user' and `localname' could be nil.
      (tramp-gvfs-send-command): Simplify traces.
      
      * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
      (vc-git-program, vc-hg-program): Declare.
      (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
      (tramp-methods) <nc>: Add new method.
      (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
      (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
      `tramp-login-args'.
      (tramp-default-user-alist): Add "nc".
      (top): Remove completion function for "sftp".  Add completion
      functions for "nc" and "psftp".
      (tramp-sh-handle-set-visited-file-modtime):
      (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
      (tramp-do-copy-or-rename-file-out-of-band):
      Use cached "remote-copy-args" value, if available.  (Bug#18199)
      Tweak docstring.  Implement support for "nc" method.
      (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
      (tramp-remote-coding-commands, tramp-call-local-coding-command):
      Tweak docstring.
      (tramp-sh-handle-start-file-process): Expand `default-directory'.
      (tramp-sh-handle-write-region): Tweak error message.
      (tramp-sh-handle-vc-registered): Remove backends when the remote
      binary does not exist.
      (tramp-open-connection-setup-interactive-shell):
      Prefer utf-8 coding.  (Bug#17859)
      (tramp-find-inline-encoding): Do not raise an error.
      (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
      the "nc" case.  Quote result also locally.
      (tramp-get-remote-id): Check also for "gid".
      (tramp-get-remote-python):
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-set-file-acl): Use `start-process'.
      (tramp-smb-handle-insert-directory): Use progress reporter.
      (tramp-smb-handle-rename-file): Flush also file properties of
      FILENAME.
      
      * net/tramp.el (tramp-methods): Tweak docstring.
      (tramp-file-name-handler): Apply `cons' where appropriate.
      (tramp-handle-file-accessible-directory-p): Check for
      `file-readable-p' instead of `file-executable-p'.
      (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
      (tramp-handle-unhandled-file-name-directory): Return "/".
      (tramp-check-cached-permissions):
      Use `tramp-compat-file-attributes'.
      (tramp-call-process): Add new argument VEC.  Adapt callees in all
      tramp*.el files.
      
      * net/trampver.el: Update release number.
      ae5602c5
    • Jan Djärv's avatar
      * lisp/select.el (gui-get-selection): Comment: data-type ignored on NS. · 722afcab
      Jan Djärv authored
      * src/nsselect.m (ns_get_local_selection): Remove calling of
      functions in Vselection_converter_alist.
      (syms_of_nsselect): Remove Vselection_converter_alist.
      
      Fixes: debbugs:18911
      722afcab
    • Alan Mackenzie's avatar
      Correct name on yesterday's patch "Add "enum classs" support to C++ mode." · ce4670d7
      Alan Mackenzie authored
      to Daniel Colascione.
      ce4670d7
  2. 31 Oct, 2014 7 commits
  3. 30 Oct, 2014 5 commits
  4. 29 Oct, 2014 6 commits
    • Glenn Morris's avatar
      * lisp/net/rcirc.el (rcirc-fill-column): Unbump :version. · cc99f920
      Glenn Morris authored
      A change in the possible :type with no change in the default does not
      merit a :version bump.
      Mark :risky.
      cc99f920
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      Fix bug #18874 with rgrep not obeying grep-scroll-output. · 091d3228
      Eli Zaretskii authored
       lisp/progmodes/compile.el (compilation-start): If
       compilation-scroll-output is non-nil, don't force window-start of
       the compilation buffer to be at beginning of buffer.
      091d3228
    • Paul Eggert's avatar
      Simplify use of current-time and friends. · 123ddec7
      Paul Eggert authored
      * doc/misc/org.texi (Dynamic blocks):
      * lisp/allout-widgets.el (allout-widgets-hook-error-handler):
      * lisp/calendar/appt.el (appt-display-message):
      * lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
      * lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
      (timeclock-last-period, timeclock-day-base):
      * lisp/eshell/em-ls.el (eshell-ls-file):
      * lisp/eshell/esh-util.el (eshell-parse-ange-ls):
      * lisp/generic-x.el (named-database-print-serial):
      * lisp/net/newst-backend.el (newsticker--get-news-by-url-callback)
      (newsticker-get-news, newsticker--sentinel-work)
      (newsticker--image-get, newsticker--image-sentinel):
      * lisp/net/tramp-sh.el (tramp-get-remote-touch):
      * lisp/progmodes/opascal.el (opascal-debug-log):
      * lisp/textmodes/remember.el (remember-mail-date)
      (remember-store-in-files):
      * lisp/vc/vc-annotate.el (vc-annotate-display-autoscale)
      (vc-default-annotate-current-time):
      * lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot):
      * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time):
      * lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time):
      * lisp/url/url-util.el (url-get-normalized-date):
      * lisp/erc/erc-backend.el (TOPIC):
      * lisp/gnus/gnus-delay.el (gnus-delay-article):
      * lisp/gnus/gnus-sum.el (gnus-summary-read-document):
      * lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/org/org-archive.el (org-archive-subtree)
      (org-archive-to-archive-sibling):
      * lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
      (org-clock-special-range):
      * lisp/org/org-timer.el (org-timer-seconds):
      * lisp/org/org.el (org-read-date-analyze, org-get-cursor-date):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-icalendar.el (org-icalendar--vtodo):
      Omit unnecessary call to current-time.
      * lisp/calendar/time-date.el (time-to-seconds) [!float-time]:
      * lisp/calendar/timeclock.el (timeclock-time-to-date):
      * lisp/vc/vc-annotate.el (vc-annotate-convert-time):
      Use current time if arg is nil, to be compatible with float-time.
      (time-date--day-in-year): New function, with most of the guts of
      the old time-to-day-in-year.
      (time-to-day-in-year): Use it.
      (time-to-days): Use it, to avoid decoding the same time stamp twice.
      * lisp/calendar/timeclock.el (timeclock-update-mode-line):
      * lisp/cedet/srecode/args.el (srecode-semantic-handle-:time):
      * lisp/gnus/gnus-util.el (gnus-seconds-year):
      * lisp/org/org.el (org-get-cursor-date):
      Don't call current-time twice to get the current time stamp,
      as this can lead to inconsistent results.
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/erc/erc.el (erc-emacs-time-to-erc-time):
      * lisp/ido.el (ido-time-stamp):
      * lisp/vc/vc-annotate.el (vc-annotate-convert-time):
      Simplify by using float-time.
      * lisp/completion.el (save-completions-to-file):
      * lisp/url/url-cache.el (url-cache-prune-cache):
      Rename local var to avoid confusion.
      * lisp/gnus/gnus-util.el (gnus-float-time):
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Simplify to an alias because time-to-seconds now behaves like float-time
      with respect to nil arg.
      * lisp/subr.el (progress-reporter-do-update):
      Don't call float-time unless needed.
      * lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
      * lisp/org/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
      conversion from floating point to Emacs time and back.
      (org-resolve-clocks): Prefer two-argument floor.
      123ddec7
    • Leo Liu's avatar
      * net/rcirc.el (rcirc-fill-column): Use function. · 14e5809d
      Leo Liu authored
      (rcirc-markup-fill): Remove adjustment.
      14e5809d
    • Christopher Schmidt's avatar
      doc/misc/calc.texi (Quick Calculator): Mention prefix argument of · 3f3b46d4
      Christopher Schmidt authored
      `quick-calc'. 
      
      etc/NEWS: Mention prefix argument of `quick-calc'.
      
      lisp/calc/calc.el (quick-calc):
      lisp/calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
      3f3b46d4
  5. 28 Oct, 2014 1 commit
  6. 26 Oct, 2014 1 commit
  7. 25 Oct, 2014 3 commits
  8. 24 Oct, 2014 3 commits
    • Vincent Belaïche's avatar
      * ses.el (macroexp): add require for this package, so that function · b5dc75ae
      Vincent Belaïche authored
      `ses--cell gets macroexp-quote.
      (ses--cell): makes formula a macroexp-quote of value when formula
      is nil. The rationale of this changr is to allow in the future
      shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
      instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
      reference list REFLIST would be re-computed after load --- thus
      trading off load time against file size.
      
      * emacs-lisp/package.el (package--alist-to-plist-args): use
      macroexp-quote instead of a lambda expression which has the same
      content as macroexp-quote.
      (macroexp): add require for this package, so that function
      `package--alist-to-plist-args' gets macroexp-quote.
      
      * emacs-lisp/macroexp.el (macroexp-quote): new defun.
      b5dc75ae
    • Stefan Monnier's avatar
      * lisp/term/ns-win.el (ns-store-cut-buffer-internal) · ac6839a8
      Stefan Monnier authored
      (ns-copy-including-secondary): Use gui-set-selection.
      
      Fixes: debbugs:18816
      ac6839a8
    • Martin Rudalics's avatar
      Improve mouse dragging of frame edges. · 3110159d
      Martin Rudalics authored
      * keyboard.c (make_lispy_position): Return coordinates also when
      on scroll bars, fringes, margins or not in a window.
      * xdisp.c (show_mouse_face): Don't change cursor face during
      mouse tracking.
      * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
      Calculate increment from last position instead of window edge.
      Add right- and bottom-divider bindings to transient map.
      3110159d
  9. 23 Oct, 2014 4 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate · 864d69a1
      Stefan Monnier authored
      even if :predicate was nil, for the benefit of typep.
      Record the name of the predicate for typep's use.
      (cl--make-type-test): Use pcase.  Obey new cl-deftype-satisfies property.
      864d69a1
    • Stefan Monnier's avatar
      * lisp/epg.el: Use cl-defstruct. · e77628bd
      Stefan Monnier authored
      (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
      (epg-data-string): Define via cl-defstruct.
      (epg--gv-nreverse): New macro.
      (epg-context--make): New constructor (provided vi cl-defstruct).
      (epg-make-context): Rewrite using it.
      (epg-context-protocol, epg-context-program)
      (epg-context-home-directory, epg-context-armor, epg-context-textmode)
      (epg-context-include-certs, epg-context-cipher-algorithm)
      (epg-context-digest-algorithm, epg-context-compress-algorithm)
      (epg-context-passphrase-callback, epg-context-progress-callback)
      (epg-context-signers, epg-context-sig-notations, epg-context-process)
      (epg-context-output-file, epg-context-result, epg-context-operation)
      (epg-context-pinentry-mode): Define using cl-defstruct.
      (epg-context-set-protocol, epg-context-set-program)
      (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
      (epg-context-set-digest-algorithm)
      (epg-context-set-sig-notations, epg-context-set-process)
      (epg-context-set-output-file, epg-context-set-result)
      (epg-context-set-operation, epg-context-set-pinentry-mode)
      (epg-context-set-compress-algorithm): Remove.  Use setf instead.
      (epg-context-set-armor, epg-context-set-textmode)
      (epg-context-set-signers): Redefine using setf
      and declare as obsolete.
      (epg-context-set-passphrase-callback)
      (epg-context-set-progress-callback): Use setf.
      (epg-signature-notations): Rename from epg-sig-notations.
      (epg-make-signature, epg-signature-status, epg-signature-key-id)
      (epg-signature-validity, epg-signature-fingerprint)
      (epg-signature-creation-time, epg-signature-expiration-time)
      (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
      (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
      (epg-signature-set-status, epg-signature-set-key-id)
      (epg-signature-set-validity, epg-signature-set-fingerprint)
      (epg-signature-set-creation-time, epg-signature-set-expiration-time)
      (epg-signature-set-pubkey-algorithm)
      (epg-signature-set-digest-algorithm, epg-signature-set-class)
      (epg-signature-set-version, epg-signature-set-notations): Remove.
      Use setf instead.
      (epg-make-new-signature, epg-new-signature-type)
      (epg-new-signature-pubkey-algorithm)
      (epg-new-signature-digest-algorithm, epg-new-signature-class)
      (epg-new-signature-creation-time, epg-new-signature-fingerprint):
      Define using cl-defstruct.
      (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
      (epg-key-user-id-list): Define using cl-defstruct.
      (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
      Use setf instead.
      (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
      (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
      (epg-sub-key-id, epg-sub-key-creation-time)
      (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
      cl-defstruct.
      (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
      (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
      (epg-user-id-signature-list): Define using cl-defstruct.
      (epg-user-id-set-signature-list): Remove.  Use setf instead.
      (epg-make-key-signature, epg-key-signature-validity)
      (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
      (epg-key-signature-creation-time, epg-key-signature-expiration-time)
      (epg-key-signature-user-id, epg-key-signature-class)
      (epg-key-signature-exportable-p): Define using cl-defstruct.
      (epg-make-sig-notation, epg-sig-notation-name)
      (epg-sig-notation-value, epg-sig-notation-human-readable)
      (epg-sig-notation-critical): Define using cl-defstruct.
      (epg-sig-notation-set-value): Remove.  Use setf instead.
      (epg-make-import-status, epg-import-status-fingerprint)
      (epg-import-status-reason, epg-import-status-new)
      (epg-import-status-user-id, epg-import-status-signature)
      (epg-import-status-sub-key, epg-import-status-secret): Define using
      cl-defstruct.
      (epg-make-import-result, epg-import-result-considered)
      (epg-import-result-no-user-id, epg-import-result-imported)
      (epg-import-result-imported-rsa, epg-import-result-unchanged)
      (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
      (epg-import-result-new-signatures, epg-import-result-new-revocations)
      (epg-import-result-secret-read, epg-import-result-secret-imported)
      (epg-import-result-secret-unchanged, epg-import-result-not-imported)
      (epg-import-result-imports): Define using cl-defstruct.
      
      * lisp/emacs-lisp/package.el: Require EPG during macroexpansion.
      (package--check-signature, package-import-keyring): Use setf instead of
      epg-context-set-home-directory.
      e77628bd
    • Tassilo Horn's avatar
      Backport latest doc-view fix · 9e147f75
      Tassilo Horn authored
      * doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
      viewing the document's plain text contents.  [Backport]
      
      * lisp/doc-view.el (doc-view-open-text): View the document's plain text
      in the current buffer instead of a new one.
      (doc-view-toggle-display): Handle the case where the current
      buffer contains the plain text contents of the document.
      (doc-view-initiate-display): Don't switch to fallback mode if the
      user wants to view the doc's plain text.  [Backport]
      9e147f75
    • Eli Zaretskii's avatar
      Fix bug #18760 with incorrect decoding of tutorial for "About Emacs" screen. · ac0f1b85
      Eli Zaretskii authored
       lisp/startup.el (fancy-about-text): Read the entire tutorial, not
       just its first 256 bytes.
      ac0f1b85