]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years agoMerge remote-tracking branch 'origin/master' into xwidget_mvp
Joakim Verona [Tue, 15 Sep 2015 08:10:30 +0000 (10:10 +0200)]
Merge remote-tracking branch 'origin/master' into xwidget_mvp

9 years agoMake show-paren-match face visible on mono-color displays
Eli Zaretskii [Tue, 15 Sep 2015 07:22:35 +0000 (10:22 +0300)]
Make show-paren-match face visible on mono-color displays

* lisp/faces.el (show-paren-match): Use the underline face for
mono-color displays.  (Bug#21481)

9 years agoDon’t double-encode non-ASCII mail clipboard
Paul Eggert [Mon, 14 Sep 2015 21:09:24 +0000 (14:09 -0700)]
Don’t double-encode non-ASCII mail clipboard

* lisp/mail/mailclient.el (mailclient-send-it):
Also fix the case when mailclient-place-body-on-clipboard-flag
is non-nil.  Problem reported by Eli Zaretskii (Bug#21471#37).

9 years agoAdaot file-notify-tests.el test cases
Michael Albinus [Mon, 14 Sep 2015 20:15:20 +0000 (22:15 +0200)]
Adaot file-notify-tests.el test cases

* lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.

* src/inotify.c (Finotify_valid_p): Adapt docstring.

* test/automated/file-notify-tests.el ()
(file-notify-test03-autorevert)
(file-notify-test04-file-validity)
(file-notify-test04-file-validity-remote)
(file-notify-test05-dir-validity)
(file-notify-test05-dir-validity-remote): Adapt docstring.
(file-notify-test04-file-validity): Let events arrive before
calling final `file-notify-valid-p'.  Do not ignore errors.
(file-notify-test05-dir-validity): Do not manipulate
`temporary-file-directory', it isn't necessary.  Let events arrive
before calling final `file-notify-valid-p'.  Do not ignore errors.

9 years agoDon’t double-encode non-ASCII for mail client
Paul Eggert [Mon, 14 Sep 2015 16:31:23 +0000 (09:31 -0700)]
Don’t double-encode non-ASCII for mail client

* lisp/mail/mailclient.el (mailclient-encode-string-as-url):
Use RFC 6068’s list of unreserved characters.
(mailclient-send-it): When encoding the body as a URL,
first decode it as per Content-Type: and Content-Transfer-Encoding:,
as URLs must use percent-encoded UTF-8 (Bug#21471).

* doc/misc/url.texi (mailto): Update RFC number.

9 years ago* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist
Stefan Monnier [Mon, 14 Sep 2015 13:26:54 +0000 (09:26 -0400)]
* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist

9 years agoReplace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.
Alan Mackenzie [Mon, 14 Sep 2015 12:44:09 +0000 (12:44 +0000)]
Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.

(c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
`cadr/car'.

9 years agoClarify documentation of char-table extra slots
Eli Zaretskii [Mon, 14 Sep 2015 10:04:12 +0000 (13:04 +0300)]
Clarify documentation of char-table extra slots

* doc/lispref/sequences.texi (Char-Tables): Clarify that extra
slot numbers are zero-based.  (Bug#21467)

9 years agoElisp mode: Make font-lock and imenu handle escaped characters in symbols
Alan Mackenzie [Sat, 12 Sep 2015 08:54:44 +0000 (08:54 +0000)]
Elisp mode: Make font-lock and imenu handle escaped characters in symbols

Fixes debbugs#21449.

lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
(lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
(lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
(lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
Insert "\\|\\\\." into regexps which match symbols.

9 years agoImprove the doc string of w32notify-valid-p
Eli Zaretskii [Mon, 14 Sep 2015 09:41:51 +0000 (12:41 +0300)]
Improve the doc string of w32notify-valid-p

* src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
that removing a watch makes its object invalid.

9 years agoFix tests for file-notify-valid-p.
Tassilo Horn [Mon, 14 Sep 2015 07:52:31 +0000 (09:52 +0200)]
Fix tests for file-notify-valid-p.

9 years agoReport file-notify-error in w32notify.c
Eli Zaretskii [Mon, 14 Sep 2015 07:31:17 +0000 (10:31 +0300)]
Report file-notify-error in w32notify.c

* src/w32notify.c (report_w32notify_error): New function.
(Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
errors, instead of calling report_file_error.  (Bug#21432)

9 years agoImplement w32notify-valid-p
Eli Zaretskii [Mon, 14 Sep 2015 07:02:04 +0000 (10:02 +0300)]
Implement w32notify-valid-p

* src/w32notify.c (Fw32notify_valid_p): New function.  (Bug#21432)

* lisp/filenotify.el (w32notify-valid-p): No longer an alias for
'identity'.

9 years agoTest file-notify-valid-p.
Tassilo Horn [Mon, 14 Sep 2015 06:03:11 +0000 (08:03 +0200)]
Test file-notify-valid-p.

* test/automated/file-notify-tests.el
(file-notify-test04-file-validity, file-notify-test05-dir-validity): New
tests.

9 years agoFix markup in ELisp manual
Eli Zaretskii [Sun, 13 Sep 2015 19:56:38 +0000 (22:56 +0300)]
Fix markup in ELisp manual

* doc/lispref/frames.texi (Font and Color Parameters): Fix markup
of the 'alpha' parameter value.  (Bug#21470)

9 years agoIntroduce `file-notify-valid-p'
Michael Albinus [Sun, 13 Sep 2015 19:16:40 +0000 (21:16 +0200)]
Introduce `file-notify-valid-p'

* lisp/filenotify.el (file-notify-valid-p): New defun.
(gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
<file-notify-valid-p>: Add handler.

* lisp/net/tramp.el (tramp-file-name-for-operation):
Add `file-notify-valid-p'.
(tramp-handle-file-notify-valid-p): New defun.

* src/inotify.c (Finotify_valid_p): New defun.
(syms_of_inotify): Declare Sinotify_valid_p.

9 years agoPort Unicode char detection to FreeBSD+svgalib
Paul Eggert [Sun, 13 Sep 2015 18:55:28 +0000 (11:55 -0700)]
Port Unicode char detection to FreeBSD+svgalib

Problem reported by Ashish SHUKLA in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
* configure.ac: Check for struct unipair.unicode instead of for
<linux/kd.h>, since that’s more specific to what the code actually needs.
* src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.

9 years ago* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
Paul Eggert [Sun, 13 Sep 2015 16:13:22 +0000 (09:13 -0700)]
* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).

9 years agoFix vertical cursor motion across overlay strings with newlines
Eli Zaretskii [Sun, 13 Sep 2015 10:15:55 +0000 (13:15 +0300)]
Fix vertical cursor motion across overlay strings with newlines

* src/indent.c (Fvertical_motion): Don't leave point in the middle
of an overlay string with newlines, as that will position the
cursor after the string at whatever column is there.  (Bug#21468)

9 years agoFix tests in file-notify-tests.el
Michael Albinus [Sat, 12 Sep 2015 08:37:32 +0000 (10:37 +0200)]
Fix tests in file-notify-tests.el

* test/automated/file-notify-tests.el: Remove Tramp declarations.
(file-notify-test00-availability): Print remote command w/o Tramp
internal functions.
(file-notify-test02-events, file-notify-test02-events-remote):
Adapt docstring.
(file-notify-test03-autorevert): Use `format-message' when
inspecting *Messages* buffer.

9 years agoBind inhibit-modification-hooks rather than a/b-c-f
Stefan Monnier [Sat, 12 Sep 2015 04:30:02 +0000 (00:30 -0400)]
Bind inhibit-modification-hooks rather than a/b-c-f

* lisp/wid-edit.el (widget-editable-list-insert-before)
(widget-editable-list-delete-at):
* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
(cperl-font-lock-unfontify-region-function):
* lisp/progmodes/antlr-mode.el (save-buffer-state-x):
* lisp/obsolete/longlines.el (longlines-mode):
* lisp/obsolete/fast-lock.el (save-buffer-state):
* lisp/mouse.el (mouse-save-then-kill-delete-region):
* lisp/gnus/message.el (message-hide-headers):
* lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
* lisp/ibuffer.el (ibuffer-update-title-and-summary)
(ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
than after/before-change-functions to nil.

9 years ago(jit-lock-deferred-fontify): Pay attention to skipped redisplays
Stefan Monnier [Sat, 12 Sep 2015 00:32:33 +0000 (20:32 -0400)]
(jit-lock-deferred-fontify): Pay attention to skipped redisplays

* lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
the buffers, even if the forced redisplay is interrupted.

9 years ago* lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
Stefan Monnier [Sat, 12 Sep 2015 00:30:31 +0000 (20:30 -0400)]
* lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects

9 years agoMerge syntax-propertize--done and parse-sexp-propertize-done
Stefan Monnier [Sat, 12 Sep 2015 00:00:05 +0000 (20:00 -0400)]
Merge syntax-propertize--done and parse-sexp-propertize-done

* lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
(syntax-propertize): Set syntax-propertize--done even if
syntax-propertize-function is nil.  Avoid recursive invocations.
(syntax-propertize-chunks): New var.
(internal--syntax-propertize): Use it.  Rename from syntax--jit-propertize.
Simplify.
(parse-sexp-propertize-function): Don't set any more.

* src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
(parse_sexp_propertize): Don't assume charpos is not yet propertized.
Call Qinternal__syntax_propertize instead of
Vparse_sexp_propertize_function.  Truncate e_property if needed.
(update_syntax_table_forward): Streamline.
(syms_of_syntax): Define Qinternal__syntax_propertize.
(syntax_propertize__done): Rename from parse_sexp_propertize_done.

9 years agoPrefer straight quoting in some text files
Paul Eggert [Fri, 11 Sep 2015 18:04:24 +0000 (11:04 -0700)]
Prefer straight quoting in some text files

Mostly this just changes ` to ' in static text.  Some exceptions:
* INSTALL.REPO: Use curved quotes, as the diagnostic in question
typically does that now.
* admin/quick-install-emacs (TRY, top level):
Use straight quoting in diagnostics.
* src/README: Fix working-directory confusion.

9 years ago* CONTRIBUTE: Move send-email here from git-workflow.
Paul Eggert [Fri, 11 Sep 2015 15:34:46 +0000 (08:34 -0700)]
* CONTRIBUTE: Move send-email here from git-workflow.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Fri, 11 Sep 2015 09:40:47 +0000 (11:40 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agoImprove file notifications in Tramp
Michael Albinus [Fri, 11 Sep 2015 09:40:33 +0000 (11:40 +0200)]
Improve file notifications in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Set proper events to watch for.
(tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
watched events.

9 years agoFix NS build with --enable-checking='glyphs'
Eli Zaretskii [Fri, 11 Sep 2015 07:56:18 +0000 (10:56 +0300)]
Fix NS build with --enable-checking='glyphs'

* src/nsfns.m (unwind_create_frame): Make the preprocessor
conditionals for referencing 'dpyinfo' consistent throughout the
function.  (Bug#21426)

9 years agoMerge remote-tracking branch 'origin/master' into xwidget_mvp
Joakim Verona [Fri, 11 Sep 2015 06:52:01 +0000 (08:52 +0200)]
Merge remote-tracking branch 'origin/master' into xwidget_mvp

9 years agoupstream
Joakim Verona [Fri, 11 Sep 2015 06:51:54 +0000 (08:51 +0200)]
upstream

9 years agoAdd seq-find
Nicolas Petton [Thu, 10 Sep 2015 21:49:56 +0000 (23:49 +0200)]
Add seq-find

This function is similar to `seq-some' but returns the found element.
In the cases where nil can be the found element, a sentinel optional
argument can be provided to avoid ambiguities.

* lisp/emacs-lisp/seq.el (seq-find): New function.
* test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
* doc/lispref/sequences.texi (Sequence Functions): Add documentation for
seq-find.

9 years agoDocument file-notify--test-with-events.
Tassilo Horn [Thu, 10 Sep 2015 19:11:18 +0000 (21:11 +0200)]
Document file-notify--test-with-events.

* test/automated/file-notify-tests.el (file-notify--test-with-events):
Add docstring.

9 years agoReport used native library in file-notify-tests.el
Michael Albinus [Thu, 10 Sep 2015 18:01:33 +0000 (20:01 +0200)]
Report used native library in file-notify-tests.el

* test/automated/file-notify-tests.el
(tramp-get-remote-gvfs-monitor-dir)
(tramp-get-remote-inotifywait): Declare them.
(file-notify-test00-availability): Print used native library.

9 years agolisp/mpc.el (mpc--proc-connect): use file-name-absolute-p
Mark Oteiza [Mon, 7 Sep 2015 22:01:00 +0000 (18:01 -0400)]
lisp/mpc.el (mpc--proc-connect): use file-name-absolute-p

9 years agolisp/mpc.el (mpc-file-local-copy): check for absolute path
Mark Oteiza [Mon, 7 Sep 2015 21:57:46 +0000 (17:57 -0400)]
lisp/mpc.el (mpc-file-local-copy): check for absolute path

9 years agolisp/mpc.el (mpc-file-local-copy): check more config locations
Mark Oteiza [Mon, 7 Sep 2015 21:56:06 +0000 (17:56 -0400)]
lisp/mpc.el (mpc-file-local-copy): check more config locations

9 years agoImprove documentation of categories
Eli Zaretskii [Thu, 10 Sep 2015 17:39:02 +0000 (20:39 +0300)]
Improve documentation of categories

* doc/lispref/syntax.texi (Categories): Clarify the example of
using define-category and modify-category-entry.  (Bug#21448)

9 years agoRevert some stray curved quotes I missed earlier
Paul Eggert [Thu, 10 Sep 2015 17:10:54 +0000 (10:10 -0700)]
Revert some stray curved quotes I missed earlier

Problem reported by David Kastrup in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
* lisp/international/mule-cmds.el (leim-list-header):
Use format-message with an ASCII-only format.

9 years agoPrefer NUMBERP to spelling it out
Paul Eggert [Thu, 10 Sep 2015 16:52:42 +0000 (09:52 -0700)]
Prefer NUMBERP to spelling it out

* src/editfns.c (styled_format):
* src/frame.h (NUMVAL):
* src/image.c (parse_image_spec):
* src/lisp.h (CHECK_NUMBER_OR_FLOAT)
(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
* src/process.c (Fsignal_process):
* src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
* src/xfaces.c (check_lface_attrs):
* src/xselect.c (x_fill_property_data, x_send_client_event):
Use NUMBERP rather than INTEGERP || FLOATP.

9 years ago; Spelling fix
Paul Eggert [Thu, 10 Sep 2015 15:49:14 +0000 (08:49 -0700)]
; Spelling fix

9 years agoImprove file-notify-tests
Tassilo Horn [Thu, 10 Sep 2015 15:18:15 +0000 (17:18 +0200)]
Improve file-notify-tests

* test/automated/file-notify-tests.el: Use lexical-binding
(file-notify--test-cleanup): New function.
(file-notify-test00-availability, file-notify-test01-add-watch)
(file-notify-test02-events, file-notify-test03-autorevert): Use it.
(file-notify--test-with-events): New macro.
(file-notify-test02-events): Use it.

9 years agoAdd patch-sending instructions to git-workflow
Paul Eggert [Thu, 10 Sep 2015 09:43:59 +0000 (02:43 -0700)]
Add patch-sending instructions to git-workflow

From a suggestion by Mitchel Humpherys in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
* admin/notes/git-workflow (Sending patches): New section.

9 years agoPort to GIFLIB 5.0.6 and later
Paul Eggert [Thu, 10 Sep 2015 09:39:13 +0000 (02:39 -0700)]
Port to GIFLIB 5.0.6 and later

Problem reported by Mitchel Humpherys in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
* src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
(GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
(gif_load) [HAVE_GIF]: Use it.

9 years ago* lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
Glenn Morris [Thu, 10 Sep 2015 06:23:27 +0000 (23:23 -0700)]
* lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.

9 years ago* test/automated/file-notify-tests.el (file-notify-test02-events):
Glenn Morris [Thu, 10 Sep 2015 01:18:36 +0000 (21:18 -0400)]
* test/automated/file-notify-tests.el (file-notify-test02-events):

Fix recent change.

9 years agoRefix movemail GCC pacification
Paul Eggert [Wed, 9 Sep 2015 22:40:49 +0000 (15:40 -0700)]
Refix movemail GCC pacification

Problem reported by Ken Brown in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
* lib-src/movemail.c (main): Fix previous change.

9 years ago(time-to-seconds, time-less-p): Mark unused vars with underscore
Stefan Monnier [Wed, 9 Sep 2015 20:31:58 +0000 (16:31 -0400)]
(time-to-seconds, time-less-p): Mark unused vars with underscore

* lisp/calendar/time-date.el (time-to-seconds, time-less-p):
Mark unused vars with underscore.

9 years ago* src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
Stefan Monnier [Wed, 9 Sep 2015 20:22:29 +0000 (16:22 -0400)]
* src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...

(parse_sexp_propertize): ...from here.

9 years ago* lisp/filenotify.el: Use lexical-binding
Stefan Monnier [Wed, 9 Sep 2015 20:21:59 +0000 (16:21 -0400)]
* lisp/filenotify.el: Use lexical-binding

(file-notify-add-watch): Avoid add-to-list.

9 years agoStart checking event types in file-notify tests
Tassilo Horn [Wed, 9 Sep 2015 19:46:40 +0000 (21:46 +0200)]
Start checking event types in file-notify tests

* test/automated/file-notify-tests.el (file-notify--test-events): New
variable.
(file-notify--test-event-handler): Append received event to
file-notify--test-events for later analysis.
(file-notify-test02-events): Assert that the expected notifications have
arrived in the expected order.

9 years agoMerge from gnulib and texinfo
Paul Eggert [Wed, 9 Sep 2015 19:36:18 +0000 (12:36 -0700)]
Merge from gnulib and texinfo

This incorporates:
2015-08-03 Improve port of stdalign to C++11
* lib/stdalign.in.h: Copy from gnulib.
* doc/misc/texinfo.tex: Copy from texinfo.

9 years agoMake syntax.c call syntax-propertize on demand
Stefan Monnier [Wed, 9 Sep 2015 19:14:52 +0000 (15:14 -0400)]
Make syntax.c call syntax-propertize on demand

* lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
(parse-sexp-propertize-function): Use it.
(syntax-propertize): Disable parse-sexp-propertize-function.

* src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
New functions.
(syms_of_syntax): New vars `parse-sexp-propertize-done' and
`parse-sexp-propertize-function'.

* src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
(UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
(SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.

* lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
Don't assume `point' is set.

9 years agoFix indentation of an @example in ELisp manual
Eli Zaretskii [Wed, 9 Sep 2015 19:06:28 +0000 (22:06 +0300)]
Fix indentation of an @example in ELisp manual

* doc/lispref/syntax.texi (Categories): Untabify the example.
(Bug#21448)

9 years agoDefine internal-char-font even if --without-x
Paul Eggert [Wed, 9 Sep 2015 17:47:53 +0000 (10:47 -0700)]
Define internal-char-font even if --without-x

The function is used now even in non-graphical environments.
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
* src/font.c (Finternal_char_font): Move here ...
* src/fontset.c (Finternal_char_font): ... from here.

9 years ago* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning
Stefan Monnier [Wed, 9 Sep 2015 17:18:11 +0000 (13:18 -0400)]
* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning

9 years agoFix display of complex local data types in GDB-MI
Eli Zaretskii [Wed, 9 Sep 2015 15:56:06 +0000 (18:56 +0300)]
Fix display of complex local data types in GDB-MI

* lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
variable has no value, display "<complex data type>" as a
placeholder, instead of a confusing "nil".  (Bug#21438)

9 years agoRemove redundant redefinition of seq-drop-while from seq.el
Oleh Krehel [Wed, 9 Sep 2015 13:09:31 +0000 (15:09 +0200)]
Remove redundant redefinition of seq-drop-while from seq.el

* lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.

9 years ago* lisp/emacs-lisp/package.el (package--ensure-init-file)
Phil Sainty [Mon, 7 Sep 2015 14:15:53 +0000 (02:15 +1200)]
* lisp/emacs-lisp/package.el (package--ensure-init-file)

More robust check for `package-initialize' calls in init file.
This function accepts an optional argument, but calls passing
an argument would not have been detected.

9 years agoPort movemail to RHEL 6 with --enable-gcc-warnings
Paul Eggert [Wed, 9 Sep 2015 10:36:08 +0000 (03:36 -0700)]
Port movemail to RHEL 6 with --enable-gcc-warnings

* lib-src/movemail.c (main): Declare local only if needed.

9 years agoPort recent Linux console changes to RHEL 6
Paul Eggert [Wed, 9 Sep 2015 10:23:46 +0000 (03:23 -0700)]
Port recent Linux console changes to RHEL 6

* src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.

9 years ago; Fix stray quote inserted in comment
Paul Eggert [Wed, 9 Sep 2015 09:47:53 +0000 (02:47 -0700)]
; Fix stray quote inserted in comment

9 years agoImprovements for curved quotes on Linux consule
Paul Eggert [Wed, 9 Sep 2015 09:21:16 +0000 (02:21 -0700)]
Improvements for curved quotes on Linux consule

This should help Emacs work better out-of-the-box on Linux consoles,
which have only limited support for displaying Unicode characters.
Also, undo the recent change that caused text-quoting-style to
affect quote display on terminals, so that the two features are
independent.  See Alan Mackenzie in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
Finally, add a style parameter to startup--setup-quote-display,
so that this function can also be invoked after startup, with
different styles depending on user preference at the time.
* configure.ac: Check for linux/kd.h header.
* doc/emacs/display.texi (Text Display): Document quote display.
* doc/lispref/display.texi (Active Display Table):
* etc/NEWS:
* lisp/startup.el (startup--setup-quote-display, command-line):
text-quoting-style no longer affects quote display.
* doc/lispref/frames.texi (Terminal Parameters): Fix typo.
* lisp/international/mule-util.el (char-displayable-p):
* lisp/startup.el (startup--setup-quote-display):
On a text terminal supporting glyph codes, use the reported
glyph codes instead of the terminal coding system, as this
is more accurate on the Linux console.
* lisp/startup.el (startup--setup-quote-display):
New optional arg STYLE.
* src/fontset.c (Finternal_char_font):
Report glyph codes for a text terminal, if they are available.
Currently this is supported only for the Linux console.
* src/termhooks.h (struct terminal): New member glyph-code-table.
* src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
(calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
(terminal_glyph_code): New function.

9 years ago* lisp/info.el (Info-fontify-node): Don't stop at the non-title underline.
Juri Linkov [Tue, 8 Sep 2015 21:51:32 +0000 (00:51 +0300)]
* lisp/info.el (Info-fontify-node): Don't stop at the non-title underline.

(Bug#21433)

9 years ago* lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec
Stefan Monnier [Tue, 8 Sep 2015 20:45:14 +0000 (16:45 -0400)]
* lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec

9 years agoFix double-reporting of rename events with inotify
Tassilo Horn [Tue, 8 Sep 2015 18:55:29 +0000 (20:55 +0200)]
Fix double-reporting of rename events with inotify

* lisp/filenotify.el (file-notify-callback): Fix double-reporting
of rename events with inotify (bug#21435).

9 years ago* lisp/play/tetris.el (tetris-move-down): New command (bug#21360)
Vasilij Schneidermann [Tue, 8 Sep 2015 17:55:50 +0000 (13:55 -0400)]
* lisp/play/tetris.el (tetris-move-down): New command (bug#21360)

(tetris-mode-map): Use it.

Copyright-paperwork-exempt: yes

9 years ago; Fix comment to match recent code change
Paul Eggert [Tue, 8 Sep 2015 14:34:54 +0000 (07:34 -0700)]
; Fix comment to match recent code change

9 years agoRemove a few simple cases of global redisplay
Stefan Monnier [Tue, 8 Sep 2015 14:25:59 +0000 (10:25 -0400)]
Remove a few simple cases of global redisplay

* src/dispnew.c (redraw_frame): Don't redisplay all frames.

* src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
rather than returning a "resized_p" boolean.
(redisplay_internal): Adjust call accordingly.

* src/xfaces.c (free_realized_faces): Don't redisplay all frames.
(free_all_realized_faces): Set windows_or_buffers_changed so as to ease
tracking of this undesirable situation.

9 years ago* src/process.c (status_notify): Avoid global redisplay (bug#11822)
Stefan Monnier [Tue, 8 Sep 2015 13:06:49 +0000 (09:06 -0400)]
* src/process.c (status_notify): Avoid global redisplay (bug#11822)

* src/process.c (status_notify): Only set the update_mode_line on the
relevant buffers rather than setting it globally.

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 8 Sep 2015 10:19:13 +0000 (06:19 -0400)]
; Auto-commit of loaddefs files.

9 years ago(electric-quote-mode): Activate everywhere in message-mode
Stefan Monnier [Tue, 8 Sep 2015 02:05:04 +0000 (22:05 -0400)]
(electric-quote-mode): Activate everywhere in message-mode

* lisp/electric.el (electric-quote-post-self-insert-function):
Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).

9 years agoGo back to grave quoting in source-code docstrings etc.
Paul Eggert [Mon, 7 Sep 2015 15:41:44 +0000 (08:41 -0700)]
Go back to grave quoting in source-code docstrings etc.

This reverts almost all my recent changes to use curved quotes
in docstrings and/or strings used for error diagnostics.
There are a few exceptions, e.g., Bahá’í proper names.
* admin/unidata/unidata-gen.el (unidata-gen-table):
* lisp/abbrev.el (expand-region-abbrevs):
* lisp/align.el (align-region):
* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
(outlineify-sticky):
* lisp/apropos.el (apropos-library):
* lisp/bookmark.el (bookmark-default-annotation-text):
* lisp/button.el (button-category-symbol, button-put)
(make-text-button):
* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
* lisp/calc/calc-embed.el (calc-do-embedded):
* lisp/calc/calc-ext.el (calc-user-function-list):
* lisp/calc/calc-graph.el (calc-graph-show-dumb):
* lisp/calc/calc-help.el (calc-describe-key)
(calc-describe-thing, calc-full-help):
* lisp/calc/calc-lang.el (calc-c-language)
(math-parse-fortran-vector-end, math-parse-tex-sum)
(math-parse-eqn-matrix, math-parse-eqn-prime)
(calc-yacas-language, calc-maxima-language, calc-giac-language)
(math-read-giac-subscr, math-read-math-subscr)
(math-read-big-rec, math-read-big-balance):
* lisp/calc/calc-misc.el (calc-help, report-calc-bug):
* lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
(calc-auto-recompute):
* lisp/calc/calc-prog.el (calc-fix-token-name)
(calc-read-parse-table-part, calc-user-define-invocation)
(math-do-arg-check):
* lisp/calc/calc-store.el (calc-edit-variable):
* lisp/calc/calc-units.el (math-build-units-table-buffer):
* lisp/calc/calc-vec.el (math-read-brackets):
* lisp/calc/calc-yank.el (calc-edit-mode):
* lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/diary-lib.el (diary-check-diary-file)
(diary-mail-entries, diary-from-outlook):
* lisp/calendar/icalendar.el (icalendar-export-region)
(icalendar--convert-float-to-ical)
(icalendar--convert-date-to-ical)
(icalendar--convert-ical-to-diary)
(icalendar--convert-recurring-to-diary)
(icalendar--add-diary-entry):
* lisp/calendar/time-date.el (format-seconds):
* lisp/calendar/timeclock.el (timeclock-mode-line-display)
(timeclock-make-hours-explicit, timeclock-log-data):
* lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
(todo-item-mark, todo-check-format)
(todo-insert-item--next-param, todo-edit-item--next-key)
(todo-mode):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/mode-local.el (describe-mode-local-overload)
(mode-local-print-binding, mode-local-describe-bindings-2):
* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/cus-start.el (standard):
* lisp/cus-theme.el (describe-theme-1):
* lisp/custom.el (custom-add-dependencies, custom-check-theme)
(custom--sort-vars-1, load-theme):
* lisp/descr-text.el (describe-text-properties-1, describe-char):
* lisp/dired-x.el (dired-do-run-mail):
* lisp/dired.el (dired-log):
* lisp/emacs-lisp/advice.el (ad-read-advised-function)
(ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
(ad-disable-advice, ad-remove-advice, ad-set-argument)
(ad-set-arguments, ad--defalias-fset, ad-activate)
(ad-deactivate):
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
(byte-compile-unfold-lambda, byte-optimize-form-code-walker)
(byte-optimize-while, byte-optimize-apply):
* lisp/emacs-lisp/byte-run.el (defun, defsubst):
* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
(byte-compile-log-file, byte-compile-format-warn)
(byte-compile-nogroup-warn, byte-compile-arglist-warn)
(byte-compile-cl-warn)
(byte-compile-warn-about-unresolved-functions)
(byte-compile-file, byte-compile--declare-var)
(byte-compile-file-form-defmumble, byte-compile-form)
(byte-compile-normal-call, byte-compile-check-variable)
(byte-compile-variable-ref, byte-compile-variable-set)
(byte-compile-subr-wrong-args, byte-compile-setq-default)
(byte-compile-negation-optimizer)
(byte-compile-condition-case--old)
(byte-compile-condition-case--new, byte-compile-save-excursion)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form)
(byte-compile-make-variable-buffer-local, display-call-tree)
(batch-byte-compile):
* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
* lisp/emacs-lisp/chart.el (chart-space-usage):
* lisp/emacs-lisp/check-declare.el (check-declare-scan)
(check-declare-warn, check-declare-file)
(check-declare-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
(checkdoc-message-text-engine):
* lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
(cl--describe-class):
* lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
(cl--generic-describe, cl-generic-generalizers):
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
(cl-symbol-macrolet):
* lisp/emacs-lisp/cl.el (cl-unload-function, flet):
* lisp/emacs-lisp/copyright.el (copyright)
(copyright-update-directory):
* lisp/emacs-lisp/edebug.el (edebug-read-list):
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
* lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
(eieio-oref):
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
* lisp/emacs-lisp/eieio-speedbar.el:
(eieio-speedbar-child-make-tag-lines)
(eieio-speedbar-child-description):
* lisp/emacs-lisp/eieio.el (defclass, change-class):
* lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
(elint-init-form, elint-check-defalias-form)
(elint-check-let-form):
* lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-describe-test):
* lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
(find-function-library):
* lisp/emacs-lisp/generator.el (iter-yield):
* lisp/emacs-lisp/gv.el (gv-define-simple-setter):
* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
* lisp/emacs-lisp/nadvice.el (advice--make-docstring)
(advice--make, define-advice):
* lisp/emacs-lisp/package-x.el (package-upload-file):
* lisp/emacs-lisp/package.el (package-version-join)
(package-disabled-p, package-activate-1, package-activate)
(package--download-one-archive)
(package--download-and-read-archives)
(package-compute-transaction, package-install-from-archive)
(package-install, package-install-selected-packages)
(package-delete, package-autoremove, describe-package-1)
(package-install-button-action, package-delete-button-action)
(package-menu-hide-package, package-menu--list-to-prompt)
(package-menu--perform-transaction)
(package-menu--find-and-notify-upgrades):
* lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
* lisp/emacs-lisp/ring.el (ring-previous, ring-next):
* lisp/emacs-lisp/rx.el (rx-check, rx-anything)
(rx-check-any-string, rx-check-any, rx-check-not, rx-=)
(rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
(rx-form):
* lisp/emacs-lisp/smie.el (smie-config-save):
* lisp/emacs-lisp/subr-x.el (internal--check-binding):
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
* lisp/emacs-lisp/testcover.el (testcover-1value):
* lisp/emacs-lisp/timer.el (timer-event-handler):
* lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
(viper-toggle-search-style, viper-kill-buffer)
(viper-brac-function):
* lisp/emulation/viper-macs.el (viper-record-kbd-macro):
* lisp/env.el (setenv):
* lisp/erc/erc-button.el (erc-nick-popup):
* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
* lisp/eshell/em-dirs.el (eshell/cd):
* lisp/eshell/em-glob.el (eshell-glob-regexp)
(eshell-glob-entries):
* lisp/eshell/em-pred.el (eshell-parse-modifiers):
* lisp/eshell/esh-opt.el (eshell-show-usage):
* lisp/facemenu.el (facemenu-add-new-face)
(facemenu-add-new-color):
* lisp/faces.el (read-face-name, read-face-font, describe-face)
(x-resolve-font-name):
* lisp/files-x.el (modify-file-local-variable):
* lisp/files.el (locate-user-emacs-file, find-alternate-file)
(set-auto-mode, hack-one-local-variable--obsolete)
(dir-locals-set-directory-class, write-file, basic-save-buffer)
(delete-directory, copy-directory, recover-session)
(recover-session-finish, insert-directory)
(file-modes-char-to-who, file-modes-symbolic-to-number)
(move-file-to-trash):
* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
* lisp/find-cmd.el (find-generic, find-to-string):
* lisp/finder.el (finder-commentary):
* lisp/font-lock.el (font-lock-fontify-buffer):
* lisp/format.el (format-write-file, format-find-file)
(format-insert-file):
* lisp/frame.el (get-device-terminal, select-frame-by-name):
* lisp/fringe.el (fringe--check-style):
* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
* lisp/help-fns.el (help-fns--key-bindings)
(help-fns--compiler-macro, help-fns--parent-mode)
(help-fns--obsolete, help-fns--interactive-only)
(describe-function-1, describe-variable):
* lisp/help.el (describe-mode)
(describe-minor-mode-from-indicator):
* lisp/image.el (image-type):
* lisp/international/ccl.el (ccl-dump):
* lisp/international/fontset.el (x-must-resolve-font-name):
* lisp/international/mule-cmds.el (prefer-coding-system)
(select-safe-coding-system-interactively)
(select-safe-coding-system, activate-input-method)
(toggle-input-method, describe-current-input-method)
(describe-language-environment):
* lisp/international/mule-conf.el (code-offset):
* lisp/international/mule-diag.el (describe-character-set)
(list-input-methods-1):
* lisp/mail/feedmail.el (feedmail-run-the-queue):
* lisp/mouse.el (minor-mode-menu-from-indicator):
* lisp/mpc.el (mpc-playlist-rename):
* lisp/msb.el (msb--choose-menu):
* lisp/net/ange-ftp.el (ange-ftp-shell-command):
* lisp/net/imap.el (imap-interactive-login):
* lisp/net/mairix.el (mairix-widget-create-query):
* lisp/net/newst-backend.el (newsticker--sentinel-work):
* lisp/net/newst-treeview.el (newsticker--treeview-load):
* lisp/net/rlogin.el (rlogin):
* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
* lisp/obsolete/otodo-mode.el (todo-more-important-p):
* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
* lisp/org/ob-core.el (org-babel-goto-named-src-block)
(org-babel-goto-named-result):
* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
* lisp/org/ob-ref.el (org-babel-ref-resolve):
* lisp/org/org-agenda.el (org-agenda-prepare):
* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
(org-clock-resolve):
* lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
* lisp/org/org-feed.el (org-feed-parse-atom-entry):
* lisp/org/org-habit.el (org-habit-parse-todo):
* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
(org-mouse-context-menu):
* lisp/org/org-table.el (org-table-edit-formulas):
* lisp/org/ox.el (org-export-async-start):
* lisp/proced.el (proced-log):
* lisp/progmodes/ada-mode.el (ada-get-indent-case)
(ada-check-matching-start, ada-goto-matching-start):
* lisp/progmodes/ada-prj.el (ada-prj-display-page):
* lisp/progmodes/ada-xref.el (ada-find-executable):
* lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
* lisp/progmodes/etags.el (etags-tags-apropos-additional):
* lisp/progmodes/flymake.el (flymake-parse-err-lines)
(flymake-start-syntax-check-process):
* lisp/progmodes/python.el (python-shell-get-process-or-error)
(python-define-auxiliary-skeleton):
* lisp/progmodes/sql.el (sql-comint):
* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
* lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
* lisp/recentf.el (recentf-open-files):
* lisp/replace.el (query-replace-read-from)
(occur-after-change-function, occur-1):
* lisp/scroll-bar.el (scroll-bar-columns):
* lisp/server.el (server-get-auth-key):
* lisp/simple.el (execute-extended-command)
(undo-outer-limit-truncate, list-processes--refresh)
(compose-mail, set-variable, choose-completion-string)
(define-alternatives):
* lisp/startup.el (site-run-file, tty-handle-args, command-line)
(command-line-1):
* lisp/subr.el (noreturn, define-error, add-to-list)
(read-char-choice, version-to-list):
* lisp/term/common-win.el (x-handle-xrm-switch)
(x-handle-name-switch, x-handle-args):
* lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
* lisp/textmodes/reftex-ref.el (reftex-label):
* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
* lisp/textmodes/two-column.el (2C-split):
* lisp/tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--find-changed-keys):
* lisp/type-break.el (type-break-noninteractive-query):
* lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
(wdired-do-perm-changes):
* lisp/whitespace.el (whitespace-report-region):
Prefer grave quoting in source-code strings used to generate help
and diagnostics.
* lisp/faces.el (face-documentation):
No need to convert quotes, since the result is a docstring.
* lisp/info.el (Info-virtual-index-find-node)
(Info-virtual-index, info-apropos):
Simplify by generating only curved quotes, since info files are
typically that ways nowadays anyway.
* lisp/international/mule-diag.el (list-input-methods):
Don’t assume text quoting style is curved.
* lisp/org/org-bibtex.el (org-bibtex-fields):
Revert my recent changes, going back to the old quoting style.

9 years ago* lisp/emacs-lisp/package.el: Reduce autoloading before compiling
Artur Malabarba [Mon, 7 Sep 2015 22:51:42 +0000 (23:51 +0100)]
* lisp/emacs-lisp/package.el: Reduce autoloading before compiling

(package--autoloads-file-name)
(package--activate-autoloads-and-load-path): New function.
(package-activate-1): Delegate autoloading and load-path
configuration to `package--activate-autoloads-and-load-path'.
(package--compile): Before compilation, call
`package--activate-autoloads-and-load-path' instead of
`package-activate-1'.

9 years ago; Add (tiny change) an entry from 2015-08-31
Artur Malabarba [Mon, 7 Sep 2015 20:30:07 +0000 (21:30 +0100)]
; Add (tiny change) an entry from 2015-08-31

9 years ago* src/keyboard.c (read_key_sequence): Complete last fix (bug#21403)
Stefan Monnier [Mon, 7 Sep 2015 17:27:50 +0000 (13:27 -0400)]
* src/keyboard.c (read_key_sequence): Complete last fix (bug#21403)

9 years agoFix deletion of symlinks to directories on MS-Windows
Eli Zaretskii [Mon, 7 Sep 2015 15:26:36 +0000 (18:26 +0300)]
Fix deletion of symlinks to directories on MS-Windows

* src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
symlink to a directory, try again with 'rmdir'.
(is_symlink): If the argument is a symlink to a directory, set a
bit in the return value to indicate that fact.

9 years ago* lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
Artur Malabarba [Sun, 6 Sep 2015 12:52:54 +0000 (13:52 +0100)]
* lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup

When `package-initialize' is called as part of loading the init file,
the user probably doesn't want it to be called again afterwards. In this
situation, `package-initialize' now sets `package-enable-at-startup' to
nil to prevent that. The user can have the old behaviour by setting this
variable to t after the call to `package-initialize'.  (Bug#21423)

* doc/emacs/package.texi (Package Installation): Document it

* doc/lispref/package.texi (Packaging Basics): Document it

* etc/NEWS: Document it

9 years agoBump version of ntlm.el to 2.00
Thomas Fitzsimmons [Mon, 7 Sep 2015 02:47:29 +0000 (22:47 -0400)]
Bump version of ntlm.el to 2.00

* lisp/net/ntlm.el: Bump version to 2.00.  New maintainer.  Add comm
keyword.

9 years ago* doc/misc/gnus.texi (Mail Source Specifiers):
Adam Sjøgren [Sun, 6 Sep 2015 23:22:42 +0000 (23:22 +0000)]
* doc/misc/gnus.texi (Mail Source Specifiers):
Allow :mailbox to be a list.

9 years agoAllow even one non-regular character before the implicit tag name
Dmitry Gutov [Sun, 6 Sep 2015 22:38:10 +0000 (01:38 +0300)]
Allow even one non-regular character before the implicit tag name

* lisp/progmodes/etags.el (etags-tags-completion-table):
Allow even one non-regular character before the implicit tag name.
Reported at http://emacs.stackexchange.com/questions/15269/.

9 years agoAdd support for NTLMv2 authentication
Thomas Fitzsimmons [Thu, 27 Aug 2015 03:05:25 +0000 (23:05 -0400)]
Add support for NTLMv2 authentication

* net/ntlm.el (ntlm): New customization group.
(ntlm-compatibility-level): New defcustom.
(ntlm-compute-timestamp): New function.
(ntlm-generate-nonce): Likewise.
(ntlm-build-auth-response): Add support for NTLMv2 authentication.

9 years ago* lisp/emacs-lisp/package.el: Rename custom faces
Artur Malabarba [Sun, 6 Sep 2015 13:14:43 +0000 (14:14 +0100)]
* lisp/emacs-lisp/package.el: Rename custom faces

All of the recently introduced faces, like `package-name-face', have
been renamed to no end in `-face' to comply with the convention
described in (info "(elisp) Defining Faces").

(package-name, package-description)
(package-status-built-in, package-status-external)
(package-status-available, package-status-new)
(package-status-held, package-status-disabled)
(package-status-installed, package-status-dependency)
(package-status-unsigned, package-status-incompat)
(package-status-avail-obso): New faces.
(package-menu--print-info-simple): Use them.

9 years agomail-source.el: Make the imap mail-source's :mailbox handle a list
Adam Sjøgren [Sun, 6 Sep 2015 12:59:30 +0000 (12:59 +0000)]
mail-source.el: Make the imap mail-source's :mailbox handle a list

* lisp/gnus/mail-source.el (mail-source-fetch-imap):
Allow :mailbox to be  a list.

9 years agonnimap.el: Handle nil arg to nnimap-request-group
Eric Abrahamsen [Sun, 6 Sep 2015 12:47:43 +0000 (12:47 +0000)]
nnimap.el:  Handle nil arg to nnimap-request-group

* lisp/gnus/nnimap.el (nnimap-request-group):  Handle nil "info" arg.
This arg isn't always passed in, check it's not nil before making it
into a list.  The active arg will also be nil if the group is new,
check for that.

9 years agoFile notifications: Support renaming over directory boundaries
Michael Albinus [Sun, 6 Sep 2015 12:21:56 +0000 (14:21 +0200)]
File notifications: Support renaming over directory boundaries

* lisp/filenotify.el (file-notify-handle-event):
(file-notify--pending-event): Adapt docstring.
(file-notify--descriptor, file-notify-callback): Reimplement in
order to support renaming over directory boundaries.
(file-notify-add-watch): Adapt `file-notify--descriptor' call.

* doc/lispref/os.texi (File Notifications): Remove limitation of
file renaming to the same directory.

9 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 6 Sep 2015 10:24:02 +0000 (06:24 -0400)]
; Auto-commit of ChangeLog files.

9 years agoSpelling fix (Bug#21420)
Paul Eggert [Sat, 5 Sep 2015 23:38:38 +0000 (16:38 -0700)]
Spelling fix (Bug#21420)

9 years agoImprove the semantic of map-some
Nicolas Petton [Sat, 5 Sep 2015 22:51:35 +0000 (00:51 +0200)]
Improve the semantic of map-some

Update map-some to return the returned by the predicate, similar to
seq-some.

* lisp/emacs-lisp/map.el (map-some): Update the function to return the
  return value of the predicate.
* test/automated/map-tests.el (test-map-some): Update the test to check
  for non-nil values only.

9 years agoRename map-contains-key-p and map-some-p
Nicolas Petton [Sat, 5 Sep 2015 22:45:48 +0000 (00:45 +0200)]
Rename map-contains-key-p and map-some-p

Remove the "-p" suffix from both function names.

* lisp/emacs-lisp/map.el (map-contains-key, map-some): Rename the functions.
* test/automated/map-tests.el (test-map-contains-key, test-map-some):
  Update both test functions.

9 years agoImprove the semantic of seq-some
Nicolas Petton [Sat, 5 Sep 2015 22:26:17 +0000 (00:26 +0200)]
Improve the semantic of seq-some

Update seq-some to return non-nil if the predicate returns non-nil for
any element of the seq, in which case the returned value is the one
returned by the predicate.

* lisp/emacs-lisp/seq.el (seq-some): Update the function and its
  docstring.
* test/automated/seq-tests.el (test-seq-some): Add a regression test.
* doc/lispref/sequences.texi (Sequence Functions): Update the
  documentation for seq-some.

9 years agoRename seq-some-p to seq-some and seq-contains-p to seq-contains
Nicolas Petton [Sat, 5 Sep 2015 22:05:52 +0000 (00:05 +0200)]
Rename seq-some-p to seq-some and seq-contains-p to seq-contains

* lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
  without the "-p" prefix.
* test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
  the tests accordingly.
* doc/lispref/sequences.texi (Sequence Functions): Update the
  documentation for seq.el.

9 years agotext-quoting-style for usage of fn names with ‘’
Paul Eggert [Sat, 5 Sep 2015 18:28:54 +0000 (11:28 -0700)]
text-quoting-style for usage of fn names with ‘’

* lisp/help.el (help--docstring-quote): Don’t assume
text-quoting-style is ‘curve’ when generating usage strings for
functions whose names contain curved quotes.

9 years agoFix fix for describe-function keybinding confusion
Paul Eggert [Sat, 5 Sep 2015 18:22:29 +0000 (11:22 -0700)]
Fix fix for describe-function keybinding confusion

This fixes a bug introduced by the previous patch.
* lisp/help-fns.el (help-fns--signature):
Last arg of help-fns--signature is now a buffer, or nil if a
raw signature is wanted.  All callers changed.
(describe-function-1): Use this to do the right thing with signatures.

9 years ago* doc/lispref/frames.texi (Mouse Tracking): Fix typo.
Johan Bockgård [Sat, 5 Sep 2015 18:02:37 +0000 (20:02 +0200)]
* doc/lispref/frames.texi (Mouse Tracking): Fix typo.

9 years agoUse PAT rather than UPAT in pcase macros
Johan Bockgård [Sat, 5 Sep 2015 15:10:50 +0000 (17:10 +0200)]
Use PAT rather than UPAT in pcase macros

* lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
* lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
  than UPAT.

9 years agoFix describe-function keybinding confusion
Paul Eggert [Sat, 5 Sep 2015 15:50:34 +0000 (08:50 -0700)]
Fix describe-function keybinding confusion

* lisp/help-fns.el (describe-function-1): Compute signature
in the original buffer, not in standard-output, so that
substitute-command-keys uses the proper keybindings.
This fixes Bug#21412, introduced in commit
2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.

9 years ago* doc/emacs/programs.texi (Program Modes): Remove an index entry.
Xue Fuqiao [Sat, 5 Sep 2015 12:24:56 +0000 (20:24 +0800)]
* doc/emacs/programs.texi (Program Modes): Remove an index entry.

9 years ago; ChangeLog.2: Fix last entry
Eli Zaretskii [Sat, 5 Sep 2015 09:02:47 +0000 (12:02 +0300)]
; ChangeLog.2: Fix last entry

9 years ago; make change-history-commit
Eli Zaretskii [Sat, 5 Sep 2015 09:00:51 +0000 (05:00 -0400)]
; make change-history-commit