]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years agoRemove 'def X' from the example
Dmitry Gutov [Thu, 4 Feb 2016 09:21:03 +0000 (12:21 +0300)]
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.

8 years agoAllow sending empty hidden values in eww
Vasilij Schneidermann [Thu, 4 Feb 2016 04:52:59 +0000 (15:52 +1100)]
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 5898da8210af7953e638ddf7821c05260979c3f0)

Backport:

8 years agoMake erc work better when encountering unknown prefix chars
David Edmondson [Thu, 4 Feb 2016 05:52:01 +0000 (16:52 +1100)]
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).

8 years agoMake erc completion case-insensitive again
Lars Ingebrigtsen [Thu, 4 Feb 2016 06:51:53 +0000 (17:51 +1100)]
Make erc completion case-insensitive again

* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
case-insensitive again (bug#11360).

8 years agoMake complection in erc use consistent casing
Carlos Pita [Thu, 4 Feb 2016 06:03:34 +0000 (17:03 +1100)]
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

8 years agoMake /QUIT in erc more robust
Francis Litterio [Thu, 4 Feb 2016 05:55:01 +0000 (16:55 +1100)]
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).

8 years agoMake tracking faces in Emacs work more reliably
Kevin Brubeck Unhammer [Thu, 4 Feb 2016 05:49:42 +0000 (16:49 +1100)]
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

8 years agoMake shr not bug out on images on non-graphical displays
Lars Ingebrigtsen [Thu, 4 Feb 2016 05:44:06 +0000 (16:44 +1100)]
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).

8 years agoFix bookmark display widths
Lars Ingebrigtsen [Thu, 4 Feb 2016 05:10:49 +0000 (16:10 +1100)]
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).

8 years agoFix typo in eww-make-unique-file-name
Lars Ingebrigtsen [Thu, 4 Feb 2016 05:05:05 +0000 (16:05 +1100)]
Fix typo in eww-make-unique-file-name

* lisp/net/eww.el (eww-make-unique-file-name): Make this function
actually work.

8 years agoMake it possible to TAB to input fields
Lars Ingebrigtsen [Thu, 4 Feb 2016 04:42:08 +0000 (15:42 +1100)]
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).

8 years agoInsert complete alt texts when images are disabled
Lars Ingebrigtsen [Thu, 4 Feb 2016 04:35:20 +0000 (15:35 +1100)]
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).

8 years agoAllow eww text fields to grow
Lars Ingebrigtsen [Thu, 4 Feb 2016 04:28:57 +0000 (15:28 +1100)]
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.

8 years agoMake erc work when subword-mode is switched on
Dima Kogan [Thu, 4 Feb 2016 03:24:18 +0000 (14:24 +1100)]
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).

8 years agoFix IMAP doc example
Teemu Likonen [Thu, 4 Feb 2016 03:09:06 +0000 (14:09 +1100)]
Fix IMAP doc example

* doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.

8 years agoQuoting fixes in doc strings and diagnostics
Paul Eggert [Thu, 4 Feb 2016 01:13:04 +0000 (17:13 -0800)]
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.

8 years agoFix warning message in hack-local-variables
Noam Postavsky [Wed, 3 Feb 2016 17:48:45 +0000 (19:48 +0200)]
Fix warning message in hack-local-variables

* lisp/files.el (hack-local-variables): use 'thisbuf' to reference
the original buffer name in the warning message.  (Bug#21681)

8 years agoEtags: yet another improvement in Ruby tags
Eli Zaretskii [Wed, 3 Feb 2016 16:24:20 +0000 (18:24 +0200)]
Etags: yet another improvement in Ruby tags

* lib-src/etags.c (Ruby_functions): Handle continuation lines in
Ruby accessor definitions.  (Bug#22241)

* test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
accessors and multiline definitions.
* 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 tags.

8 years agoFix x-popup-menu on TTYs without a mouse
Eli Zaretskii [Wed, 3 Feb 2016 16:11:10 +0000 (18:11 +0200)]
Fix x-popup-menu on TTYs without a mouse

* src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
for the TTY case without a mouse.  (Bug#22538)

8 years ago* lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
Nicolas Petton [Wed, 3 Feb 2016 14:18:36 +0000 (15:18 +0100)]
* lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro

8 years agoUse pop-to-buffer-same-window in eww
Lars Ingebrigtsen [Wed, 3 Feb 2016 02:35:10 +0000 (13:35 +1100)]
Use pop-to-buffer-same-window in eww

* lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
switch-to-buffer (bug#22244).

8 years ago* autogen.sh: Revert all recent changes.
Paul Eggert [Wed, 3 Feb 2016 02:03:59 +0000 (18:03 -0800)]
* autogen.sh: Revert all recent changes.

8 years ago* make-dist: Updates related to nt/.
Glenn Morris [Tue, 2 Feb 2016 21:19:15 +0000 (16:19 -0500)]
* make-dist: Updates related to nt/.

8 years ago* make-dist: Add modules/.
Glenn Morris [Tue, 2 Feb 2016 21:08:03 +0000 (16:08 -0500)]
* make-dist: Add modules/.

8 years ago* make-dist: Update for super-special file that can't live in etc/.
Glenn Morris [Tue, 2 Feb 2016 20:53:01 +0000 (15:53 -0500)]
* make-dist: Update for super-special file that can't live in etc/.

8 years agoFix failure to compile ns-win.el in parallel builds
Eli Zaretskii [Tue, 2 Feb 2016 20:09:32 +0000 (22:09 +0200)]
Fix failure to compile ns-win.el in parallel builds

* src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
dependency on $(lispsource)/international/charprop.el.
(Bug#22501)

8 years agoFix names of tags generated for Ruby accessors
Eli Zaretskii [Tue, 2 Feb 2016 18:31:43 +0000 (20:31 +0200)]
Fix names of tags generated for Ruby accessors

* lib-src/etags.c (Ruby_functions): Don't include the leading
colon ':' in tags for Ruby accessors and aliases.  (Bug#22241)

* 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 tags.

8 years agoFix file-name recognition in 'etags'
Eli Zaretskii [Tue, 2 Feb 2016 18:01:33 +0000 (20:01 +0200)]
Fix file-name recognition in 'etags'

* lib-src/etags.c (get_language_from_filename): If FILE includes a
leading directory, compare only its basename to the known file
names in lang_names[].

* test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
renaming.
* 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 file names and
to the results in Makefile due to the above etags.c fix.

8 years agoChange Ruby file names and extensions recognized by 'etags'
Eli Zaretskii [Tue, 2 Feb 2016 17:50:08 +0000 (19:50 +0200)]
Change Ruby file names and extensions recognized by 'etags'

* lib-src/etags.c <Ruby_filenames>: New variable, holds names
of Ruby files.
<Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
<lang_names>: Add Ruby_filenames to the Ruby entry.
* test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
(Bug#22241)

8 years agoMore improvements for Ruby support in 'etags'
Eli Zaretskii [Tue, 2 Feb 2016 17:16:22 +0000 (19:16 +0200)]
More improvements for Ruby support in 'etags'

* lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
alias_method.  Identify constants even if the assignment is not
followed by whitespace.  (Bug#22241)

* test/etags/ruby-src/test1.ruby: Add tests for constants,
accessors, and alias_method.
* 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.

8 years agoAdd --git-config option to autogen.sh
Paul Eggert [Tue, 2 Feb 2016 07:45:10 +0000 (23:45 -0800)]
Add --git-config option to autogen.sh

* autogen.sh: New options --git-config, --help.
(git_config): New shell var.  Alter function to respect this var.

8 years agoFix editing undo changes in eww fields
Lars Ingebrigtsen [Tue, 2 Feb 2016 07:00:02 +0000 (18:00 +1100)]
Fix editing undo changes in eww fields

* eww.el (eww-tag-form): Don't overwrite initial form data in text
fields.
(eww-process-text-input): Make `M-t' at the end of text fields work
better (bug#19085).

8 years agoAllow the user more control of popping up the eww window
Lars Ingebrigtsen [Tue, 2 Feb 2016 04:57:07 +0000 (15:57 +1100)]
Allow the user more control of popping up the eww window

* eww.el (eww): Use pop-to-buffer-same-window (suggested by
Michael Heerdegen) (bug#22244).

8 years agoMake eww-browse-url with new-window parameter work again
Lars Ingebrigtsen [Tue, 2 Feb 2016 04:53:39 +0000 (15:53 +1100)]
Make eww-browse-url with new-window parameter work again

* eww.el (eww-browse-url): Stay in the same buffer if we're
already in a eww mode buffer so that eww-browse-url with a
new-window parameter works (bug#22244).

8 years agoClean up eww code slightly
Lars Ingebrigtsen [Tue, 2 Feb 2016 04:43:35 +0000 (15:43 +1100)]
Clean up eww code slightly

* eww.el (eww-browse-url): Clean up code slightly.

8 years agoDon't insert nil faces in shr
Lars Ingebrigtsen [Tue, 2 Feb 2016 04:16:34 +0000 (05:16 +0100)]
Don't insert nil faces in shr

* shr.el (shr-insert-table): Don't add nil faces, because that
will show up in *Messages* as "Invalid face reference: nil [32
times]".

8 years ago; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
Glenn Morris [Tue, 2 Feb 2016 02:00:58 +0000 (21:00 -0500)]
; * lisp/progmodes/prolog.el: Remove some obsolete commentary.

8 years agoImprove the custom type of some user options.
Glenn Morris [Tue, 2 Feb 2016 01:59:32 +0000 (20:59 -0500)]
Improve the custom type of some user options.

* lisp/autoinsert.el (auto-insert-alist):
* lisp/replace.el (query-replace-from-to-separator):
* lisp/gnus/gnus-art.el (gnus-hidden-properties):
* lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
* lisp/gnus/gnus-picon.el (gnus-picon-properties):
* lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
(prolog-mode-specificators, prolog-determinism-specificators)
(prolog-directives, prolog-program-name, prolog-program-switches)
(prolog-consult-string, prolog-compile-string, prolog-eof-string)
(prolog-prompt-regexp): Improve custom type.

8 years agoMark some risky calendar variables.
Glenn Morris [Tue, 2 Feb 2016 01:53:44 +0000 (20:53 -0500)]
Mark some risky calendar variables.

* lisp/calendar/cal-china.el (chinese-calendar-time-zone):
Remove risky setting for deleted obsolete alias.
(calendar-chinese-standard-time-zone-name)
(calendar-chinese-daylight-saving-start)
(calendar-chinese-daylight-saving-end):
* lisp/calendar/calendar.el (calendar-iso-date-display-form)
(calendar-european-date-display-form)
(calendar-american-date-display-form, calendar-date-display-form):
* lisp/calendar/diary-lib.el (diary-remind-message)
(diary-header-line-format):
* lisp/calendar/solar.el (calendar-time-display-form)
(calendar-location-name): Mark as risky.

8 years agoHighlight two additional SCSS keywords
Simen Heggestøyl [Mon, 1 Feb 2016 20:38:25 +0000 (21:38 +0100)]
Highlight two additional SCSS keywords

* lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
identifiers on the form !foo.
(scss-bang-ids): New defconst holding SCSS identifiers on the form
!foo.
(css--font-lock-keywords): Highlight the new SCSS bang identifiers in
`font-lock-builtin-face'.

* test/indent/css-mode.css: Add bang rule test case.

* test/indent/scss-mode.css: Add test cases for the introduced bang
rules.

8 years agoRecommend enabling integrity-checking in git
Karl Fogel [Mon, 1 Feb 2016 18:46:45 +0000 (12:46 -0600)]
Recommend enabling integrity-checking in git

* admin/notes/git-workflow:  Recommend setting transfer.fsckObjects.

This is related to the autogen.sh changes made by Paul Eggert in
commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
to emacswiki.org/emacs/GitQuickStartForEmacsDevs.  See also the thread
"Recommend these .gitconfig settings for git integrity." at
https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.

8 years agoSome corrections in Elisp manual
Martin Rudalics [Mon, 1 Feb 2016 18:01:34 +0000 (19:01 +0100)]
Some corrections in Elisp manual

* doc/lispref/buffers.texi (Read Only Buffers): Describe optional
argument POSITION.
* doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
is an option.
* doc/lispref/display.texi (Refresh Screen): Describe optional
argument FRAME of `redraw-frame'.
(Attribute Functions): Describe optional argument CHARACTER of
`face-font'.
(Defining Images): `image-load-path' is an option.
(Beeping): `ring-bell-function' is an option.
* doc/lispref/frames.texi (Size and Position): The PIXELWISE
argument of `set-frame-size' is optional.
(Raising and Lowering): The TERMINAL argument of `tty-top-frame'
is optional.
* doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
`set-transient-map'.
* doc/lispref/minibuf.texi (Text from Minibuffer):
`read-regexp-defaults-function' is an option.
(Minibuffer Contents): `delete-minibuffer-contents' is a command.
* doc/lispref/modes.texi (Mode Line Variables):
`mode-line-position' and `mode-line-modes' are variables, not
options.
* doc/lispref/strings.texi (Creating Strings): The START argument
of `substring' is optional.
* doc/lispref/text.texi (Buffer Contents): Describe optional
argument NO-PROPERTIES of `thing-at-point'.
(User-Level Deletion): Both arguments of
`delete-trailing-whitespace' are optional.
(Margins): Use @key{RET} instead of @kbd{RET}.
* doc/lispref/windows.texi (Display Action Functions): Write
non-@code{nil} instead of non-nil.
(Choosing Window Options): The WINDOW arg of
`split-window-sensibly' is optional.
(Choosing Window Options): Write non-@code{nil} instead of
non-nil.
(Window Start and End): Both args of `window-group-end' are
optional.

* src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
to POSITION to keep consisteny with doc-string.

8 years agoChatter when autogen.sh changes Git configuration
Paul Eggert [Mon, 1 Feb 2016 16:29:28 +0000 (08:29 -0800)]
Chatter when autogen.sh changes Git configuration

* autogen.sh (git_config): New function.  Use it instead of ‘git config’.

8 years ago* org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
Kyle Meyer [Mon, 1 Feb 2016 13:48:35 +0000 (08:48 -0500)]
* org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)

8 years agoOmit unnecessary history from Lisp intro
Paul Eggert [Mon, 1 Feb 2016 01:31:23 +0000 (17:31 -0800)]
Omit unnecessary history from Lisp intro

* doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
(Conclusion): Reword so as not to talk about earlier versions
of Emacs in what should be an intro.

8 years ago* etc/HISTORY: Add some more history, plus git tags.
Paul Eggert [Mon, 1 Feb 2016 00:53:24 +0000 (16:53 -0800)]
* etc/HISTORY: Add some more history, plus git tags.

8 years agoImprove elisp “Security Considerations” doc
Paul Eggert [Sun, 31 Jan 2016 23:50:51 +0000 (15:50 -0800)]
Improve elisp “Security Considerations” doc

* doc/lispref/os.texi (Security Considerations):
Mention call-process and rename-file as opposed to shell commands.
Add some more cross-references.

8 years agoautogen.sh now arranges for git to check hashes
Paul Eggert [Sun, 31 Jan 2016 21:43:13 +0000 (13:43 -0800)]
autogen.sh now arranges for git to check hashes

Suggested by Karl Fogel in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
* autogen.sh: Do "git config transfer.fsckObjects true".

8 years ago; Fix ChangeLog.2 commit ID.
Paul Eggert [Sun, 31 Jan 2016 20:18:03 +0000 (12:18 -0800)]
; Fix ChangeLog.2 commit ID.

8 years agoFix (c & 040) typo in emergency escapes
Paul Eggert [Sun, 31 Jan 2016 18:38:41 +0000 (10:38 -0800)]
Fix (c & 040) typo in emergency escapes

* src/keyboard.c (handle_interrupt): Fix recently-introduced
typo (040 should have been ~040) that silently suppressed
auto-saves after emergency escapes.  Redo comparison to avoid
similar problems.

8 years agoFix display of overlay strings with 'display' and 'box' property
Eli Zaretskii [Sun, 31 Jan 2016 16:10:12 +0000 (18:10 +0200)]
Fix display of overlay strings with 'display' and 'box' property

* src/xdisp.c (get_next_display_element): Take the box face from
display stack level that comes from a buffer, not an overlay
string.  (Bug#22499)

8 years agoFix imap-starttls-open
Andreas Schwab [Sun, 31 Jan 2016 13:29:14 +0000 (14:29 +0100)]
Fix imap-starttls-open

* lisp/net/imap.el (imap-starttls-open): Log imap process
output.  Call imap-parse-greeting.  (Bug#22500)

8 years agoFix return value of imap-starttls-open
Andreas Schwab [Sun, 31 Jan 2016 12:34:03 +0000 (13:34 +0100)]
Fix return value of imap-starttls-open

* lisp/net/imap.el (imap-starttls-open): Fix return value.

8 years ago; * etc/NEWS: Fix renamed command name
Simen Heggestøyl [Sun, 31 Jan 2016 09:14:10 +0000 (10:14 +0100)]
; * etc/NEWS: Fix renamed command name

Command `package-install-user-selected-packages' was renamed to
`package-install-selected-packages' in f3b43fca.

8 years agoCorrect reference to DARWIN_OS preprocessor symbol
John Wiegley [Sun, 31 Jan 2016 05:34:32 +0000 (21:34 -0800)]
Correct reference to DARWIN_OS preprocessor symbol

* src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
  not be defined.

8 years agoSpelling fix
Paul Eggert [Sun, 31 Jan 2016 04:16:20 +0000 (20:16 -0800)]
Spelling fix

8 years agoSpelling fixes
Paul Eggert [Sun, 31 Jan 2016 04:05:26 +0000 (20:05 -0800)]
Spelling fixes

8 years agoPacify GCC on C library without glibc API
Paul Eggert [Sun, 31 Jan 2016 02:38:51 +0000 (18:38 -0800)]
Pacify GCC on C library without glibc API

Without this change, with --enable-gcc-warnings GCC would complain
“error: redundant redeclaration of ‘aligned_alloc’”.
* configure.ac: Simplify aligned_alloc testing.
* src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
since the simplified configure.ac no longer checks for that.
Don’t declare if HAVE_ALIGNED_ALLOC.
Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.

8 years agoBackport: * lisp/files.el: Remove support for extra .dir-locals file
Artur Malabarba [Sat, 30 Jan 2016 16:14:52 +0000 (16:14 +0000)]
Backport: * lisp/files.el: Remove support for extra .dir-locals file

(dir-locals-file-2, dir-locals--all-files): Remove.
(dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
(dir-locals-read-from-file, hack-dir-local-variables): Revert changes.

* lisp/files-x.el (modify-dir-local-variable): Revert changes.

* lisp/help-fns.el (describe-variable): Revert changes.

* doc/emacs/custom.texi (Directory Variables): Revert changes.

* etc/NEWS: Revert changes.

8 years ago* lisp/net/browse-url.el (browse-url-default-browser):
Glenn Morris [Sat, 30 Jan 2016 19:52:42 +0000 (11:52 -0800)]
* lisp/net/browse-url.el (browse-url-default-browser):
Lower priority of non-free Chrome.

8 years agoImprove the custom type of some user options.
Glenn Morris [Sat, 30 Jan 2016 19:48:18 +0000 (11:48 -0800)]
Improve the custom type of some user options.

* lisp/desktop.el (desktop-minor-mode-table):
* lisp/man.el (Man-frame-parameters):
* lisp/midnight.el (midnight-delay):
* lisp/speedbar.el (speedbar-select-frame-method):
* lisp/tooltip.el (tooltip-frame-parameters):
* lisp/tree-widget.el (tree-widget-space-width):
* lisp/type-break.el (type-break-keystroke-threshold):
* lisp/woman.el (woman-imenu-generic-expression):
* lisp/cedet/ede.el (ede-debug-program-function):
* lisp/cedet/ede/project-am.el (project-am-debug-target-function):
* lisp/emulation/viper-keym.el (viper-toggle-key):
* lisp/erc/erc-networks.el (erc-server-alist):
* lisp/gnus/message.el (message-deletable-headers, message-signature):
* lisp/mail/mailalias.el (mail-directory-stream):
* lisp/play/tetris.el (tetris-x-colors):
* lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.

8 years agoHighlight CSS variables with variable name face
Simen Heggestøyl [Sat, 30 Jan 2016 19:47:18 +0000 (20:47 +0100)]
Highlight CSS variables with variable name face

* lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
(css--font-lock-keywords): Highlight variables in
`font-lock-variable-name-face'.

8 years ago* lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
Glenn Morris [Sat, 30 Jan 2016 19:41:26 +0000 (11:41 -0800)]
* lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.

8 years agoMark some user options that can get evalled as risky.
Glenn Morris [Sat, 30 Jan 2016 19:36:41 +0000 (11:36 -0800)]
Mark some user options that can get evalled as risky.

* lisp/allout.el (allout-title):
* lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
* lisp/gnus/message.el (message-mailer-swallows-blank-line):
* lisp/progmodes/gud.el (gud-tooltip-display):
* lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
Mark as risky.

8 years agoDisable DebPrint in sys_read on MS-Windows
Eli Zaretskii [Sat, 30 Jan 2016 18:05:20 +0000 (20:05 +0200)]
Disable DebPrint in sys_read on MS-Windows

* src/w32.c (sys_read): Disable a debugging print that is normal
when non-blocking reads are retried.

8 years ago;Fix ChangeLog entry
Martin Rudalics [Sat, 30 Jan 2016 17:28:26 +0000 (18:28 +0100)]
;Fix ChangeLog entry

8 years agoFix typos in Introduction to Emacs Lisp manual
Eli Zaretskii [Sat, 30 Jan 2016 15:27:45 +0000 (17:27 +0200)]
Fix typos in Introduction to Emacs Lisp manual

* doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
(kill-new function, Digression into C)
(Complete forward-sentence, Divide and Conquer, Find a File)
(lengths-list-many-files, Columns of a graph, defcustom)
(recursive-count-words): Fix typos.  Reported by Daniel Bastos
<dbastos@toledo.com>.

8 years agoBump version to 25.0.90 emacs-25.0.90
Nicolas Petton [Sat, 30 Jan 2016 13:43:12 +0000 (14:43 +0100)]
Bump version to 25.0.90

* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.90.

8 years ago; Auto-commit of loaddefs files.
Nicolas Petton [Sat, 30 Jan 2016 14:14:50 +0000 (15:14 +0100)]
; Auto-commit of loaddefs files.

* lisp/ldefs-boot.el: Update.

8 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sat, 30 Jan 2016 13:40:17 +0000 (14:40 +0100)]
* etc/AUTHORS: Update the AUTHORS file

8 years ago; ChangeLog fixes
Nicolas Petton [Sat, 30 Jan 2016 13:39:23 +0000 (14:39 +0100)]
; ChangeLog fixes

* ChangeLog.2: Auto-update of the ChangeLog file, as well as entry
  fixes.

8 years agoauthors.el updates
Nicolas Petton [Sat, 30 Jan 2016 13:38:46 +0000 (14:38 +0100)]
authors.el updates

* admin/authors.el (authors-renamed-files-alist): Additions.

8 years agoMake it possible to run make change-history on emacs-25
Nicolas Petton [Sat, 30 Jan 2016 09:35:55 +0000 (10:35 +0100)]
Make it possible to run make change-history on emacs-25

* Makefile.in: Check if the current branch is emacs-25 instead of
  master.

8 years agoSupport Go language in 'etags'
lu4nx [Sat, 30 Jan 2016 12:56:43 +0000 (14:56 +0200)]
Support Go language in 'etags'

* lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
<Go_help>: New help.
<Go_suffixes>: New variable.
(Go_functions): New function.
<lang_names>: Add entry for Go.  (Bug#22370)

* doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
* doc/man/etags.1: Mention Go support.

* etc/NEWS: Mention Go support.

* test/etags/go-src/test.go:
* test/etags/go-src/test1.go: New test files.
* test/etags/Makefile (GOSRC): New variable.
(SRCS): Add $(GOSRC).
* 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 addition of Go tests.

8 years agoImprove Ruby support in 'etags'
Eli Zaretskii [Sat, 30 Jan 2016 12:16:36 +0000 (14:16 +0200)]
Improve Ruby support in 'etags'

* lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
singleton classes.  Remove class qualifiers from tags generated
for method and constant names.  (Bug#22241)

* doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
are tagged by etags in Ruby.

* etc/NEWS: Mention that constants are tagged by etags in Ruby.

* test/etags/ruby-src/test1.ruby: Add more tests.
* 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 the changes in etags and in Ruby
tests.

8 years agoAdjust etags test results to changes in copyright years
Eli Zaretskii [Sat, 30 Jan 2016 10:18:43 +0000 (12:18 +0200)]
Adjust etags test results to changes in copyright years

* 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 to shift in characters and
in line numbers.

8 years agoRevert "Re-enable checks in member, memql, delete to complain about non-lists"
Andreas Schwab [Sat, 30 Jan 2016 09:39:20 +0000 (10:39 +0100)]
Revert "Re-enable checks in member, memql, delete to complain about non-lists"

This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.

8 years agoDon't fiddle with DEFAULT
Dmitry Gutov [Sat, 30 Jan 2016 08:55:19 +0000 (11:55 +0300)]
Don't fiddle with DEFAULT

* lisp/progmodes/project.el (project--completing-read-strict):
Don't change DEFAULT, whether is has any matches in
COLLECTION, or not.

8 years agoDocument xwidget commands and functions
Eli Zaretskii [Sat, 30 Jan 2016 08:04:13 +0000 (10:04 +0200)]
Document xwidget commands and functions

* doc/lispref/display.texi (Xwidgets): New section, describes some
of the xwidget primitives.
* doc/lispref/display.texi (Display): Update the chapter menu.
* doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
* doc/emacs/emacs.texi (Top): Update the master menu to include
the xwidget node.

8 years agoBuild fix for shr.el
Lars Ingebrigtsen [Sat, 30 Jan 2016 07:54:17 +0000 (08:54 +0100)]
Build fix for shr.el

* shr.el (seq): Require.

8 years agoImprove project-find-file yet again!
Dmitry Gutov [Sat, 30 Jan 2016 04:21:31 +0000 (07:21 +0300)]
Improve project-find-file yet again!

* lisp/progmodes/project.el (project--completing-read-strict):
New function.
(project-find-file-in): Use it.
(project-file-completion-table): Move the default
implementation inside the cl-defgeneric form.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)

8 years agoDon't pass DIR to 'hg status'
Dmitry Gutov [Sat, 30 Jan 2016 03:55:32 +0000 (06:55 +0300)]
Don't pass DIR to 'hg status'

* lisp/vc/vc-hg.el (vc-hg-dir-status-files):
Don't pass DIR to 'hg status' (bug#22481).

8 years agoFix typo in previous commits
Stephen Leake [Fri, 29 Jan 2016 23:53:35 +0000 (17:53 -0600)]
Fix typo in previous commits

* lisp/progmodes/project.el (project-find-file-in):
* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
commit.

8 years agoImprove project-find-file
Stephen Leake [Fri, 29 Jan 2016 23:43:26 +0000 (17:43 -0600)]
Improve project-find-file

* lisp/progmodes/project.el (project-file-completion-table): New.
(project-find-file, project-or-external-find-file): Default to filename
at point.
(project-file-completion-table): New, split out from
project--find-file-in.
(project-find-file-in): Renamed from project--find-file-in, use
project-file-completion-table.

* lisp/progmodes/xref.el (ede-minor-mode): New declaration.
(xref--find-ignores-arguments): Add doc string.

8 years agoImplement vc-mtn-find-ignore-file, fix some doc strings
Stephen Leake [Wed, 27 Jan 2016 21:04:33 +0000 (15:04 -0600)]
Implement vc-mtn-find-ignore-file, fix some doc strings

* lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.

* lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.

* lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.

* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.

8 years agoCorrect a whole bunch of bugs coming with renamed cell relocation.
Vincent Belaïche [Fri, 29 Jan 2016 11:22:30 +0000 (12:22 +0100)]
Correct a whole bunch of bugs coming with renamed cell relocation.

This is the same change as commit on master branch. See
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd

* lisp/ses.el (ses-localvars): rename variable
`ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
and adjust the comment about it.
(ses-plist-delq): new defun.
(ses--ses-buffer-list): new defvar.
(ses--unbind-cell-name): new defun.
(ses-relocate-symbol): Do not relocate symbol when it is a named cell.
(ses-relocate-formula): Undo change of
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
preventing relocation for named cell --- now doing this is delegated
to function `ses-relocate-symbol'.
(ses-relocate-range): In docstring, undo change of
2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
lower case as it is not a variable.
(ses-relocate-all): Cell name relocation : 1) check that cell is a
renamed cell by testing `ses-cell' property to :ses-named, rather than
comparing name to corresponding standard name. Set rowcol of renamed
cell into the hashmap --- `ses-cell' property must not be used for
that as the same name can be used for different locations in different
SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
`local-variable-p' to check if cell name is already in use in this
sheet or needs initialisation.
(ses-relocate-all): Cell value relocation : 1) like for name
relocation use the `ses-cell' property rather than comparing actual
name to corresponding standard name. 2) Correct bug introduced in
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
made the other way round than the intention --- ie value relocation
was disabled for standard cell, not for renamed cell as was the
intention.
(ses-relocate-all): Add loop for unbinding deleted renamed cells
names.
(ses-killbuffer-hook): new defun.
(ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
kill buffer hook, plus pushing current buffer if new in list.
(ses-delete-row, ses-delete-column): Collect deleted renamed cells
into `ses--in-killing-named-cell-list'.
(ses-rename-cell): Remove update of variable
`ses--renamed-cell-symb-list', this variable is renamed to
`ses--in-killing-named-cell-list', and its setting is done in
functions `ses-delete-row' and , `ses-delete-column' now.
(ses-rename-cell): Make cell new name a buffer local variable.
(ses-rename-cell): Change correction of
2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
computation of the range over which `cursor-intangible' property was
to be updated. This correction was ok for non spilling cells, but not
for cells spilling over following blank cells. Simply use
`next-single-property-change' rather than computing the end column
from column widths.

8 years agoRe-enable checks in member, memql, delete to complain about non-lists
Andreas Schwab [Fri, 29 Jan 2016 10:18:42 +0000 (11:18 +0100)]
Re-enable checks in member, memql, delete to complain about non-lists

* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.

8 years agoc:/emacs-git/next/ChangeLog
Martin Rudalics [Fri, 29 Jan 2016 10:14:13 +0000 (11:14 +0100)]
c:/emacs-git/next/ChangeLog

8 years agoMinor improvements to 'pcase' documentation
Eli Zaretskii [Fri, 29 Jan 2016 09:40:31 +0000 (11:40 +0200)]
Minor improvements to 'pcase' documentation

* doc/lispref/control.texi (Pattern matching case statement):
Improve the documentation of 'pcase' per comments.  See two
discussion threads on emacs-devel@gnu.org for the details:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.

8 years ago; * lisp/textmodes/table.el: Comment tweak.
Glenn Morris [Fri, 29 Jan 2016 02:11:55 +0000 (21:11 -0500)]
; * lisp/textmodes/table.el: Comment tweak.

8 years agoDon't use eval to quieten prolog.el compilation.
Glenn Morris [Fri, 29 Jan 2016 02:04:20 +0000 (21:04 -0500)]
Don't use eval to quieten prolog.el compilation.

* lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
(prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.

8 years agoMark some risky prolog variables.
Glenn Morris [Fri, 29 Jan 2016 02:01:17 +0000 (21:01 -0500)]
Mark some risky prolog variables.

* lisp/progmodes/prolog.el (prolog-system-version)
(prolog-keywords, prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-program-name, prolog-program-switches)
(prolog-consult-string, prolog-compile-string)
(prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
Mark anything processed by prolog-find-value-by-system as risky.

8 years ago* lisp/custom.el (defcustom): Doc fix.
Glenn Morris [Thu, 28 Jan 2016 22:45:50 +0000 (17:45 -0500)]
* lisp/custom.el (defcustom): Doc fix.

* doc/lispref/customize.texi (Variable Definitions):
Defcustom should always have a type.

8 years ago* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
Glenn Morris [Thu, 28 Jan 2016 22:13:38 +0000 (17:13 -0500)]
* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
Fix :type.

8 years ago* lisp/emacs-lisp/package.el (package-load-list): Improve :type.
Glenn Morris [Thu, 28 Jan 2016 16:58:43 +0000 (08:58 -0800)]
* lisp/emacs-lisp/package.el (package-load-list): Improve :type.

8 years agoFix Bug#22452
Michael Albinus [Thu, 28 Jan 2016 12:37:58 +0000 (13:37 +0100)]
Fix Bug#22452

* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
Mark it as connected.

* lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
connection property "connected" is set.  (Bug#22452)

8 years ago* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
Glenn Morris [Wed, 27 Jan 2016 22:06:08 +0000 (17:06 -0500)]
* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.

8 years ago* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
Glenn Morris [Wed, 27 Jan 2016 22:01:30 +0000 (17:01 -0500)]
* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
if not compiled with xwidgets.

8 years agoC-u C-x = example doc fix
Paul Eggert [Wed, 27 Jan 2016 07:24:27 +0000 (23:24 -0800)]
C-u C-x = example doc fix

* doc/emacs/mule.texi (International Chars):
Adjust example to match current behavior of C-u C-x =.

8 years agomalloc.h hygiene
Paul Eggert [Wed, 27 Jan 2016 07:00:10 +0000 (23:00 -0800)]
malloc.h hygiene

This attempts to future-proof Emacs a bit against possible glibc
changes, by having Emacs use <malloc.h> declarations rather than
coding them up by hand.  Problem noted by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
Implement this mainly by moving malloc.h-related functions from
emacs.c (which does not include <malloc.h>) to alloc.c (which does).
* src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
New function.
The remaining changes to this file apply only if DOUG_LEA_MALLOC.
(alloc_unexec_pre, alloc_unexec_post): New functions.
(malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
(__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
(__malloc_initialize_hook): Use it.
(malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
Move here from ...
* src/emacs.c: ... here.
(malloc_get_state, malloc_set_state): Remove extern decls.
(my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
All uses changed to similarly-named new function.
(Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
* src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
New decls.