Eli Zaretskii
6eb899563a
* lisp/net/eww.el (eww-reload): Doc fix. (Bug#25981)
2017-03-11 17:43:35 +02:00
Michael Albinus
3993dc500d
Fix auto-save-file-name problem in Tramp on MS Windows. Do not merge
...
* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
Fix a problem when running on MS Windows.
2017-01-17 17:23:46 +01:00
Ian Dunn
24a5f57ac3
* lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
...
Copyright-paperwork-exempt: yes
2017-01-15 23:24:38 -05:00
Paul Eggert
2e2a806803
Fix copyright years by hand
...
These are dates that admin/update-copyright did not update, or
updated incorrectly.
2017-01-01 04:01:41 +00:00
Paul Eggert
5badc81c1c
Update copyright year to 2017
...
Run admin/update-copyright.
2016-12-31 19:42:26 -08:00
Eli Zaretskii
a725592db8
Avoid errors in shr-pixel-column due to dedicated windows
...
* lisp/net/shr.el (shr-pixel-column): If we are switching to
another buffer in the selected window, make that window
temporarily non-dedicated. (Bug#24950)
2016-11-20 21:08:47 +02:00
Paul Eggert
dc152c54f4
Modernize usage of 'macOS' in doc and comments
...
Apple changed the spelling of its operating system again, to "macOS",
effective with macOS 10.12 Sierra (2016-09-20). Change Emacs
documentation and comments to match this. Stick with older OS
spellings ("OS X", "Mac OS X") when talking about older releases where
the older names are more correct.
2016-11-06 00:42:03 -07:00
Tibor Csögör
cd05b1db33
Fix docstring of 'browse-url-firefox-new-window-is-tab'
...
* lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab):
Remove obsolete note from docstring (obsoleted by previous commits).
(Bug#24843)
Copyright-paperwork-exempt: yes
2016-11-04 11:24:21 +02:00
Michael Albinus
31219927a9
Fix Bug#24478
...
* lisp/net/tramp-sh.el (tramp-histfile-override): Change default value
to "~/.tramp_history".
(tramp-open-shell): Check proper HISTFILE setting.
(tramp-maybe-open-connection): Cleanup also for errors. (Bug#24478)
2016-10-24 15:04:25 +02:00
Michael Albinus
6b9dee1ae6
Change Tramp version to "2.2.13.25.2"
...
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.2.13.25.2".
2016-10-19 10:35:52 +02:00
Michael Albinus
9a758b4ccc
Fix Bug#24698
...
* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Don't send "stty tab0" to *BSD and Darwin machines. (Bug#24698)
2016-10-18 20:41:19 +02:00
Katsumi Yamaoka
eb9d461a8e
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit ( 4157159).
2016-07-21 08:33:41 +00:00
Katsumi Yamaoka
4157159a37
* lisp/net/shr.el (shr-fill-line):
...
Preserve text properties in folded lines (bug#24034).
2016-07-20 22:56:42 +00:00
Glenn Morris
5e3888706a
; * lisp/net/tramp.el: Fix 2010-10-04 comment typo. (Bug#23913)
2016-07-13 08:48:30 -07:00
Michael Albinus
0a0144a2e1
Delete environment variables in Tramp when needed
...
* lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-process-file, ): Use it. (Bug#23952)
2016-07-12 20:02:10 +02:00
Michael Albinus
f981b31367
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
2016-06-30 15:39:21 +02:00
Eli Zaretskii
68fc964370
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23865)
2016-06-29 19:35:57 +03:00
Michael Albinus
c760a600da
tramp-sh.el: Work around a stat bug (backport from master)
...
* lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
stat versions which produce shell quoted output. See also
coreutils Bug#23422.
(cherry picked from commit 6aad36ace9 )
2016-05-06 08:13:08 +02:00
Paul Eggert
a1f221bd82
Comint and compile no longer set EMACS
...
This mostly restores the change that I reverted on March 23,
fixing most of Bug#20202. The only part of the change that is
still reverted is the change to M-x term, where compatibility with
current Bash constrains us from moving too quickly (Bug#20484).
Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
* etc/NEWS: Document this.
* lisp/comint.el (comint-exec-1):
* lisp/net/tramp-sh.el (tramp-remote-process-environment):
* lisp/progmodes/compile.el (compilation-start):
Don’t set EMACS=t in the subsidiary process.
2016-04-08 13:40:01 -07:00
Michael Albinus
06ae23aa12
Handle Bug#23186
...
* lisp/net/tramp.el (tramp-encoding-command-switch)
(tramp-encoding-command-interactive):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
`tramp-encoding-shell' could be nil. (Bug#23186)
2016-04-03 09:37:16 +02:00
Paul Eggert
b787d5501b
More format-time-string change fixups
...
* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
* lisp/org/org.el (org-timestamp-format):
Fix doc to match new format-time-string behavior.
* lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
Use (not (not X)) to treat non-nil values of utc arg as UTC.
2016-04-02 23:44:18 -07:00
Michael Albinus
df441b362c
Fix OS X specific settings in tramp-tests
...
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
* lisp/net/tramp.el (tramp-get-local-locale): New defun.
* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
(tramp--test-utf8): Improve settings of coding systems.
Do not use `tramp--test-darwin-p' anymore. (Bug#22145)
2016-03-31 11:45:45 +02:00
Paul Eggert
73d213f281
Comint, term, and compile now set EMACS
...
This fixes directory tracking in ansi-term, at the expense of
breaking some usages of 'configure'. Setting EMACS is meant to be
a somewhat temporary measure, until Bash 4.4 comes out and is
common. (Bug#20484).
* etc/NEWS: Document this.
* lisp/comint.el (comint-exec-1):
* lisp/net/tramp-sh.el (tramp-remote-process-environment):
* lisp/progmodes/compile.el (compilation-start):
* lisp/term.el (term-exec-1):
Go back to setting the EMACS environment variable, for backward
compatibility to Bash 4.3 and earlier.
2016-03-23 15:08:19 -07:00
Lars Magne Ingebrigtsen
8a35f83c6c
Render empty <ul><li><ul> correctly
...
* lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
correctly (bug#22964).
(cherry picked from commit 4f6ea3988b )
Backport:
2016-03-20 13:58:26 +01:00
Lars Magne Ingebrigtsen
d8b2ce5f8a
Ignore invalid base64 encoded embedded images
...
* lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
encoded embedded images (bug#22928).
(cherry picked from commit f2da80d0e1 )
Backport:
2016-03-20 13:58:04 +01:00
Lars Magne Ingebrigtsen
52ba24bdd9
Fix <p> and <div> newlines with or without <li> in shr
...
* lisp/net/shr.el (shr-ensure-newline): Respect that we're in
a <li>, if we are, and don't insert newlines there.
(shr-ensure-paragraph): When mixing newlines and paragraph
ensurements, don't insert too many blank lines.
(shr-tag-div): A <div> shouldn't introduce a paragraph, but a
new line.
(cherry picked from commit 292921faca )
Backport:
2016-03-20 13:45:09 +01:00
Thomas Fitzsimmons
c3ed95b1c5
Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
...
* lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
assume xsd:base64Binary values are UTF-8 strings.
(soap-decode-xs-basic-type): Likewise.
(soap-invoke): Document xsd:base64Binary handling.
2016-03-16 09:35:59 -04:00
Lars Ingebrigtsen
cb1e3da12e
Also allow setting the paragraph direction to nil
...
* lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
setting the paragraph direction to nil ("auto").
2016-03-01 11:31:52 +11:00
Lars Ingebrigtsen
dc42d0ca0b
Use the correct background color when filling nested <divs>
...
* lisp/net/shr.el (shr-face-background): Return the first
background, because that's the one that's visible (bug#22680).
Backport:
(cherry picked from commit cad0bc7055 )
2016-02-29 22:21:30 +11:00
Lars Ingebrigtsen
9781dc4da3
Make <div> in <li> not insert extra newlines
...
* lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
extra newlines (bug#19587).
Backport:
(cherry picked from commit 379a846b85 )
2016-02-29 18:06:59 +11:00
Lars Ingebrigtsen
b13cab683c
Add a eww command to toggle paragraph direction
...
* lisp/net/eww.el (eww-toggle-paragraph-direction): New
command and keystroke.
* doc/misc/eww.texi (Advanced): Mention the `D' command.
2016-02-28 14:52:56 +10:30
Daiki Ueno
29757844e5
Set file modes of pinentry socket for extra safety
...
* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
(pinentry-start): Change the file modes of the socket file to 0700.
This is just for extra safety since the parent directory is already
protected with `server-ensure-safe-dir'.
2016-02-22 11:49:19 +09:00
Daiki Ueno
5e34c3671a
Revert "Change the default socket location for pinentry"
...
This reverts commit e34fbdee8a .
It turned out that the address is fixed in Pinentry itself.
2016-02-22 10:45:53 +09:00
Daiki Ueno
e34fbdee8a
Change the default socket location for pinentry
...
* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
(pinentry--socket-dir): Change the default from /tmp/emacsXXX to
~/.emacs.d/pinentry.
(pinentry-start): Change the file modes of the socket file to 0700.
This is just for extra safety since the parent directory is already
protected with `server-ensure-safe-dir'.
2016-02-22 06:17:29 +09:00
Daiki Ueno
5f8965839d
Mention how to enable pinentry feature
...
* etc/NEWS: Mention "gpgconf --reload gpg-agent".
* lisp/net/pinentry.el: Likewise.
2016-02-22 06:17:29 +09:00
Kaushal Modi
d675db943e
Make eww message toggling message clearer
...
* lisp/net/eww.el (eww-toggle-fonts): Make the message
clearer.
Copyright-paperwork-exempt: Yes
2016-02-19 16:56:55 +11:00
Lars Ingebrigtsen
b1a3ebedba
Fix display of <pre> elements
...
* lisp/net/eww.el (eww-display-html): Remove CRLF before
parsing so that <pre> elements don't render with ^M at the end
of the lines.
2016-02-16 17:39:21 +11:00
Lars Ingebrigtsen
a3bf4a387f
Make backgrounds extend to the end of the lines in shr
...
* lisp/net/shr.el (shr-face-background): Faces can also be on
the form `(:background "#fff)' (bug#22547).
2016-02-09 14:45:22 +11:00
Lars Ingebrigtsen
9935e7cc8c
Make the `R' command get the correct relative <img>s
...
* lisp/net/eww.el (eww-readable): Preserve the base URL so
that image expansions are fetched from the right place (bug#22605).
(cherry picked from commit 8722e849f7 )
Backport:
2016-02-09 13:52:27 +11:00
Eli Zaretskii
c1d32a6537
Fix problems caused by new implementation of sub-word mode
...
* lisp/subr.el (forward-word-strictly, backward-word-strictly):
New functions.
(word-move-empty-char-table): New variable.
* etc/NEWS: Mention 'forward-word-strictly' and
'backward-word-strictly'.
* doc/lispref/positions.texi (Word Motion): Document
'find-word-boundary-function-table', 'forward-word-strictly', and
'backward-word-strictly'. (Bug#22560)
* src/syntax.c (syms_of_syntax)
<find-word-boundary-function-table>: Doc fix.
* lisp/wdired.el (wdired-xcase-word):
* lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
(texinfo-copy-section-title, texinfo-start-menu-description)
(texinfo-copy-menu-title, texinfo-specific-section-type)
(texinfo-insert-node-lines, texinfo-copy-next-section-title):
* lisp/textmodes/texinfo.el (texinfo-clone-environment)
(texinfo-insert-@end):
* lisp/textmodes/texinfmt.el (texinfo-format-scan)
(texinfo-anchor, texinfo-multitable-widths)
(texinfo-multitable-item):
* lisp/textmodes/tex-mode.el (latex-env-before-change):
* lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
* lisp/skeleton.el (skeleton-insert):
* lisp/simple.el (count-words):
* lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
(vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
(vhdl-update-sensitivity-list, vhdl-template-block)
(vhdl-template-break, vhdl-template-case, vhdl-template-default)
(vhdl-template-default-indent, vhdl-template-for-loop)
(vhdl-template-if-then-use, vhdl-template-bare-loop)
(vhdl-template-nature, vhdl-template-procedural)
(vhdl-template-process, vhdl-template-selected-signal-asst)
(vhdl-template-type, vhdl-template-variable)
(vhdl-template-while-loop, vhdl-beginning-of-block)
(vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
* lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
(verilog-forward-sexp, verilog-beg-of-statement)
(verilog-set-auto-endcomments, verilog-backward-token)
(verilog-do-indent):
* lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
(vera-indent-block-closing):
* lisp/progmodes/simula.el (simula-context)
(simula-backward-up-level, simula-forward-down-level)
(simula-previous-statement, simula-next-statement)
(simula-skip-comment-backward, simula-calculate-indent)
(simula-find-if, simula-electric-keyword):
* lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
* lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
(ruby-smie--forward-token, ruby-smie--backward-token)
(ruby-singleton-class-p, ruby-calculate-indent)
(ruby-forward-sexp, ruby-backward-sexp):
* lisp/progmodes/ps-mode.el (ps-run-goto-error):
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
(perl-syntax-propertize-special-constructs)
(perl-backward-to-start-of-continued-exp):
* lisp/progmodes/pascal.el (pascal-indent-declaration):
* lisp/progmodes/octave.el (octave-function-file-p):
* lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
* lisp/progmodes/js.el (js--forward-function-decl):
* lisp/progmodes/idlwave.el (idlwave-show-begin-check)
(idlwave-beginning-of-block, idlwave-end-of-block)
(idlwave-block-jump-out, idlwave-determine-class):
* lisp/progmodes/icon.el (icon-is-continuation-line)
(icon-backward-to-start-of-continued-exp, end-of-icon-defun):
* lisp/progmodes/hideif.el (hide-ifdef-define):
* lisp/progmodes/f90.el (f90-change-keywords):
* lisp/progmodes/cperl-mode.el (cperl-electric-pod)
(cperl-linefeed, cperl-electric-terminator)
(cperl-find-pods-heres, cperl-fix-line-spacing)
(cperl-invert-if-unless):
* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
* lisp/progmodes/cc-align.el (c-lineup-java-inher):
* lisp/progmodes/ada-mode.el (ada-compile-goto-error)
(ada-adjust-case-skeleton, ada-create-case-exception)
(ada-create-case-exception-substring)
(ada-case-read-exceptions-from-file, ada-after-keyword-p)
(ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
(ada-get-indent-if, ada-get-indent-block-start)
(ada-get-indent-loop, ada-get-indent-type)
(ada-search-prev-end-stmt, ada-check-defun-name)
(ada-goto-decl-start, ada-goto-matching-start)
(ada-goto-matching-end, ada-looking-at-semi-or)
(ada-looking-at-semi-private, ada-in-paramlist-p)
(ada-search-ignore-complex-boolean, ada-move-to-start)
(ada-move-to-end, ada-which-function, ada-gen-treat-proc):
* lisp/net/quickurl.el (quickurl-grab-url):
* lisp/mail/sendmail.el (mail-do-fcc):
* lisp/mail/rmail.el (rmail-resend):
* lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
* lisp/mail/mail-extr.el (mail-extract-address-components):
* lisp/json.el (json-read-keyword):
* lisp/files.el (insert-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/completion.el (symbol-under-point, symbol-before-point)
(symbol-before-point-for-complete, next-cdabbrev)
(add-completions-from-c-buffer):
* lisp/cedet/semantic/texi.el (semantic-up-context)
(semantic-beginning-of-context):
* lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
use 'forward-word-strictly' and 'backward-word-strictly' instead
of 'forward-word' and 'backward-word'.
2016-02-05 23:54:21 +02:00
Lars Ingebrigtsen
dc6eed2592
Fix doc string of tls-program
...
* lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
2016-02-05 18:13:34 +11:00
Lars Ingebrigtsen
1ef309fc88
Restore window conf in nsm
...
* lisp/net/nsm.el (nsm-query-user): Restore the window configuration.
Backport:
2016-02-05 17:36:12 +11:00
Ulf Jasper
448522201a
Improve newsticker-treeview-selection-face
...
* newst-treeview.el (newsticker-treeview-selection-face): Improve
readability for dark background.
2016-02-04 18:31:04 +01:00
Vasilij Schneidermann
bf64d65c64
Allow sending empty hidden values in eww
...
* lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
values (bug#22388).
Copyright-paperwork-exempt: Yes
(cherry picked from commit 5898da8210 )
Backport:
2016-02-04 18:06:02 +11:00
Lars Ingebrigtsen
af6ab7efc7
Make shr not bug out on images on non-graphical displays
...
* lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
images on non-graphical displays (bug#22327).
2016-02-04 16:44:06 +11:00
Lars Ingebrigtsen
3311f4080b
Fix bookmark display widths
...
* lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
preparing it so that the widths are computed correctly (bug#22328).
2016-02-04 16:10:49 +11:00
Lars Ingebrigtsen
d90ab1e221
Fix typo in eww-make-unique-file-name
...
* lisp/net/eww.el (eww-make-unique-file-name): Make this function
actually work.
2016-02-04 16:05:05 +11:00
Lars Ingebrigtsen
7f81825073
Make it possible to TAB to input fields
...
* lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
input fields (bug#22540).
2016-02-04 15:42:08 +11:00
Lars Ingebrigtsen
a43a1dcc3d
Insert complete alt texts when images are disabled
...
* lisp/net/shr.el (shr-tag-img): When images are disabled, insert
the complete alt/title string (bug#22293).
2016-02-04 15:35:20 +11:00
Lars Ingebrigtsen
56ed4e1886
Allow eww text fields to grow
...
* lisp/net/eww.el (eww-process-text-input): Allow text fields to
grow when typing in stuff that's longer than the original width.
2016-02-04 15:28:57 +11:00