Paul Eggert
67fcd5addc
Fix test for dladdr
...
Problem reported by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
* configure.ac (dladdr): Link with LIBMODULES when checking for
this function.
2016-02-07 07:47:48 -08:00
Andreas Schwab
9dc77e37aa
Fix gnus-group-get-new-news-this-group on group with closed server
...
* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
method and pass to nnimap-open-server.
2016-02-07 13:30:43 +01:00
Glenn Morris
d7933ff2ac
; Auto-commit of ChangeLog files.
2016-02-07 07:23:56 -05:00
Artur Malabarba
4feb962198
* lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
...
While tabs in code are mostly fine because the Emacs sources have a
.dir-locals file specifying tab-width, the same is not true of tabs in
code examples inside docstrings. The docstring is printed on a *Help*
buffer, which can be created on any directory and won't necessarily have
the same tab-width set.
2016-02-07 08:40:17 +00:00
Lars Ingebrigtsen
cc419fb599
Don't inloop gnus-uu-mark-thread on the last thread
...
* lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
final thread in the summary buffer (bug#16666).
2016-02-07 17:56:59 +11:00
Lars Ingebrigtsen
51c77a27f1
Display non-ASCII group names better in prompts
...
* lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
group name, we have to do that before we remove the prefix.
2016-02-07 15:04:31 +11:00
Lars Ingebrigtsen
f93d669a16
Default to gpg2 instead of gpg
...
* lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
it exists. This fixes many problems with using the GPG
authentication agent.
2016-02-07 13:01:01 +11:00
David Edmondson
35cbe2095b
src/process.c Correctly convert AF_INET6 addresses
...
* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
converted to a list of 16 bit quantities by
conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
same scheme rather than expecting a (longer) list of 8 bit
quantities.
Backport:
(cherry picked from commit 55ce3c30d6 )
2016-02-07 12:55:57 +11:00
Artur Malabarba
9ffe7ddd5e
* lisp/isearch.el (isearch-define-mode-toggle): Improve logic
2016-02-06 22:58:24 +00:00
Artur Malabarba
16140f7ece
* lisp/menu-bar.el (menu-bar-options-menu): New search submenu
...
(menu-bar-search-options-menu): New variable
2016-02-06 22:58:24 +00:00
Artur Malabarba
3db6adb174
* lisp/isearch.el (search-default-mode)
...
(isearch-regexp-function): Improve docstrings.
2016-02-06 22:48:32 +00:00
Artur Malabarba
4ea1ea7c73
* lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
...
(search-default-mode): New variable.
(isearch-mode, isearch-define-mode-toggle)
(isearch--describe-regexp-mode): Update accordingly.
* lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
* etc/NEWS: Update accordingly.
* doc/emacs/search.texi: Update accordingly.
2016-02-06 22:48:32 +00:00
Oscar Fuentes
c77ffc8019
Use monitor's resolution for positioning tooltips
...
* src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
the mouse pointer is to avoid placing the tooltip over the border of
the monitor on multi-head displays. Fixes bug#22549.
2016-02-06 22:18:47 +01:00
Eli Zaretskii
49e57490d0
Fix file-notify-test on MS-Windows
...
* test/automated/file-notify-tests.el (file-notify--test-timeout):
Reduce w32notify timeout to 10 sec.
(file-notify-test06-many-events): Call read-event after each
rename, to keep the w32notify backend happy in batch mode.
(Bug#22534)
2016-02-06 21:53:38 +02:00
Eli Zaretskii
be1d87492e
Fix issues found by auditing w32notify code
...
* src/w32inevt.c (handle_file_notifications): Count the number of
events to be returned.
* src/w32notify.c (send_notifications): Don't copy to the file
notification buffer more than it can hold. (Bug#22534)
2016-02-06 18:30:35 +02:00
Eli Zaretskii
87ae21858a
Extend etags Ruby support for accessors
...
* lib-src/etags.c (Ruby_functions): Support accessors defined with
parentheses. (Bug#22563)
* test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
defined with parentheses.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to changes in Ruby tests.
2016-02-06 11:08:20 +02:00
Lars Ingebrigtsen
aa35257118
Update publicsuffix.txt.
...
* etc/publicsuffix.txt: Updated from
https://publicsuffix.org/list/public_suffix_list.dat .
2016-02-06 16:11:18 +11:00
Lars Ingebrigtsen
6816bfffce
Ensure that Gnus dribble handling allows removing entries
...
* lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
entry is on a single line.
2016-02-06 16:02:26 +11:00
OGAWA Hirofumi
691feae283
Be consistent when using encoded strings in nnimap data
...
* lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
(nnimap-request-list): Use it.
(nnimap-request-newgroups): Ditto.
Copyright-paperwork-exempt: yes
2016-02-06 15:49:32 +11:00
OGAWA Hirofumi
3ed423bc35
Display the decoded Gnus group name
...
* lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
decoded group name in the message.
Copyright-paperwork-exempt: yes
2016-02-06 15:41:05 +11:00
Lars Ingebrigtsen
5428b5b24c
Use completion-ignore-case instead of defining command
...
* lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
that we get case-insensitive completion.
(erc-completion-at-point): Remove.
2016-02-06 14:14:21 +11:00
Eli Zaretskii
1fbcc8ad08
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
2016-02-05 23:56:14 +02:00
Michael Albinus
1eaf68f368
* test/automated/file-notify-tests.el (file-notify-test06-many-events):
...
Reduce the number of iterations to 250 in case of w32notify.
2016-02-05 22:55:28 +01: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
Simen Heggestøyl
d3337167c2
; * etc/NEWS: Expand news entry for scss-mode
2016-02-05 20:17:01 +01:00
Eli Zaretskii
c32c16f875
; Better document changes in ls-lisp default behavior
...
* etc/NEWS: Explain in more detail the effects of the new
default sorting in ls-lisp on Dired display. (Bug#22561)
2016-02-05 12:27:53 +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
Mark Oteiza
2c117fc7e2
* etc/NEWS: Document new mpc.el features
2016-02-05 01:26:13 -05:00
Leo Liu
71a04969c4
* lisp/custom.el (defface): Revert indentation change. (Bug#22524)
2016-02-05 09:48:17 +08:00
Alan Mackenzie
9dfece1413
Correctly fontify C++ initializations which "look like" functions.
...
Fixes bug#7579.
lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
parameter to enable handling of "anonymous" declarators in declarations.
lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
whether a "(" opens a parameter list of a function, or an initialization of a
variable.
2016-02-04 19:01:50 +00: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
Eli Zaretskii
4236944f19
Minor fix in tagging Ruby accessors by etags
...
* lib-src/etags.c (Ruby_functions): Don't tag accessors whose
names are not literal symbols. (Bug#22241)
2016-02-04 19:23:12 +02:00
Paul Eggert
35fc77dceb
Spelling fixes
2016-02-04 07:30:10 -08:00
Dmitry Gutov
3dda11032f
Remove 'def X' from the example
...
* test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
(http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html ).
* test/etags/CTAGS.good:
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6: Adjust accordingly.
2016-02-04 12:21:03 +03: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
David Edmondson
ee7399792f
Make erc work better when encountering unknown prefix chars
...
* lisp/erc/erc.el (erc-channel-receive-names): Output a warning
instead of erroring out on unknown prefix chars (bug#22380).
2016-02-04 18:04:07 +11:00
Lars Ingebrigtsen
b99141da55
Make erc completion case-insensitive again
...
* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
case-insensitive again (bug#11360).
2016-02-04 17:51:53 +11:00
Carlos Pita
66c462005c
Make complection in erc use consistent casing
...
* lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
case in the complection consistent (bug#18509).
Copyright-paperwork-exempt: Yes
2016-02-04 17:03:34 +11:00
Francis Litterio
8c562b2d7f
Make /QUIT in erc more robust
...
* lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
issuing /QUIT to disconnected servers (bug#22099).
2016-02-04 16:55:01 +11:00
Kevin Brubeck Unhammer
d93d2c5b16
Make tracking faces in Emacs work more reliably
...
* lisp/erc/erc-track.el (erc-faces-in): Always return lists of
faces to avoid later ambiguity (bug#22424).
Copyright-paperwork-exempt: Yes
2016-02-04 16:49:42 +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
Dima Kogan
66b315c9c9
Make erc work when subword-mode is switched on
...
* lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
(erc-bounds-of-word-at-point): New functions to do word-based
things when subword-mode is switched on.
* lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
(bug#17558).
2016-02-04 14:24:18 +11:00
Teemu Likonen
255b68f00b
Fix IMAP doc example
...
* doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
2016-02-04 14:09:23 +11:00
Paul Eggert
91557f5e2d
Quoting fixes in doc strings and diagnostics
...
* lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
* lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
(mml-smime-get-ldap-cert):
Follow user style preference when quoting diagnostics.
2016-02-03 17:20:17 -08:00