1. 03 Nov, 2014 13 commits
  2. 02 Nov, 2014 6 commits
  3. 01 Nov, 2014 3 commits
    • 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
    • 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
  4. 29 Oct, 2014 3 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
    • 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
  5. 28 Oct, 2014 1 commit
  6. 25 Oct, 2014 1 commit
  7. 21 Oct, 2014 1 commit
  8. 20 Oct, 2014 2 commits
  9. 19 Oct, 2014 1 commit
    • Ulf Jasper's avatar
      Newsticker: Show feedicons in treeview. Small fix in opml export. · 8259e90e
      Ulf Jasper authored
      * etc/images/newsticker/README: Add rss-feed.png, rss-feed.svg.
      
      * etc/images/newsticker/rss-feed.png: New.
      
      * etc/images/newsticker/rss-feed.svg: New.
      
      * lisp/net/newst-backend.el: Require url-parse.
      (newsticker--get-news-by-wget): Store feed name as process property.
      (newsticker--sentinel): Read feed name from process property.
      (newsticker--sentinel-work): Rename argument name to feed-name.
      Rename variable imageurl to image-url.  Pick icon url from Atom
      1.0 data.  Launch download of feed icon.
      (newsticker--get-icon-url-atom-1.0): New.
      (newsticker--unxml)
      (newsticker--unxml-node)
      (newsticker--unxml-attribute): Documentation.
      (newsticker--icons-dir): New.
      (newsticker--image-get): New arguments FILENAME and DIRECTORY.
      Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
      (newsticker--image-download-by-wget): New.  Use process properties
      for storing informations.
      (newsticker--image-sentinel): Read informations from process properties.
      (newsticker--image-save)
      (newsticker--image-remove)
      (newsticker--image-download-by-url)
      (newsticker--image-download-by-url-callback): New.
      (newsticker-opml-export): Handle url list entries containing a
      function instead of an url string.
      
      * lisp/net/newst-reader.el (newsticker-html-renderer): Whitespace.
      (newsticker--print-extra-elements)
      (newsticker--do-print-extra-element): Documentation
      (newsticker--image-read): Optionally limit image height.  Use
      imagemagick if possible.
      (newsticker--icon-read): New.
      
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
      (newsticker--treeview-tree-expand): Use feed icons in treeview.
      (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
      (newsticker--tree-widget-leaf-icon): Use feed icon.
      8259e90e
  10. 18 Oct, 2014 1 commit
  11. 14 Oct, 2014 1 commit
  12. 12 Oct, 2014 1 commit
  13. 04 Oct, 2014 1 commit
  14. 01 Oct, 2014 1 commit
    • Ulf Jasper's avatar
      Newsticker: Use libxml instead of `xml-parse-region'. Fix some glitches. Clean up. · 34912c0a
      Ulf Jasper authored
      * lisp/net/newst-backend.el: Remove Time-stamp.  Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--sentinel-work): Move xml-workarounds to function
      `newsticker--do-xml-workarounds', call unless libxml-parser is
      used.  Allow single quote in regexp for encoding.  Use
      libxml-parser if available, else fall back to `xml-parse-region'.
      Take care of possibly missing namespace prefixes (like "RDF"
      instead of "rdf:RDF") when checking xml nodes and attributes (as
      libxml correctly removes the prefixes).  Always use Atom 1.0 as
      fallback feed type.  Rename `newsticker--download-logos' to
      `newsticker-download-logos'
      (newsticker--unxml, newsticker--unxml-node)
      (newsticker--unxml-attribute): New.
      (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
      HTML code has become part of the xml parse tree.
      (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
      of possibly missing namespace prefixes.
      (newsticker--parse-generic-items): Code formatting. Typo.
      (newsticker--images-dir): Add trailing slash.
      (newsticker--image-get): Fix error message.
      
      * lisp/net/newst-plainview.el: Remove Time-stamp.
      
      * lisp/net/newst-reader.el: Remove Time-stamp.
      (newsticker-download-logos): Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--print-extra-elements): Add optional parameter
      'htmlish for using html markup.  Amend list of ignored elements.
      (newsticker--do-print-extra-element): Add parameter 'htmlish for
      using html markup.
      
      * lisp/net/newst-ticker.el: Remove Time-stamp.
      
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Use html
      for formatting extra elements.
      
      * lisp/net/newsticker.el:  Remove Time-stamp, Version.
      (newsticker-version): Make obsolete.
      34912c0a
  15. 29 Sep, 2014 1 commit
  16. 25 Sep, 2014 1 commit
  17. 24 Sep, 2014 1 commit
    • Ulf Jasper's avatar
      Newsticker: Add commands to rearrange treeview groups and document them. (Bug#12560) · 558eb84f
      Ulf Jasper authored
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* newsticker.texi: Reworked.  Document new treeview group
      	commands.  Remove VERSION, UPDATED, use EMACSVER instead.  Use
      	term 'feed reader'.
      
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* automated/newsticker-tests.el
      	(newsticker--group-find-parent-group),
      	(newsticker--group-do-rename-group): New tests.
      
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
      	Renamed `newsticker--treeview-do-get-node' to
      	`newsticker--treeview-do-get-node-by-id'.
      	(newsticker--treeview-get-node-by-id): Renamed
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      	(newsticker--treeview-get-current-node): Renamed `
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      	(newsticker--treeview-buffer-init)
      	(newsticker--treeview-buffer-init): Disable buffer undo.
      	(newsticker--treeview-unfold-node): Adapted to modified
      	`newsticker--group-find-parent-group'.
      	(newsticker--group-do-find-group): Renamed
      	`newsticker--group-do-find-group-for-feed' to
      	`newsticker--group-do-find-group'.  Now works for both, groups and
      	feeds.
      	(newsticker--group-find-parent-group): Renamed
      	`newsticker--group-find-group-for-feed' to
      	`newsticker--group-find-parent-group'.  Now works for both, groups
      	and feeds.
      	(newsticker--group-do-get-parent-group)
      	(newsticker--group-get-parent-group): Removed.
      	(newsticker-group-add-group): Changed interactive prompts.
      	(newsticker-group-add-group): Finally jump to added group.
      	(newsticker-group-delete-group): Finally jump to current feed.
      	(newsticker--group-do-rename-group, newsticker-group-rename-group)
      	(newsticker--get-group-names, newsticker--group-names): New.
      	(newsticker-group-move-feed): Finally jump to moved feed.
      	(newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
      	(newsticker-group-shift-group-down)
      	(newsticker-group-shift-group-up, newsticker--group-shift): New
      	(newsticker--group-manage-orphan-feeds): Renamed
      	`newsticker--group-find-group-for-feed' to
      	`newsticker--group-find-parent-group'.
      	(newsticker-treeview-mode-map): New keybindings for new shift commands.
      	(newsticker-treeview-tree-do-click): Renamed
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      
      	* net/newst-backend.el (newsticker--item-list)
      	(newsticker--item-position, newsticker--prev-message)
      	(newsticker--scrollable-text): Moved to newst-ticker.el.
      
      	* net/newst-ticker.el (newsticker--item-list)
      	(newsticker--item-position, newsticker--prev-message)
      	(newsticker--scrollable-text): Moved from newst-backend.el.
      558eb84f
  18. 18 Sep, 2014 1 commit
    • Ivan Kanis's avatar
      Allow users to specify `shr-width' · 212b4d63
      Ivan Kanis authored
      * net/shr.el, net/eww.el: Don't override `shr-width', but
      introduce a new variable `shr-internal-width'.  This allows users
      to specify a width themselves.
      212b4d63