]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Resurrect the lost optional fixed font menu on w32
[gnu-emacs] / lisp / ChangeLog
1 2015-03-17 Eli Zaretskii <eliz@gnu.org>
2
3 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
4 nil, construct a menu of fixed fonts. This resurrects a feature
5 lost in Emacs 23.
6
7 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
8 reset mouse-appearance-menu-map, so the font dialog is recomputed
9 the next time the menu is requested.
10 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
11
12 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
13
14 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
15 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
16
17 2015-03-16 Alan Mackenzie <acm@muc.de>
18
19 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
20 Also display the overlay arrow in go and go-nonstop modes.
21
22 * emacs-lisp/edebug.el (edebug--display-1): Move the
23 `input-pending' test to after trace mode's `sit-for'.
24 (edebug--recursive-edit): Insert "(sit-for 0)" after
25 "(edebug-overlay-arrow)".
26
27 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
30 cl--do-arglist in more cases; add comments to explain what's going on.
31 (cl--do-&aux): New function extracted from cl--do-arglist.
32 (cl--do-arglist): Use it.
33
34 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
35
36 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
37 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
38 * ido.el (ido-read-buffer): Add `predicate' argument.
39 * misearch.el (unload-function-defs-list): Declare before use.
40
41 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
42
43 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
44 (browse-url-conkeror-program, browse-url-conkeror-arguments)
45 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
46 (browse-url-default-browser): Check for `browse-url-conkeror'
47 and call `browse-url-conkeror-program'.
48 (browse-url-conkeror): New command.
49 (bug#19863)
50
51 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
52
53 * eshell/esh-mode.el (eshell/clear): New function.
54
55 2015-03-16 Alan Mackenzie <acm@muc.de>
56
57 Make Edebug work with Follow Mode.
58
59 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
60 edebug-adjust-window.
61 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
62 over the recursive edit.
63 (edebug-adjust-window): Remove.
64
65 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
66
67 * net/tramp-adb.el:
68 * net/tramp-gvfs.el:
69 * net/tramp-sh.el:
70 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
71
72 * net/tramp.el (tramp-ssh-controlmaster-options)
73 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
74 (tramp-default-method): Do not check for
75 `tramp-ssh-controlmaster-options'.
76
77 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
78 New defcustom, moved from tramp.el.
79 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
80 but with a nil initial value.
81 (tramp-ssh-controlmaster-options): New defun.
82 (tramp-do-copy-or-rename-file-out-of-band)
83 (tramp-maybe-open-connection): Use it. (Bug#20015)
84
85 2015-03-15 Tassilo Horn <tsdh@gnu.org>
86
87 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
88 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
89 (lisp--el-match-macro): New functions.
90 (lisp-mode-variables): Update lisp--el-macro-regexp and add
91 lisp--el-update-after-load to after-load-functions.
92
93 2015-03-15 Daniel Colascione <dancol@dancol.org>
94
95 * emacs-lisp/cl-indent.el
96 (lisp-indent-backquote-substitution-mode): New user option.
97 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
98 (common-lisp-indent-function): Support normally indenting
99 backquote substitutions.
100 (extended-loop-p): Rename to `lisp-extended-loop-p'.
101
102 2015-03-14 Michael R. Mauger <michael@mauger.com>
103
104 * progmodes/sql.el: Version 3.5
105 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
106 (sql-interactive-remove-continuation-prompt): Fixed regression. (Bug#6686)
107
108 2015-03-14 Daniel Colascione <dancol@dancol.org>
109
110 * widget.el (define-widget): Check that documentation is a string
111 or nil; prevent wailing and gnashing of teeth when users forget to
112 pass a docstring and wonder why their properties don't work.
113
114 * startup.el (command-line): Process "--no-x-resources".
115
116 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
117
118 info-look fixes for Texinfo 5
119 * info-look.el (c-mode, bison-mode, makefile-mode)
120 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
121 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match
122 `foo' and 'foo' and ‘foo’ for @item and similar.
123 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
124 suffix regexp.
125
126 2015-03-12 Juri Linkov <juri@linkov.net>
127
128 * simple.el (next-line-or-history-element)
129 (previous-line-or-history-element): Remember the goal column of
130 possibly multi-line input, and restore it afterwards. (Bug#19824)
131
132 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
133
134 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
135 files (bug#19335).
136
137 2015-03-12 Eli Zaretskii <eliz@gnu.org>
138
139 * international/fontset.el (script-representative-chars): Add a
140 representative character for 'vai'.
141
142 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * international/quail.el (quail-input-method):
145 Use with-silent-modifications.
146
147 * simple.el (goto-history-element): Don't burp on t history.
148
149 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
150
151 Prefer "initialize" to "initialise"
152 * progmodes/js.el (js-indent-first-init):
153 Rename from js-indent-first-initialiser, to avoid worrying about
154 American vs British spelling. All uses changed.
155
156 2015-03-10 Glenn Morris <rgm@gnu.org>
157
158 * progmodes/js.el (js-indent-first-initialiser):
159 Fix doc, type, version.
160
161 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
162
163 * progmodes/js.el (js-indent-first-initialiser): New option.
164 (js--maybe-goto-declaration-keyword-end): New function.
165 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
166
167 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
168
169 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
170 from RFC2798 Section 9.1.1. (Bug#8983)
171
172 2015-03-09 Nicolas Petton <nicolas@petton.fr>
173
174 * emacs-lisp/seq.el (seq-into): New function.
175 Bump seq.el version to 1.3.
176
177 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
178
179 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
180 `=' a part of symbol when followed by `>'. (Bug#18644)
181 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
182 (Bug#19285)
183
184 2015-03-09 Eli Zaretskii <eliz@gnu.org>
185
186 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
187
188 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
189 Thomas Fitzsimmons <fitzsim@fitzsim.org>
190
191 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
192 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
193 (eudc-bbdb-format-record-as-result): Likewise.
194
195 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
196
197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
198 Use `font-lock-constant-face' for nil, true and false.
199 Highlight `self' as a keyword. (Bug#17733)
200
201 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
202
203 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
204 Expect beginning of regexp also after open brace or vertical bar.
205 (Bug#20026)
206
207 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * battery.el (battery-echo-area-format): Simplify default.
210 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
211 for AC adapter.
212
213 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
214 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
215 do it.
216
217 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
218
219 * net/browse-url.el (browse-url-firefox): Remove outdated
220 MS-Windows limitations.
221
222 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
223
224 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
225 obsolete.
226 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
227 Don't clean up postal addresses if ldap-ignore-attribute-codings
228 is set. Combine mail addresses into one field. (Bug#17720)
229 (eudc-ldap-simple-query-internal):
230 Call eudc-ldap-cleanup-record-filtering-addresses instead of
231 eudc-ldap-cleanup-record-simple.
232 (eudc-ldap-get-field-list): Likewise.
233
234 2015-03-05 Ivan Shmakov <ivan@siamics.net>
235
236 * net/eww.el (eww-html-p): New function (bug#20009).
237 (eww-render): Use it.
238
239 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
240
241 * desktop.el (desktop-buffer-info): Write docstring.
242 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
243 unquote lamda.
244
245 * emacs-lisp/package.el (package-refresh-contents): Update doc.
246
247 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
248
249 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
250
251 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 Replace *-function vars with generic functions in cl-generic.
254 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
255 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
256 (cl--generic-t-generalizer): New const.
257 (cl--generic-make-method): Rename from `cl--generic-method-make'.
258 (cl--generic-make): Change calling convention.
259 (cl--generic): Add `options' field.
260 (cl-generic-function-options): New function.
261 (cl-defgeneric): Rewrite handling of options. Add support for :method
262 options and allow the use of a default body.
263 (cl-generic-define): Save options in the corresponding new field.
264 (cl-defmethod): Fix ordering of qualifiers.
265 (cl-generic-define-method): Use cl-generic-generalizers.
266 (cl--generic-get-dispatcher): Change calling convention, and change
267 calling convention of the returned function as well so as to take the
268 list of methods separately from the generic function object, so that it
269 can receive the original generic function object.
270 (cl--generic-make-next-function): New function, extracted from
271 cl--generic-make-function.
272 (cl--generic-make-function): Use it.
273 (cl-generic-method-combination-function): Remove.
274 (cl--generic-cyclic-definition): New error.
275 (cl-generic-call-method): Take a generic function object rather than
276 its name.
277 (cl-method-qualifiers): New alias.
278 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
279 don't segregate by qualifiers here any more.
280 (cl--generic-standard-method-combination): Segregate by qualifiers
281 here instead. Add support for the `:extra' qualifier.
282 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
283 (cl-generic-generalizers, cl-generic-combine-methods):
284 New generic functions.
285 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
286 Use the new "default method in defgeneric" functionality, change
287 calling convention to receive a generic function object.
288 (cl--generic-head-used): New var.
289 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
290 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
291 New consts.
292 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
293 (eieio--generic-subclass-generalizer): New consts.
294 (cl-generic-generalizers): New methods.
295 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
296 (eieio--generic-static-object-generalizer): New consts.
297 (cl-generic-generalizers) <(head eieio--static)>: New method.
298 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
299 Unfold closures like lambdas.
300
301 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
302
303 * autorevert.el (auto-revert-notify-add-watch):
304 Fix handler installation. (Bug#20000)
305
306 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
307
308 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
309 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
310 (eww): Do not end error messages with a period.
311
312 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
313
314 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
315 New user option.
316 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
317 names starting with a space.
318 (tramp-methods): Add `tramp-default-port' for "adb".
319 (tramp-adb-parse-device-names): Add traces. Return device names
320 with port, if present.
321 (tramp-adb-handle-directory-files-and-attributes): Quote all
322 remote file names.
323 (tramp-adb-get-device): New defun.
324 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
325 Use it.
326 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
327 variables. Remove checks for listed devices.
328
329 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
330
331 * net/tramp.el (tramp): Add :link property.
332 (tramp-login-prompt-regexp): Allow also "user", as required by
333 Fritz!Box telnet.
334 (tramp-autoload-file-name-handler): Use "/".
335 (tramp-handle-unhandled-file-name-directory): Return nil when
336 required by the spec.
337
338 * net/tramp-cache.el (tramp-dump-connection-properties):
339 Use `with-temp-file'.
340
341 * net/tramp-sh.el (tramp-perl-file-attributes)
342 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
343 file names.
344 (tramp-do-file-attributes-with-stat): Quote file name.
345 (tramp-sh-handle-directory-files-and-attributes): Fall back to
346 `tramp-handle-directory-files-and-attributes' in case of problems.
347 (tramp-do-directory-files-and-attributes-with-stat)
348 (tramp-sh-handle-file-name-all-completions)
349 (tramp-sh-handle-delete-directory)
350 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
351 Normalize use of "cd".
352 (tramp-do-directory-files-and-attributes-with-stat): Use the
353 `quoting-style' arg of `ls' if possible. Make it also working for
354 file names with apostrophes.
355 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
356 in proper order.
357 (tramp-do-copy-or-rename-file-via-buffer)
358 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
359 (tramp-get-remote-locale): Accept also \r in output.
360 (tramp-get-ls-command-with-quoting-style): New defun.
361 (tramp-get-inline-coding): Set `default-directory' to a local
362 directory. Sporadically, `call-process-region' does not handle a
363 remote default directory properly.
364
365 * net/trampver.el: Update release number.
366
367 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
368
369 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
370 .dat files for aspell dicts are also searched for in location
371 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
372 variable.
373
374 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
375
376 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
377 (ispell-hunspell-fill-dictionary-entry)
378 (ispell-find-hunspell-dictionaries)
379 (ispell-set-spellchecker-params): New generic name for
380 `ispell-hunspell-dictionary-equivs-alist'.
381 (ispell-aspell-add-aliases): Also use
382 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
383 standard dict names.
384
385 2015-03-03 Glenn Morris <rgm@gnu.org>
386
387 * net/browse-url.el (browse-url-firefox-startup-arguments):
388 Make obsolete.
389 (browse-url-firefox): Doc fix. Remove -remote, which no longer
390 exists in Firefox 36. (Bug#19921)
391 (browse-url-firefox-sentinel): Remove function.
392
393 2015-03-03 Eli Zaretskii <eliz@gnu.org>
394
395 * frame.el (blink-cursor-timer-function): Don't increment
396 blink-cursor-blinks-done counter when a menu is active on a w32
397 frame. (Bug#19925)
398
399 2015-03-03 Juri Linkov <juri@linkov.net>
400
401 * comint.el (comint-line-beginning-position): Revert searching for
402 the prompt when comint-use-prompt-regexp is non-nil because it
403 doesn't distinguish input from output. Check the field property
404 `output' for the case when comint-use-prompt-regexp is nil.
405 (Bug#19710)
406
407 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
408
409 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
410 with PAGER=cat. (Bug#19870)
411
412 2015-03-03 Glenn Morris <rgm@gnu.org>
413
414 * textmodes/flyspell.el (flyspell-duplicate-distance):
415 Bump :version.
416
417 2015-03-03 Eli Zaretskii <eliz@gnu.org>
418
419 * textmodes/text-mode.el (text-mode-syntax-table): Make some
420 punctuation character behave as word-constituent, for more
421 compatibility with Unicode.
422
423 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
424
425 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
426
427 Improve string search in `flyspell-word-search-*`. (Bug#16800)
428 * textmodes/flyspell.el (flyspell-duplicate-distance):
429 Limit default search distance for duplicated words to 40000.
430 (flyspell-word-search-backward, flyspell-word-search-forward):
431 Search as full word with defined casechars, not as substring.
432
433 2015-03-03 Juri Linkov <juri@linkov.net>
434
435 Better support for the case of typing RET on the prompt in comint.
436 * comint.el (comint-get-old-input-default): Go to the field end
437 when comint-use-prompt-regexp is nil.
438 (comint-line-beginning-position): Check if point is already
439 on the prompt before searching for the prompt when
440 comint-use-prompt-regexp is non-nil. (Bug#19710)
441
442 2015-03-03 Eli Zaretskii <eliz@gnu.org>
443
444 * frame.el (frame-notice-user-settings): Refresh the value of
445 frame parameters after calling tty-handle-reverse-video.
446 Call face-set-after-frame-default with the actual parameters, to avoid
447 resetting colors back to unspecified.
448 (set-background-color, set-foreground-color): Pass the foreground
449 and background colors to face-set-after-frame-default. (Bug#19802)
450
451 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
452
453 * net/network-stream.el (network-stream-open-tls): Respect the
454 :end-of-capability setting.
455
456 2015-03-03 Juri Linkov <juri@linkov.net>
457
458 Revert the previous change of comint-line-beginning-position callers,
459 and modify comint-line-beginning-position instead.
460
461 * comint.el (comint-history-isearch-search)
462 (comint-history-isearch-message, comint-history-isearch-wrap):
463 Use comint-line-beginning-position instead of field-beginning.
464 (comint-send-input): Use either end-of-line or field-end
465 depending on comint-use-prompt-regexp.
466 (comint-line-beginning-position): Search backward
467 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
468 Use field-beginning instead of line-beginning-position
469 if comint-use-prompt-regexp is nil. (Bug#19710)
470
471 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
472
473 * calendar/todo-mode.el (todo-item-done): When done items are
474 hidden, restore point to its location prior to invoking this
475 command. (Bug#19727)
476
477 2015-03-03 Eli Zaretskii <eliz@gnu.org>
478
479 * textmodes/artist.el (artist-ellipse-compute-fill-info):
480 Use mapcar, not mapc, to create the other half of fill-info.
481 (Bug#19763)
482
483 2015-03-03 Nicolas Petton <nicolas@petton.fr>
484
485 * emacs-lisp/authors.el (authors-ignored-files)
486 (authors-renamed-files-alist): Additions.
487
488 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
489
490 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
491 tempfile for ControlPath. (Bug#19702)
492
493 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
494
495 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
496 ControlPath if possible. (Bug#19702)
497
498 2015-03-03 Glenn Morris <rgm@gnu.org>
499
500 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
501 (authors-valid-file-names, authors-renamed-files-alist): Additions.
502
503 2015-03-03 Alan Mackenzie <acm@muc.de>
504
505 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
506 * progmodes/cc-mode.el (c-font-lock-init):
507 Set font-lock-extend-region-functions to nil.
508
509 2015-03-03 Daniel Colascione <dancol@dancol.org>
510
511 * emacs-lisp/generator.el: Make globals conform to elisp
512 style throughout. Use more efficient font-lock patterns.
513 (cps-inhibit-atomic-optimization): Rename from
514 `cps-disable-atomic-optimization'.
515 (cps--gensym): New macro; replaces `cl-gensym' throughout.
516 (cps-generate-evaluator): Move the `iter-yield' local macro
517 definition here
518 (iter-defun, iter-lambda): from here.
519
520 (iter-defun): Use `macroexp-parse-body'.
521
522 2015-03-03 Daniel Colascione <dancol@dancol.org>
523
524 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * progmodes/gud.el: Use lexical-binding (bug#19966).
527
528 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
529
530 2015-03-03 Daniel Colascione <dancol@dancol.org>
531
532 * emacs-lisp/generator.el: Make globals conform to elisp
533 style throughout. Use more efficient font-lock patterns.
534 (cps-inhibit-atomic-optimization): Rename from
535 `cps-disable-atomic-optimization'.
536 (cps--gensym): New macro; replaces `cl-gensym' throughout.
537 (cps-generate-evaluator): Move the `iter-yield' local macro
538 definition here...
539 (iter-defun, iter-lambda): ...from here.
540
541 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
542
543 * emacs-lisp/package.el (package-autoremove): Fix if logic.
544
545 2015-03-03 Martin Rudalics <rudalics@gmx.at>
546
547 * window.el (window--dump-frame): For pixel height return total
548 number of frame's lines.
549
550 2015-03-03 Daniel Colascione <dancol@dancol.org>
551
552 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
553
554 * emacs-lisp/generator.el (iter-defun): Correctly propagate
555 docstrings and declarations to underlying function.
556
557 2015-03-02 Daniel Colascione <dancol@dancol.org>
558
559 * emacs-lisp/generator.el: New file.
560
561 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
562 `vc-responsible-backend'.
563
564 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
565
566 * vc/vc-hooks.el (vc-state, vc-working-revision):
567 Use `vc-responsible-backend' in order to support unregistered files.
568
569 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
570
571 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
572 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
573 master name.
574
575 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
576
577 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
578
579 * net/shr.el (shr-insert): Remove soft hyphens.
580 (shr-insert): Also remove soft hypens from non-folded text.
581
582 2015-02-28 Eli Zaretskii <eliz@gnu.org>
583
584 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
585 when the charset is only given by the HTML <head>, and allow to
586 specify the encoding with "C-x RET c".
587
588 2015-02-27 Mark Laws <mdl@60hz.org>
589
590 Support daemon mode on MS-Windows (bug#19688)
591 * server.el (server-process-filter): Force GUI frames on
592 MS-Windows in daemon mode, even if a TTY frame was requested.
593
594 * frameset.el (frameset-keep-original-display-p): Don't assume
595 windows-nt cannot be in daemon mode.
596
597 * frame.el (window-system-for-display): Don't assume windows-nt
598 cannot be in daemon mode.
599
600 2015-02-26 Ivan Shmakov <ivan@siamics.net>
601
602 * faces.el (face-list-p): Split from face-at-point.
603 (face-at-point): Use it.
604 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
605
606 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
607
608 * vc/vc.el (vc-annotate-switches): New defcustom.
609 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
610 (vc-bzr-annotate-command): Use vc-switches.
611 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
612 (vc-cvs-annotate-command): Use vc-switches.
613 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
614 (vc-git-annotate-command): Use vc-switches.
615 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
616 (vc-hg-annotate-command): Use vc-switches.
617 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
618 (vc-mtn-annotate-command): Use vc-switches.
619 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
620 (vc-svn-annotate-command): Use vc-switches.
621
622 2015-02-26 Alan Mackenzie <acm@muc.de>
623
624 Handle "#" operator properly inside macro. Fix coding bug.
625
626 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
627 On finding a "#" which looks like the start of a macro, check it
628 isn't already inside a macro.
629
630 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
631 "safe" position into the list of them when this is beyond our
632 current position.
633
634 2015-02-26 Martin Rudalics <rudalics@gmx.at>
635
636 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
637 the menu frame is dead. (Bug#19728)
638
639 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
640
641 python.el: Handle tabs in python-indent-dedent-line.
642 * progmodes/python.el (python-indent-dedent-line): Fixes for
643 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
644
645 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
646
647 * progmodes/python.el (python-indent-context): Respect user
648 indentation after comment.
649
650 2015-02-26 Tassilo Horn <tsdh@gnu.org>
651
652 * textmodes/reftex-vars.el (featurep): Conditionalize value of
653 reftex-label-regexps in order to stay compatible with XEmacs 21.5
654 which has no explicitly numbered groups in regexps (bug#19714).
655
656 2015-02-26 Daiki Ueno <ueno@gnu.org>
657
658 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
659 integer before comparison.
660
661 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
662
663 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
664
665 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
666
667 * emacs-lisp/check-declare.el (check-declare-warn):
668 Use compilation-style warnings.
669 (check-declare-files): Make sure that
670 `check-declare-warning-buffer' is in `compilation-mode'.
671
672 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
673
674 * emacs-lisp/check-declare.el (check-declare-ext-errors):
675 New defcustom.
676 (check-declare): New defgroup.
677 (check-declare-verify): When `check-declare-ext-errors' is
678 non-nil, warn about an unfound function, instead of saying
679 "skipping external file".
680
681 2015-02-25 Tassilo Horn <tsdh@gnu.org>
682
683 * textmodes/reftex-vars.el (reftex-include-file-commands):
684 Call reftex-set-dirty on changes.
685
686 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
689 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
690 save-excursion.
691
692 2015-02-24 Glenn Morris <rgm@gnu.org>
693
694 * mail/rmailsum.el (rmail-summary-previous-all)
695 (rmail-summary-previous-msg): Simplify.
696
697 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
698
699 * simple.el (region-active-p): Fix doc to say non-nil.
700
701 2015-02-24 Samer Masterson <nosefrog@gmail.com>
702
703 * eshell/em-hist.el (eshell-hist-parse-word-designator):
704 Return args joined with " ".
705 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
706 (eshell-hist-parse-modifier): Pass mod a list instead of a string
707 (bug#18960).
708
709 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
710
711 * comint.el (comint-mode-map): Fix obvious typo.
712
713 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
714
715 * filecache.el (file-cache-filter-regexps):
716 Add lock files. (Bug#19516)
717
718 2015-02-24 Glenn Morris <rgm@gnu.org>
719
720 * mail/rmailsum.el (rmail-summary-next-all)
721 (rmail-summary-previous-all, rmail-summary-next-msg):
722 Fix handling of optional argument. (Bug#19916)
723
724 * progmodes/f90.el (f90-beginning-of-subprogram)
725 (f90-end-of-subprogram, f90-match-end):
726 Handle continued strings where the continuation does not start
727 with "&" and happens to match our regexp. (Bug#19809)
728
729 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
730
731 * comint.el (comint-clear-buffer): New command.
732 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
733
734 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
735
736 Use ${EXEEXT} more uniformly in makefiles
737 * Makefile.in (EMACS): Append ${EXEEXT}.
738
739 2015-02-23 Sam Steingold <sds@gnu.org>
740
741 * files.el (recover-session): Handle `auto-save-list-file-prefix'
742 being a directory (empty non-directory part).
743
744 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
745
746 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
747 instead of sasl-scram-sha-1, as the former is the name that can be
748 required.
749
750 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
751 (sasl-scram-sha-1-client-final-message)
752 (sasl-scram-sha-1-authenticate-server): Move to end of file.
753
754 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
755
756 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
757 (Bug#19826)
758
759 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
762 and :documentation. Change return value format accordingly.
763 * emacs-lisp/cl-generic.el (cl--generic-lambda):
764 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
765 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
766
767 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
768
769 Introduce `xref-etags-mode'.
770 * progmodes/xref.el (xref-etags-mode--saved): New variable.
771 (xref-etags-mode): New minor mode. (Bug#19466)
772
773 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
774
775 * dom.el (dom-previous-sibling): New function.
776
777 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
778
779 * bindings.el (ctl-x-map): There is no 'C-;'.
780 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
781 Perhaps some other binding should be chosen. (Bug#19826)
782
783 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
784
785 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
786
787 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
788
789 * autorevert.el (auto-revert-notify-add-watch)
790 (auto-revert-notify-handler, auto-revert-buffers): Handle also
791 buffers without an associated file, like dired buffers. (Bug#16112)
792
793 2015-02-21 Dima Kogan <dima@secretsauce.net>
794
795 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
796 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
797 wrappers. Call (auto-revert-buffers) consequently in order to
798 install handlers.
799
800 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
801
802 Sync with upstream verilog-mode revision 0d6420b.
803 * progmodes/verilog-mode.el (verilog-mode-version): Update.
804 (vector-skip-list): Remove.
805 (verilog-auto-inst-port, verilog-auto-inst-port-list)
806 (verilog-auto-inst, verilog-auto-inst-param):
807 Use arguments rather than vector-skip.
808 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
809 modport if signal attachment is itself a modport.
810 Reported by Matthew Lovell.
811
812 2015-02-21 Reto Zimmermann <reto@gnu.org>
813
814 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
815 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
816 (vhdl-doc-release-notes): Update.
817 (vhdl-standard): Add VHDL'08 option.
818 (vhdl-sensitivity-list-all): New option.
819 (vhdl-directive-keywords): Add psl.
820 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
821 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
822 (vhdl-imenu-generic-expression): Add context, directive.
823 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
824 (vhdl-template-map-init): Add vhdl-template-context.
825 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
826 (vhdl-create-mode-menu): Add some entries.
827 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
828 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
829 New constants.
830 (vhdl-directives): New variable.
831 (vhdl-words-init, vhdl-template-process)
832 (vhdl-template-replace-header-keywords): Support VHDL'08.
833 (vhdl-abbrev-list-init): Add vhdl-directives.
834 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
835 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
836 (vhdl-lineup-comment): Handle block comments and directives.
837 (vhdl-beginning-of-directive, vhdl-template-context)
838 (vhdl-template-context-hook): New functions.
839 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
840 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
841 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
842 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
843 (vhdl-scan-context-clause): Add context.
844
845 2015-02-20 Glenn Morris <rgm@gnu.org>
846
847 * calendar/solar.el (solar-sunrise-sunset-string):
848 Shorten message a little.
849 (sunrise-sunset): Use message rather than a window. (Bug#19859)
850
851 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
852 (f90-font-lock-keywords-2): Some F2008 additions.
853
854 2015-02-19 Dima Kogan <dima@secretsauce.net>
855
856 * autorevert.el (auto-revert-buffers-counter)
857 (auto-revert-buffers-counter-lockedout): New variables.
858 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
859 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
860 suppressed by lockout. (Bug#18958)
861
862 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
865 returns classes, not class names (bug#19891).
866
867 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
868
869 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
870
871 2015-02-18 Kelly Dean <kelly@prtime.org>
872
873 * register.el (jump-to-register):
874 * emacs-lisp/lisp.el (check-parens):
875 Push mark before goto-char so user doesn't lose his previous place.
876
877 2015-02-18 Kelly Dean <kelly@prtime.org>
878
879 * rect.el (rectangle-mark-mode):
880 Suppress superfluous "Mark set" message from push-mark.
881
882 2015-02-18 Kelly Dean <kelly@prtime.org>
883
884 * help-mode.el (help-go-back, help-go-forward, help-follow):
885 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
886 * winner.el (winner-redo):
887 * windmove.el (windmove-do-window-select):
888 * register.el (jump-to-register, increment-register, insert-register)
889 (append-to-register, prepend-to-register):
890 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
891 (set-visited-file-name):
892 * emacs-lisp/lisp.el (kill-backward-up-list):
893 Use user-error instead of error. (Bug#14480)
894
895 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
898 assumptions about window ordering.
899
900 2015-02-16 Kelly Dean <kelly@prtime.org>
901
902 * files.el (insert-file-contents-literally): Fix docstring typo.
903
904 2015-02-16 Kelly Dean <kelly@prtime.org>
905
906 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
907 arguments correctly. (Bug#19685)
908 (define-minor-mode): Clarify docstring.
909 Clarify mode switch messages for minor modes. (Bug#19690)
910
911 2015-02-16 Kelly Dean <kelly@prtime.org>
912
913 * emacs-lisp/package-x.el (package-upload-buffer-internal):
914 Create valid tar files. (Bug#19536)
915
916 2015-02-16 Kelly Dean <kelly@prtime.org>
917
918 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
919 (Bug#19059)
920
921 2015-02-16 Kelly Dean <kelly@prtime.org>
922
923 * help-mode.el (help-do-xref): Prevent duplicated display of Info
924 buffer, and prevent interference with existing buffer. (Bug#13190)
925
926 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
927
928 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
929
930 * progmodes/python.el (python-shell-font-lock-post-command-hook):
931 Do not deactivate mark on fontification.
932
933 2015-02-16 Ivan Shmakov <ivan@siamics.net>
934
935 * net/eww.el: Fix desktop support. (Bug#19226)
936 (eww-mode): Add autoload cookie.
937 (eww-restore-desktop): Use inhibit-read-only.
938
939 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
940 add-hook works correctly even if the file is not yet loaded.
941
942 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
945 eieio-constructor.
946 (set-slot-value): Mark as obsolete.
947 (eieio-object-class-name): Improve call to eieio-class-name.
948 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
949 (object-slots): Use it. Declare obsolete.
950 (eieio-constructor): Merge it with `make-instance'.
951 (initialize-instance): Use `dolist'.
952 (eieio-override-prin1, eieio-edebug-prin1-to-string):
953 Use eieio--class-print-name.
954
955 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
956 (eieio-class-name): Make it do what the docstring claims.
957 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
958 (eieio--slot-name-index): Simplify accordingly.
959 (eieio-barf-if-slot-unbound): Pass the class object rather than its
960 name to `slot-unbound'.
961
962 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
963 than on eieio-constructor.
964
965 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
968 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
969 about relationship between `type', `named', and `slots'.
970 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
971 value of `cl-struct-type' property.
972
973 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
974
975 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
976 with PAGER=cat. (Bug#19870)
977
978 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
979
980 * emacs-lisp/package.el (package-read-all-archive-contents):
981 Don't build the compatibility table.
982 (package-refresh-contents, package-initialize): Do build the
983 compatibility table.
984 (package--build-compatibility-table): New function.
985 (describe-package-1): Describe why a package is incompatible.
986
987 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
990 of the parent.
991 (cl--assertion-failed): New function.
992 (cl-assertion-failed): Move in from cl-lib.el.
993
994 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
995 as children of its parents.
996 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
997 (cl-typep): Reimplement using define-inline.
998 (cl-assert): Use cl--assertion-failed.
999 (cl-struct-slot-value): Use define-inline.
1000
1001 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1002
1003 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1004 (flyspell-generic-check-word-p): Mark as obsolete.
1005
1006 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1007
1008 * emacs-lisp/package.el (package--compatibility-table): New var.
1009 (package--add-to-compatibility-table): New function.
1010 (package-read-all-archive-contents): Populate compatibility table.
1011 (package--incompatible-p): Also look in dependencies.
1012 (describe-package-1): Fix "incompat" handling.
1013
1014 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1015
1016 * net/rfc2104.el: Moved here from lisp/gnus.
1017
1018 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1019
1020 * net/sasl-scram-rfc.el: New file.
1021
1022 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1023 Add SCRAM-SHA-1 first.
1024 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1025 entry (bug#17636).
1026
1027 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1028
1029 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1030 <ul>.
1031
1032 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1033
1034 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1035 (gdb-inferior-filter): Don't pop up the buried output buffer when
1036 `gdb-display-io-nopopup' is non-nil.
1037
1038 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1039
1040 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1041
1042 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1043 Don't require a running process.
1044 (python-shell-font-lock-post-command-hook): Fontify only if the
1045 shell process is running.
1046
1047 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * hi-lock.el (hi-lock-unface-buffer): Don't call
1050 font-lock-remove-keywords if not needed (bug#19796).
1051
1052 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1053
1054 * emacs-lisp/package.el (package-install): Invert the second
1055 argument, for better backwards compatibility.
1056 (package-install-button-action, package-reinstall)
1057 (package-menu-execute): Account for the change.
1058
1059 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1060
1061 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1062 version of seq-reverse that works on sequences in Emacs 24.
1063 Bump seq.el version to 1.2.
1064
1065 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1066
1067 * emacs-lisp/package.el (package--incompatible-p): New function.
1068 Return non-nil if PKG has no chance of being installable.
1069 (package--emacs-version-list): New variable.
1070 (describe-package-1, package-desc-status)
1071 (package-menu--print-info, package-menu--status-predicate):
1072 Account for the "incompat" status.
1073
1074 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1075
1076 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1077 Rename frame parameter `maximized' to `fullscreen-restore'.
1078 Restore fullwidth/-height after fullboth state. Update doc-strings.
1079
1080 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1081
1082 * net/shr.el (shr-insert): Make sure the space inserted has the
1083 right font (for width).
1084 (shr-fill-line): Preserve background colours when indenting/folding.
1085 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1086 item in a <li>.
1087
1088 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1089
1090 * net/shr.el (shr-use-fonts): New variable.
1091 (shr-fill-text): Rename from "fold".
1092 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1093 New functions.
1094 (shr-insert): Just insert, don't fill the text. Filling is now
1095 done afterwards per display unit.
1096 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1097 per-unit base.
1098 (shr-find-fill-point): Take a "beginning" parameter.
1099 (shr-indent): Indent using the :width display parameter when using
1100 fonts.
1101 (shr-parse-style): Ignore "inherit" values, since we already do that.
1102 (shr-tag-img): Remove the insertion states.
1103 (shr-tag-blockquote): New-style filling.
1104 (shr-tag-dd): Ditto.
1105 (shr-tag-li): Ditto.
1106 (shr-mark-fill): New function to mark lines that need filling.
1107 (shr-tag-h1): Use a larger font.
1108 (shr-tag-table-1): Get the natural and suggested widths in one
1109 rendering.
1110 (shr-tag-table): Create the "fixed" version of the table only once
1111 so that we can cache data in the table.
1112 (shr-insert-table): Get colspan calculations right by having
1113 zero-width columns after colspan ones.
1114 (shr-expand-alignments): New function to make :align-to specs work
1115 right when rendered in one buffer and displayed in another one.
1116 (shr-insert-table-ruler): Use :align-to to get the widths right.
1117 (shr-make-table): Cache more.
1118 (shr-make-table-1): Use the new <td> data layout.
1119 (shr-pixel-buffer-width): New function.
1120 (shr-render-td): Add a caching layer.
1121 (shr-dom-max-natural-width): New function.
1122 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1123 (shr-tag-tt): New function.
1124 (shr-tag-hr): Compute the right length when using fonts.
1125 (shr-table-widths): Off-by-one error in width computation.
1126 (shr-expand-newlines): Remove dead code.
1127 (shr-insert-table): Extend background colors to the end of the column.
1128 (shr-insert-table): Only copy the background, not underline and
1129 the like.
1130 (shr-face-background): New function.
1131
1132 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1133
1134 python.el: Improved shell font lock respecting markers. (Bug#19650)
1135
1136 * progmodes/python.el
1137 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1138 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1139 (python-shell-font-lock-post-command-hook): Fontify by copying text
1140 properties from fontified buffer to shell, keeping markers unchanged.
1141 (python-shell-font-lock-turn-off): Fix typo.
1142 (python-util-text-properties-replace-name): Delete function.
1143
1144 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1145
1146 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1147 return sequence elements in correct order.
1148
1149 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1150
1151 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1152
1153 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1156
1157 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1158 case where the default value would be re-interpreted as a form!
1159
1160 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1161
1162 * help-fns.el (help-fns--signature): Keep doc for keymap.
1163
1164 2015-02-09 Kelly Dean <kelly@prtime.org>
1165
1166 * desktop.el: Save mark-ring less verbosely.
1167 (desktop-var-serdes-funs): New var.
1168 (desktop-buffer-info, desktop-create-buffer): Use it.
1169 (desktop-file-version): Update to 208.
1170
1171 2015-02-09 Leo Liu <sdl.web@gmail.com>
1172
1173 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1174
1175 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1176
1177 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1178
1179 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1180
1181 Port to platforms lacking test -a and -o
1182 * Makefile.in (compile-clean):
1183 * net/tramp-sh.el (tramp-find-executable):
1184 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1185
1186 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1187
1188 * newcomment.el (comment-line): Fix missing paren.
1189
1190 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1191
1192 * play/gamegrid.el: Update comment to reflect that the
1193 'update-game-score' helper program is now setgid by default.
1194
1195 2015-02-08 David Kastrup <dak@gnu.org>
1196
1197 * subr.el (apply-partially): Use lexical binding here.
1198
1199 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1200
1201 * newcomment.el (comment-line): New command.
1202
1203 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1204
1205 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1206
1207 * outline.el (outline-show-entry): Fix one invisible char for the
1208 file's last outline. (Bug#19493)
1209
1210 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * subr.el (indirect-function): Change advertised calling convention.
1213
1214 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1215
1216 python.el: Fix completion-at-point. (Bug#19667)
1217
1218 * progmodes/python.el
1219 (python-shell-completion-native-get-completions): Force process buffer.
1220 (python-shell-completion-at-point): Handle case where call is not
1221 in a shell buffer.
1222
1223 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1224
1225 python.el: Fix shell font-lock multiline input. (Bug#19744)
1226
1227 * progmodes/python.el
1228 (python-shell-font-lock-post-command-hook): Handle multiline input.
1229
1230 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1231
1232 python.el: Make shell font-lock respect markers. (Bug#19650)
1233
1234 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1235 Use `erase-buffer`.
1236 (python-shell-font-lock-comint-output-filter-function):
1237 Handle newlines.
1238 (python-shell-font-lock-post-command-hook): Respect markers on
1239 text fontification.
1240
1241 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1242
1243 python.el: Keep eldoc visible while typing args. (Bug#19637)
1244 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1245 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1246 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1247
1248 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1249
1250 Fix hideshow integration. (Bug#19761)
1251 * progmodes/python.el
1252 (python-hideshow-forward-sexp-function): New function based on
1253 Carlos Pita <carlosjosepita@gmail.com> patch.
1254 (python-mode): Make `hs-special-modes-alist` use it and initialize
1255 the end regexp with the empty string to avoid skipping parens.
1256
1257 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1258
1259 * progmodes/python.el (python-check-custom-command): Do not use
1260 defvar-local for compat with Emacs<24.3.
1261
1262 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1263
1264 * frame.el (frame-notice-user-settings):
1265 Update `frame-size-history'.
1266 (make-frame): Update `frame-size-history'.
1267 Call `frame-after-make-frame'.
1268 * faces.el (face-set-after-frame-default): Remove call to
1269 frame-can-run-window-configuration-change-hook.
1270
1271 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1272
1273 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1274 `vc-cvs-command' (bug#19732).
1275
1276 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1277
1278 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1279 New functions.
1280 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1281 (seq--drop-list, seq--take-list, seq--take-while-list):
1282 Better docstring.
1283
1284 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1285
1286 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1287 `image-kill-buffer' instead.
1288
1289 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1290
1291 * net/ldap.el (ldap-search-internal): Fix docstring.
1292
1293 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1294
1295 * subr.el (define-error): The error conditions may be constant
1296 lists, so use `append' to concatenate them.
1297
1298 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1299
1300 * net/network-stream.el (network-stream-open-tls): Respect the
1301 :end-of-capability setting.
1302
1303 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1304
1305 * emacs-lisp/package.el (package--sort-by-dependence):
1306 New function. Return PACKAGE-LIST sorted by dependencies.
1307 (package-menu-execute): Use it to delete packages in order.
1308 (package--sort-deps-in-alist): New function.
1309 (package-menu-mark-install): Can mark dependencies.
1310 (package--newest-p): New function.
1311 (package-delete): Don't deselect when deleting an older version of
1312 an upgraded package.
1313
1314 * emacs-lisp/package.el: Add missing (require 'subr-x)
1315
1316 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1319 hyphenated (bug#19263).
1320
1321 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1322 of variable interpolation (bug#19751).
1323
1324 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1325
1326 * json.el (json-end-of-file): New error (bug#19768).
1327 (json-pop, json-read): Use it.
1328
1329 2015-02-05 Kelly Dean <kelly@prtime.org>
1330
1331 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1332 `describe-variable'.
1333
1334 * help-fns.el (describe-function-or-variable): New function.
1335
1336 * help.el (help-map): Bind `describe-function-or-variable' to o.
1337 (help-for-help-internal): Document o key.
1338
1339 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1342 special (:documentation ...) feature.
1343 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1344 (eieio-make-child-predicate): Same.
1345 (eieio-copy-parents-into-subclass): Remove unused arg.
1346 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1347 `pname' var.
1348 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1349 callers accordingly.
1350
1351 * emacs-lisp/cconv.el (cconv--convert-function):
1352 Add `docstring' argument.
1353 (cconv-convert): Use it to handle the new (:documentation ...) form.
1354 (cconv-analyze-form): Handle the new (:documentation ...) form.
1355
1356 * emacs-lisp/bytecomp.el:
1357 (byte-compile-initial-macro-environment): Use macroexp-progn.
1358 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1359 (byte-compile-file-form-defvar-function): Rename from
1360 byte-compile-file-form-define-abbrev-table.
1361 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1362 (byte-compile): Use byte-compile-top-level rather than
1363 byte-compile-lambda so we can compile non-values.
1364 (byte-compile-form): Add warnings for failed uses of lexical vars via
1365 quoted symbols.
1366 (byte-compile-unfold-bcf): Improve message for failed inlining.
1367 (byte-compile-make-closure): Handle new format of internal-make-closure
1368 for dynamically-generated docstrings.
1369
1370 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1371 (open-line): Delete like all other commands, instead of killing.
1372 (delete-active-region): Don't define any return any value.
1373
1374 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1375 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1376 default.
1377
1378 2015-02-04 Sam Steingold <sds@gnu.org>
1379
1380 * progmodes/python.el (python-indent-calculate-indentation):
1381 Avoid the error when computing top-level indentation.
1382
1383 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1386
1387 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1388 (mail-mode-flyspell-verify): Fix last change.
1389 (flyspell-external-point-words, flyspell-large-region):
1390 Avoid add-to-list on local vars.
1391
1392 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1393
1394 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1395 void-variable error.
1396
1397 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1398
1399 * image-mode.el (image-kill-buffer): New command.
1400 (image-mode-map): Bind it to k.
1401
1402 * emacs-lisp/package.el (package-delete): Remove package from
1403 `package-selected-packages' even if it can't be deleted.
1404 (package-installed-p): Accept package-desc objects.
1405 (package-install): Can be used to mark dependencies as
1406 selected. When given a package-desc object which is already
1407 installed, the package is not downloaded again, but it is marked
1408 as selected (if it wasn't already).
1409 (package-reinstall): Accept package-desc objects.
1410
1411 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1412
1413 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1414 (package--get-deps): delete-dups when ONLY is nil.
1415 (package-autoremove): Warn the user if `package-selected-packages'
1416 is empty.
1417
1418 (package--user-selected-p): New function.
1419 (package-delete, package-install, package-install-from-buffer):
1420 Use it
1421 (package-selected-packages): Mention it.
1422
1423 (package-initialize): Don't populate `package-selected-packages'.
1424 (package-install-user-selected-packages, package-autoremove):
1425 Special handling for empty `package-selected-packages'.
1426 (package-install): Fix when PKG is a package-desc.
1427
1428 (package-desc-status): Add "dependency" status to the Package
1429 Menu.
1430 (package-menu--status-predicate, package-menu--print-info)
1431 (package-menu-mark-delete, package-menu--find-upgrades)
1432 (package-menu--status-predicate, describe-package-1): Use it
1433
1434 (package--removable-packages): New function.
1435 (package-autoremove): Use it.
1436 (package-menu-execute): Offer to remove unneeded packages.
1437
1438 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1439 tar-desc.
1440
1441 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1442
1443 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1444 (package-delete): New NOSAVE argument.
1445
1446 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1449 (tramp-open-shell, tramp-maybe-open-connection): Set also
1450 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1451
1452 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1453
1454 * emacs-lisp/package.el (package--find-non-dependencies):
1455 New function.
1456 (package-initialize): Use it to populate `package-selected-packages'.
1457 (package-menu-execute): Clean unnecessary `and'.
1458 (package--get-deps): Fix returning duplicates.
1459
1460 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1463 Use it as default.
1464 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1465 (Bug#19731)
1466
1467 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1468
1469 * emacs-lisp/package.el (package-delete): Remove package from
1470 package-selected-packages.
1471 (package-autoremove): Remove unneeded variable.
1472
1473 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1474
1475 * emacs-lisp/package.el (package-selected-packages): Fix :type
1476 (package-install): Rename ARG to MARK-SELECTED.
1477 (package--get-deps): Fix for indirect dependencies.
1478 (package-used-elsewhere-p): Rename to
1479 (package--used-elsewhere-p): New function.
1480 (package-reinstall, package-user-selected-packages-install)
1481 (package-autoremove): Use sharp-quote.
1482 (package-user-selected-packages-install): Reindent and rename to
1483 (package-install-user-selected-packages): New function.
1484
1485 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1486
1487 * emacs-lisp/package.el: Don't allow deleting dependencies.
1488
1489 (package-used-elsewhere-p): New function.
1490 (package-delete): Use it, return now an error when trying to
1491 delete a package used as dependency by another package.
1492
1493 Add a reinstall package command.
1494 (package-reinstall): New function.
1495
1496 Add a package-autoremove command.
1497 (package-selected-packages): New user var.
1498 (package-install): Add an optional arg to notify interactive use.
1499 Fix docstring. Save installed package to
1500 packages-installed-directly.
1501 (package-install-from-buffer): Same.
1502 (package-user-selected-packages-install): Allow installing all
1503 packages in packages-installed-directly at once.
1504 (package--get-deps): New function.
1505 (package-autoremove): New function.
1506 (package-install-button-action): Call package-install with
1507 interactive arg.
1508 (package-menu-execute): Same but only for only for not installed
1509 packages.
1510
1511 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1514 and eieio-make-child-predicate.
1515 (eieio-class-parents): Use eieio--class-object.
1516 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1517 (slot-exists-p): Use find-class.
1518
1519 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1520 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1521 convention for eieio-class-def.
1522 (eieio-build-class-list): Remove function, unused.
1523 (eieio-method-def): Remove button type, unused.
1524 (eieio-class-def): Inherit from help-function-def.
1525 (eieio--defclass-regexp): New constant.
1526 (find-function-regexp-alist): Use it.
1527 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1528 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1529 Remove functions.
1530
1531 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1532 Use cl-check-type everywhere instead.
1533 (eieio-class-object): Remove, use find-class instead when needed.
1534 (class-p): Don't inline.
1535 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1536 such as eieio classes, as objects. Don't inline.
1537 (object-p): Mark as obsolete.
1538 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1539 (eieio--generic-tagcode): Avoid `class-p'.
1540 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1541 (eieio-defclass-internal): Use current-load-list rather than
1542 `class-location'.
1543
1544 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1545
1546 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1549 since it may be "equivalent" in some sense, yet different (bug#19734).
1550
1551 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1552
1553 * outline.el (outline-font-lock-face): Add docstring.
1554 (outline-invisible-p): Improve docstring.
1555 (outline-invent-heading): Add docstring.
1556 (outline-promote): Improve docstring.
1557 (outline-demote): Improve docstring.
1558 (outline-head-from-level): Improve docstring.
1559 (outline-end-of-heading): Add docstring.
1560 (outline-next-visible-heading): Improve docstring.
1561 (outline-previous-visible-heading): Improve docstring.
1562 (outline-hide-region-body): Improve docstring.
1563 (outline-flag-subtree): Add docstring.
1564 (outline-end-of-subtree): Add docstring.
1565 (outline-headers-as-kill): Improve docstring.
1566
1567 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1568
1569 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1570 (hide-entry): Declare as obsolete.
1571 (outline-show-entry): Rename from `show-entry'.
1572 (show-entry): Declare as obsolete.
1573 (outline-hide-body): Rename from `hide-body'.
1574 (hide-body): Declare as obsolete.
1575 (outline-hide-region-body): Rename from `hide-region-body'.
1576 (hide-region-body): Declare as obsolete.
1577 (outline-show-all): Rename from `show-all'.
1578 (show-all): Declare as obsolete.
1579 (outline-hide-subtree): Rename from `hide-subtree'.
1580 (hide-subtree): Declare as obsolete.
1581 (outline-hide-leaves): Rename from `hide-leaves'.
1582 (hide-leaves): Declare as obsolete.
1583 (outline-show-subtree): Rename from `show-subtree'.
1584 (show-subtree): Declare as obsolete.
1585 (outline-hide-sublevels): Rename from `hide-sublevels'.
1586 (hide-sublevels): Declare as obsolete.
1587 (outline-hide-other): Rename from `hide-other'.
1588 (hide-other): Declare as obsolete.
1589 (outline-show-children): Rename from `show-children'.
1590 (show-children): Declare as obsolete.
1591 (outline-show-branches): Rename from `show-branches'.
1592 (show-branches): Declare as obsolete.
1593
1594 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1595
1596 * outline.el (outline-mode): Clean up docstring.
1597 (font-lock-warning-face): Remove obsolete declaration.
1598 (outline-font-lock-face): Remove obsolete comment.
1599
1600 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1601
1602 * lisp/custom.el (defface): Set `indent' to 1.
1603
1604 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1605
1606 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1607
1608 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1609
1610 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1611 is set, but user has just been asked whether they really want to
1612 kill Emacs (for example with a ‘Modified buffers exist; exit
1613 anyway?’ prompt), do not ask them for another confirmation.
1614
1615 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1616
1617 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1618 (calc-convert-units): Check for missing units.
1619 (math-consistent-units-p): Strengthen the test for consistent units.
1620
1621 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
1622 `calc-convert-exact-units' and assign it a keybinding.
1623
1624 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1625 "un" keybinding.
1626
1627 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1630
1631 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1632
1633 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1634 punctuation syntax since to allow bibtex fields with values such
1635 as {Test 1) and 2)} (bug#19205, bug#19707).
1636 (reftex--prepare-syntax-tables): New function.
1637 (reftex-mode): Use it.
1638
1639 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1640
1641 python.el: New non-global state dependent indentation engine.
1642 (Bug#18319, Bug#19595)
1643 * progmodes/python.el (python-syntax-comment-or-string-p):
1644 Accept PPSS as argument.
1645 (python-syntax-closing-paren-p): New function.
1646 (python-indent-current-level)
1647 (python-indent-levels): Mark obsolete.
1648 (python-indent-context): Return more context cases.
1649 (python-indent--calculate-indentation)
1650 (python-indent--calculate-levels): New functions.
1651 (python-indent-calculate-levels): Use them.
1652 (python-indent-calculate-indentation, python-indent-line):
1653 (python-indent-line-function): Rewritten to use new API.
1654 (python-indent-dedent-line): Simplify logic.
1655 (python-indent-dedent-line-backspace): Use `unless`.
1656 (python-indent-toggle-levels): Delete function.
1657
1658 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1659
1660 * subr.el (posnp): Correct docstring of `posnp'.
1661 (posn-col-row): Make it work with all mouse position objects.
1662 * textmodes/artist.el (artist-mouse-draw-continously):
1663 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1664
1665 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1666
1667 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1668
1669 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1670
1671 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1672 Adapt docstring.
1673 (file-notify--descriptor): New defun.
1674 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1675 Adapt docstring. Handle multiple values for
1676 `file-notify-descriptors' entries. (Bug#18880)
1677
1678 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1679 `file-notify-descriptors', the implementation has been changed.
1680
1681 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1682
1683 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1684 On MS-Windows, bind coding-system-for-read to the console output
1685 codepage. (Bug#19458)
1686
1687 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1688
1689 Unbreak `mouse-action' property in text buttons.
1690 * button.el (push-button): Fix regression from 2012-12-06.
1691
1692 2015-01-28 Glenn Morris <rgm@gnu.org>
1693
1694 * progmodes/sh-script.el (sh-mode): Doc fix.
1695 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1696
1697 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1698
1699 Fix dired quoting bug with "Hit`N`Hide".
1700 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1701
1702 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 Tighten up the tagcode used for eieio and cl-struct objects.
1705 * loadup.el: Load cl-preloaded.
1706 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1707 slot of the tag symbol to :quick-object-witness-check.
1708 (eieio-object-p): Use :quick-object-witness-check.
1709 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1710 * emacs-lisp/cl-preloaded.el: New file.
1711 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1712 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1713 (cl--make-usage-args): Strip away &aux args.
1714 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1715 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1716 (cl-defstruct): Use `declare' and cl-struct-define.
1717 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1718 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1719
1720 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1721
1722 * emacs-lisp/cl.el (cl--function-convert):
1723 Merge cache that cl--labels-convert adds (bug#19699).
1724
1725 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1726
1727 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1728 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1729 (tar-header-serialize): New functions.
1730 (tar-current-position): Split from tar-current-descriptor.
1731 (tar-current-descriptor): Use it.
1732 (tar-new-entry): New command.
1733 (tar-mode-map): Bind it.
1734
1735 2015-01-27 Sam Steingold <sds@gnu.org>
1736
1737 * progmodes/python.el (python-check-custom-command): Buffer local
1738 because it usually includes the buffer name.
1739 (python-check-command): Set to epylint when pyflakes is not available.
1740
1741 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1742
1743 * isearch.el (isearch-process-search-char): Add docstring.
1744
1745 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1746
1747 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1748
1749 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1750
1751 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1752 for the case cl-flet or cl-labels form is wrapped with lexical-let
1753 (bug#19613).
1754
1755 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1758 (cl--generic): The method-table is now a (list-of cl--generic-method).
1759 (cl--generic-member-method): New function.
1760 (cl-generic-define-method): Use it.
1761 (cl--generic-build-combined-method, cl--generic-cache-miss):
1762 Adapt to new method-table.
1763 (cl--generic-no-next-method-function): Add `method' argument.
1764 (cl-generic-call-method): Adapt to new method representation.
1765 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1766 (cl-find-method, cl-method-qualifiers): New functions.
1767 (cl--generic-method-info): Adapt to new method representation.
1768 Return a string for the qualifiers.
1769 (cl--generic-describe):
1770 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1771 (eieio-all-generic-functions, eieio-method-documentation):
1772 Adjust to new method representation.
1773
1774 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1775
1776 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1779 (cl-generic-method-combination-function): New var.
1780 (cl--generic-lambda): Remove `with-cnm' arg.
1781 (cl-defmethod): Change accordingly.
1782 (cl-generic-define-method): Don't check qualifiers validity.
1783 Preserve all qualifiers in `method-table'.
1784 (cl-generic-call-method): New function.
1785 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1786 (cl--generic-build-combined-method): Adjust to new format of method-table
1787 and use cl-generic-method-combination-function.
1788 (cl--generic-standard-method-combination): New function, extracted from
1789 cl--generic-build-combined-method.
1790 (cl--generic-cnm-sample): Adjust to new format of method-table.
1791
1792 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1793 instead of :primary.
1794
1795 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1796 Remove obsolete function.
1797
1798 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1799
1800 * net/shr.el (shr-make-table-1): Fix colspan typo.
1801 (shr-make-table-1): Add comments.
1802 (shr-make-table-1): Make colspan display more sensibly.
1803
1804 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1805 slightly.
1806
1807 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1810 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1811 (bug#19672).
1812 (cl--generic-typeof-types): Add support for `sequence'.
1813 (cl-defmethod): Add non-keywords in the qualifiers.
1814
1815 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1818 `defgroup' (regression from the previous change here).
1819
1820 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1821
1822 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1823 credentials error message.
1824
1825 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1826
1827 * net/ldap.el (ldap-password-read): Validate password before
1828 caching it.
1829 (ldap-search-internal): Handle ldapsearch error conditions.
1830
1831 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1832
1833 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1834
1835 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1836
1837 * net/eudc.el (eudc-expand-inline): Always restore former server
1838 and protocol.
1839
1840 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1841
1842 * net/eudcb-ldap.el: Don't nag the user in case a default base is
1843 provided by the LDAP system configuration file.
1844
1845 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1846
1847 * net/eudc.el (eudc-format-query): Preserve the
1848 eudc-inline-query-format ordering of attributes in the returned list.
1849 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1850 Append the LDAP wildcard character to the last attribute value.
1851
1852 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1853
1854 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1855 Downcase field names of LDAP results.
1856 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1857
1858 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1859
1860 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1861 (ldap-search-internal): Send password to ldapsearch through a pipe
1862 instead of via the command line.
1863
1864 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1865
1866 * net/ldap.el: Require password-cache.
1867 (ldap-password-read): New function.
1868 (ldap-search-internal): Call ldap-password-read when it is
1869 configured to be called.
1870
1871 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1872
1873 * net/eudc-vars.el (eudc-expansion-overwrites-query):
1874 Change default to nil.
1875
1876 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1877
1878 * net/eudc.el (eudc-expand-inline): Ignore text properties of
1879 string-to-expand.
1880
1881 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1882
1883 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1884 format that includes first name and surname.
1885
1886 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1887
1888 * net/eudc-vars.el (eudc-inline-query-format): Change default to
1889 query email and first name instead of surname.
1890
1891 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1892
1893 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1894
1895 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1896
1897 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1898 eudc-server-hotlist.
1899 (eudc-server-hotlist): Move from eudc.el and make defcustom.
1900 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1901 (eudc-set-server): Allow setting protocol to nil.
1902 (eudc-expand-inline): Support hotlist-only expansions when server
1903 is not set.
1904
1905 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1908 (cl--generic-build-combined-method): Use it.
1909
1910 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
1911
1912 Don't downcase system diagnostics' first letters
1913 * emacs-lisp/bytecomp.el (byte-compile-file):
1914 * ffap.el (find-file-at-point):
1915 * files.el (insert-file-1):
1916 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1917 (ange-ftp-copy-file-internal):
1918 * progmodes/etags.el (visit-tags-table):
1919 Keep diagnostics consistent with system's.
1920 * ffap.el (ffap-machine-p):
1921 Ignore case while comparing diagnostics.
1922
1923 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1926 arg (bug#19645).
1927 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1928 body with a docstring.
1929
1930 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
1931
1932 * progmodes/xref.el (xref-location-marker, xref-location-group):
1933 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1934 counterparts.
1935
1936 * progmodes/etags.el (xref-location-marker): Same.
1937
1938 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1939 (xref--inhibit-mark-current): Rename from
1940 `xref--inhibit-mark-selected'. Update the usages.
1941 (xref-quit): Reword the docstring. Kill buffers after quitting
1942 windows instead of before.
1943 (xref--insert-xrefs): Tweak help-echo.
1944 (xref--read-identifier-history, xref--read-pattern-history):
1945 New variables.
1946 (xref--read-identifier, xref-find-apropos): Use them.
1947
1948 2015-01-21 Ulrich Müller <ulm@gentoo.org>
1949
1950 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1951 Allow the 'update-game-score' helper program to run suid or sgid.
1952
1953 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/eieio.el: Use cl-defmethod.
1956 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1957 (eieio-object-name-string): Declare as obsolete.
1958
1959 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1960 (eieio--specializers-apply-to-class-p): New function.
1961 (eieio-all-generic-functions): Use it.
1962 (eieio-method-documentation): Use it as well as cl--generic-method-info.
1963 Change format of return value.
1964 (eieio-help-class): Adapt accordingly.
1965
1966 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1967 errors when there's a `before' but no `primary' (bug#19645).
1968 (next-method-p): Return nil rather than signal an error.
1969 (eieio-defgeneric): Remove bogus (fboundp 'method).
1970
1971 * emacs-lisp/eieio-speedbar.el:
1972 * emacs-lisp/eieio-datadebug.el:
1973 * emacs-lisp/eieio-custom.el:
1974 * emacs-lisp/eieio-base.el: Use cl-defmethod.
1975
1976 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1977 (cl--generic-setf-rewrite): Setup the setf expander right away.
1978 (cl-defmethod): Make sure the setf expander is setup before we expand
1979 the body.
1980 (cl-defmethod): Silence byte-compiler warnings.
1981 (cl-generic-define-method): Shuffle code to change return value.
1982 (cl--generic-method-info): New function, extracted from
1983 cl--generic-describe.
1984 (cl--generic-describe): Use it.
1985
1986 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
1987
1988 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1989 the major mode. Remap `quit-window' to `xref-quit'.
1990 (xref--xref-buffer-mode): Inherit from special-mode.
1991
1992 xref: Keep track of temporary buffers (bug#19466).
1993 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1994 (xref--inhibit-mark-selected): New variables.
1995 (xref--mark-selected): New function.
1996 (xref--show-location): Maybe add the buffer to
1997 `xref--temporary-buffers', add `xref--mark-selected' to
1998 `buffer-list-update-hook' there.
1999 (xref--window): Add docstring.
2000 (xref-quit): Rename from `xref--quit'. Update both references.
2001 Add KILL argument. When it's non-nil, kill the temporary buffers
2002 that haven't been selected by the user.
2003 (xref--show-xref-buffer): Change the second argument to alist,
2004 extract the values for `xref--window' and
2005 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2006 `buffer-list-update-hook' to each buffer in the list.
2007 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2008 here. Save the difference between buffer lists before and after
2009 it's called as "temporary buffers", and `pass it to
2010 `xref-show-xrefs-function'.
2011 (xref--find-definitions, xref-find-references)
2012 (xref-find-apropos): Update accordingly.
2013
2014 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2015
2016 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2017
2018 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * emacs-lisp/eieio-generic.el: Remove.
2021 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2022 * emacs-lisp/eieio-compat.el: New file.
2023 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2024 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2025 Remove unused function.
2026 (eieio-defclass): Move to eieio-compat.el.
2027 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2028 (macroexp--expand-all): Use it.
2029 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2030
2031 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2032
2033 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2034 major modes should use `add-function' to alter value of the variable.
2035 * hexl.el (hexl-mode):
2036 * ielm.el (inferior-emacs-lisp-mode):
2037 * progmodes/cfengine.el (cfengine3-mode):
2038 * progmodes/elisp-mode (emacs-lisp-mode):
2039 * progmodes/octave.el (octave-mode):
2040 * progmodes/python.el (python-mode):
2041 * simple.el (read--expression): Set `eldoc-documentation-function'
2042 using `add-function' so the default value is always used.
2043
2044 * descr-text.el (describe-char-eldoc): New function returning
2045 basic Unicode codepoint information (e.g. name) about character
2046 at point. It is meant to be used as a default value of the
2047 `eldoc-documentation-function' variable.
2048 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2049 New helper functions for `describe-char-eldoc' function.
2050
2051 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2052
2053 * textmodes/paragraphs.el (sentence-end-base): Include an
2054 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2055 and a closing single quote (’) as an end of a quote.
2056
2057 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2058
2059 * textmodes/tildify.el (tildify-double-space-undos): A new
2060 variable specifying whether pressing space in `tildify-mode' after
2061 a space has been replaced with hard space undos the substitution.
2062 (tildify-space): Add code branch for handling `tildify-doule-space'.
2063
2064 * textmodes/tildify.el (tildify-space): A new function
2065 which can be used as a `post-self-insert-hook' to automatically
2066 convert spaces into hard spaces.
2067 (tildify-space-pattern): A new variable specifying pattern where
2068 `tildify-space' should take effect.
2069 (tildify-space-predicates): A new variable specifying list of
2070 predicate functions that all must return non-nil for
2071 `tildify-space' to take effect.
2072 (tildify-space-region-predicate): A new functions meant to be
2073 used as a predicate in `tildify-space-predicates' list.
2074 (tildify-mode): A new minor mode enabling `tildify-space' as a
2075 `post-self-insert-hook'
2076
2077 2015-01-20 Daniel Colascione <dancol@dancol.org>
2078
2079 * vc/vc-dir.el (vc-dir): Default to repository root, not
2080 default-directory.
2081
2082 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * progmodes/etags.el (xref-etags-location): New class.
2085 (xref-make-etags-location): New function.
2086 (etags--xref-find-definitions): Use it.
2087 (xref-location-marker): New method implementation.
2088
2089 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2090 (xref--insert-xrefs): Expand help-echo string.
2091
2092 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * ido.el: Update Customization instructions.
2095
2096 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2097
2098 Define Ido keymaps once (bug#17000).
2099 * ido.el (ido-common-completion-map)
2100 (ido-file-dir-completion-map)
2101 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2102 bindings when each variable is defined.
2103 (ido-completion-map): Move definition.
2104 (ido-init-completion-maps): Noop.
2105 (ido-common-initialization): Don't call it.
2106 (ido-setup-completion-map): Improve doc-string, cleanup.
2107
2108 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2109
2110 * cus-dep.el (custom-make-dependencies): Ensure that
2111 default-directory is interpreted as a directory (see bug#19140.)
2112
2113 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * progmodes/xref.el (xref--display-position):
2116 Set `other-window-scroll-buffer'.
2117 (xref-goto-xref): Use `user-error'.
2118
2119 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2120
2121 * progmodes/xref.el (xref--display-history): New variable.
2122 (xref--window-configuration): Remove.
2123 (xref--save-to-history): New function.
2124 (xref--display-position): Use it. Add new argument.
2125 (xref--restore-window-configuration): Remove.
2126 (xref--show-location, xref-show-location-at-point):
2127 Update accordingly.
2128 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2129 (xref--quit): New command.
2130 (xref-goto-xref): Use it.
2131 (xref--xref-buffer-mode-map): Bind `q' to it.
2132
2133 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2136 indentation or at eol.
2137
2138 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2141 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2142 New functions.
2143 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2144
2145 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2146 `newname' argument.
2147
2148 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2149 introduction of a new dispatch argument.
2150 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2151 considered as dispatchable for this method.
2152 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2153 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2154
2155 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2156
2157 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2158
2159 * emacs-lisp/package.el (package--append-to-alist): Rename from
2160 `package--add-to-alist'
2161 Updated docstring due to new name.
2162
2163 2015-01-18 Leo Liu <sdl.web@gmail.com>
2164
2165 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2166 multiple evaluation. (Bug#19519)
2167
2168 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2169 error. (Bug#19434)
2170
2171 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2174 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2175 New functions.
2176 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2177
2178 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2179 or print is nil.
2180 (cl-struct-type-p): New function.
2181
2182 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2183 (cl-defmethod): Add edebug spec.
2184 (cl--generic-build-combined-method): Fix call to
2185 cl-no-applicable-method.
2186 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2187 (cl--generic-isnot-nnm-p): New function.
2188 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2189 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2190 (cl-next-method-p): New function.
2191
2192 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2193
2194 * version.el (emacs-repository-get-version): Update docstring.
2195
2196 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2197
2198 * files.el (find-file-other-window, find-file-other-frame):
2199 Use mapc instead of mapcar. (Bug#18175)
2200
2201 * files.el (dir-locals-collect-variables): Use default-directory
2202 in place of the file name while working on non-file buffers, just
2203 like hack-dir-local-variables already does. (Bug#19140)
2204
2205 * textmodes/enriched.el (enriched-encode):
2206 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2207 (Bug#18246)
2208
2209 * desktop.el (desktop-read): Do not call desktop-clear when no
2210 desktop file is found. (Bug#18371)
2211
2212 * misearch.el (multi-isearch-unload-function): New function.
2213 (misearch-unload-function): New alias. (Bug#19566)
2214
2215 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2218 class-constructor, and make it an alias for `identity'.
2219 Update all callers.
2220
2221 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2222 argument here (bug#19620)...
2223 (defclass): ...instead of in the constructor here.
2224
2225 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2226
2227 * emacs-lisp/package.el (package-archive-priorities):
2228 Specify correct type.
2229
2230 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2231
2232 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2233 Remove.
2234 (emacs-repository-get-version): Discard the Bazaar case.
2235 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2236 emacs-bzr-version-dirstate and move from version.el to here.
2237 (vc-bzr-working-revision): Use it.
2238
2239 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2242 eieio--scoped-class any more.
2243
2244 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2245 (eieio--scoped-class): Remove function.
2246 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2247 (eieio--slot-name-index): Don't check the :protection anymore.
2248 (eieio-initializing-object): Remove var.
2249 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2250
2251 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 Improve handling of doc-strings and describe-function for cl-generic.
2254
2255 * help-mode.el (help-function-def): Add optional arg `type'.
2256
2257 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2258 as it's a symbol.
2259 (help-fns-short-filename): New function.
2260 (describe-function-1): Use it. Use autoload-do-load.
2261
2262 * emacs-lisp/find-func.el: Use lexical-binding.
2263 (find-function-regexp): Don't rule out `defgeneric'.
2264 (find-function-regexp-alist): Document new possibility of including
2265 a function instead of a regexp.
2266 (find-function-search-for-symbol): Implement that new possibility.
2267 (find-function-library): Don't assume that `function' is a symbol.
2268 (find-function-do-it): Remove unused var `orig-buf'.
2269
2270 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2271 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2272 (eieio--method-optimize-primary): Don't mess with the docstring.
2273 (defgeneric): Keep the `args' in the docstring.
2274 (defmethod): Don't use the method's docstring for the generic
2275 function's docstring.
2276
2277 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2278 (eieio-defclass-autoload): Don't record the superclasses any more.
2279 (eieio-defclass-internal): Reuse the old class object if it was just an
2280 autoload stub.
2281 (eieio--class-precedence-list): Load the class if it's autoloaded.
2282
2283 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2284 override an autoload.
2285 (cl-generic-current-method-specializers): Replace dyn-bind variable
2286 with a lexically-scoped macro.
2287 (cl--generic-lambda): Update accordingly.
2288 (cl-generic-define-method): Record manually in the load-history with
2289 type `cl-defmethod'.
2290 (cl--generic-get-dispatcher): Minor optimization.
2291 (cl--generic-search-method): New function.
2292 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2293 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2294 specializers and the function's arguments.
2295
2296 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2297
2298 * emacs-lisp/package.el (package--read-pkg-desc):
2299 New function. Read a `define-package' form in current buffer.
2300 Return the pkg-desc, with desc-kind set to KIND.
2301 (package-dir-info): New function. Find package information for a
2302 directory. The return result is a `package-desc'.
2303 (package-install-from-buffer): Install packages from dired buffer.
2304 (package-install-file): Install packages from directory.
2305 (package-desc-suffix)
2306 (package-install-from-archive)
2307 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2308 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2309 value.
2310
2311 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2312
2313 * emacs-lisp/package.el: Provide repository priorities.
2314 (package-archive-priorities): New variable.
2315 (package--add-to-alist): New function.
2316 (package--add-to-archive-contents): Use it.
2317 (package-menu--find-upgrades): Use it as well. Small clean up to
2318 make the use of the package name here explicit.
2319 (package-archive-priority): New function.
2320 (package-desc-priority-version): New function.
2321
2322 2015-01-16 Daniel Colascione <dancol@dancol.org>
2323
2324 * cus-start.el (all): Make `ring-bell-function' customizable.
2325
2326 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2327
2328 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2329 vc-svn-after-dir-status's second argument. (Bug#19429)
2330
2331 2015-01-16 Samer Masterson <samer@samertm.com>
2332
2333 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2334 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2335
2336 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2337
2338 * dom.el (dom-strings): New function.
2339
2340 * files.el (directory-files-recursively): Don't use the word
2341 "path" for a file name.
2342
2343 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2344
2345 * calc/calc-units.el (math-units-in-expr-p)
2346 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2347 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2348
2349 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2352 (cl--labels-convert): Use it to ask the macro what is its replacement
2353 in the #'f case.
2354
2355 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2356 Return the value of the primary rather than the after method.
2357
2358 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2359 (eieio--generic-tagcode): New function.
2360 (cl-generic-tagcode-function): Use it.
2361 (eieio--generic-tag-types): New function.
2362 (cl-generic-tag-types-function): Use it.
2363 (eieio-object-p): Tighten up the test.
2364
2365 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2366
2367 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2368
2369 * emacs-lisp/cl-generic.el: New file.
2370
2371 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2372 (cl-load-time-value, cl-labels): Use closures rather than
2373 backquoted lambdas.
2374 (cl-macrolet): Use `eval' to create the function value, and support CL
2375 style arguments in for the defined macros.
2376
2377 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * net/eww.el: Use lexical-binding.
2380 (eww-links-at-point): Remove unused arg.
2381 (eww-mode-map): Inherit from special-mode-map.
2382 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2383
2384 2015-01-13 Alan Mackenzie <acm@muc.de>
2385
2386 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2387 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2388 New function which walks the stack to discover whether we're compiling
2389 or loading.
2390 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2391 (cc-bytecomp-is-loading): New defsubst.
2392 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2393 Use the above defsubsts.
2394 (cc-require-when-compile, cc-bytecomp-defvar)
2395 (cc-bytecomp-defun): Simplify conditionals.
2396 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2397 "Borrow" this function from cc-bytecomp.el.
2398 (c-get-current-file): Reformulate using the above.
2399 (c-lang-defconst): Prevent duplicate entries of file names in a
2400 symbol's 'source property.
2401 (c-lang-const): Use cc-bytecomp-is-compiling.
2402 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2403 Use cc-bytecomp-is-compiling.
2404
2405 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2408 (bug#19552).
2409
2410 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2411
2412 * menu-bar.el (menu-bar-goto-menu): Before calling
2413 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2414 (Bug#19554)
2415
2416 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2417
2418 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2419 cookie (Bug#19554).
2420
2421 * frame.el (frame-notice-user-settings): Remove code dealing with
2422 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2423 only if `window-system-frame-alist' or `default-frame-alist' ask
2424 for it.
2425 (make-frame): Update frame-adjust-size-history if needed.
2426
2427 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2428
2429 Have 'make' output better GEN names
2430 * Makefile.in (PHONY_EXTRAS): New macro.
2431 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2432 relevant files' time stamps are ignored.
2433 (custom-deps, $(lisp)/cus-load.el, finder-data)
2434 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2435 (custom-deps, $(lisp)/cus-load.el, finder-data)
2436 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2437 ($(lisp)/subdirs.el, update-subdirs):
2438 Output more-accurate destination names with GEN.
2439
2440 Say "ELC foo.elc" instead of "GEN foo.elc"
2441 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2442 New macros.
2443 ($(THEFILE)c, .el.elc): Use them.
2444
2445 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * files.el (directory-files-recursively): Do not include
2448 superfluous remote file names.
2449
2450 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2451
2452 * net/eww.el (eww): Interpret anything that looks like a protocol
2453 designator as a full URL.
2454
2455 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2456
2457 * net/shr.el (shr-urlify): Don't bother the user about
2458 invalidly-encoded display strings.
2459
2460 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2461
2462 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2463 (bug#19555).
2464
2465 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2466
2467 * net/eww.el (eww): Always interpret URLs that start with https?:
2468 as plain URLs, even if they have spaces in them (bug#19556).
2469 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2470 software" as an URL.
2471 (eww): Don't interpret "org/foo" as an URL.
2472 (eww): Clear the title when loading so that we don't display
2473 misleading information.
2474
2475 2015-01-10 Daniel Colascione <dancol@dancol.org>
2476
2477 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2478 by analogy with dired.
2479
2480 2015-01-09 Daniel Colascione <dancol@dancol.org>
2481
2482 * progmodes/js.el (js--function-heading-1-re)
2483 (js--function-prologue-beginning): Parse ES6 generator function
2484 declarations. (That is, "function* name()").
2485
2486 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2489 that creates functions, and most of the sanity checks.
2490 Mark as obsolete the <class>-child-p function.
2491 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2492 (eieio--class, eieio--object): Use cl-defstruct.
2493 (eieio--object-num-slots): Define manually.
2494 (eieio-defclass-autoload): Use eieio--class-make.
2495 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2496 `(lambda...) definitions and most of the sanity checks to `defclass'.
2497 Mark as obsolete the <class>-list-p function, the <class> variable and
2498 the <initarg> variables. Use pcase-dolist.
2499 (eieio-defclass): New compatibility function.
2500 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2501 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2502
2503 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * emacs-lisp/eieio-generic.el: New file.
2506 * emacs-lisp/eieio-core.el: Move all generic function code to
2507 eieio-generic.el.
2508 (eieio--defmethod): Declare.
2509
2510 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2511 function code to eieio-generic.el.
2512 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2513 eieio-generic.el.
2514 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2515 to eieio--generic-call.
2516 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2517 <class>-child type.
2518
2519 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2522 Don't use <class> as a variable.
2523
2524 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2525 (call-next-method): Simplify.
2526 (clone): Obey eieio-backward-compatibility.
2527
2528 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2529 (eieio-read-generic): Use `generic-p' instead.
2530
2531 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2532 (eieio-defclass-autoload): Obey it.
2533 (eieio--class-object): Improve error behavior.
2534 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2535 every use site.
2536 (eieio--defgeneric-form-primary-only): Rename from
2537 eieio-defgeneric-form-primary-only; update all callers.
2538 (eieio--defgeneric-form-primary-only-one): Rename from
2539 eieio-defgeneric-form-primary-only-one; update all callers.
2540 (eieio-defgeneric-reset-generic-form)
2541 (eieio-defgeneric-reset-generic-form-primary-only)
2542 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2543 (eieio--method-optimize-primary): New function to replace them.
2544 (eieio--defmethod, eieio-defmethod): Use it.
2545 (eieio--perform-slot-validation): Rename from
2546 eieio-perform-slot-validation; update all callers.
2547 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2548 Change `class' to be a class object. Update all callers.
2549 (eieio--validate-class-slot-value): Rename from
2550 eieio-validate-class-slot-value. Change `class' to be a class object.
2551 Update all callers.
2552 (eieio-oset-default): Accept class object as well.
2553 (eieio--generic-call-primary-only): Rename from
2554 eieio-generic-call-primary-only. Update all callers.
2555
2556 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2557 Improve error messages.
2558 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2559 well as user-defined types. Emit errors for legacy types like
2560 <class>-child and <class>-list, if not eieio-backward-compatibility.
2561
2562 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2565 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2566 Change `class' arg to be a class object. Update all callers.
2567 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2568 (eieio-default-superclass): Set var to the class object.
2569 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2570 Change print behavior to affect class objects rather than
2571 class symbols.
2572
2573 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2574 (eieio-class-parents-fast): Remove macro.
2575 (eieio--class-option-assoc): Rename from class-option-assoc.
2576 Update all callers.
2577 (eieio--class-option): Rename from class-option. Change `class' arg to
2578 be a class object. Update all callers.
2579 (eieio--class-method-invocation-order): Rename from
2580 class-method-invocation-order. Change `class' arg to be a class
2581 object. Update all callers.
2582 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2583 a list of class objects rather than names.
2584 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2585 for accessors to class allocated slots.
2586 (eieio--perform-slot-validation-for-default): Rename from
2587 eieio-perform-slot-validation-for-default. Update all callers.
2588 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2589 Update all callers. Use push.
2590 (eieio-copy-parents-into-subclass): Adjust to new content of
2591 `parent' field. Use dolist.
2592 (eieio-oref): Remove support for providing a class rather than
2593 an object.
2594 (eieio-oref-default): Prefer class objects over class names.
2595 (eieio--slot-originating-class-p): Rename from
2596 eieio-slot-originating-class-p. Update all callers. Use `or'.
2597 (eieio--slot-name-index): Turn check into assertion.
2598 (eieio--class-slot-name-index): Rename from
2599 eieio-class-slot-name-index. Change `class' arg to be a class object.
2600 Update all callers.
2601 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2602 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2603 Update all callers.
2604 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2605 Update all callers.
2606 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2607 Update all callers.
2608 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2609 Update all callers.
2610 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2611 Update all callers. Adjust to new `parent' content.
2612 (eieio--class-precedence-list): Rename from -class-precedence-list.
2613 Update all callers.
2614 (eieio-generic-call): Use autoloadp and autoload-do-load.
2615 Slight simplification.
2616 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2617 return value of `eieio-generic-form'.
2618 (eieiomt-add): Index the hashtable with class objects rather than
2619 class names.
2620 (eieio-generic-form): Accept class objects as well.
2621
2622 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2623 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2624 (eieio-persistent-validate/fix-slot-value):
2625 Change `class' arg to be a class object. Update all callers.
2626
2627 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2630 additionally to class names.
2631
2632 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2633 (object): Remove first (constant) slot; rename second to `class-tag'.
2634 (eieio--object-class-object, eieio--object-class-name): New funs
2635 to replace eieio--object-class.
2636 (eieio--class-object, eieio--class-p): New functions.
2637 (same-class-fast-p): Make it a defsubst, change its implementation
2638 to check the class objects rather than their names.
2639 (eieio-object-p): Rewrite.
2640 (eieio-defclass): Adjust the object initialization according to the new
2641 object layout.
2642 (eieio--scoped-class): Declare it returns a class object (not a class
2643 name any more). Adjust calls accordingly (along with calls to
2644 eieio--with-scoped-class).
2645 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2646 its class arg to be a class object. Adjust callers accordingly.
2647 (eieio-slot-originating-class-p): Make its start-class arg a class
2648 object. Adjust all callers.
2649 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2650 Make its `class' arg a class object. Adjust all callers.
2651
2652 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2653 Use eieio--slot-name-index rather than eieio-slot-name-index.
2654
2655 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2658 name argument.
2659 (eieio-object-name): Use eieio-object-name-string.
2660 (eieio--object-names): New const.
2661 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2662 using a hashtable rather than a built-in slot.
2663 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2664 (clone): Don't mess with the object's "name".
2665
2666 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2667 (eieio-object-value-get): Use eieio-object-set-name-string.
2668
2669 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2670 (eieio--object): Remove `name' field.
2671 (eieio-defclass): Adjust to new convention where constructors don't
2672 take an "object name" any more.
2673 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2674 (eieio-validate-slot-value, eieio-oset-default)
2675 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2676 (eieio-generic-call-primary-only): Simplify.
2677
2678 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2679 Use call-next-method.
2680 (eieio-constructor): Rename from `constructor'.
2681 (eieio-persistent-convert-list-to-object): Drop objname.
2682 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2683 eieio--object-num-slots.
2684 (eieio-named): Use a normal slot.
2685 (slot-missing) <eieio-named>: Remove.
2686 (eieio-object-name-string, eieio-object-set-name-string, clone)
2687 <eieio-named>: New methods.
2688
2689 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2692 (method-*): Add a "eieio--" prefix to those constants.
2693
2694 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2695
2696 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2697
2698 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2701 `eieio-default-superclass'.
2702
2703 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2704
2705 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2706 (eieio-object-value-to-abstract): Simplify.
2707
2708 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2709 (eieio-build-class-alist): Use dolist.
2710 (eieio-all-generic-functions): Adjust to use of hashtables.
2711
2712 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2713 symbol-hashtable. It contains a hashtable instead of an obarray.
2714 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2715 `eieio-method-obarray'.
2716 (generic-primary-only-p, generic-primary-only-one-p):
2717 Slight optimization.
2718 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2719 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2720 (eieio-class-un-autoload): Use autoload-do-load.
2721 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2722 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2723 Don't hardcode the value of eieio--object-num-slots.
2724 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2725 Use a closure rather than a backquoted lambda.
2726 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2727 function-documentation property.
2728 (eieio-slot-originating-class-p, eieio-slot-name-index)
2729 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2730 (eieio-generic-form): Adjust to use of hashtables.
2731 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2732 additional class argument.
2733 (eieio-generic-call-methodname): Remove, unused.
2734
2735 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2736 Prefer \' to $.
2737
2738 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2739
2740 * simple.el (line-move-visual): When converting X pixel coordinate
2741 to temporary-goal-column, adjust the value for right-to-left
2742 screen lines. This fixes vertical-motion, next/prev-line, etc.
2743
2744 2015-01-08 Glenn Morris <rgm@gnu.org>
2745
2746 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2747
2748 2015-01-07 K. Handa <handa@gnu.org>
2749
2750 * international/ccl.el (define-ccl-program): Improve the docstring.
2751
2752 2015-01-06 Sam Steingold <sds@gnu.org>
2753
2754 * shell.el (shell-display-buffer-actions): Remove,
2755 use `display-buffer-alist' instead.
2756
2757 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2760 to the references.
2761
2762 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * minibuffer.el (completion-category-defaults): New var.
2765 Set unicode-name to use substring completion.
2766 (completion-category-defaults): Set it to nil.
2767
2768 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2769
2770 Add mouse interaction to xref.
2771 * progmodes/xref.el (xref--button-map): New variable.
2772 (xref--mouse-2): New command.
2773 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2774 the inserted references.
2775
2776 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2777
2778 Less 'make' chatter for lisp dir
2779 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2780 to make it clearer that the caller must specify it.
2781 (compile-onefile): Remove, replacing by ...
2782 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2783 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2784 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2785 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2786 Use AM_V_GEN to lessen 'make' chatter.
2787 (.el.elc): Omit duplicate comment.
2788
2789 Less 'make' chatter in batch mode
2790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2791 * emacs-lisp/bytecomp.el (byte-compile-file):
2792 * files.el (save-buffer, basic-save-buffer):
2793 * international/quail.el (quail-update-leim-list-file):
2794 Don't output messages like "Generating ..." in batch mode.
2795
2796 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 Unbreak `mouse-action' property in text buttons.
2799 * button.el (push-button): Fix regression from 2012-12-06.
2800
2801 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2804
2805 * menu-bar.el (menu-bar-goto-menu): Use it.
2806
2807 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2808
2809 * progmodes/xref.el (xref--window-configuration): New variable.
2810 (xref-show-location-at-point): New command.
2811 (xref--restore-window-configuration): New function.
2812 (xref-next-line, xref-prev-line): Delegate to
2813 `xref-show-location-at-point'.
2814 (xref--location-at-point): Don't signal the error.
2815 (xref-goto-xref): Do that here instead.
2816 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2817 to `pre-command-hook'.
2818 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2819 `previous-line'. Additionally bind `xref-next-line' and
2820 `xref-prev-line' to `n' and `p' respectively.
2821 Bind `xref-show-location-at-point' to `C-o'.
2822
2823 2015-01-01 Eli Zaretskii <eliz@gnu.org>
2824
2825 * tool-bar.el (tool-bar-local-item)
2826 (tool-bar-local-item-from-menu): Call force-mode-line-update to
2827 make sure the tool-bar changes show on display.
2828
2829 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
2830
2831 Sync with Tramp 2.2.11.
2832
2833 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2834 Make an alias for `default-toplevel-value' if it doesn't exist.
2835
2836 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2837 Use `tramp-compat-delete-directory'.
2838
2839 * net/trampver.el: Update release number.
2840
2841 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
2842
2843 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2844 for remote files. (Bug#19449)
2845
2846 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
2847
2848 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2849
2850 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2851
2852 Less 'make' chatter in lisp directory
2853 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2854 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2855 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2856
2857 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
2858
2859 * info.el (info-display-manual): Limit the completion alternatives
2860 to currently visited manuals if prefix argument is non-nil.
2861
2862 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2863
2864 * Makefile.in (semantic): Simplify.
2865
2866 2014-12-30 Juri Linkov <juri@linkov.net>
2867
2868 * net/eww.el (eww-isearch-next-buffer): New function.
2869 (eww-mode): Set multi-isearch-next-buffer-function to it.
2870
2871 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
2872
2873 * progmodes/xref.el (xref-find-definitions): Mention "no
2874 identifier at point" case in the docstring.
2875
2876 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2877 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2878 and `separator-tag-file' items.
2879
2880 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2881
2882 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2883 This is instead of system-name, which is both wrong here and obsolete.
2884 * desktop.el (desktop-save-frameset):
2885 * dnd.el (dnd-get-local-file-uri):
2886 * nxml/rng-uri.el (rng-uri-file-name-1):
2887 Prefer (system-name) to system-name, and avoid naming
2888 locals 'system-name'.
2889 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
2890
2891 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2892
2893 * menu-bar.el (menu-bar-next-tag-other-window)
2894 (menu-bar-next-tag): Remove.
2895
2896 2014-12-29 K. Handa <handa@gnu.org>
2897
2898 * international/mule.el (make-translation-table-from-alist):
2899 Accept nil or zero-length vector for FROM and TO.
2900
2901 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2902
2903 * net/eww.el (eww-mode): Truncate overlong lines for prettier
2904 display when resizing.
2905
2906 * net/shr.el (shr-width): Default to using the window width when
2907 rendering.
2908
2909 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 Unbreak jumping to an alias's definition.
2912 * emacs-lisp/find-func.el (find-function-library): Return a pair
2913 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2914 (find-function-noselect): Use it.
2915 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2916 `elisp--xref-identifier-location', incorporate logic from
2917 `elisp--xref-find-definitions', use the changed
2918 `find-function-library' return value.
2919
2920 2014-12-29 Juri Linkov <juri@linkov.net>
2921
2922 * comint.el (comint-history-isearch-message): Use field-beginning
2923 instead of comint-line-beginning-position - that's more fixes for
2924 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2925 (comint-history-isearch-message): Fix args of isearch-message-prefix.
2926
2927 2014-12-29 Juri Linkov <juri@linkov.net>
2928
2929 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2930 (vc-dir-mode-map): Bind it to "\C-o".
2931 (vc-dir-menu-map): Add it to menu.
2932
2933 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2934
2935 * progmodes/etags.el (find-tag-other-window)
2936 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2937 (tags-apropos): Declare obsolete.
2938
2939 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2940 with xref ones.
2941
2942 2014-12-28 Eli Zaretskii <eliz@gnu.org>
2943
2944 * international/mule.el (define-coding-system): Fix typos in the
2945 doc string.
2946
2947 2014-12-28 Kenichi Handa <handa@gnu.org>
2948
2949 * international/mule.el (define-coding-system): Improve the doc
2950 string.
2951
2952 2014-12-28 Ivan Shmakov <ivan@siamics.net>
2953
2954 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2955 elements in tables (bug#19444).
2956
2957 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2958 (bug#19445).
2959
2960 2014-12-28 Juri Linkov <juri@linkov.net>
2961
2962 * vc/compare-w.el: Require diff-mode for diff faces.
2963 (compare-windows-removed, compare-windows-added): New faces
2964 inheriting from diff faces.
2965 (compare-windows): Define obsolete face alias.
2966 (compare-windows-highlight): Replace face `compare-windows' with
2967 new faces `compare-windows-added' and `compare-windows-removed'
2968 (bug#19451).
2969 (compare-windows-get-recent-window): Signal an error when
2970 no other window is found (bug#19170).
2971
2972 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2975 Skip features that have no sources.
2976
2977 * simple.el (execute-extended-command):
2978 When `suggest-key-bindings' is nil, don't.
2979
2980 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2981
2982 python.el: Native readline completion.
2983 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2984 (python-shell-completion-native-enable)
2985 (python-shell-completion-native-output-timeout): New defcustoms.
2986 (python-shell-completion-native-interpreter-disabled-p)
2987 (python-shell-completion-native-try)
2988 (python-shell-completion-native-setup)
2989 (python-shell-completion-native-turn-off)
2990 (python-shell-completion-native-turn-on)
2991 (python-shell-completion-native-turn-on-maybe)
2992 (python-shell-completion-native-turn-on-maybe-with-msg)
2993 (python-shell-completion-native-toggle): New functions.
2994 (python-shell-completion-native-get-completions): New function.
2995 (python-shell-completion-at-point): Use it.
2996
2997 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2998
2999 python.el: Enhance shell user interaction and deprecate
3000 python-shell-get-or-create-process.
3001 * progmodes/python.el (python-shell-get-process-or-error):
3002 New function.
3003 (python-shell-with-shell-buffer): Use it.
3004 (python-shell-send-string, python-shell-send-region)
3005 (python-shell-send-buffer, python-shell-send-defun)
3006 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3007 Add argument MSG to display user-friendly message when no process
3008 is running.
3009 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3010 (python-shell-make-comint): Rename argument SHOW from POP.
3011 Use display-buffer instead of pop-to-buffer.
3012 (run-python): Doc fix. Return process.
3013 (python-shell-get-or-create-process): Make obsolete.
3014
3015 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3016
3017 * progmodes/python.el (python-shell-buffer-substring):
3018 Handle cornercase when region sent starts at point-min.
3019
3020 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3021
3022 * language/misc-lang.el (composition-function-table): Add Syriac
3023 characters and also ZWJ/ZWNJ.
3024 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3025 for the details.
3026
3027 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3028
3029 python.el: Fix message when sending region.
3030 * progmodes/python.el (python-shell-send-region): Rename argument
3031 send-main from nomain. Fix message.
3032 (python-shell-send-buffer): Rename argument send-main from arg.
3033
3034 python.el: Cleanup temp files even with eval errors.
3035 * progmodes/python.el (python-shell-send-file): Make file-name
3036 mandatory. Fix temp file removal in the majority of cases.
3037
3038 python.el: Handle file encoding for shell.
3039 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3040 (python-shell--save-temp-file): Write file with proper encoding.
3041 (python-shell-buffer-substring): Add coding cookie for detected
3042 encoding to generated content. Fix blank lines when removing
3043 if-name-main block.
3044 (python-shell-send-file): Handle file encoding.
3045 (python-info-encoding-from-cookie)
3046 (python-info-encoding): New functions.
3047
3048 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3051 Use `tramp-rsh-end-of-line', it ought to be more robust.
3052
3053 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3056 (bug#19397).
3057
3058 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3061
3062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3063 as end-of-line delimeter for passwords, when running on MS Windows.
3064
3065 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3068 of indent-line-function (bug#19433).
3069
3070 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3071
3072 Fix line numbers on Python shell.
3073 * progmodes/python.el (python-shell--save-temp-file): Do not
3074 append coding cookie.
3075 (python-shell-send-string): Generalize for
3076 python-shell-send-region.
3077 (python--use-fake-loc): Delete var.
3078 (python-shell-buffer-substring): Cleanup fake-loc logic.
3079 (python-shell-send-region): Remove fake-loc logic, simplify.
3080
3081 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3082
3083 * progmodes/python.el (python-indent-post-self-insert-function):
3084 Make colon to re-indent only for dedenters, handling
3085 multiline-statements gracefully.
3086
3087 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp.el (tramp-handle-insert-file-contents):
3090 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3091
3092 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3093
3094 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3095 arg MARKER.
3096 (tramp-get-remote-path): Use it.
3097
3098 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * subr.el (redisplay-dont-pause): Mark as obsolete.
3101
3102 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3103
3104 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3105 (tramp-accept-process-output): Use nil as argument for
3106 `accept-process-output', when there is a gateway prepended.
3107
3108 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3109 wrong debug buffer.
3110 (tramp-gw-open-connection): Set process coding system 'binary.
3111 (tramp-gw-open-network-stream): Handle HTTP error 403.
3112
3113 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3114 wrong debug buffer.
3115 (tramp-maybe-open-connection): Set connection property "gateway".
3116
3117 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * subr.el (sit-for): Tweak docstring (bug#19381).
3120
3121 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3122
3123 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3124 stage to after `diff-index' (bug#19386).
3125
3126 2014-12-27 João Távora <joaotavora@gmail.com>
3127
3128 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3129 `electric-pair-mode' (bug#19356).
3130
3131 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3132
3133 elisp-xref-find: Don't create buffers eagerly.
3134
3135 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3136 into `elisp--company-location'.
3137 (elisp--identifier-completion-table): Rename to
3138 `elisp--identifier-completion-table', and do not include just any
3139 symbols with a property list.
3140 (elisp-completion-at-point): Revert the 2014-12-25 change.
3141 (elisp--xref-identifier-file): New function.
3142 (elisp--xref-find-definitions): Use it.
3143
3144 * emacs-lisp/find-func.el (find-function-library): New function,
3145 extracted from `find-function-noselect'.
3146
3147 * progmodes/xref.el (xref-elisp-location): New class.
3148 (xref-make-elisp-location): New function.
3149 (xref-location-marker): New implementation.
3150
3151 2014-12-27 Juri Linkov <juri@linkov.net>
3152
3153 * minibuffer.el (minibuffer-completion-help):
3154 Use shrink-window-if-larger-than-buffer in window-height
3155 when temp-buffer-resize-mode is nil.
3156
3157 * window.el (with-displayed-buffer-window): Remove window-height
3158 from the action alist in the temp-buffer-window-show call
3159 when window-height is handled explicitly afterwards (bug#19355).
3160
3161 2014-12-27 Juri Linkov <juri@linkov.net>
3162
3163 Support subdirectories when saving places in dired.
3164 * saveplace.el (toggle-save-place, save-place-to-alist)
3165 (save-places-to-alist, save-place-dired-hook):
3166 Use dired-current-directory instead of dired-directory (bug#19436).
3167 (save-place-dired-hook): Add check for alist to make the new
3168 format future-proof to allow other possible formats.
3169
3170 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3171
3172 python.el: Generate clearer shell buffer names.
3173 * progmodes/python.el (python-shell-get-process-name)
3174 (python-shell-internal-get-process-name): Use `buffer-name`.
3175 (python-shell-internal-get-or-create-process): Simplify.
3176
3177 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3178
3179 Add basic xref apropos implementation to elisp-mode.
3180
3181 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3182 Filter out nil results.
3183 (elisp--xref-find-apropos): New function.
3184 (elisp-xref-find): Use it.
3185
3186 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3187
3188 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3189
3190 * dired-aux.el (dired-maybe-insert-subdir):
3191 Make dired-maybe-insert-subdir always skip trivial files.
3192
3193 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3194 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 Consolidate cross-referencing commands.
3197
3198 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3199 `C-x 5 .' from etags.el to xref.el.
3200
3201 * progmodes/xref.el: New file.
3202
3203 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3204 (elisp--identifier-location): New function, extracted from
3205 `elisp--company-location'.
3206 (elisp--company-location): Use it.
3207 (elisp--identifier-completion-table): New variable.
3208 (elisp-completion-at-point): Use it.
3209 (emacs-lisp-mode): Set the local values of `xref-find-function'
3210 and `xref-identifier-completion-table-function'.
3211 (elisp-xref-find, elisp--xref-find-definitions)
3212 (elisp--xref-identifier-completion-table): New functions.
3213
3214 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3215 favor of `xref--marker-ring'.
3216 (tags-lazy-completion-table): Autoload.
3217 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3218 (find-tag-noselect): Use `xref-push-marker-stack'.
3219 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3220 (etags--xref-limit): New constant.
3221 (etags-xref-find, etags--xref-find-definitions): New functions.
3222
3223 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3224
3225 * cus-start.el (resize-mini-windows): Make it customizable.
3226
3227 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3228
3229 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3230 to (info "(emacs)Contributing"). (Bug#19299)
3231
3232 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3233
3234 * window.el (mouse-autoselect-window-position-1): New variable.
3235 (mouse-autoselect-window-cancel)
3236 (mouse-autoselect-window-select, handle-select-window):
3237 With delayed autoselection select window only if mouse moves after
3238 selecting its frame.
3239
3240 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3243 remote file names. (Bug#18782)
3244
3245 2014-12-23 Sam Steingold <sds@gnu.org>
3246
3247 * shell.el (shell-display-buffer-actions): New user option.
3248 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3249 `pop-to-buffer-same-window'.
3250
3251 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3254 (js-syntax-propertize-regexp): Use it to recognize "slash in
3255 a character class" (bug#19397).
3256
3257 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * completion.el: Use post-self-insert-hook (bug#19400).
3260 (completion-separator-self-insert-command)
3261 (completion-separator-self-insert-autofilling): Remove.
3262 (completion-separator-chars): New var.
3263 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3264 of changing the keymap.
3265 (completion--post-self-insert): New function.
3266 (dynamic-completion-mode): Use it instead of rebinding keys.
3267 (cmpl--completion-string): Rename from completion-string.
3268 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3269
3270 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3271
3272 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3273 by leveraging `syntax-ppss'.
3274
3275 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3276
3277 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3278
3279 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3280
3281 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3282
3283 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3284
3285 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3286
3287 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3288
3289 * let-alist.el (let-alist): Enable access to deeper alists by
3290 using dots inside the dotted symbols.
3291
3292 2014-12-19 Alan Mackenzie <acm@muc.de>
3293
3294 Make C++11 uniform init syntax work.
3295 New keywords "final" and "override".
3296 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3297 New function.
3298 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3299 new function.
3300 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3301 carefully for "are we at a declarator?" using
3302 c-back-over-member-initializers.
3303 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3304 and "override" in the C++ value.
3305
3306 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3307
3308 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3309
3310 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3311
3312 * net/nsm.el (nsm-save-host): Don't save the host name twice
3313 (bug#19269).
3314
3315 2014-12-18 Sam Steingold <sds@gnu.org>
3316
3317 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3318 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3319 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3320 * menu-bar.el (menu-bar-buffer-vector): Extract from
3321 `menu-bar-update-buffers'.
3322 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3323 (buffer-menu-open): New user command, bound globally to C-f10,
3324 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3325 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3326 convert the value returned by `mouse-buffer-menu-map' to a list
3327 acceptable to `popup-menu' for `buffer-menu-open'.
3328
3329 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3330
3331 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3332
3333 2014-12-18 Sam Steingold <sds@gnu.org>
3334
3335 * emacs-lisp/package.el: Avoid compilation warning by declaring
3336 the `find-library-name' function.
3337 (package-activate-1): Fix the `with-demoted-errors' calls:
3338 the first argument must be a string literal.
3339
3340 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3341
3342 Add code for "preserving" window sizes.
3343 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3344 `preserve-size' t.
3345 (dired-mark-pop-up): Preserve size of window showing marked files.
3346 * electric.el (Electric-pop-up-window):
3347 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3348 with `preserve-size' t.
3349 * minibuffer.el (minibuffer-completion-help):
3350 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3351 (Bug#19355). Preserve size of completions window.
3352 * register.el (register-preview): Preserve size of register
3353 preview window.
3354 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3355 with `preserve-size' t (Bug#1291).
3356 * window.el (with-displayed-buffer-window): Add calls to
3357 `window-preserve-size'.
3358 (window-min-pixel-size, window--preservable-size)
3359 (window-preserve-size, window-preserved-size)
3360 (window--preserve-size, window--min-size-ignore-p): New functions.
3361 (window-min-size, window-min-delta, window--resizable)
3362 (window--resize-this-window, split-window-below)
3363 (split-window-right): Amend doc-string.
3364 (window--min-size-1, window-sizable, window--size-fixed-1)
3365 (window-size-fixed-p, window--min-delta-1)
3366 (frame-windows-min-size, window--max-delta-1, window-resize)
3367 (window--resize-child-windows, window--resize-siblings)
3368 (enlarge-window, shrink-window, split-window): Handle preserving
3369 window sizes.
3370 (adjust-window-trailing-edge): Handle preserving window
3371 sizes. Signal user-error instead of an error when there's no
3372 window above or below.
3373 (window--state-put-2): Handle horizontal scroll bars.
3374 (window--display-buffer): Call `preserve-size' if asked for.
3375 (display-buffer): Mention `preserve-size' alist member in doc-string.
3376 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3377 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3378 scroll bar on ispell's windows. Don't count window lines and
3379 don't deal with dedicated windows.
3380 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3381 do the window handling.
3382 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3383 (ispell-display-buffer): New function to reuse, create and fit
3384 window to ispell's buffers. (Bug#3413)
3385
3386 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * emacs-lisp/package.el (package-activate): Do not re-activate or
3389 reload the dependencies (bug#19390).
3390
3391 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3394 (c-update-modeline):
3395 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3396 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3397 (c-mode-base-map): Use c-subword-mode.
3398
3399 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3400
3401 * international/mule-diag.el (describe-font-internal):
3402 Display additional info returned by font-info.
3403
3404 * linum.el (linum--face-width): Rename from linum--face-height,
3405 and use the new functionality of font-info.
3406 (linum-update-window): Use linum--face-width and frame-char-width,
3407 instead of approximating with height.
3408
3409 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3410
3411 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3412 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3413
3414 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3415 and a docstring.
3416 (package-activate): Call itself on dependencies on PACKAGE with
3417 the same FORCE argument. Pass FORCE as RELOAD into
3418 `package-activate-1' (bug#19390).
3419
3420 2014-12-17 Sam Steingold <sds@gnu.org>
3421
3422 * emacs-lisp/package.el (package--list-loaded-files):
3423 Handle `(nil ...)' elements in `load-history'.
3424
3425 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3426
3427 * net/tramp-sh.el (tramp-histfile-override): New variable.
3428 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3429
3430 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * vc/vc.el: Improve `dir-status-files' description.
3433
3434 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3435 file-truename on load-history elements (bug#19390).
3436
3437 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3438
3439 * emacs-lisp/seq.el: New file.
3440
3441 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3444 is 0 and there is no input pending.
3445
3446 2014-12-15 Juri Linkov <juri@linkov.net>
3447
3448 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3449 only on the return value (bug#19383).
3450
3451 2014-12-15 Juri Linkov <juri@linkov.net>
3452
3453 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3454 the wrapped search by the length of the search string to be able
3455 to lazy-highlight the whole search string at point (bug#19353).
3456
3457 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3458
3459 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3460
3461 2014-12-14 Alan Mackenzie <acm@muc.de>
3462
3463 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3464
3465 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3466
3467 * let-alist.el: Add lexical binding.
3468
3469 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3470
3471 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3472 for the "Version" column, to accomodate date-and-time-based versions.
3473
3474 2014-12-14 Cameron Desautels <camdez@gmail.com>
3475
3476 * cus-edit.el (custom-unsaved-options): New function, extracted
3477 from `customize-unsaved'.
3478 (custom-unsaved): Use it.
3479 (custom-prompt-customize-unsaved-options): New function.
3480 (Bug#19328)
3481
3482 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3483
3484 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3485
3486 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3487
3488 Move ASYNC argument to the `diff' VC command to the fifth
3489 position, for better compatibility with existing third-party code,
3490 and document it.
3491
3492 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3493 backend `diff' command in the last position.
3494
3495 * vc/vc-svn.el (vc-svn-diff):
3496 * vc/vc-src.el (vc-src-diff):
3497 * vc/vc-sccs.el (vc-sccs-diff):
3498 * vc/vc-rcs.el (vc-rcs-diff):
3499 * vc/vc-mtn.el (vc-mtn-diff):
3500 * vc/vc-hg.el (vc-hg-diff):
3501 * vc/vc-git.el (vc-git-diff):
3502 * vc/vc-dav.el (vc-dav-diff):
3503 * vc/vc-cvs.el (vc-cvs-diff):
3504 * vc/vc-bzr.el (vc-bzr-diff):
3505 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3506
3507 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3508
3509 * emacs-lisp/cconv.el (cconv--analyze-use):
3510 Rename from cconv--analyse-use.
3511 (cconv--analyze-function): Rename from cconv--analyse-function.
3512 (cconv-analyze-form): Rename from cconv-analyse-form.
3513
3514 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3515
3516 * net/shr.el (shr-next-link): Don't error out at eob.
3517
3518 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3519
3520 * isearch.el (isearch-open-necessary-overlays): Open overlay
3521 ending at point (bug#19333).
3522
3523 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3524
3525 * net/shr.el (shr-fold-text): New function.
3526 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3527 alt/title texts.
3528 (shr-fold-text): Inhibit state from being altered.
3529
3530 * files.el (directory-files-recursively): Really check whether
3531 files are symlinks.
3532 (directory-name-p): New function.
3533 (directory-files-recursively): Use it.
3534
3535 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3536
3537 * emacs-lisp/package.el (package--list-loaded-files): New function
3538 to list files in a given directory which correspond to already
3539 loaded files.
3540 (package-activate-1): Reload files given by `package--list-loaded-files'.
3541 Fix bug#10125, bug#18443, and bug#18448.
3542
3543 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3544
3545 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3546
3547 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * simple.el (password-word-equivalents): Add "passcode", used for
3550 numeric secrets like PINs or RSA tokens.
3551
3552 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3555 order to determine `tramp-own-remote-path'.
3556
3557 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3558
3559 * progmodes/python.el (python-shell-parse-command):
3560 Quote `python-shell-interpreter`. (Bug#19289)
3561
3562 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3565 (python-indent-levels): Document extra value.
3566 (python-indent-calculate-indentation): Return `noindent' in strings.
3567 (python-indent-post-self-insert-function)
3568 (python-indent-calculate-levels): Handle new value.
3569
3570 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3571
3572 * net/network-stream.el (network-stream-open-starttls): No need to
3573 check for the availability of `gnutls-available-p'.
3574
3575 * files.el (directory-files-recursively): Don't follow symlinks to
3576 other directories.
3577
3578 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3579
3580 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3581 * vc/vc.el: latest-on-branch-p is no longer a public method.
3582
3583 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3584 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3585 Remove `rollback' method, to be replaced in the future by uncommit.
3586
3587 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3588
3589 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3590 that there is empty output.
3591
3592 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3595 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3596
3597 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3598
3599 * let-alist.el: Add new package and macro.
3600
3601 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3602
3603 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3604 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3605 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3606
3607 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3608
3609 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3610 trouble with ls over ftp. These flags result in ls returning no
3611 output, causing Tramp-breakage. (bug#19192)
3612
3613 2014-12-10 Andreas Schwab <schwab@suse.de>
3614
3615 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3616
3617 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3618
3619 * files.el (directory-files-recursively):
3620 Use `file-name-all-completions' instead of `directory-files' for
3621 greater speed.
3622
3623 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3624 <object>.
3625
3626 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3627
3628 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3629 and Puppetfile.
3630 (ruby-toggle-string-quotes): New command that allows you to quickly
3631 toggle between single-quoted and double-quoted string literals.
3632
3633 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3634
3635 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3636 list, avoids problems witt names containing hyphens.
3637
3638 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3639
3640 Sync with upstream verilog-mode revision aa4b777.
3641 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3642 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3643 (verilog-set-auto-endcomments): Automatically comment property/
3644 endproperty blocks to match other similar blocks like sequence/
3645 endsequence, function/endfunction, etc. Reported by Alex Reed.
3646 (verilog-set-auto-endcomments): Fix end comments for functions of
3647 type void, etc. Detect the function- or task-name when
3648 auto-commenting blocks that lack an explicit portlist.
3649 Reported by Alex Reed.
3650 (verilog-nameable-item-re): Fix nameable items that can have an
3651 end-identifier to include endchecker, endgroup, endprogram,
3652 endproperty, and endsequence. Reported by Alex Reed.
3653 (verilog-preprocessor-re, verilog-beg-of-statement):
3654 Fix indentation of property/endproperty around pre-processor
3655 directives. Reported by Alex Reed.
3656 (verilog-label-be): When auto-commenting a buffer, consider
3657 auto-comments on all known keywords (not just a subset thereof).
3658 Reported by Alex Reed.
3659 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3660 Reported by Alex Reed.
3661 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3662 Fix hanging with many curly-bracket pairs, bug663.
3663 (verilog-do-indent): Fix electric tab deleting form-feeds.
3664 Note caused by indent-line-to deleting tabls pre 24.5.
3665 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3666 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3667 (verilog-read-always-signals, verilog-auto-sense-sigs)
3668 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3669 bug844. Reported by Greg Hilton.
3670
3671 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3672
3673 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3674 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3675 'foreach', and 'do' keywords.
3676 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3677 Fix labeling do-while blocks, bug842.
3678 (verilog-backward-token): Fix indenting sensitivity lists with
3679 named events, bug840.
3680
3681 2014-12-09 Reto Zimmermann <reto@gnu.org>
3682
3683 Sync with upstream vhdl mode v3.36.1.
3684 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3685 (vhdl-compiler-alist): Anchor all error regexps.
3686 (vhdl-compile-use-local-error-regexp): Change default to nil.
3687 (vhdl-asort, vhdl-anot-head-p): Remove.
3688 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3689 Remove optional argument of vhdl-aget and update all callers.
3690 (vhdl-import-project): Also set `vhdl-compiler'.
3691
3692 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3693
3694 * files.el (find-files): New function.
3695
3696 * net/shr.el (shr-dom-print): Don't print comments.
3697 (shr-tag-svg): Give inline SVG images the right type.
3698
3699 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3700 certificates in the header line.
3701 (eww-invalid-certificate, eww-valid-certificate): New faces.
3702
3703 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3704
3705 * progmodes/python.el (inferior-python-mode):
3706 Set `comint-prompt-read-only` to `t` only locally.
3707
3708 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709
3710 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3711 (nsm-format-certificate): Include more data about the connection.
3712 (nsm-query): Fill the text to that it looks nicer.
3713 (nsm-check-protocol): Also warn if using SSL3 or older.
3714
3715 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3718
3719 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3720
3721 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3722
3723 * info.el (Info-mode-map): Remove left-over binding.
3724
3725 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3726 (avl-tree--root): Remove redundant defsetf.
3727
3728 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3729
3730 * net/nsm.el (network-security-level): Remove the detailed
3731 description, which was already outdated, and refer the users to
3732 the manual.
3733 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3734 (bug#19153).
3735
3736 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3737
3738 * net/eww.el (eww-buffers-mode): New major mode.
3739 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3740 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3741 New commands/functions (bug#19131).
3742
3743 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3744
3745 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3746 'file-name-handler-alist' since the gnutls library can't use those
3747 (bug#15866).
3748
3749 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3750
3751 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3752 when FILES is non-nil (bug#19304).
3753
3754 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3755
3756 * vc/vc-arch.el: Move to obsolete directory so a test framework
3757 won't trip over bit-rot in it. There has been no Arch snapshot
3758 for nine years.
3759
3760 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3761
3762 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3763 previous behavior.
3764 (eww-copy-page-url): Add doc string.
3765
3766 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3767
3768 * net/eww.el (eww): Move history recording here...
3769 (eww-browse-url): ... from here (bug#19253).
3770
3771 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3772 iterating over possible buffer names.)
3773
3774 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775
3776 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3777 (eww-current-buffer): Compilation fix for bug#18550 patch.
3778
3779 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3780
3781 * net/eww.el (eww-list-histories): Restore the history in the
3782 correct buffer (bug#18550).
3783
3784 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3785
3786 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3787 displaying shortened titles first (bug#16398).
3788
3789 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3790
3791 * progmodes/python.el: Recognize docstrings.
3792 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3793 New functions.
3794 (python-mode): Use them.
3795
3796 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3797
3798 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3799 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3800 (newsticker--treeview-create-groups-menu)
3801 (newsticker--treeview-create-tree-menu): Remove.
3802 (newsticker--treeview-tree-open-menu): New.
3803 (newsticker-treeview-tree-click): Pass event to
3804 `newsticker-treeview-tree-do-click'.
3805 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3806
3807 2014-12-05 Juri Linkov <juri@linkov.net>
3808
3809 * comint.el (comint-history-isearch-search)
3810 (comint-history-isearch-wrap): Use field-beginning instead of
3811 comint-line-beginning-position.
3812 (comint-send-input): Go to the end of the field instead of the end
3813 of the line to accept whole multi-line input.
3814 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3815
3816 2014-12-05 Juri Linkov <juri@linkov.net>
3817
3818 * minibuffer.el (minibuffer-completion-help):
3819 Compare selected-window with minibuffer-window to check whether
3820 completions should be displayed near the minibuffer. (Bug#17809)
3821 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3822
3823 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
3824
3825 * vc/vc-mtn.el (vc-mtn-root):
3826 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3827
3828 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3831 of the whole pipe when indenting an opening keyword after a |.
3832 Generalize this treatment to opening keywords like "while" (bug#18031).
3833
3834 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3835
3836 * simple.el (newline): Place the hook buffer-locally,
3837 to make sure it's first.
3838
3839 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3840 Fix handling of symbols with different syntax at beginning/end or with
3841 symbol rather than word syntax.
3842
3843 2014-12-05 Eli Zaretskii <eliz@gnu.org>
3844
3845 * simple.el (line-move): If noninteractive, call line-move-1, not
3846 forward-line, since the former is compatible with line-move-visual
3847 both in terms of the column to which it moves and the return
3848 value. (Bug#19211)
3849
3850 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * vc/ediff-init.el (ediff-odd-p): Remove.
3853 (ediff-background-face): Use cl-oddp instead.
3854 (ediff-buffer-live-p): Make it a defsubst.
3855
3856 * tooltip.el (tooltip-region-active-p): Remove.
3857
3858 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3859 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3860
3861 * fringe.el (fringe-bitmap-p): Make it a plain function.
3862
3863 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3864 (class-p, generic-p, eieio-object-p, class-abstract-p):
3865 Make them defsubst, so as to avoid corner case problems where
3866 the arg might be evaluated in the condition-case, or it can't be passed
3867 to higher-order functions like `cl-some'.
3868
3869 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3870
3871 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3872 and remove old menu-related code.
3873
3874 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875
3876 * net/eww.el (eww-display-pdf): Let mailcap determine how to
3877 display PDF files (bug#19270).
3878
3879 2014-12-05 Juri Linkov <juri@linkov.net>
3880
3881 Compare with the most recent window by default.
3882 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3883 (compare-windows-get-recent-window)
3884 (compare-windows-get-next-window): New functions.
3885 (compare-windows, compare-windows-sync-default-function):
3886 Use `compare-windows-get-window-function' instead of `next-window'.
3887 (compare-windows): Add diff/match messages with region boundaries.
3888 (Bug#19170)
3889
3890 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
3893
3894 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895
3896 * net/shr.el (shr--extract-best-source): Ignore non-text children.
3897
3898 2014-12-04 Eli Zaretskii <eliz@gnu.org>
3899
3900 Implement copying of a buffer portion while preserving visual order.
3901 * simple.el (bidi-directional-controls-chars)
3902 (bidi-directional-non-controls-chars): New variables.
3903 (squeeze-bidi-context-1, squeeze-bidi-context)
3904 (line-substring-with-bidi-context)
3905 (buffer-substring-with-bidi-context): New functions.
3906
3907 * files.el (file-tree-walk): Doc fix.
3908
3909 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
3910 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3911
3912 * autoinsert.el (auto-insert-alist): Update C/C++ header and
3913 program support to match more extensions. Replace non-alnum
3914 characters when generating include guards (headers) and check for
3915 more extensions when generating includes (programs)
3916 (bug#19254).
3917
3918 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
3919
3920 * files.el (file-tree-walk): Fix docstring.
3921
3922 2014-12-03 Karl Fogel <kfogel@red-bean.com>
3923
3924 Fix bug whereby saving files hung in VC hook.
3925
3926 Saving a buffer visiting a file under SVN control would hang if
3927 the remote repository were unreachable, because the VC hooks tried
3928 to run "svn status -u" on the file, where the "-u" tells svn to
3929 get update information from the remote repository.
3930 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3931
3932 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3933 argument and always pass "-v" to "svn status", never "-u".
3934
3935 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * emacs-lisp/inline.el: Fix up copyright header.
3938 (inline-quote, inline-const-p, inline-const-val, inline-error):
3939 Silence compiler warnings.
3940 (inline-letevals): Fix edebug spec.
3941 (inline--testconst-p): Consider lambda expressions as const-p.
3942 (inline--getconst-val): Use inline--testconst-p.
3943
3944 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3945 and change default to stay in the minibuffer when called from
3946 the minibuffer (bug#19250).
3947 (lazy-completion-table): Use this new argument to preserve the
3948 old behavior.
3949
3950 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3951 incorrect lexical elements (bug#19250).
3952
3953 2014-12-03 A. N. Other <none@example.com>
3954
3955 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3956
3957 2014-12-02 Glenn Morris <rgm@gnu.org>
3958
3959 * whitespace.el (whitespace-big-indent-regexp): Add :version.
3960
3961 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
3962
3963 * subr.el (filter): New macro. Because it's just silly for a Lisp
3964 not to have this in 2014. And VC needs it.
3965
3966 * vc.el: All backends: API simplification: Abolish dir-status.
3967 It's replaced by dir-status-files.
3968
3969 * vc.el: All backends: API simplification: Remove 4th
3970 'default-state' argument from vc-dir-status files and its backend
3971 methods - no backend method ever set it. It was used only in the
3972 fallback method to to set a default of 'up-to-date, though a
3973 convoluted call chain obscured this.
3974
3975 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3976
3977 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3978 improving behavior on directories using multiple file-oriented VCSes.
3979
3980 * vc/vc.el: All backends: API simplification; clear-headers
3981 is no longer a public method. It is now local to the one place
3982 it's used, in the RCS steal-lock method.
3983
3984 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3985
3986 * vc/vc.el: In all backends: API simplification; could-register
3987 is no longer a public method. (vc-cvs.el still has a private
3988 implementation.)
3989
3990 * vc/vc.el: In all backends: API cleanup; the backend diff method
3991 takes an explicit async flag. This eliminates a particularly ugly
3992 global.
3993
3994 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3995 VC randomly/unpredictably fails without it; cause not yet established.
3996
3997 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 Merge some of the differences from the standalone CC-mode.
4000 The main change is to only use the `category' text-property only when
4001 available. For that many calls are changed to use c-get-char-property,
4002 c-next-single-property-change, c-sc-scan-lists,
4003 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4004
4005 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4006 (c-basic-common-init): Initialize it.
4007 (c-common-init): Only use mode-require-final-newline when available.
4008 (c-before-change): Check and set c-just-done-before-change.
4009 (c-after-change): Re-set c-just-done-before-change.
4010 (c-advise-fl-for-region): New macro.
4011 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4012 (font-lock-after-change-function, jit-lock-after-change):
4013 Advise if needed.
4014
4015 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4016 (c-known-type-key): Don't make a list just to throw it away.
4017
4018 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4019 Handle the case where categories are not available.
4020 (c-record-parse-state-state, c-replay-parse-state-state):
4021 Handle marker values.
4022 (c-before-change-check-<>-operators): Look for the `syntax-table'
4023 property rather than for the corresponding `category'.
4024 (c-looking-at-decl-block): Remove unused var
4025 `c-disallow-comma-in-<>-arglists'.
4026 (c-forward-<>-arglist-recur): Remove unused var
4027 `orig-record-found-types'.
4028
4029 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4030 (c-use-category): New const.
4031 (c-next-single-property-change): New macro.
4032 (c-region-is-active-p): Prefer region-active-p when available.
4033 (c-search-backward-char-property): Fix old min/max typo; probably
4034 a copy/paste error.
4035 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4036 Turn them into macros that obey c-use-category.
4037 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4038 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4039 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4040 (c-looking-at-non-alphnumspace): New macros.
4041 (c-sc-parse-partial-sexp-no-category): New function.
4042 (c-emacs-features): Add `category-properties' element.
4043
4044 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4045 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4046 not available.
4047 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4048 (c-indent-line-or-region): Use c-region-is-active-p.
4049
4050 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4051 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4052 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4053 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4054 (cc-bytecomp-obsolete-fun): Delete unused functions.
4055
4056 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4057
4058 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4059
4060 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4061 dom.el changes.
4062
4063 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4066 current "project" rather than just the current directory.
4067 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4068 the file names make sense.
4069
4070 * vc/smerge-mode.el (smerge-swap): New command.
4071
4072 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4073
4074 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4075
4076 * net/newst-treeview.el (newsticker--treeview-item-show):
4077 Check window liveliness before measuring its width.
4078
4079 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4080 Pass correct status to `newsticker--sentinel-work'.
4081 (newsticker--sentinel-work): Use "newsticker--download-error" as
4082 guid in order to prevent multiple "Could not download..."
4083 messages. (Bug#19166)
4084
4085 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4086
4087 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4088 correct buffer (bug#19225).
4089
4090 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
4092 * net/nsm.el (network-security-level): Change the default to `medium'.
4093
4094 * net/eww.el (eww): Leave point in a place that doesn't cause
4095 scrolling when displaying "Loading...".
4096
4097 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4098
4099 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4100 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4101 'merge-branch'. Prompting for merge revisions is pushed down to
4102 the back ends; this fixes a layering violation that caused bad
4103 behavior with SVN.
4104
4105 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4106 vc-stay-local-p and repository-hostname are no longer public
4107 methods. Only the CVS and SVN backends used these, and the SVN
4108 support was conditioned out because svn status -v is too slow.
4109 The CVS back end retains this machinery and the vc-stay-local
4110 configuration variable now only affects it.
4111
4112 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * emacs-lisp/inline.el: New file.
4115
4116 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4117
4118 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4119 vc-state-heuristic is no longer a public method, having been
4120 removed where it is redundant, unnecessary, or known buggy.
4121 This eliminated all backends except CVS. Eliminates bug#7850.
4122
4123 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4124 Eliminate vc-mistrust-permissions. It was only relevant to the
4125 RCS and SCCS back ends and defaulted to t. Code now always
4126 mistrusts permissions - by actual measurement the effect on
4127 performance is negligible. As a side effect bug#11490 is now
4128 irrelevant.
4129
4130 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4131 vc-workfile-unchanged-p is no longer a public method (but the RCS
4132 and SCCS back ends retain it as a private method used in state
4133 computation). This method was redundant with vc-state and usually
4134 implemented as a trivial call to same. Fixes the failure mode
4135 described in bug#694.
4136
4137 * vc/vc.el: All backends: API simplification; init-revision is
4138 gone, and vc-registered functions no longer take an
4139 initial-revision argument.
4140
4141 2014-11-29 Glenn Morris <rgm@gnu.org>
4142
4143 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4144 (vc-src-master-templates): Fix :version tags.
4145
4146 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4147
4148 * outline.el (outline-move-subtree-down): Refactor and improve code.
4149
4150 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4151 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * outline.el (outline-move-subtree-down): Make sure we can move
4154 forward to find the end of the subtree and the insertion point
4155 (bug#19102).
4156
4157 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4158
4159 * progmodes/python.el (python-shell-completion-setup-code):
4160 Use __builtin__ module (or builtins in Python 3) and catch all errors
4161 when importing readline and rlcompleter.
4162
4163 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4164
4165 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4166 (todo-revert-buffer): New function.
4167 (todo-modes-set-1): Use it as the buffer-local value of
4168 revert-buffer-function.
4169
4170 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4171
4172 * calendar/todo-mode.el (todo-mode): If called interactively, just
4173 display a message saying to call todo-show to enter Todo mode
4174 (Bug#19112).
4175
4176 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4177
4178 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4179 (Bug#18579)
4180
4181 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4182 files. (Bug#18579)
4183
4184 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4187 remote `buffer-file-name'.
4188
4189 2014-11-29 Leo Liu <sdl.web@gmail.com>
4190
4191 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4192
4193 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4194
4195 Set PYTHONUNBUFFERED on shell startup.
4196
4197 * progmodes/python.el (python-shell-unbuffered): New var.
4198 (python-shell-calculate-process-environment): Use it.
4199
4200 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4201
4202 * net/tramp.el (tramp-action-password): Clean password on subsequent
4203 attempts even if there was no wrong password indication. (Bug#19047)
4204
4205 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4206 fallback.
4207 (tramp-open-connection-setup-interactive-shell): No need to check
4208 for nil as `tramp-get-remote-locale' return value.
4209
4210 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4211
4212 * vc/vc-git.el (vc-git-command, vc-git--call):
4213 Bind coding-system-for-read and coding-system-for-write to
4214 vc-git-commits-coding-system.
4215 (vc-git-previous-revision): Use "~1" instead of "^", since the
4216 latter is a special character for MS-Windows system shells.
4217
4218 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4219
4220 Improve XEmacs compatibility.
4221
4222 * net/tramp.el (tramp-autoload-file-name-handler):
4223 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4224 exist in XEmacs.
4225 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4226 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4227 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4228 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4229 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4230 * net/tramp-cache.el (tramp-get-file-property):
4231 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4232 Use `time-less-p' and `time-subtract, respectively.
4233
4234 * net/tramp-adb.el (top): Do not require time-date.el.
4235
4236 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4237
4238 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4239 Check, whether `utf-8' is a valid coding system.
4240
4241 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4242
4243 * vc/vc.el (vc-retrieve-tag): Doc fix.
4244
4245 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4248 (bug#19152).
4249
4250 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4251
4252 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4253 * help.el (help-window-old-frame): New variable.
4254 (help-window-select): Default to nil (Bug#11039).
4255 Rewrite doc-string.
4256 (help-window-setup): When the help window appears on another
4257 frame and `help-window-select' is non-nil, give that frame input
4258 focus too (Bug#19012).
4259 (with-help-window): Store selected frame in
4260 help-window-old-frame.
4261
4262 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4263
4264 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4265 nil value for `newsticker-groups-filename'.
4266
4267 2014-11-28 Daiki Ueno <ueno@gnu.org>
4268
4269 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4270 (epa-sign-region, epa-encrypt-region):
4271 Use `epg-context-set-{passphrase,progress}-callback', instead of
4272 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4273 Reported by José A. Romero L.
4274
4275 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4276
4277 * net/eww.el (eww-restore-history):
4278 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4279
4280 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4281
4282 * net/newst-backend.el (newsticker--parse-atom-1.0):
4283 Handle embedded (x)html in summary node.
4284
4285 2014-11-27 Sam Steingold <sds@gnu.org>
4286
4287 * menu-bar.el (menu-bar-open): When everything else fails,
4288 use (mouse-menu-bar-map).
4289
4290 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4291
4292 * net/newst-treeview.el (newsticker-groups-filename):
4293 Change default value to nil. Point out that variable is obsolete in doc
4294 string.
4295 (newsticker--treeview-load): Change wording of the questions the
4296 user is asked when `newsticker-groups-filename' is found to be
4297 used and we offer to read and remove the groups file. (Bug#19165)
4298
4299 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300
4301 * net/eww.el (eww): Record the new URL immediately, so that if the
4302 HTTP fetch fails, we have the right URL in the buffer.
4303 (eww-process-text-input): Don't shorten the input field if
4304 deleting at the last character (bug#19085).
4305 (eww-restore-history): Inhibit change functions while restoring
4306 the history.
4307 (eww-process-text-input): Fix deletion at the start of the field, too.
4308 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4309 (eww-process-text-input): Try to keep track of the size more reliably.
4310
4311 * dom.el (dom-pp): New function.
4312
4313 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4314
4315 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4316 Don't assume --long is the default for "bzr log", always specify
4317 it explicitly, in case the user defined an alias for 'log' that
4318 uses some other format.
4319
4320 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4321
4322 * progmodes/python.el (python-eldoc--get-doc-at-point):
4323 Strip shell output before returning. (bug#18794)
4324
4325 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4326
4327 Fix indentation before `!=' and after `+='. Originally reported
4328 in https://github.com/mooz/js2-mode/issues/174.
4329 * progmodes/js.el (js--indent-operator-re): Make assignments and
4330 (in)equality operator a separate case.
4331 (js--continued-expression-p): Escape the second `+' in the regexp.
4332
4333 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4336
4337 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338
4339 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4340 when querying about new certificates.
4341
4342 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4343
4344 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4345 can be strings.
4346 (dom-elements): Protect against non-text nodes.
4347 (dom-non-text-children): New function.
4348
4349 * net/eww.el (eww-tag-title): Use `dom-text'.
4350
4351 2014-11-26 Sam Steingold <sds@gnu.org>
4352
4353 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4354
4355 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4356
4357 * net/eww.el (eww-highest-readability): More dom.el fixes.
4358
4359 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4360
4361 * net/newst-backend.el (newsticker--parse-generic-items):
4362 Take care of UIDs when adding elements to cache.
4363
4364 2014-11-26 Alan Mackenzie <acm@muc.de>
4365
4366 Remove spurious reference to symbol category_properties.
4367 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4368
4369 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4370
4371 * net/eww.el: Use the new dom.el accessors throughout.
4372
4373 * net/shr.el: Ditto.
4374
4375 * dom.el: New file.
4376
4377 2014-11-26 Glenn Morris <rgm@gnu.org>
4378
4379 * arc-mode.el (archive-visit-single-files): Add :version.
4380
4381 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4382
4383 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4384 elements.
4385 (nsm-warnings-ok-p): The new version of this function always
4386 returned nil when everything was OK.
4387
4388 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4389
4390 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4391
4392 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4393 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4394
4395 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4396
4397 * emacs-lisp/byte-run.el (function-put): Match argument names to
4398 docstring.
4399
4400 2014-11-24 Sam Steingold <sds@gnu.org>
4401
4402 * vc/vc-hooks.el (vc-directory-exclusion-list):
4403 Fix a trivial typo (bug#19171).
4404
4405 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * vc/vc-hooks.el (vc-state-base-face): Don't override
4408 mode-line-inactive.
4409
4410 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
4412 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4413 (eww-process-text-input): Inhibit read only so that input fields
4414 don't get shortened (bug#19085).
4415
4416 2014-11-24 Leo Liu <sdl.web@gmail.com>
4417
4418 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4419
4420 * window.el (with-temp-buffer-window)
4421 (with-current-buffer-window, with-displayed-buffer-window):
4422 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4423 * emacs-lisp/cl-lib.el (substring):
4424 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4425
4426 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4427
4428 * isearch.el (isearch-update): Don't assume
4429 pos-visible-in-window-p will return nil when point is hscrolled
4430 out of view. (Bug#19157)
4431
4432 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4433
4434 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4435 (eww-follow-link): Follow in new buffer in case of prefix
4436 argument, open externally with double prefix (bug#19130).
4437
4438 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4439
4440 * net/eww.el (eww-display-html): Decode the document-defined charset.
4441 (eww): Pop to the *eww* buffer immediately after executing the
4442 `M-x eww' command to avoid having buffers pop up later.
4443 (eww-display-html): Don't pop the *eww* buffer.
4444 (eww-display-raw): Ditto.
4445 (eww-display-image): Ditto.
4446 (eww-follow-link): Make going to #targets in the page work again.
4447
4448 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4449
4450 * net/eww.el (eww-suggest-uris): New variable.
4451 (eww-suggested-uris): New function.
4452 (eww): Default to URL under point.
4453 (eww-links-at-point): New function.
4454
4455 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4456
4457 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4458
4459 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4460
4461 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4462
4463 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4464
4465 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4466 (eww-display-raw): Use it (bug#16225).
4467
4468 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4469
4470 * net/nsm.el (network-security-level): Rename from
4471 `nsm-security-level' and documented.
4472
4473 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4474 we're sending a password.
4475
4476 * net/nsm.el: New file that implements a Network Security Manager.
4477
4478 * net/network-stream.el (open-network-stream): Add a new
4479 :warn-unless-encrypted parameter.
4480 (network-stream-open-plain): Allow warning unless encrypted.
4481 (network-stream-open-starttls): Call the Network Security Manager.
4482 (network-stream-open-tls): Ditto.
4483
4484 2014-11-23 Leo Liu <sdl.web@gmail.com>
4485
4486 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4487 (calendar-chinese-to-absolute-for-diary)
4488 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4489 Handle leap months in Chinese calendar. (Bug#18953)
4490
4491 2014-11-22 Alan Mackenzie <acm@muc.de>
4492
4493 Fix error with `mark-defun' and "protected:" in C++ Mode.
4494 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4495 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4496
4497 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4498
4499 * net/newst-backend.el (newsticker--sentinel-work):
4500 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4501
4502 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4505 (tramp-sh-handle-process-file): Propagate `process-environment'.
4506
4507 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4508 Tramp propagates environment variables now.
4509
4510 2014-11-22 Eric S. Raymond <esr@snark>
4511
4512 * vc/vc-filewise.el: New file to isolate code used only by the
4513 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4514 live in vc.el and certainly not in vc-hooks.el.
4515
4516 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4517 This is preparatory to isolating all the 'master' functions
4518 used only by the file-oriented back ends. With this done first,
4519 the substantive diffs will be easier to read.
4520
4521 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4522
4523 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4524 that is recognized by `help-mode'.
4525
4526 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * desktop.el (desktop-create-buffer): Use activate-mark to set
4529 `mark-active' (bug#19058).
4530
4531 2014-11-21 Eric S. Raymond <esr@snark>
4532
4533 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4534 nil state.
4535
4536 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4537
4538 * vc/vc.el (vc-deduce-fileset): Support invocation from
4539 *vc-change-log* buffer. (Bug#19084)
4540
4541 2014-11-13 Matthew Leach <matthew@mattleach.net>
4542
4543 * arc-mode.el (archive-visit-single-files): New.
4544 (archive-mode): Visit file if archive contains a single file.
4545 (Bug#1702)
4546
4547 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4548
4549 * vc/vc.el: Fix a typo in the commentary.
4550
4551 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4552
4553 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4554 testing and a real log-view mode.
4555
4556 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4557 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4558 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4559 checkout methods; where it matters (which is only in SCCS and RCS)
4560 files are always checked out editable. This may actually have
4561 been dynamically true already - it looks like the vc-next-action
4562 code evolved past visiting the other case. Tested with RCS.
4563
4564 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4565 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4566 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4567 argument from the backend checkin methods. Only the RCS, SCCS,
4568 and CVS back ends tried to do anything with it, and that code was
4569 never exercised. Chiseling away the cruft of decades...
4570
4571 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4572
4573 * net/eww.el (eww-render): Remove a no-op :title setting.
4574
4575 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4576
4577 * net/eww.el (eww-history-limit): New variable.
4578 (eww-save-history): Use it (bug#19105).
4579 (eww-reload): Reload the page in the right buffer.
4580
4581 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4582
4583 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4584
4585 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4586
4587 * net/eww.el (eww-desktop-remove-duplicates)
4588 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4589 (eww-mode): Set up desktop mode (bug#18010).
4590 (eww-desktop-data-save, eww-desktop-data-1)
4591 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4592 (eww-restore-desktop): New functions.
4593
4594 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4595
4596 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4597 correct buffer. (Bug#19101)
4598
4599 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4600
4601 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4602 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4603
4604 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4605
4606 * ido.el (ido-bury-buffer-at-head): New command.
4607 (ido-buffer-completion-map): Bind it to C-S-b.
4608
4609 2014-11-18 Juri Linkov <juri@linkov.net>
4610
4611 * simple.el (next-line-or-history-element): Wrap next-line
4612 in with-no-warnings.
4613 (previous-line-or-history-element): Wrap previous-line
4614 in with-no-warnings.
4615
4616 2014-11-18 Juri Linkov <juri@linkov.net>
4617
4618 * progmodes/grep.el (grep-compute-defaults):
4619 Compute grep-highlight-matches before its use.
4620
4621 2014-11-18 Juri Linkov <juri@linkov.net>
4622
4623 * replace.el (query-replace-from-to-separator): Turn defvar into
4624 defcustom. Wrap char-displayable-p in ignore-errors because an
4625 attempt to autoload char-displayable-p fails during pre-loading.
4626 Move (propertize "\0" ... 'separator t) out of customizable part
4627 to query-replace-read-from.
4628 (query-replace-read-from): Call custom-reevaluate-setting on
4629 query-replace-from-to-separator to reevaluate the separator
4630 depending on the return value of char-displayable-p.
4631 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4632
4633 2014-11-18 Juri Linkov <juri@linkov.net>
4634
4635 * bindings.el (minibuffer-local-map): Rebind [down] from
4636 next-history-element to next-line-or-history-element, and [up]
4637 from previous-history-element to previous-line-or-history-element.
4638
4639 * simple.el (next-line-or-history-element)
4640 (previous-line-or-history-element): New commands.
4641 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4642
4643 2014-11-18 Leo Liu <sdl.web@gmail.com>
4644
4645 * emacs-lisp/nadvice.el (define-advice): New macro.
4646 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4647 Add define-advice.
4648 (lisp-font-lock-keywords-1): Add define-advice.
4649
4650 2014-11-18 Daiki Ueno <ueno@gnu.org>
4651
4652 * epg.el (epg-context): New slot EDIT-CALLBACK.
4653 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4654 (epg-reset): Reset EDIT-CALLBACK of the context.
4655 (epg-start-edit-key): New function.
4656 (epg-edit-key): New function.
4657
4658 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4659
4660 Port new time stamp handling to Emacs 23.2.
4661 This fix is for Gnus. Reported by Katsumi Yamaoka.
4662 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4663 Use eval-and-compile, not eval-when-compile.
4664
4665 2014-11-18 Daiki Ueno <ueno@gnu.org>
4666
4667 * epg.el (epg-context-set-passphrase-callback)
4668 (epg-context-set-progress-callback): Check if the CALLBACK
4669 argument is a function, instead of a cons.
4670
4671 2014-11-18 Daiki Ueno <ueno@gnu.org>
4672
4673 * epa-file.el (epa-file-insert-file-contents)
4674 (epa-file-write-region): Remove redundant check of
4675 epa-pinentry-mode.
4676 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4677 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4678 epa-pinentry-mode.
4679
4680 2014-11-18 Daiki Ueno <ueno@gnu.org>
4681
4682 * epa-file.el (epa-file-insert-file-contents): Don't show
4683 "*Error*" buffer if input file does not exist.
4684 Reported by Herbert J. Skuhra.
4685
4686 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4687 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4688
4689 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4690 An alternative version of the patch from bug#13871.
4691 (c-operators): Add "alignof".
4692 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4693 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4694 (c-modifier-kwds): Add "thread_local".
4695 (c-constant-kwds): Add "nullptr".
4696
4697 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4698
4699 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4700 New variables for specifying tildify pattern and representation of
4701 a hard space -- a no-break space by default -- respectively.
4702 Being buffer-local they are much easier to handle than
4703 `tildify-string-alist' and `tildify-pattern-alist' respectively
4704 that have been used so far. They also works better with derived
4705 modes.
4706 (tildify-foreach-region-function): New variable specifying
4707 a function determining portions of buffer that should be
4708 tildified. It allows major modes to create a filtering function
4709 more elaborate than a set of regular expressions. Initialized to
4710 `tildify--deprecated-ignore-evironments' by default to handle now
4711 deprecated `tildify-ignored-environments-alist' variable.
4712 (tildify--foreach-region): A new function that takes
4713 `tildify-foreach-region-function' into account and calls callback
4714 for regions of the buffer that should be tildified.
4715 (tildify-foreach-ignore-environments): A new function which can be
4716 partially applied and used as `tildify-foreach-region-function'.
4717 (tildify-ignored-environments-alist, tildify-pattern)
4718 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4719 (tildify--find-env): Rename from `tildify-find-env' and mark as
4720 obsolete.
4721 (tildify--deprecated-ignore-evironments): New function,
4722 immediately marked as obsolete, used to handle deprecated
4723 `tildify-ignored-environments-alist'.
4724
4725 * textmodes/tex-mode.el (tex-common-initialization):
4726 Set `tildify-space-string' and `tildify-foreach-region-function'
4727 variables in all variants of TeX mode since `tildify-string-alist'
4728 and `tildify-ignored-environments-alist' are now empty by default.
4729
4730 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4731 If encoding supports it use no-break space instead of character
4732 entity; this changes previous default which used a numeric
4733 reference.
4734
4735 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4736 If encoding does not support no-break space, use numeric reference;
4737 this changes previous default which used named entity (“&nbsp;”)
4738 in HTML mode.
4739
4740 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4741
4742 * calendar/icalendar.el (icalendar-export-alarms):
4743 New customizable variable. (Bug#5433)
4744 (icalendar-export-region): Export alarms as specified in
4745 `icalendar-export-alarms'.
4746 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4747 New functions for exporting alarms.
4748
4749 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4750
4751 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4752
4753 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4754
4755 Port new time stamp handling to old Emacs and to XEmacs.
4756 This is needed for Gnus, which copies time-date.el and which
4757 runs on older Emacs implementations.
4758 * calendar/time-date.el (with-decoded-time-value):
4759 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4760 (encode-time-value, with-decoded-time-value):
4761 Obsolete only if new Emacs.
4762 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4763
4764 Improve time stamp handling, and be more consistent about it.
4765 This implements a suggestion made in:
4766 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4767 Among other things, this means timer.el no longer needs to
4768 autoload the time-date module.
4769 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4770 * arc-mode.el (archive-ar-summarize):
4771 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4772 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4773 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4774 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4775 * proced.el (proced-time-lessp):
4776 * timezone.el (timezone-time-from-absolute):
4777 * type-break.el (type-break-schedule, type-break-time-sum):
4778 Simplify by using new functionality.
4779 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4780 Do not return time values in obsolete and undocumented (HI . LO)
4781 format; use (HI LO) instead.
4782 * calendar/time-date.el (with-decoded-time-value):
4783 Treat 'nil' as current time. This is mostly for XEmacs.
4784 (encode-time-value, with-decoded-time-value): Obsolete.
4785 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4786 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4787 * ldefs-boot.el: Update to match new time-date.el
4788 * proced.el: Do not require time-date.
4789
4790 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
4792 * net/eww.el (eww-mode): Make the buffer read-only.
4793 (eww-form-text): Inhibit read-only-ness in text input fields
4794 (bug#16476).
4795
4796 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * simple.el (execute-extended-command--shorter): Cut search here.
4799 (execute-extended-command): Instead of here.
4800
4801 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4802
4803 * progmodes/python.el (python-mode): Avoid use of set-local to
4804 keep Emacs 24.x compatibility.
4805
4806 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4807
4808 * net/shr.el (shr): Move to the new defgroup `web'.
4809
4810 * net/eww.el (eww): Ditto.
4811
4812 * simple.el (execute-extended-command): Don't show the help
4813 message if the binding isn't significantly shorter than the
4814 M-x command the user typed (bug#19013).
4815
4816 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4817
4818 * calendar/icalendar.el (icalendar--convert-tz-offset):
4819 Return complete cons when offsets of standard time and daylight saving
4820 time are equal.
4821 (icalendar-export-region): Fix unbound variable warning.
4822
4823 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4824
4825 * progmodes/python.el (run-python): Allow CMD to be optional and
4826 default it to a safe command, even for Windows. (bug#18596)
4827
4828 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4829
4830 * progmodes/python.el (python-shell-calculate-command):
4831 Rename from python-shell-parse-command. Cleanup.
4832 (run-python, run-python-internal): Use it.
4833 (python-shell-calculate-pythonpath): Rename from
4834 python-new-pythonpath.
4835 (python-shell-calculate-process-environment): Use it.
4836 (python-shell-calculate-exec-path): Add comment.
4837
4838 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
4839
4840 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4841 for date handling.
4842
4843 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
4844
4845 * version.el (emacs-repository-get-version): Use git rev-parse
4846 instead of git log.
4847
4848 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4849
4850 * progmodes/python.el (python-indent-calculate-levels):
4851 Fix indentation behavior multiline dedenter statement. (Bug#18432)
4852
4853 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4854
4855 * progmodes/python.el (python-indent-region):
4856 Use python-indent-line and skip special cases. (Bug#18843)
4857
4858 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
4859
4860 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4861 envelope-from when reporting through sendmail (bug#19054).
4862
4863 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
4864
4865 Add faces for the VC modeline state indicator.
4866 * vc/vc-hooks.el:
4867 (vc-state-faces, vc-state-base-face)
4868 (vc-up-to-date-state, vc-needs-update-state)
4869 (vc-locked-state, vc-locally-added-state)
4870 (vc-conflict-state, vc-removed-state)
4871 (vc-missing-state, vc-edited-state):
4872 New faces.
4873 (vc-default-mode-line-string): Use them
4874
4875 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4878
4879 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4880
4881 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4882
4883 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
4884
4885 * progmodes/python.el (python-eldoc-setup-code): Enhance string
4886 type checks, simplify printing. (Bug#18962)
4887
4888 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
4889
4890 * progmodes/python.el (python-shell-font-lock-kill-buffer):
4891 (python-shell-font-lock-with-font-lock-buffer)
4892 (python-shell-get-buffer, python-ffap-module-path):
4893 Use `derived-mode-p' instead of equality test on `major-mode'.
4894
4895 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4896
4897 * progmodes/python.el (python-shell-virtualenv-root): Rename from
4898 python-shell-virtualenv-path.
4899 (python-shell-internal-get-process-name)
4900 (python-shell-calculate-process-environment)
4901 (python-shell-calculate-exec-path): Use it.
4902
4903 2014-11-14 Eli Zaretskii <eliz@gnu.org>
4904
4905 * bindings.el (search-map): Fix last change: don't use 'kbd' in
4906 bindings.el, since it is not yet loaded when bindings.el is
4907 preloaded.
4908
4909 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4910
4911 * progmodes/python.el (python-shell-completion-get-completions):
4912 Fix previous merge.
4913
4914 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4915
4916 * net/eww.el (eww-render): Don't set the title to the URL.
4917
4918 2014-11-13 Ulrich Müller <ulm@gentoo.org>
4919
4920 * version.el (emacs-repository-get-version): Call `git log'
4921 command with proper format argument (bug#19049).
4922
4923 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4924
4925 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4926
4927 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4928
4929 * net/eww.el (eww-search-words): New command (bug#16258).
4930
4931 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4932
4933 * net/shr.el (shr-inhibit-images): Add a doc string.
4934
4935 * net/eww.el (eww-after-render-hook): New variable.
4936 (eww-render): Use it.
4937
4938 * net/shr.el (shr-descend): Don't descend further than
4939 `max-specpdl-size' allows (bug#16587).
4940 (shr-depth): New variable.
4941 (shr-warning): New variable.
4942
4943 2014-11-13 Ivan Shmakov <ivan@siamics.net>
4944
4945 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4946 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4947
4948 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4949
4950 * net/eww.el (eww): Add comment to clarify.
4951
4952 * net/shr.el (shr-parse-image-data): Remove blocked bits from
4953 external SVG images.
4954 (shr-tag-object): Display images in <object> forms (bug#16244).
4955 (shr-tag-table): Also insert <objects> after the tables.
4956
4957 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
4960
4961 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
4963 * net/eww.el (eww-form-file): Fix version number.
4964
4965 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4966
4967 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4968
4969 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4970
4971 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4972 (eww-submit-file): New key map of file upload.
4973 (eww-form-file): New file upload button and file name context.
4974 (eww-select-file): Select file and display selected file name.
4975 (eww-tag-input): Handle input tag of file type.
4976 (eww-update-field): Add point offset.
4977 (eww-submit): Add submit with multipart/form-data.
4978
4979 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4980
4981 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4982 Allow taking a buffer to render data in. This allows using several
4983 eww buffers (bug#16211).
4984
4985 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
4986
4987 * net/eww.el (eww-download-callback): Save only the file contents,
4988 not the headers.
4989
4990 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4991
4992 * net/eww.el (eww-data): New plist to store all the data relevant
4993 to a single page, used throughout the file instead of the
4994 variables `eww-current-url', `eww-current-dom',
4995 `eww-current-source', and `eww-current-title'.
4996 (eww-readable): Copy over pertinent data from the parent page.
4997 (eww-save-history): Don't let the history grow infinitely.
4998
4999 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5000 `eww-up-url', `eww-home-url', `eww-start-url' and
5001 `eww-contents-url' and put the data into the `eww-data' plist.
5002 This allow restoring these values after going back in the history.
5003
5004 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5005
5006 Allow VTIMEZONE where daylight and standard time zones are equal.
5007 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5008 * calendar/icalendar.el (icalendar--convert-tz-offset):
5009 Support timezone without daylight saving time.
5010
5011 2014-11-10 Glenn Morris <rgm@gnu.org>
5012
5013 * startup.el (command-line): Handle nil elements in load-path.
5014
5015 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * help.el (view-lossage): Include the actual commands run.
5018
5019 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5022 no state is specified. (Bug#18964)
5023
5024 2014-11-09 Eric Ludlam <zappo@gnu.org>
5025
5026 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5027 Set eieio-cog (current group) to g, which is an improved form of input
5028 group.
5029
5030 2014-11-09 Juri Linkov <juri@jurta.org>
5031
5032 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5033 "Multi-buffer" instead of "Multi". (Bug#13592)
5034
5035 * misearch.el (multi-isearch-file-list):
5036 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5037 (multi-isearch-end): Reset multi-isearch-buffer-list and
5038 multi-isearch-file-list to nil.
5039
5040 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5043 Don't call byte-compile-preprocess since the result will go through
5044 cconv.
5045 (byte-compile-output-docform): Handle uninterned `name' correctly.
5046 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5047 to circumvent byte-compiler bug.
5048
5049 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5050 (macroexp--compiler-macro): Remove left-over debug code.
5051
5052 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5053
5054 2014-11-08 Juri Linkov <juri@jurta.org>
5055
5056 * simple.el (shell-command): Use buffer-name when output-buffer is
5057 a buffer. (Bug#18096)
5058
5059 2014-11-08 Juri Linkov <juri@jurta.org>
5060
5061 * minibuffer.el (minibuffer-completion-help): Compare this-command
5062 with completion-at-point. (Bug#17809)
5063
5064 2014-11-08 Glenn Morris <rgm@gnu.org>
5065
5066 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5067 Allow the argument to be a string. Due to the vague doc,
5068 it was already being used this way.
5069
5070 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5073 the constructed Tramp file name. (Bug#18943)
5074
5075 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5078 (bug#18952).
5079 (cua-set-mark, cua--post-command-handler-1):
5080 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5081
5082 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * files.el (file-name-non-special): Wrap the call of
5085 `insert-file-contents' by `unwind-protect', in order to set the
5086 buffer's file name anyway. (Bug#18891)
5087
5088 2014-11-08 Alan Mackenzie <acm@muc.de>
5089
5090 Fix wrong bound to c-font-lock-declarators.
5091 * progmodes/cc-fonts.el (c-font-lock-declarations):
5092 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5093 the buffer is sometimes narrowed to less than "limit" (e.g., in
5094 the presence of macros). (Bug#18948)
5095
5096 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5097
5098 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5099 only when message appeared in minibuffer. (Bug#18891)
5100
5101 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5102 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5103 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5104 case of errors.
5105
5106 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5109 Don't compile before eval in `eval-and-compile'.
5110 (byte-compile-arglist-warn): Add check for defining macros after their
5111 first use. Check call use even if the function is fboundp.
5112
5113 2014-11-08 Richard Stallman <rms@gnu.org>
5114
5115 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5116 Check more carefully for mime-part specified character set.
5117 Check for mime-part Content Transfer Encoding.
5118 Notify if no armor found.
5119
5120 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5121
5122 * faces.el (face-set-after-frame-default): Enable running
5123 `window-configuration-change-hook'.
5124
5125 2014-11-07 Juri Linkov <juri@jurta.org>
5126
5127 * replace.el: History for query replace pairs.
5128 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5129 (query-replace-from-to-separator): New variable.
5130 (query-replace-read-from): Let-bind query-replace-from-to-history
5131 to a list of FROM-TO strings created from query-replace-defaults
5132 and separated by query-replace-from-to-separator. Use it as
5133 the history while reading from the minibuffer. Split the returned
5134 string by the separator to get FROM and TO parts, and add them
5135 to the history variables.
5136 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5137 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5138 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5139
5140 * isearch.el (isearch-text-char-description): Keep characters
5141 intact and put formatted strings with the `display' property.
5142
5143 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5144
5145 * cus-start.el (frame-resize-pixelwise): Fix group.
5146 (frame-inhibit-implied-resize): Add entry.
5147
5148 2014-11-07 Daiki Ueno <ueno@gnu.org>
5149
5150 * epa.el (epa-pinentry-mode): New user option.
5151 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5152 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5153 * epa-file.el (epa-file-insert-file-contents)
5154 (epa-file-write-region): Respect epa-pinentry-mode.
5155
5156 2014-11-07 Daiki Ueno <ueno@gnu.org>
5157
5158 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5159 (bug#18979). Reported by Hideki Saito.
5160
5161 2014-11-06 Daiki Ueno <ueno@gnu.org>
5162
5163 * emacs-lisp/package.el (package--display-verify-error): New function.
5164 (package--check-signature): Use it to display output sent to stderr.
5165
5166 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * subr.el (pop): Don't call the getter twice (bug#18968).
5169
5170 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5171 uses of `funcall'.
5172
5173 2014-11-06 Daiki Ueno <ueno@gnu.org>
5174
5175 * epa.el (epa-error-buffer): New variable.
5176 (epa-display-error): New function.
5177 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5178 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5179 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5180 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5181 Use setf instead of epg-context-set-*.
5182 * epa-file.el (epa-file-insert-file-contents):
5183 Use epa-display-error instead of epa-display-info. Mimic the behavior
5184 of jka-compr when decryption program is not found.
5185 (epa-file-write-region): Use epa-display-error instead of
5186 epa-display-info.
5187
5188 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * vc/vc.el (vc-region-history): New command.
5191 (vc-print-log-internal): Use cl-some.
5192
5193 * vc/vc-git.el (vc-git-region-history): New function.
5194 (vc-git-region-history-mode-map)
5195 (vc-git--log-view-long-font-lock-keywords)
5196 (vc-git-region-history-font-lock-keywords): New vars.
5197 (vc-git-region-history-font-lock): New function.
5198 (vc-git-region-history-mode): New major mode.
5199
5200 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5201
5202 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5203 uses string-trim.
5204
5205 2014-11-05 Daiki Ueno <ueno@gnu.org>
5206
5207 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5208 (epg-error-output): New buffer-local variable.
5209 (epg--start): Initialize epg-error-output.
5210 (epg--process-filter): Record output lines sent to stderr, in
5211 epg-error-output.
5212 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5213 slot of context.
5214 * epa-file.el (epa-file-insert-file-contents): On error, display
5215 output sent to stderr.
5216 (epa-file-write-region): Likewise.
5217
5218 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5219
5220 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5221 returned by load-average.
5222
5223 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5224
5225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5226 a local copy; setting `inhibit-file-name-handlers' proper might be
5227 more performant. (Bug#18751)
5228
5229 2014-11-05 Glenn Morris <rgm@gnu.org>
5230
5231 * mail/emacsbug.el (report-emacs-bug): No longer include
5232 recent-keys in the report. (Bug#18900)
5233
5234 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5235
5236 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5237
5238 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5239
5240 * net/eww.el (eww): Trim URL with `string-trim'.
5241 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5242
5243 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
5245 * net/eww.el (eww-score-readability): Don't count comments positively.
5246
5247 * net/shr.el (shr-retransform-dom): Typo fix.
5248
5249 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5250 (eww-display-html): Don't leave point inside forms.
5251
5252 * net/shr.el: Ditto.
5253
5254 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5257 edebug-prin1-to-string already handles circularity.
5258
5259 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5260 autoloading when specified as a lambda.
5261
5262 * simple.el (execute-extended-command--last-typed): New var.
5263 (read-extended-command): Set it.
5264 Don't complete obsolete commands.
5265 (execute-extended-command--shorter-1)
5266 (execute-extended-command--shorter): New functions.
5267 (execute-extended-command): Use them to suggest shorter names.
5268 (indicate-copied-region, deactivate-mark): Use region-active-p.
5269
5270 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5273 local copy of FILENAME, when it is remote. (Bug#18751)
5274
5275 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5276 an error when the command fails; the return code must indicate.
5277 (tramp-adb-send-command-and-check): Fix docstring.
5278
5279 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5280
5281 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5282 have no children like <br />.
5283
5284 * net/eww.el (eww-display-html): Clear `url-queue'.
5285 (eww-display-pdf): New function.
5286 (eww-render): Display PDFs with `doc-view'.
5287 (url-queue): Require `url-queue' to avoid compilation warning.
5288 (eww-colorize-region): Remove duplicate function.
5289 (eww-tag-body): Use `shr-colorize-region'.
5290
5291 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5292
5293 * net/eww.el (eww-list-bookmarks): Autoload.
5294
5295 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5296
5297 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5298
5299 * net/eww.el (eww-display-html): The charset is called `utf-8',
5300 not `utf8'.
5301 (eww-readable): Decode the saved text correctly.
5302 (eww-readable): Save the history before displaying so that we can
5303 go back to the non-readable version.
5304 (eww-display-html): Don't try to decode the text if we've been
5305 passed in a pre-parsed DOM.
5306 (eww-tag-title): Remove newlines and extra whitespace from the
5307 displayed title.
5308
5309 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5310
5311 * net/eww.el (eww-readable): New command and keystroke.
5312
5313 * net/shr.el (shr-retransform-dom): New function.
5314
5315 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5316 correct buffer.
5317 (eww-view-source): Use it.
5318
5319 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5320
5321 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5322 (Bug#18603).
5323
5324 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5325
5326 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5327
5328 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5329
5330 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5331
5332 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5333
5334 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5335 (Bug#18834).
5336
5337 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5338
5339 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5340 use as advice.
5341 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5342
5343 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5346 (bug#18821).
5347 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5348
5349 2014-11-01 Michael R. Mauger <michael@mauger.com>
5350
5351 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5352 syntax, add new keywords, and parse longer keywords first.
5353 (sql-redirect-one): Protect against empty command.
5354 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5355 to SQL. (Bug#14759)
5356
5357 2014-11-01 Michael R. Mauger <michael@mauger.com>
5358
5359 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5360 Bug#16814 with let-bind of comint-input-ring variables around read
5361 and save functions.
5362
5363 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5364
5365 * net/tramp-cache.el (tramp-get-file-property)
5366 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5367 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5368 be compiler warnings.
5369
5370 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5371 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5372
5373 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5374
5375 * progmodes/compile.el (compilation-mode): Turn off deferred
5376 fontifications locally. (Bug#18856)
5377
5378 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5379
5380 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5381 remote-echo connection property is non-nil (bug#18858).
5382
5383 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * simple.el (newline): Add assertions to try and help catch bug#18913.
5386
5387 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5388 (bug#18886).
5389 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5390
5391 2014-11-01 Kim F. Storm <storm@cua.dk>
5392
5393 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5394 * delsel.el (delete-selection-save-to-register)
5395 (delsel--replace-text-or-position): New vars.
5396 (delete-active-region): Use them.
5397 (delete-selection-repeat-replace-region): New command, moved from
5398 cua-base.el.
5399 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5400 (cua-repeat-replace-region): Move command to delsel.el.
5401 (cua--init-keymaps): Update binding accordingly.
5402 (cua-mode): Set delete-selection-save-to-register.
5403
5404 2014-11-01 Alan Mackenzie <acm@muc.de>
5405
5406 Make blink-parens work with a closing template delimiter.
5407 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5408 before calling blink-paren-function, so as to apply syntax-table
5409 properties to the ">".
5410
5411 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5412
5413 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5414
5415 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5418 (macroexp--expand-all): Unrelated tweaks.
5419
5420 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5421
5422 2014-10-30 Glenn Morris <rgm@gnu.org>
5423
5424 * startup.el (command-line): Remove pointless attempt to avoid
5425 statting the file-system (which expand-file-name doesn't do).
5426
5427 2014-10-30 Daniel Colascione <dancol@dancol.org>
5428
5429 Add "enum class" support to C++ mode.
5430 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5431 (c-after-brace-list-key): New language consts/variables.
5432 * progmodes/cc-engine.el (c-looking-at-decl-block):
5433 Exclude spurious match of "enum struct" from decl-block recognition.
5434 (c-backward-colon-prefixed-type): New function.
5435 (c-backward-over-enum-header): Call above function to extend
5436 recognition of enum structure.
5437
5438 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5441 (c-lang-defconst):
5442 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5443
5444 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5445
5446 * progmodes/compile.el (compilation-start):
5447 If compilation-scroll-output is non-nil, don't force window-start of
5448 the compilation buffer to be at beginning of buffer. (Bug#18874)
5449
5450 * startup.el (fancy-about-text): Read the entire tutorial, not
5451 just its first 256 bytes. (Bug#18760)
5452
5453 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5456 * emacs-lisp/cl-extra.el: Add missing provide.
5457
5458 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5459 all args are copyable (bug#18767).
5460 (=, <, >, <=, >=): Re-enable the optimization.
5461
5462 2014-10-29 Glenn Morris <rgm@gnu.org>
5463
5464 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5465
5466 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5467 Revert 2014-10-26 change.
5468
5469 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5470
5471 Simplify use of current-time and friends.
5472 * allout-widgets.el (allout-widgets-hook-error-handler):
5473 * calendar/appt.el (appt-display-message):
5474 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5475 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5476 (timeclock-last-period, timeclock-day-base):
5477 * eshell/em-ls.el (eshell-ls-file):
5478 * eshell/esh-util.el (eshell-parse-ange-ls):
5479 * generic-x.el (named-database-print-serial):
5480 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5481 (newsticker-get-news, newsticker--sentinel-work)
5482 (newsticker--image-get, newsticker--image-sentinel):
5483 * net/tramp-sh.el (tramp-get-remote-touch):
5484 * progmodes/opascal.el (opascal-debug-log):
5485 * textmodes/remember.el (remember-mail-date)
5486 (remember-store-in-files):
5487 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5488 (vc-default-annotate-current-time):
5489 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5490 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5491 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5492 Omit unnecessary call to current-time.
5493 * calendar/time-date.el (time-to-seconds) [!float-time]:
5494 * vc/vc-annotate.el (vc-annotate-convert-time):
5495 Use current time if arg is nil, to be compatible with float-time.
5496 (time-date--day-in-year): New function, with most of the guts of
5497 the old time-to-day-in-year.
5498 (time-to-day-in-year): Use it.
5499 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5500 * calendar/timeclock.el (timeclock-time-to-date):
5501 Arg is now optional, like current-time-string.
5502 (timeclock-update-mode-line):
5503 Don't call current-time twice to get the current time stamp,
5504 as this can lead to inconsistent results.
5505 * completion.el (cmpl-hours-since-origin):
5506 * ido.el (ido-time-stamp):
5507 * vc/vc-annotate.el (vc-annotate-convert-time):
5508 Simplify by using float-time.
5509 * completion.el (save-completions-to-file):
5510 Rename local var to avoid confusion.
5511 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5512 time-to-seconds now behaves like float-time with respect to nil arg.
5513 * subr.el (progress-reporter-do-update):
5514 Don't call float-time unless needed.
5515
5516 2014-10-29 Leo Liu <sdl.web@gmail.com>
5517
5518 * net/rcirc.el (rcirc-fill-column): Use function.
5519 (rcirc-markup-fill): Remove adjustment.
5520
5521 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5522
5523 * calc/calc.el (quick-calc):
5524 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5525
5526 2014-10-28 Sam Steingold <sds@gnu.org>
5527
5528 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5529 the sake of `window-body-width' (in addition to `frame-width').
5530
5531 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5532
5533 * version.el: Fix some fallback values to conform to the actual
5534 release number.
5535
5536 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5537
5538 * Makefile.in: Change some production names so they're neutral
5539 about the repository type.
5540
5541 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5542
5543 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5544 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5545 during initialization. (Bug#18774)
5546
5547 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5548
5549 * ses.el (macroexp): Add require for this package, so that
5550 function `ses--cell' gets macroexp-quote --- this change was
5551 supposed to be in my previous commit, but left out by mistake.
5552 (ses--cell): Do not make formula a macroexp-quote of value when
5553 value, not formula, is *skip*.
5554
5555 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5556
5557 * ses.el (macroexp): Add require for this package, so that function
5558 `ses--cell gets macroexp-quote.
5559 (ses--cell): Makes formula a macroexp-quote of value when formula
5560 is nil. The rationale of this changr is to allow in the future
5561 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5562 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5563 reference list REFLIST would be re-computed after load --- thus
5564 trading off load time against file size.
5565
5566 * emacs-lisp/package.el (package--alist-to-plist-args):
5567 Use macroexp-quote instead of a lambda expression which has the same
5568 content as macroexp-quote.
5569 (macroexp): Add require for this package, so that function
5570 `package--alist-to-plist-args' gets macroexp-quote.
5571
5572 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5573
5574 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * term/ns-win.el (ns-store-cut-buffer-internal)
5577 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5578
5579 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5580
5581 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5582 Calculate increment from last position instead of window edge.
5583 Add right- and bottom-divider bindings to transient map.
5584
5585 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5588 even if :predicate was nil, for the benefit of typep.
5589 Record the name of the predicate for typep's use.
5590 (cl--make-type-test): Use pcase. Obey new
5591 cl-deftype-satisfies property.
5592
5593 * epg.el: Use cl-defstruct.
5594 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5595 (epg-data-string): Define via cl-defstruct.
5596 (epg--gv-nreverse): New macro.
5597 (epg-context--make): New constructor (provided vi cl-defstruct).
5598 (epg-make-context): Rewrite using it.
5599 (epg-context-protocol, epg-context-program)
5600 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5601 (epg-context-include-certs, epg-context-cipher-algorithm)
5602 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5603 (epg-context-passphrase-callback, epg-context-progress-callback)
5604 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5605 (epg-context-output-file, epg-context-result, epg-context-operation)
5606 (epg-context-pinentry-mode): Define using cl-defstruct.
5607 (epg-context-set-protocol, epg-context-set-program)
5608 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5609 (epg-context-set-digest-algorithm)
5610 (epg-context-set-sig-notations, epg-context-set-process)
5611 (epg-context-set-output-file, epg-context-set-result)
5612 (epg-context-set-operation, epg-context-set-pinentry-mode)
5613 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5614 (epg-context-set-armor, epg-context-set-textmode)
5615 (epg-context-set-signers): Redefine using setf
5616 and declare as obsolete.
5617 (epg-context-set-passphrase-callback)
5618 (epg-context-set-progress-callback): Use setf.
5619 (epg-signature-notations): Rename from epg-sig-notations.
5620 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5621 (epg-signature-validity, epg-signature-fingerprint)
5622 (epg-signature-creation-time, epg-signature-expiration-time)
5623 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5624 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5625 (epg-signature-set-status, epg-signature-set-key-id)
5626 (epg-signature-set-validity, epg-signature-set-fingerprint)
5627 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5628 (epg-signature-set-pubkey-algorithm)
5629 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5630 (epg-signature-set-version, epg-signature-set-notations): Remove.
5631 Use setf instead.
5632 (epg-make-new-signature, epg-new-signature-type)
5633 (epg-new-signature-pubkey-algorithm)
5634 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5635 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5636 Define using cl-defstruct.
5637 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5638 (epg-key-user-id-list): Define using cl-defstruct.
5639 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5640 Use setf instead.
5641 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5642 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5643 (epg-sub-key-id, epg-sub-key-creation-time)
5644 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5645 cl-defstruct.
5646 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5647 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5648 (epg-user-id-signature-list): Define using cl-defstruct.
5649 (epg-user-id-set-signature-list): Remove. Use setf instead.
5650 (epg-make-key-signature, epg-key-signature-validity)
5651 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5652 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5653 (epg-key-signature-user-id, epg-key-signature-class)
5654 (epg-key-signature-exportable-p): Define using cl-defstruct.
5655 (epg-make-sig-notation, epg-sig-notation-name)
5656 (epg-sig-notation-value, epg-sig-notation-human-readable)
5657 (epg-sig-notation-critical): Define using cl-defstruct.
5658 (epg-sig-notation-set-value): Remove. Use setf instead.
5659 (epg-make-import-status, epg-import-status-fingerprint)
5660 (epg-import-status-reason, epg-import-status-new)
5661 (epg-import-status-user-id, epg-import-status-signature)
5662 (epg-import-status-sub-key, epg-import-status-secret): Define using
5663 cl-defstruct.
5664 (epg-make-import-result, epg-import-result-considered)
5665 (epg-import-result-no-user-id, epg-import-result-imported)
5666 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5667 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5668 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5669 (epg-import-result-secret-read, epg-import-result-secret-imported)
5670 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5671 (epg-import-result-imports): Define using cl-defstruct.
5672
5673 * emacs-lisp/package.el: Require EPG during macroexpansion.
5674 (package--check-signature, package-import-keyring): Use setf instead of
5675 epg-context-set-home-directory.
5676
5677 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5678
5679 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5680
5681 2014-10-23 Leo Liu <sdl.web@gmail.com>
5682
5683 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5684 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5685 (cfengine3-current-defun): New function.
5686 (cfengine3-mode): Set add-log-current-defun-function.
5687
5688 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * select.el: Use lexical-binding.
5691 (gui-set-selection): Provide an implementation for non-GUI frames
5692 (bug#18791).
5693 * term/x-win.el: Use lexical-binding.
5694 (x-clipboard-yank): Fix up missed renamings.
5695 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5696 (w32--set-selection): Fix up var names.
5697 * term/pc-win.el: Use lexical-binding.
5698 (w16-selection-exists-p): Silence compiler warning.
5699 (w16-selection-owner-p): Fix up missed renamings.
5700
5701 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5702
5703 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5704
5705 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5706
5707 * doc-view.el (doc-view-open-text): View the document's plain text
5708 in the current buffer instead of a new one.
5709 (doc-view-toggle-display): Handle the case where the current
5710 buffer contains the plain text contents of the document.
5711 (doc-view-initiate-display): Don't switch to fallback mode if the
5712 user wants to view the doc's plain text.
5713 (doc-view-set-doc-type): Use assoc-string instead of
5714 assoc-ignore-case.
5715
5716 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * subr.el (read-key): Fix clicks on the mode-line.
5719 (set-transient-map): Return exit function.
5720
5721 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5722 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5723 (mouse-yank-secondary): Use gui-get-selection.
5724 (mouse--down-1-maybe-follows-link): Use read-key.
5725
5726 * xt-mouse.el: Add `event-kind' property on the fly from
5727 xterm-mouse-translate-1 rather than statically at the outset.
5728
5729 2014-10-21 Daniel Colascione <dancol@dancol.org>
5730
5731 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5732 change window configuration when we turn it off.
5733
5734 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 Get rid of backend-dependent selection-handling functions for kill/yank
5737 and make it generic instead by relying on the lower-level selection
5738 management functions.
5739
5740 * select.el (select-enable-clipboard): Rename from
5741 gui-select-enable-clipboard.
5742 (select-enable-primary): Move from x-win.el and rename from
5743 x-select-enable-primary.
5744 (gui-last-selected-text): Remove.
5745 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5746 New vars.
5747 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5748 (gui-select-text-alist, gui-selection-value-alist): Remove.
5749 (x-select-request-type): Move from x-win.el.
5750 (gui--selection-value-internal): New function, taken from x-win's
5751 x-selection-value-internal.
5752 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5753 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5754 extend it to handle a nil value as a "disown" request.
5755 (gui-disown-selection-alist): Remove.
5756 (xselect-convert-to-delete): Adjust accordingly.
5757 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5758
5759 * term/x-win.el (x-last-selected-text-primary)
5760 (x-select-enable-primary): Remove (moved to select.el).
5761 (x-select-request-type): Move to select.el.
5762 (x-selection-value-internal, x--selection-value): Remove functions.
5763 (gui-selection-value, gui-select-text): Remove moethods.
5764 (gui-set-selection): Merge own and disown methods.
5765
5766 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5767 Delete function (move functionality into w32--set-selection and
5768 w32--get-selection).
5769 (gui-select-text, gui-selection-value): Don't define methods.
5770 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5771 New functions.
5772 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5773 Use them.
5774 (gui-selection-exists-p): Adjust to new name of C primitive.
5775
5776 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5777 test of gui-select-enable-clipboard, to make it usable as
5778 a gui-get-selection method.
5779 (gui-selection-exists-p): Adjust to new name of C primitive.
5780 (gui-set-selection): Merge own and disown methods.
5781 (gui-select-text, gui-selection-value): Delete methods.
5782 (w16--select-text): Delete function.
5783
5784 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5785 (ns-selection-value): Remove functions.
5786 (gui-select-text, gui-selection-value): Don't define method any more.
5787 (gui-set-selection): Merge the old own and disown methods.
5788 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5789 underlying C primitive.
5790
5791 * startup.el (command-line): Adjust now that `gui-method' expects nil
5792 for ttys.
5793
5794 * frame.el (gui-method): Use window-system rather than framep.
5795 (gui-method-declare): The tty case is now nil rather than t.
5796 (make-frame): Adjust accordingly.
5797
5798 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * net/newst-reader.el (newsticker--image-read): Simplify.
5801 (newsticker--icon-read): Use dolist and fix free var error.
5802
5803 * imenu.el (imenu--menubar-keymap): New var.
5804 (imenu-add-to-menubar): Set it to remember the keymap we used.
5805 (imenu-update-menubar): Use it instead of asking lookup-key.
5806
5807 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5808
5809 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5810
5811 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5812 case (bug#18767).
5813
5814 2014-10-21 Glenn Morris <rgm@gnu.org>
5815
5816 * Merge in all changes up to version 24.4 release.
5817
5818 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5821 case (bug#18767).
5822
5823 2014-10-20 Glenn Morris <rgm@gnu.org>
5824
5825 * Merge in all changes up to 24.4 release.
5826
5827 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
5828
5829 * net/newst-backend.el
5830 (newsticker--image-download-by-url-callback): Make this function
5831 actually work: Check status properly, then save image.
5832
5833 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5836 `this-event'.
5837 (mouse-drag-line): Unless there's no actual mouse, use the event's
5838 position info.
5839
5840 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * textmodes/css-mode.el (scss-mode): New major-mode.
5843 (css-mode-syntax-table): Use d style comment, to ease the scss case.
5844 (css-ident-re): Allow things like @-moz-keyframes.
5845 (scss--hash-re): New const.
5846 (css--font-lock-keywords): New function, extracted from
5847 css-font-lock-keywords.
5848
5849 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
5850
5851 * net/newst-backend.el: Require url-parse.
5852 (newsticker--get-news-by-wget): Store feed name as process property.
5853 (newsticker--sentinel): Read feed name from process property.
5854 (newsticker--sentinel-work): Rename argument name to feed-name.
5855 Rename variable imageurl to image-url. Pick icon url from Atom
5856 1.0 data. Launch download of feed icon.
5857 (newsticker--get-icon-url-atom-1.0): New.
5858 (newsticker--unxml)
5859 (newsticker--unxml-node)
5860 (newsticker--unxml-attribute): Documentation.
5861 (newsticker--icons-dir): New.
5862 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5863 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5864 (newsticker--image-download-by-wget): New. Use process properties
5865 for storing informations.
5866 (newsticker--image-sentinel): Read informations from process properties.
5867 (newsticker--image-save)
5868 (newsticker--image-remove)
5869 (newsticker--image-download-by-url)
5870 (newsticker--image-download-by-url-callback): New.
5871 (newsticker-opml-export): Handle url list entries containing a
5872 function instead of an url string.
5873
5874 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5875 (newsticker--print-extra-elements)
5876 (newsticker--do-print-extra-element):
5877 Documentation (newsticker--image-read): Optionally limit image height.
5878 Use imagemagick if possible.
5879 (newsticker--icon-read): New.
5880
5881 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5882 (newsticker--treeview-tree-expand): Use feed icons in treeview.
5883 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
5884 (newsticker--tree-widget-leaf-icon): Use feed icon.
5885
5886 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5889 Use help-function-arglist instead.
5890
5891 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5892 (eieio--with-scoped-class): Use `declare'.
5893 (eieio-defclass): Remove compatibility code.
5894 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5895 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5896
5897 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
5898
5899 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5900
5901 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5902 replacements to stock names before stock names in a list.
5903 Cdr may be a list, each name is tried in turn until one is found.
5904
5905 2014-10-18 Alan Mackenzie <acm@muc.de>
5906
5907 Check that a "macro" found near point-min isn't a ## operator.
5908 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5909 (c-beginning-of-macro): Use the above new function. (Bug#18749)
5910
5911 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
5912
5913 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5914 correct data to `gnutls-boot' (Bug#18664).
5915 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5916
5917 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
5918
5919 * whitespace.el (whitespace-style, whitespace-big-indent)
5920 (whitespace-big-indent-regexp, whitespace-style-value-list)
5921 (whitespace-toggle-option-alist, whitespace-interactive-char)
5922 (whitespace-toggle-options)
5923 (global-whitespace-toggle-options, whitespace-help-text)
5924 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5925 style to `whitespace-mode' to indicate that the line indentation
5926 is too deep. By default, 32 SPACEs or four TABs are considered
5927 too many but `whitespace-big-indent-regexp' can be configured.
5928
5929 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
5930
5931 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5932 tildify-mode-alist.
5933
5934 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5937 (defclass, defgeneric, defmethod): Add doc-string position.
5938 (with-slots): Require cl-lib.
5939
5940 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5941 (list-of): New type.
5942 (eieio--typep): Remove.
5943 (eieio-perform-slot-validation): Use cl-typep instead.
5944
5945 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5946
5947 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5948
5949 2014-10-16 Alan Mackenzie <acm@muc.de>
5950
5951 Trigger showing when point is in the "periphery" of a line or just
5952 inside a paren.
5953 * paren.el (show-paren-style, show-paren-delay)
5954 (show-paren-priority, show-paren-ring-bell-on-mismatch):
5955 Remove superfluous :group specifications.
5956 (show-paren-when-point-inside-paren)
5957 (show-paren-when-point-in-periphery): New customizable variables.
5958 (show-paren-highlight-openparen): Make into a defcustom.
5959 (show-paren--unescaped-p, show-paren--categorize-paren)
5960 (show-paren--locate-near-paren): New defuns.
5961 (show-paren--default): Refaactor and trigger on more paren
5962 positions.
5963 (show-paren-function): Small consequential changes.
5964
5965 2014-10-16 Tom Tromey <tom@tromey.com>
5966
5967 * files.el (auto-mode-alist): Use javascript-mode for .jsm
5968 (bug #18719).
5969
5970 2014-10-16 Eli Zaretskii <eliz@gnu.org>
5971
5972 * international/characters.el (bracket-type): Force pre-loading of
5973 uni-brackets.el.
5974
5975 2014-10-16 Alan Mackenzie <acm@muc.de>
5976
5977 * cus-edit.el (custom-command-apply): Specify the return value in
5978 the doc string.
5979 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5980 custom-command-apply has returned non-nil.
5981
5982 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5985 Remove incorrect handling of eldoc-print-after-edit.
5986 (eldoc-message-commands, eldoc-last-data): Use defvar.
5987 * loadup.el (emacs-lisp/eldoc): Load it.
5988
5989 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5990 (m4-mode): Use it.
5991 (m4--quoted-p): New function.
5992 (m4-font-lock-keywords): Don't handle #..\n comments any more.
5993 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5994 for most special characters.
5995
5996 * progmodes/compile.el (compilation--previous-directory): Simplify.
5997 (compilation-next-error): Ensure the parse before we look at
5998 compilation-message property.
5999
6000 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6001
6002 * simple.el (what-cursor-position):
6003 * descr-text.el (describe-char): Update to support the new bidi
6004 characters.
6005
6006 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6007 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6008 buffer-menu display when the first buffer happens to start with
6009 R2L letter.
6010
6011 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * progmodes/elisp-mode.el (elisp--local-variables-1):
6014 Handle quoted expressions (bug#18688).
6015
6016 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6017 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6020 Reduce the amount of set environment variable commands.
6021
6022 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6023
6024 Fix import completion. (Bug#18582)
6025 * progmodes/python.el (python-shell-completion-get-completions):
6026 Fix import case regexp.
6027
6028 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6031 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6032 * progmodes/prolog.el (prolog-electric--underscore): Same.
6033
6034 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6035
6036 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6037
6038 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6039
6040 * cus-start.el (all): Add missing ns and boolean to
6041 ns-use-fullscreen-animation.
6042
6043 2014-10-11 Leo Liu <sdl.web@gmail.com>
6044
6045 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6046 Use strings.
6047 (cfengine3-create-imenu-index): New function.
6048 (cfengine3-mode): Use it for `imenu-create-index-function'.
6049 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6050 buffer is empty.
6051
6052 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6053
6054 * cus-start.el (all): Add ns-use-fullscreen-animation.
6055
6056 2014-10-11 Glenn Morris <rgm@gnu.org>
6057
6058 * calendar/diary-lib.el (diary-display-function):
6059 Drop support for deprecated nil and list forms.
6060 (diary-list-entries): Update for the above.
6061 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6062
6063 2014-10-10 Leo Liu <sdl.web@gmail.com>
6064
6065 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6066 (Bug#18656)
6067
6068 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * select.el (gui-selection-exists-p-alist): New method.
6071 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6072 * simple.el (deactivate-mark): Use it.
6073 * term/x-win.el (gui-selection-exists-p):
6074 * term/w32-win.el (gui-selection-exists-p):
6075 * term/pc-win.el (gui-selection-exists-p):
6076 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6077
6078 2014-10-10 Glenn Morris <rgm@gnu.org>
6079
6080 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6081 Fix :type. Allow t to mean no limit.
6082 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6083
6084 2014-10-09 Glenn Morris <rgm@gnu.org>
6085
6086 * frame.el (display-monitor-attributes-list): Doc tweaks.
6087
6088 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6089
6090 * faces.el (display-grayscale-p): Mention in the doc string that
6091 the argument can be either a display name or a frame.
6092
6093 * frame.el (display-pixel-height, display-pixel-width)
6094 (display-mm-height, display-mm-width, display-backing-store)
6095 (display-save-under, display-planes, display-color-cells)
6096 (display-visual-class, display-monitor-attributes-list)
6097 (display-screens): Mention in the doc string that the argument can
6098 be either a display name or a frame. Improve the docs of the
6099 monitor attributes. (Bug#18636)
6100
6101 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6102
6103 * term.el (term-window-width): Subtract 1 from the width when
6104 any fringe has zero width, not just the right fringe. (Bug#18601)
6105
6106 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6109
6110 2014-10-08 Leo Liu <sdl.web@gmail.com>
6111
6112 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6113
6114 2014-10-08 Glenn Morris <rgm@gnu.org>
6115
6116 * calendar/cal-x.el (calendar-dedicate-diary):
6117 Drop support for recently deleted aliases.
6118
6119 2014-10-08 Leo Liu <sdl.web@gmail.com>
6120
6121 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6122 Always return a syntax. Replace call-process-shell-command with
6123 process-file. Ensure cfengine-mode-syntax-functions-regex is
6124 always set. Ensure cache when cfengine-cf-promises fails.
6125 (Bug#18620)
6126
6127 2014-10-07 Glenn Morris <rgm@gnu.org>
6128
6129 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6130
6131 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6132
6133 Sync with upstream verilog-mode revision c075a492.
6134 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6135 (verilog-menu): Add AUTOINSERTLAST.
6136 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6137 is nil, fix indenting initial/final to match always statements, bug825.
6138 Reported by Tim Clapp.
6139 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6140 bug557. Reported by ZeDong Mao and Jason Forkey.
6141 (verilog-read-decls): Fix parsing typed interfaces.
6142 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6143 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6144 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6145 Reported by Pierre-David Pfister.
6146 (verilog-auto-insert-lisp): Doc fix.
6147 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6148 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6149 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6150 (verilog-sk-uvm-component): Fix missing string keyword in class
6151 skeletons, bug824. Reported by eldad faruhi.
6152
6153 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * term/w32-win.el: Move all code from 32-common-fns.el here.
6156 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6157 console as well (bug#18629).
6158 * w32-common-fns.el: Remove.
6159 * loadup.el: Don't load w32-common-fns.el.
6160 * w32-fns.elc: Don't require w32-common-fns.
6161
6162 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6163 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6164 Remove redundant obsolescence thingy.
6165 * loadup.el: Don't load obsolete/loaddefs.el.
6166 * Makefile.in (obsolete-autoloads): Remove.
6167 (AUTOGENEL): Remove obsolete/loaddefs.el.
6168
6169 2014-10-06 Glenn Morris <rgm@gnu.org>
6170
6171 * Makefile.in (obsolete-autoloads): Write to a separate file,
6172 to workaround autoloads bug. (Bug#17407)
6173 (AUTOGENEL): Add obsolete/loaddefs.el.
6174 * loadup.el: Load obsolete/loaddefs.el if present.
6175 * subr.el (do-after-load-evaluation):
6176 Don't warn about obsolete/loaddefs.el.
6177
6178 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6179 It has zero relationship to a game.
6180
6181 2014-10-06 Leo Liu <sdl.web@gmail.com>
6182
6183 * imenu.el (imenu): Re-write for clarity.
6184
6185 2014-10-06 Glenn Morris <rgm@gnu.org>
6186
6187 Remove calendar code obsolete since at least version 23.1.
6188 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6189 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6190 (calendar-goto-bahai-date, list-bahai-diary-entries)
6191 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6192 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6193 (insert-yearly-bahai-diary-entry):
6194 * calendar/cal-china.el (chinese-calendar-time-zone)
6195 (chinese-calendar-location-name)
6196 (chinese-calendar-daylight-time-offset)
6197 (chinese-calendar-standard-time-zone-name)
6198 (chinese-calendar-daylight-time-zone-name)
6199 (chinese-calendar-daylight-savings-starts)
6200 (chinese-calendar-daylight-savings-ends)
6201 (chinese-calendar-daylight-savings-starts-time)
6202 (chinese-calendar-daylight-savings-ends-time)
6203 (chinese-calendar-celestial-stem)
6204 (chinese-calendar-terrestrial-branch)
6205 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6206 (calendar-goto-chinese-date):
6207 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6208 (calendar-print-coptic-date, coptic-prompt-for-date)
6209 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6210 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6211 * calendar/cal-french.el (calendar-absolute-from-french)
6212 (calendar-print-french-date, calendar-goto-french-date):
6213 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6214 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6215 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6216 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6217 (holiday-passover-etc, holiday-tisha-b-av-etc)
6218 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6219 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6220 (insert-monthly-hebrew-diary-entry)
6221 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6222 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6223 (diary-sabbath-candles):
6224 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6225 (calendar-print-islamic-date, calendar-goto-islamic-date)
6226 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6227 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6228 (insert-monthly-islamic-diary-entry)
6229 (insert-yearly-islamic-diary-entry):
6230 * calendar/cal-iso.el (calendar-absolute-from-iso)
6231 (calendar-print-iso-date, calendar-iso-read-args)
6232 (calendar-goto-iso-date, calendar-goto-iso-week):
6233 * calendar/cal-julian.el (calendar-absolute-from-julian)
6234 (calendar-print-julian-date, calendar-goto-julian-date)
6235 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6236 (calendar-goto-astro-day-number):
6237 * calendar/cal-mayan.el (calendar-print-mayan-date)
6238 (calendar-next-haab-date, calendar-previous-haab-date)
6239 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6240 (calendar-next-calendar-round-date)
6241 (calendar-previous-calendar-round-date)
6242 (calendar-absolute-from-mayan-long-count)
6243 (calendar-goto-mayan-long-count-date):
6244 * calendar/cal-move.el (scroll-calendar-left)
6245 (scroll-calendar-right, scroll-calendar-left-three-months)
6246 (scroll-calendar-right-three-months):
6247 * calendar/cal-persia.el (calendar-absolute-from-persian)
6248 (calendar-print-persian-date, persian-prompt-for-date)
6249 (calendar-goto-persian-date):
6250 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6251 * calendar/calendar.el (view-diary-entries-initially)
6252 (mark-diary-entries-in-calendar, calendar-today-face)
6253 (diary-face, holiday-face, view-calendar-holidays-initially)
6254 (mark-holidays-in-calendar, initial-calendar-window-hook)
6255 (today-visible-calendar-hook, today-invisible-calendar-hook)
6256 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6257 (bahai-diary-entry-symbol, american-date-diary-pattern)
6258 (european-date-diary-pattern, european-calendar-display-form)
6259 (american-calendar-display-form, holidays-in-diary-buffer)
6260 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6261 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6262 (fancy-diary-buffer, increment-calendar-month)
6263 (extract-calendar-month, extract-calendar-day)
6264 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6265 (mark-visible-calendar-date, calendar-version):
6266 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6267 (diary-display-hook, list-diary-entries-hook)
6268 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6269 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6270 (abbreviated-calendar-year, number-of-diary-entries)
6271 (view-other-diary-entries, add-to-diary-list)
6272 (include-other-diary-files, simple-diary-display)
6273 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6274 (mark-sexp-diary-entries, mark-included-diary-files)
6275 (mark-calendar-days-named, mark-calendar-month)
6276 (mark-calendar-date-pattern, sort-diary-entries)
6277 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6278 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6279 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6280 (insert-block-diary-entry, insert-cyclic-diary-entry)
6281 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6282 * calendar/holidays.el (general-holidays, oriental-holidays)
6283 (local-holidays, other-holidays, hebrew-holidays)
6284 (christian-holidays, islamic-holidays, bahai-holidays)
6285 (solar-holidays, list-calendar-holidays)
6286 (check-calendar-holidays, mark-calendar-holidays)
6287 (filter-visible-calendar-holidays):
6288 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6289 (diary-phases-of-moon): Remove obsolete aliases.
6290 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6291 * calendar/cal-x.el (calendar-one-frame-setup)
6292 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6293 Remove obsolete functions.
6294 (cal-x-load-hook): Remove obsolete hook.
6295 * calendar/calendar.el (european-calendar-style):
6296 Remove obsolete variable.
6297 (calendar-date-style): No longer consult european-calendar-style.
6298 * calendar/calendar.el (european-calendar, american-calendar):
6299 Remove obsolete commands.
6300 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6301 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6302 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6303 Use the face `diary' instead of the variable `diary-face'.
6304 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6305 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6306 * calendar/icalendar.el (icalendar--date-style): Remove function.
6307 Replace all uses with calendar-date-style.
6308 * textmodes/remember.el (calendar-date-style): Declare.
6309 (remember-diary-convert-entry):
6310 No longer consult european-calendar-style.
6311
6312 2014-10-05 Leo Liu <sdl.web@gmail.com>
6313
6314 * imenu.el (imenu-default-goto-function): Fix typo.
6315
6316 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6317
6318 * net/ntlm.el (ntlm-build-auth-request):
6319 Add NTLM2 Session support. (Bug#15603)
6320
6321 2014-10-04 Glenn Morris <rgm@gnu.org>
6322
6323 * apropos.el (apropos-symbols-internal):
6324 Avoid error with non-symbol properties. (Bug#18337#16)
6325
6326 * startup.el (command-line):
6327 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6328
6329 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6330
6331 * window.el (window-full-height-p): Make it behave correctly for
6332 minibuffer window.
6333 (window-current-scroll-bars): Fix code.
6334 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6335 window-scroll-bars.
6336 * frame.el (frame-current-scroll-bars): Fix doc-string.
6337 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6338
6339 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6340
6341 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6342
6343 2014-10-04 Glenn Morris <rgm@gnu.org>
6344
6345 * frame.el (frame-monitor-attributes)
6346 (display-monitor-attributes-list): Doc fixes.
6347
6348 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 Merge trivially safe differences from standalone CC-mode.
6351 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6352 just to then pass it to `symbol-value'.
6353 (prog-mode): Provide fallback definition, if needed.
6354 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6355 Remove "cl-" prefix accordingly.
6356 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6357 characterp depending on the type of characters.
6358 (c-font-lock-enum-tail): Remove unused var `start'.
6359 * progmodes/cc-engine.el: Load CL at compile-time.
6360 (c-declare-lang-variables): Use mapcan.
6361 (c-append-to-state-cache): Remove unused var `ce+1'.
6362 (c-parse-state-state): Make buffer-local.
6363 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6364 (c-just-after-func-arglist-p): Remove unused var `end'.
6365 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6366 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6367 (c-make-keywords-re): Use delete-dups.
6368 (c-get-current-file): Avoid file-name-base.
6369 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6370 `close-paren-inserted'.
6371 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6372
6373 * progmodes/python.el: Avoid building unneeded markers.
6374 (python-font-lock-keywords, python-indent-dedent-line)
6375 (python-fill-paren, python-shell-completion-complete-or-indent):
6376 Prefer point over point-marker.
6377 (inferior-python-mode): Remove redundant completion settings.
6378
6379 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6380
6381 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6382 (vc-svn-ignore): Use it. (Bug#18619)
6383
6384 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6385
6386 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6387 In doc-string mention need to set `frame-resize-pixelwise'.
6388
6389 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6392 similarly to Rogers's 2010-06-16 change for the remote case
6393 (bug#18605).
6394
6395 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 New gui-selection-value consolidating x-selection-value.
6398 * select.el (gui-selection-value-alist): New method.
6399 (gui-selection-value): New function.
6400 (x-selection-value): Make it an obsolete alias.
6401 * simple.el (interprogram-paste-function): Default to
6402 gui-selection-value.
6403 * w32-common-fns.el (w32-get-selection-value): Simplify.
6404 (x-selection-value): Remove alias.
6405 (interprogram-paste-function): Don't set.
6406 (gui-selection-value): Define for w32.
6407 * term/x-win.el (gui-selection-value): Define for x.
6408 (x--selection-value): Rename from x--selection-value.
6409 (interprogram-paste-function): Don't set.
6410 * term/pc-win.el (w16-get-selection-value): Simplify.
6411 (msdos-initialize-window-system): Don't set
6412 interprogram-paste-function.
6413 (gui-selection-value): Define for pc.
6414 * term/ns-win.el (x-selection-value): Remove.
6415 (gui-selection-value): Define for ns, instead.
6416 * term/common-win.el (x-setup-function-keys): Don't set
6417 interprogram-paste-function.
6418 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6419 Use gui-selection-value.
6420
6421 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6422
6423 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6424
6425 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * obsolete/lucid.el (read-number): Remove, redundant.
6428 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6429 Remove, broken.
6430
6431 2014-10-02 Glenn Morris <rgm@gnu.org>
6432
6433 * emacs-lisp/package.el (package-import-keyring):
6434 Create gnupg directory private. (Bug#17625#155)
6435
6436 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * progmodes/python.el (python-shell-completion-get-completions):
6439 Use python-shell--prompt-calculated-input-regexp from the
6440 process buffer (bug#18582).
6441 Don't assume that `line' comes from the process buffer.
6442
6443 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * frame.el: Use lexical-binding (bug#18598).
6446 (make-frame): Use t rather than nil for tty's window-system.
6447 * startup.el (command-line): Use gui-method.
6448
6449 Consolidate management/ownership of selections.
6450 * select.el (gui-get-selection-alist): New method.
6451 (gui-get-selection): Use it. Rename from x-get-selection.
6452 (x-get-selection): Define as obsolete alias.
6453 (x-get-clipboard): Mark obsolete.
6454 (gui-get-primary-selection): New function.
6455 (x-get-selection-value): Mark obsolete.
6456 (gui-own-selection-alist, gui-disown-selection-alist)
6457 (gui-selection-owner-p-alist): New methods.
6458 (gui-set-selection): Use them. Rename from x-set-selection.
6459 (x-set-selection): Define as obsolete alias.
6460 (gui--valid-simple-selection-p): Rename from
6461 x-valid-simple-selection-p.
6462 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6463 (gui-selection-owner-p, gui-get-selection): Define for w32.
6464 (w32-get-selection-value): Rename from x-get-selection-value.
6465 Use the new gui-last-selected-text.
6466 * term/x-win.el (x-get-selection-value): Remove.
6467 (x-clipboard-yank): Declare obsolete.
6468 (gui-own-selection, gui-disown-selection, gui-get-selection)
6469 (gui-selection-owner-p): Define for x.
6470 * term/w32-win.el (w32-win-suspend-error): Rename from
6471 x-win-suspend-error.
6472 * term/pc-win.el (w16-get-selection-value): Rename from
6473 x-get-selection-value.
6474 (w16-selection-owner-p): Rename from x-selection-owner-p.
6475 (gui-own-selection, gui-disown-selection, gui-get-selection)
6476 (gui-selection-owner-p): Define for pc.
6477 (w16--select-text): New function.
6478 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6479 (gui-get-selection, gui-selection-owner-p): Define for ns.
6480 * term.el (term-mouse-paste):
6481 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6482
6483 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6484
6485 * calc/calc-help.el (calc-describe-thing): Quote strings
6486 which could look like regexps.
6487
6488 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 Consolidate x-select-text.
6491 * frame.el (gui-method, gui-method-define, gui-method-declare)
6492 (gui-call): New macros.
6493 (gui-method--name): New function.
6494 (frame-creation-function-alist): Use gui-method-declare.
6495 (make-frame): Use gui-method.
6496 * select.el (gui-select-enable-clipboard): Rename from
6497 x-select-enable-clipboard and move here.
6498 (x-select-enable-clipboard): Define as obsolete alias.
6499 (gui-last-selected-text): New var, to replace x-last-selected-text.
6500 (gui-select-text): New GUI method.
6501 (gui-select-text): New function.
6502 (x-select-text): Define as obsolete alias.
6503 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6504 Move to select.el.
6505 * simple.el (interprogram-cut-function): Change default to
6506 x-select-text.
6507 (interprogram-paste-function): Change default to `ignore'.
6508 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6509 * term/x-win.el (interprogram-cut-function): Don't modify.
6510 (gui-select-text): Add method for x.
6511 * term/w32-win.el (gui-select-text): Add method for w32.
6512 * term/pc-win.el (x-last-selected-text): Remove, use
6513 gui-last-selected-text instead.
6514 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6515 (gui-select-text): Add method for pc.
6516 * term/ns-win.el (ns-last-selected-text): Remove, use
6517 gui-last-selected-text instead.
6518 (gui-select-text): Add method for ns.
6519 (x-setup-function-keys): Don't change interprogram-cut-function.
6520 * loadup.el ("startup"): Load after "frame".
6521 * subr.el (package--builtin-versions, package--description-file):
6522 Move from startup.el.
6523 * startup.el (package--builtin-versions, package--description-file):
6524 Move to subr.el.
6525 (handle-args-function-alist, window-system-initialization-alist):
6526 Use gui-method-declare.
6527 (command-line): Use gui-method.
6528
6529 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * subr.el (alist-get): New accessor.
6532 * emacs-lisp/gv.el (alist-get): Provide expander.
6533 * winner.el (winner-remember):
6534 * tempo.el (tempo-use-tag-list):
6535 * progmodes/gud.el (minor-mode-map-alist):
6536 * international/mule-cmds.el (define-char-code-property):
6537 * frameset.el (frameset-filter-params):
6538 * files.el (dir-locals-set-class-variables):
6539 * register.el (get-register, set-register):
6540 * calc/calc-yank.el (calc-set-register): Use it.
6541 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6542 * tooltip.el (tooltip-set-param): Mark as obsolete.
6543 (tooltip-show): Use alist-get instead.
6544 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6545
6546 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6547
6548 * net/newst-backend.el: Remove Time-stamp. Rename variable
6549 `newsticker--download-logos' to `newsticker-download-logos' and
6550 make it customizable.
6551 (newsticker--sentinel-work): Move xml-workarounds to function
6552 `newsticker--do-xml-workarounds', call unless libxml-parser is
6553 used. Allow single quote in regexp for encoding.
6554 Use libxml-parser if available, else fall back to `xml-parse-region'.
6555 Take care of possibly missing namespace prefixes (like "RDF"
6556 instead of "rdf:RDF") when checking xml nodes and attributes (as
6557 libxml correctly removes the prefixes). Always use Atom 1.0 as
6558 fallback feed type. Rename `newsticker--download-logos' to
6559 `newsticker-download-logos'
6560 (newsticker--unxml, newsticker--unxml-node)
6561 (newsticker--unxml-attribute): New.
6562 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6563 HTML code has become part of the xml parse tree.
6564 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6565 of possibly missing namespace prefixes.
6566 (newsticker--parse-generic-items): Code formatting. Typo.
6567 (newsticker--images-dir): Add trailing slash.
6568 (newsticker--image-get): Fix error message.
6569
6570 * net/newst-plainview.el: Remove Time-stamp.
6571
6572 * net/newst-reader.el: Remove Time-stamp.
6573 (newsticker-download-logos): Rename variable
6574 `newsticker--download-logos' to `newsticker-download-logos' and
6575 make it customizable.
6576 (newsticker--print-extra-elements): Add optional parameter
6577 'htmlish for using html markup. Amend list of ignored elements.
6578 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6579 using html markup.
6580
6581 * net/newst-ticker.el: Remove Time-stamp.
6582
6583 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6584 for formatting extra elements.
6585
6586 * net/newsticker.el: Remove Time-stamp, Version.
6587 (newsticker-version): Make obsolete.
6588
6589 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6590
6591 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6592 (bug#18462).
6593
6594 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/package.el (package-check-signature): Default to nil if
6597 GPG is not available.
6598 (package-refresh-contents): Don't mess with the keyring if we won't
6599 check the signatures anyway.
6600
6601 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6604 (ses-center, ses-center-span): Use them.
6605 (ses-print-cell): Bind them while calling the printer.
6606 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6607 (ses-dorange): Revert last change.
6608 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6609 the formula.
6610 (ses-set-cell): Avoid `eval'.
6611 (ses--time-check): Rename it from ses-time-check and turn it into
6612 a macro.
6613
6614 * ses.el (ses-setup): Don't assume modifying the iteration var of
6615 dotimes affects the iteration (bug#18191).
6616
6617 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6618
6619 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6620 their values with 'cl-progv'.
6621 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6622 their values with 'cl-progv', also use non-interned symbols for
6623 row, minrow, maxrow, mincol and maxcol.
6624 (maxrow maxcol): New defvar, to make the compiler happy.
6625
6626 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6629 completion functions.
6630
6631 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6634
6635 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6636
6637 Font-lock `cl-flet*', too.
6638 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6639 Add "flet*" to intermediate var `cl-lib-kw'.
6640
6641 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * epg-config.el (epg-gpg-program): Use the plain program names rather
6644 than their absolute file name.
6645
6646 * subr.el (track-mouse): New macro.
6647 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6648 Remove track-mouse case.
6649 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6650
6651 2014-09-27 Leo Liu <sdl.web@gmail.com>
6652
6653 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6654
6655 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6656
6657 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6660 Handle the case where `match' is :pcase--succeed or :pcase--fail
6661 (bug#18554).
6662
6663 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6664 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6665 (eldoc-schedule-timer): Obey it.
6666 (eldoc-documentation-function): Default to nil.
6667 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6668 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6669 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6670 (eldoc-last-data-store, eldoc-docstring-first-line)
6671 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6672 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6673 (eldoc-function-argstring): Move to elisp-mode.el.
6674 (eldoc-symbol-function): Remove, unused.
6675 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6676 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6677 (elisp--preceding-sexp): Rename from preceding-sexp.
6678 * loadup.el: Load new file progmodes/elisp-mode.
6679 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6680 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6681 (lisp--local-variables-completion-table, lisp--expect-function-p)
6682 (lisp--form-quoted-p, lisp--company-doc-buffer)
6683 (lisp--company-doc-string, lisp--company-location)
6684 (lisp-completion-at-point): Move to elisp-mode.el.
6685 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6686 extracted from emacs-lisp-mode-syntax-table.
6687 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6688 elisp-mode.el.
6689 (lisp-imenu-generic-expression): Add comments to document what comes
6690 from which Lisp dialect.
6691 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6692 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6693 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6694 (emacs-lisp-byte-code-comment)
6695 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6696 (lisp-interaction-mode-map, lisp-interaction-mode)
6697 (eval-print-last-sexp, last-sexp-setup-props)
6698 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6699 (eval-last-sexp-1, eval-last-sexp-print-value)
6700 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6701 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6702
6703 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6704
6705 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6706 Do not match file names that end in '/', as they cannot be 'grep'
6707 hits nowadays. This prevents confusion when 'grep -r' reports a
6708 match in a file whose basename is ':12345:'. Conversely, do not
6709 require exactly the same sequence of spaces and tabs after both
6710 colons, and allow spaces or tabs before the second colon, as per
6711 the POSIX spec for 'grep' output.
6712
6713 2014-09-26 Leo Liu <sdl.web@gmail.com>
6714
6715 Add cl-parse-integer based on parse-integer (Bug#18557)
6716 * calendar/parse-time.el (parse-time-digits): Remove.
6717 (digit-char-p, parse-integer) Moved to cl-lib.el.
6718 (parse-time-tokenize, parse-time-rules, parse-time-string):
6719 Use cl-parse-integer.
6720
6721 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6722
6723 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6724 (cl-digit-char-p): New function.
6725
6726 2014-09-25 Juri Linkov <juri@jurta.org>
6727
6728 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6729 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6730 Return the current buffer if no files match the default pattern
6731 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6732
6733 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6736 the global vc-handled-backends (bug#18535).
6737
6738 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6741 Suggested by <lompik@voila.fr>.
6742
6743 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6744
6745 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6746 Rename from `newsticker--treeview-do-get-node'.
6747 (newsticker--treeview-get-node-by-id):
6748 Rename from `newsticker--treeview-get-node'.
6749 (newsticker--treeview-buffer-init)
6750 (newsticker--treeview-buffer-init): Disable buffer undo.
6751 (newsticker--treeview-unfold-node): Adapt to modified
6752 `newsticker--group-find-parent-group'.
6753 (newsticker--group-do-find-group):
6754 Rename from `newsticker--group-do-find-group-for-feed'.
6755 Now works for both, groups and feeds.
6756 (newsticker--group-find-parent-group):
6757 Rename from `newsticker--group-find-group-for-feed'.
6758 Now works for both, groups and feeds.
6759 (newsticker--group-do-get-parent-group)
6760 (newsticker--group-get-parent-group): Remove.
6761 (newsticker-group-add-group): Change interactive prompts.
6762 (newsticker-group-add-group): Finally jump to added group.
6763 (newsticker-group-delete-group): Finally jump to current feed.
6764 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6765 (newsticker--get-group-names, newsticker--group-names): New.
6766 (newsticker-group-move-feed): Finally jump to moved feed.
6767 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6768 (newsticker-group-shift-group-down)
6769 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6770 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6771
6772 * net/newst-backend.el (newsticker--item-list)
6773 (newsticker--item-position, newsticker--prev-message)
6774 (newsticker--scrollable-text): Move to newst-ticker.el.
6775
6776 * net/newst-ticker.el (newsticker--item-list)
6777 (newsticker--item-position, newsticker--prev-message)
6778 (newsticker--scrollable-text): Move from newst-backend.el.
6779
6780 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6781
6782 * window.el (fit-window-to-buffer): When counting buffer width,
6783 count the whole visible buffer. Correctly convert the body-height
6784 to pixel size for window-text-pixel-size (Bug#18498).
6785
6786 2014-09-22 Sam Steingold <sds@gnu.org>
6787
6788 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6789 (sql-execute): Use `special-mode'.
6790
6791 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 Add pcase-defmacro, as well as `quote' and `app' patterns.
6794 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6795 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6796 (pcase--funcall, pcase--eval): New functions.
6797 (pcase--u1): Use them for guard, pred, let, and app.
6798 (\`): Use the new feature to generate better code for vector patterns.
6799 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6800 (pcase--upat): Remove.
6801 (pcase--macroexpand): Don't hardcode handling of `.
6802 (pcase--split-consp, pcase--split-vector): Remove.
6803 (pcase--split-equal): Disregard ` since it's expanded away.
6804 (pcase--split-member): Optimize for quote rather than for `.
6805 (pcase--split-pred): Optimize for quote rather than for `.
6806 (pcase--u1): Remove handling of ` (and of `or' and `and').
6807 Quote non-selfquoting values when passing them to `eq'.
6808 Drop `app's let-binding if the variable is not used.
6809 (pcase--q1): Remove.
6810 (`): Define as a pattern macro.
6811 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6812 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6813 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6814 quote patterns.
6815 (pcase--split-match): Don't hoist or/and here any more.
6816 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6817 (pcase--flip): New helper macro.
6818 (pcase--u1): Optimize the memq case directly.
6819 Don't handle neither self-quoting nor and/or patterns any more.
6820 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6821 (pcase--macroexpand): New function.
6822 (pcase--expand): Use it.
6823 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6824 New optimization functions.
6825 (pcase--u1): Add support for `quote' and `app'.
6826 (pcase): Document them in the docstring.
6827
6828 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 Use lexical-bindin in Ibuffer.
6831 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6832 (ibuffer-compile-format): Simplify.
6833 (ibuffer-clear-summary-columns): Simplify.
6834 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6835 elem of dotimes when we don't refer to the iteration var from it.
6836 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6837 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6838 Silence byte-compiler.
6839
6840 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6843 expression for a list.
6844
6845 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6846 for functions with no arguments.
6847
6848 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6849 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6850
6851 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
6852
6853 * simple.el (clone-indirect-buffer): Mention the return value
6854 (bug#18478).
6855
6856 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6857 Text mode in docstring (bug#18464).
6858
6859 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6862 Accept underscores in identifiers after "sub" (bug#18502).
6863
6864 2014-09-21 Tassilo Horn <tsdh@gnu.org>
6865
6866 * textmodes/reftex-sel.el (reftex-select-label-mode)
6867 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6868 from special-mode (instead of fundamental-mode) and propertize
6869 with font-lock-face instead of just face. (Bug#18496)
6870
6871 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6872
6873 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6874
6875 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6876 `table-etc' when `end' is non-nil.
6877 (lisp-completion-at-point): Move `end' back if it's after quote.
6878 If in comment or string, only complete when after backquote.
6879 (Bug#18265)
6880 (lisp-completion-at-point): Don't use
6881 `lisp--local-variables-completion-table' in the
6882 `lisp--form-quoted-p' case.
6883
6884 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6885
6886 * emacs-lisp/lisp.el (lisp--expect-function-p)
6887 (lisp--form-quoted-p): New functions.
6888 (lisp-completion-at-point): Use them to see if we're completing a
6889 variable reference, a function name, or just any symbol.
6890 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6891
6892 2014-09-18 Ivan Kanis <ivan@kanis.fr>
6893
6894 * net/shr.el, net/eww.el: Don't override `shr-width', but
6895 introduce a new variable `shr-internal-width'. This allows users
6896 to specify a width themselves.
6897
6898 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899
6900 * image-mode.el (image-toggle-display-image): If we have a
6901 `fit-width' or a `fit-height', don't limit the size of the image
6902 to the window size, because that doesn't preserve the aspect ratio.
6903 * image-mode.el: Move defvars earlier to avoid a byte-compilation
6904 warning.
6905
6906 2014-09-17 Reuben Thomas <rrt@sc3d.org>
6907
6908 * progmodes/js.el: Add interpreter-mode-alist support for various
6909 JavaScript interpreters.
6910
6911 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
6912
6913 Don't assume 'grep' supports GREP_OPTIONS.
6914 The GREP_OPTIONS environment variable is planned to be marked
6915 obsolescent in GNU grep, due to problems in its use, so stop
6916 relying on it.
6917 * progmodes/grep.el (grep-highlight-matches): Document this.
6918 (grep-process-setup): Do not set GREP_OPTIONS.
6919 (grep-compute-defaults): Use an explicit --color option if supported.
6920
6921 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6924 Don't add outdated key-shortcut cache (bug#18482).
6925
6926 2014-09-15 Glenn Morris <rgm@gnu.org>
6927
6928 * image.el (image-multi-frame-p): Fix thinko - do not force
6929 a delay if none was specified. (Bug#18334)
6930
6931 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
6932
6933 * window.el (fit-window-to-buffer): Doc fix.
6934
6935 2014-09-15 Ivan Shmakov <ivan@siamics.net>
6936
6937 * desktop.el (desktop-create-buffer): Check that buffers are still live
6938 before burying them (bug#18373).
6939
6940 2014-09-15 Glenn Morris <rgm@gnu.org>
6941
6942 * calendar/diary-lib.el (diary-list-entries):
6943 Restore 24.3 display behavior. (Bug#18381)
6944
6945 2014-09-15 Eli Zaretskii <eliz@gnu.org>
6946
6947 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6948 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
6949 discrepancy between window-pixel-edges and mouse events, and
6950 avoids moving mode line up when the mouse click is on the modeline
6951 and no drag is attempted.
6952
6953 2014-09-14 Daniel Colascione <dancol@dancol.org>
6954
6955 * register.el (insert-register): Change default interactive
6956 insertion mode.
6957
6958 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6961 Suppress debug messages.
6962
6963 * net/tramp.el (tramp-file-name-handler):
6964 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6965 appropriate.
6966
6967 2014-09-13 Christopher Schmidt <ch@ristopher.com>
6968
6969 * calendar/calendar.el (calendar-update-mode-line):
6970 Do not overwrite mode-line-format if calendar-mode-line-format is
6971 nil. (Bug#18467)
6972
6973 2014-09-13 Leo Liu <sdl.web@gmail.com>
6974
6975 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6976 (pcase--expand): Use it.
6977 (pcase-exhaustive): New macro. (Bug#16567)
6978
6979 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6980 Add pcase-exhaustive.
6981
6982 2014-09-13 Eli Zaretskii <eliz@gnu.org>
6983
6984 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6985 using the specified transfer-encoding, if any, or 'undecided'.
6986 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6987 broken at the window margin.
6988
6989 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
6990
6991 Support rendering of HTML parts in Rmail (bug#4258).
6992 * mail/rmailmm.el (rmail-mime-process): Handle text/html
6993 separately from other text/ types. Suppress tagline for
6994 multipart body.
6995 (rmail-mime-parse): Don't change visibility of tagline here.
6996 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6997 Handle text/html specially.
6998 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6999 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7000 (rmail-mime-render-html-lynx): New functions.
7001 (rmail-mime-fix-inserted-faces): New function.
7002 (rmail-mime-process-multipart): Find the best part to show
7003 following rmail-mime-prefer-html if set.
7004 (rmail-mime-searching): New variable.
7005 (rmail-search-mime-message): Bind rmail-mime-searching to
7006 suppress rendering while searching.
7007
7008 2014-09-12 Sam Steingold <sds@gnu.org>
7009
7010 * progmodes/sql.el (sql-product-alist): Add vertica.
7011 (sql-vertica-program, sql-vertica-options)
7012 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7013 New functions and variables to support Vertica.
7014 Inspired by code by Roman Scherer <roman@burningswell.com>.
7015
7016 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7017
7018 * ses.el (ses-file-format-extend-parameter-list): Rename from
7019 ses-file-format-extend-paramter-list, to correct a misspelling.
7020 All uses changed.
7021
7022 2014-09-10 Alan Mackenzie <acm@muc.de>
7023
7024 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7025 gets loaded at run-time).
7026 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7027 c-lang-const to c-make-no-parens-syntax-table and correct the
7028 logic.
7029 (c-no-parens-syntax-table): Correct the logic of the
7030 c-lang-defvar.
7031
7032 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7035 plus misc cleanup.
7036 * progmodes/cc-mode.el (c-basic-common-init):
7037 Set open-paren-in-column-0-is-defun-start.
7038 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7039 Remove declarations, unused.
7040 (run-mode-hooks): Remove declaration.
7041 (font-lock-defaults): Use plain `defvar' to declare.
7042 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7043 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7044 (c-make-mode-syntax-table): Don't micro-optimize.
7045 (c-keywords, c-keyword-member-alist): Simplify.
7046 (c-kwds-lang-consts): Don't eval at compile-time.
7047 (c-primary-expr-regexp): Comment out unused vars.
7048 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7049 (c-font-byte-compile): New var.
7050 (c--compile): New function. Use it instead of `byte-compile'.
7051 (c-cpp-matchers): Quote the value returned by
7052 `c-make-syntactic-matcher' in case it's not self-evaluating.
7053 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7054 parentheses instead (in case MATCHER happens to be a list).
7055 (c-font-lock-enum-tail): Remove unused var `start'.
7056 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7057 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7058 test into an argument.
7059 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7060 (c-get-char-property): Don't use `eval' just to unquote a constant.
7061 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7062 more efficiently.
7063 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7064 (c-clear-char-property, c-clear-char-properties): Check that `property'
7065 is a quoted constant.
7066 (c-emacs-features): Remove `infodock', `syntax-properties', and
7067 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7068 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7069 changing buffer, so we don't have to setq them again afterwards.
7070 (c-lang-const): Remove redundant symbolp assertions.
7071 (c-find-assignment-for-mode): Use `or'.
7072 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7073
7074 2014-09-09 Sam Steingold <sds@gnu.org>
7075
7076 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7077
7078 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7081 Change doc comments into docstrings.
7082 * Makefile.in: Remove cc-awk dependency.
7083
7084 2014-09-08 Sam Steingold <sds@gnu.org>
7085
7086 * progmodes/sql.el (sql-send-line-and-next): New command,
7087 bound to C-c C-n.
7088 (sql-show-sqli-buffer): Display the buffer instead of its name and
7089 bind the command to C-c C-z.
7090 (sql-default-directory): New user option.
7091 (sql-product-interactive): Bind `default-directory' to it to
7092 enable remote connections using Tramp.
7093 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7094 suitable buffer is available.
7095
7096 2014-09-08 Glenn Morris <rgm@gnu.org>
7097
7098 * calendar/calendar.el (calendar-basic-setup):
7099 Fix calendar-view-holidays-initially-flag and fancy display.
7100 * calendar/diary-lib.el (diary-live-p): Doc fix.
7101
7102 * calendar/calendar.el (calendar-basic-setup):
7103 Avoid clobbering calendar with diary. (Bug#18381)
7104
7105 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7108
7109 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7110
7111 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7112 as well (bug#18400).
7113
7114 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7115
7116 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7117
7118 2014-09-06 Leo Liu <sdl.web@gmail.com>
7119
7120 * emacs-lisp/pcase.el (pcase): Doc fix.
7121 (pcase--split-vector): New function.
7122 (pcase--q1): Support vector qpattern. (Bug#18327)
7123
7124 2014-09-05 Sam Steingold <sds@gnu.org>
7125
7126 * textmodes/tex-mode.el (tex-print-file-extension): New user
7127 option.
7128 (tex-print): Use it instead of the hard-coded string.
7129
7130 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7131
7132 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7133 Expand `default-directory'.
7134
7135 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7136
7137 * scroll-bar.el (horizontal-scroll-bars-available-p):
7138 New function.
7139 (horizontal-scroll-bar-mode): Rewrite using
7140 horizontal-scroll-bars-available-p.
7141 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7142 horizontal-scroll-bars-available-p.
7143
7144 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * subr.el (call-process-shell-command, process-file-shell-command):
7147 Make the `args' obsolete (bug#18409).
7148 (start-process-shell-command, start-file-process-shell-command):
7149 Use `declare'.
7150
7151 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7152
7153 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7154 "negative" hms forms.
7155
7156 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7157
7158 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7159 returns nil (bug#18391).
7160
7161 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7164 terminating paren (bug#18352).
7165 (eldoc-last-data-store): Return cached data.
7166 (eldoc-get-var-docstring): Avoid setq.
7167 (eldoc-get-fnsym-args-string): Clarify data flow.
7168
7169 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7170
7171 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7172 case where we're currently providing part of the &rest arg after some
7173 &key args, as in define-ibuffer-op (bug#18048).
7174
7175 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7178 buffer-local setting of which-func-mode.
7179 (which-func-mode): Use defvar-local.
7180 (which-function-mode): Don't reset which-func-mode in each buffer since
7181 it might have been set by someone else.
7182 (which-func-update-ediff-windows): Check which-function-mode.
7183
7184 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7185
7186 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7187 from frame-initial-frame-alist.
7188 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7189 (horizontal-scroll-bar-mode-explicit)
7190 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7191 (toggle-horizontal-scroll-bar): Remove.
7192 (horizontal-scroll-bar-mode): Remove defcustom.
7193 (horizontal-scroll-bar-mode): Fix doc-string.
7194 (scroll-bar-toolkit-scroll)
7195 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7196
7197 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * emacs-lisp/package.el (package-generate-description-file):
7200 Properly quote the arguments (bug#18332). Change second arg.
7201 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7202 quote the elements.
7203 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7204 the *-pkg.el file. Adjust to new calling convention of
7205 package-generate-description-file.
7206
7207 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7208 (gud-gdb-completions): Remove obsolete workaround.
7209
7210 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7211
7212 * subr.el (posn-col-row): Revert the change from commit
7213 2010-11-13T21:07:58Z!eliz@gnu.org, which
7214 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7215 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7216 introduced an off-by-one error in the reported row when there is a
7217 header line. (Bug#18384)
7218
7219 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7220
7221 * progmodes/python.el (python-indent-post-self-insert-function):
7222 Avoid electric colon at beginning-of-defun. (Bug#18228)
7223
7224 2014-09-03 Glenn Morris <rgm@gnu.org>
7225
7226 * tutorial.el (tutorial--display-changes):
7227 Fix 2014-08-01 change. (Bug#18382)
7228
7229 2014-09-03 Ken Brown <kbrown@cornell.edu>
7230
7231 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7232 the Cygwin-w32 build. (Bug#18347)
7233
7234 2014-09-03 Glenn Morris <rgm@gnu.org>
7235
7236 * tar-mode.el (tar--extract, tar-extract):
7237 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7238
7239 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7242 handle multiline elements (bug#18380).
7243
7244 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7245
7246 * ls-lisp.el (ls-lisp-use-string-collate)
7247 (ls-lisp-UCA-like-collation): New defcustoms.
7248 (ls-lisp-string-lessp): Use them to control sorting by file
7249 names. (Bug#18051)
7250 (ls-lisp-version-lessp): New function.
7251 (ls-lisp-handle-switches): Use it to implement the -v switch of
7252 GNU ls.
7253 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7254
7255 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7256
7257 * ibuffer.el: Replace mode-specific quit function with
7258 `quit-window' via `special-mode'.
7259 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7260 of local overrides.
7261 (ibuffer): Don't store previous windows configuration.
7262 Let `quit-window' handle restoring.
7263 (ibuffer-quit): Remove function. Use `quit-window' instead.
7264 (ibuffer-restore-window-config-on-quit): Remove variable.
7265 (ibuffer-prev-window-config): Remove variable.
7266
7267 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7268
7269 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7270 name instead of variable name in hook docstring. (Bug#18349)
7271
7272 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7273
7274 * window.el (display-buffer-at-bottom): Prefer bottom-left
7275 window to other bottom windows. Reuse a bottom window if it
7276 shows the buffer already. Suggested by Juri Linkov
7277 <juri@jurta.org> in discussion of (Bug#18181).
7278
7279 2014-08-29 Leo Liu <sdl.web@gmail.com>
7280
7281 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7282 append to minibuffer-setup-hook. (Bug#18341)
7283
7284 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7287 byte-compiler.
7288 (lookup-syntax-properties): Silence byte-compiler.
7289 (c-lang-defconst): Quote the code with `lambda' rather than with
7290 `quote'.
7291 (c-lang-const): Avoid unneeded setq.
7292 (c-lang-constants-under-evaluation): Add docstring.
7293 (c-lang--novalue): New constant.
7294 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7295 (c-get-lang-constant): Same here.
7296 Get the mode's value using `funcall' now that the code is quoted
7297 with `lambda'.
7298
7299 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7300
7301 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7302 (Bug#18326)
7303
7304 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7305
7306 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7307 interpretation of `portion-whole'.
7308
7309 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7310
7311 * net/tramp-adb.el: Spell author name correctly.
7312
7313 2014-08-28 João Távora <joaotavora@gmail.com>
7314
7315 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7316 use url-expand-file-name. (Bug#18310)
7317
7318 2014-08-28 Glenn Morris <rgm@gnu.org>
7319
7320 * emulation/cua-rect.el (cua--highlight-rectangle):
7321 Avoid error at point-min. (Bug#18309)
7322
7323 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7326 executable-find (bug#18244).
7327
7328 * simple.el (self-insert-uses-region-functions): Defvar.
7329
7330 2014-08-28 Glenn Morris <rgm@gnu.org>
7331
7332 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7333
7334 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7335
7336 * startup.el (normal-top-level): Now use internal--top-level-message.
7337
7338 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7339
7340 * startup.el (normal-top-level): Use top-level-message.
7341
7342 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7343
7344 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7345 URLs containing spaces and the like.
7346
7347 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7348
7349 * subr.el (remq): Fix docstring (Bug#18253).
7350
7351 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7352
7353 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7354
7355 2014-08-24 Alan Mackenzie <acm@muc.de>
7356
7357 Handle C++11's "auto" and "decltype" constructions.
7358 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7359 and return 'decltype.
7360 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7361 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7362 keyword.
7363 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7364 "decltype" keyword.
7365 (c-font-lock-c++-new): Handle "decltype" constructions.
7366 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7367 New c-lang-defconsts/defvars.
7368 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7369 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7370 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7371 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7372
7373 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7374 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7375 off from c->-op-cont-re.
7376 (c->-op-cont-tokens): Change to use the above.
7377 (c->-op-without->-cont-regexp): New lang-const.
7378 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7379 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7380
7381
7382 2014-08-23 Alan Mackenzie <acm@muc.de>
7383
7384 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7385 loop, bug #18306. The bug was introduced on 2014-08-02.
7386
7387 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7388
7389 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7390 Don't recognize a Top node if there are other sectioning commands
7391 earlier in the Texinfo file. This fixes a bug in
7392 texinfo-make-menu and avoids inflooping in
7393 texinfo-all-menus-update when they are invoked on texinfo.texi.
7394
7395 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7396
7397 * window.el (window--side-window-p): New function.
7398 (split-window, window-splittable-p): Use window--side-window-p to
7399 determine whether WINDOW can be split (Bug#18304).
7400 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7401 `window-splittable-p' and add another (Bug#18304).
7402
7403 2014-08-20 Sam Steingold <sds@gnu.org>
7404
7405 * progmodes/python.el (python-new-pythonpath): Extract from
7406 `python-shell-calculate-process-environment'.
7407
7408 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7409
7410 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7411 for &key args (bug#18048).
7412
7413 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7416 (eldoc-function-argstring-format): Remove.
7417 (eldoc-function-argstring): Always return upcase args.
7418 Use help-make-usage. Don't add parens.
7419 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7420 it's too late to do it right (bug#18048).
7421
7422 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7423
7424 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7425 (scroll-bar-toolkit-horizontal-scroll): When determining the
7426 paragraph direction, use the buffer of the window designated in
7427 the event.
7428
7429 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7430
7431 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7432 context of unified diff.
7433
7434 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7435
7436 Add dependencies to fix loaddefs race during parallel builds.
7437 Without this, for example, 'make -j bootstrap' can fail and report
7438 "Opening input file: no such file or directory,
7439 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7440 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7441 got confused because diary-loaddefs.el was being built in parallel.
7442 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7443 Depend on $(CAL_DIR)/cal-loaddefs.el.
7444 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7445
7446 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7447
7448 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7449 portion-whole for scrolling right-to-left text.
7450
7451 2014-08-15 Leo Liu <sdl.web@gmail.com>
7452
7453 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7454 elements from imenu.
7455
7456 2014-08-15 Glenn Morris <rgm@gnu.org>
7457
7458 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7459
7460 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7461
7462 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7463 Add Guile regexpses.
7464
7465 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7466
7467 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7468 add Guile debugger support for GUD.
7469
7470 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7473 (mouse-sel--ignore): New function.
7474 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7475 (mouse-sel-original-interprogram-cut-function)
7476 (mouse-sel-original-interprogram-paste-function): Remove.
7477
7478 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7479
7480 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7481 Call "git add" when there are no longer conflict markers.
7482
7483 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7484
7485 * vc/vc-git.el (vc-git-find-file-hook): New function.
7486 Adds support for calling smerge (and resolve) on a conflicted file.
7487 (vc-git-conflicted-files): New function.
7488 Useful in itself and a step towards better smerge support.
7489
7490 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7493 to the first part if they're the same as the selection.
7494
7495 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7496
7497 * image-mode.el (image-transform-reset): New command and menu item.
7498 (image-mode-map): Rearrange the menu items to put presumably more
7499 obscure items at the end.
7500
7501 2014-08-12 Juri Linkov <juri@jurta.org>
7502
7503 * vc/vc-annotate.el (vc-annotate-background-mode):
7504 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7505
7506 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7509
7510 2014-08-11 Sam Steingold <sds@gnu.org>
7511
7512 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7513 the presence of known validators (tidy, (o)nsgmls).
7514
7515 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7516
7517 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7518 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7519 (newsticker--treeview-list-add-item):
7520 Use `newsticker-treeview-date-format'.
7521
7522 2014-08-11 Glenn Morris <rgm@gnu.org>
7523
7524 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7525 chose coding system for writing before backing up, since it causes
7526 a more serious problem than the one it solves. (Closes Bug#18141,
7527 reopens Bug#13522.)
7528
7529 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7530
7531 * window.el (window-total-size): Make doc-string more self-contained.
7532
7533 * window.el (display-buffer-below-selected): Restore original
7534 behavior if buffer is already displayed in the window below the
7535 selected one (Bug#18181).
7536
7537 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7540 event (bug#18212).
7541
7542 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7543
7544 * info.el (info): Doc fix.
7545
7546 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7549 (bug#18212).
7550
7551 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7552
7553 * simple.el (default-line-height): A floating-point value of
7554 line-spacing means a fraction of the default frame font's height,
7555 not of the font currently used by the 'default' face.
7556 Truncate the pixel value, like the display engine does.
7557 (window-screen-lines): Use window-inside-pixel-edges for
7558 determining the window height in pixels. (Bug#18195)
7559
7560 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7561
7562 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7563
7564 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7565
7566 Enumerate evaluated sexp diary entries (Bug#7911).
7567 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7568 (icalendar-export-sexp-enumeration-days): New.
7569 (icalendar-export-region): Now `icalendar--convert-to-ical'
7570 returns a cons cell or a list of cons cells.
7571 (icalendar--convert-to-ical): Take care of
7572 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7573 (icalendar--convert-ordinary-to-ical)
7574 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7575 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7576 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7577 (icalendar--convert-anniversary-to-ical): Return cons cell.
7578 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7579 entries. Return (list of) cons cells.
7580
7581 2014-08-09 Juri Linkov <juri@jurta.org>
7582
7583 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7584 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7585
7586 2014-08-09 Alan Mackenzie <acm@muc.de>
7587
7588 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7589 for top-level that can cause unacceptable slow-down in scrolling.
7590 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7591 Antipov from 2013-10-14 in emacs-devel.
7592
7593 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7594
7595 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7596 `ibuffer-auto-mode' menu entry.
7597 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7598
7599 2014-08-08 Matthias Meulien <orontee@gmail.com>
7600
7601 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7602 (Bug#16394)
7603
7604 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7607 calls of window-min-pixel-height and window-min-pixel-width.
7608
7609 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7610
7611 * progmodes/ada-mode.el:
7612 * net/tramp.el (tramp-handle-file-symlink-p):
7613 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7614 about VMS, which we no longer support.
7615 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7616 and fix a FIXME, using convert-standard-filename in place of
7617 removed ada-convert-file-name.
7618
7619 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7620
7621 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7622
7623 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7624
7625 Refer to MS-DOS using the same name everywhere.
7626 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7627 ``msdog'' become ``MS-DOS''.
7628
7629 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7630
7631 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7632 Use cached "remote-copy-args" value, if available. (Bug#18199)
7633
7634 2014-08-07 Leo Liu <sdl.web@gmail.com>
7635
7636 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7637 Revert change on 2014-03-22.
7638
7639 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7640
7641 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7642 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7643 (Bug#13750).
7644
7645
7646 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7648 * image-mode.el (image-toggle-display-image): Always rescale images
7649 to not be bigger than the current window.
7650
7651 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7652
7653 * net/eww.el (eww-bookmarks-directory): New variable.
7654 (eww-write-bookmarks): Use it.
7655 (eww-read-bookmarks): Ditto.
7656
7657 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658
7659 * net/shr.el (shr-copy-url): Also copy the image URL.
7660
7661 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7662
7663 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7664 also for Tramp working buffers.
7665
7666 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7667
7668 * progmodes/python.el: Fix completions inside (i)pdb.
7669 (python-shell-completion-pdb-string-code): Make obsolete.
7670 (python-shell-completion-get-completions):
7671 Use python-shell-completion-string-code resending setup code
7672 continuously for (i)pdb.
7673
7674 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7675
7676 * rect.el (rectangle--default-line-number-format): Rename
7677 from misspelled rectange--default-line-number-format (Bug#18045).
7678 All uses changed.
7679
7680 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7681
7682 Don't mishandle year-9999 dates (Bug#18176).
7683 * calendar/parse-time.el (parse-time-rules):
7684 Allow years up to most-positive-fixnum.
7685 * calendar/time-date.el (date-to-time):
7686 Pass "Specified time is not representable" errors through.
7687
7688 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7689
7690 * progmodes/python.el: Completion code cleanups.
7691 (python-shell-completion-get-completions): Detect and send import
7692 statements directly to completion function.
7693 (python-shell-completion-at-point): Simplify prompt calculation
7694 and import vs input completion logic.
7695
7696 2014-08-02 Alan Mackenzie <acm@muc.de>
7697
7698 Fix confusion in C++ file caused by comma in "= {1,2},".
7699 Bug #17756.
7700 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7701 for a statement boundary marked by "}", check there's no "="
7702 before the "{".
7703 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7704 non-nil `comma-delim' argument.
7705 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7706 initializer expression more accurately.
7707
7708 Correct loop termination condition in c-syntactic-skip-backward.
7709 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7710 the situation where, after moving back out of a literal,
7711 skip-chars-backward doesn't move further, yet checks have still to
7712 be done.
7713
7714 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7715
7716 * tutorial.el (tutorial--display-changes): Accept punctuation
7717 characters before the key binding. (Bug#18146)
7718
7719 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7720
7721 * progmodes/python.el: Shell output capture enhancements.
7722 (python-shell-accept-process-output): New function.
7723 (inferior-python-mode)
7724 (python-shell-send-setup-code): Use it.
7725
7726 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7727
7728 * calendar/icalendar.el (icalendar--decode-isodatetime):
7729 Use actual current-time-zone when converting to local time. (Bug#15408)
7730
7731 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7732
7733 * window.el (window--state-put-2): Handle horizontal scroll
7734 bars, if present.
7735
7736 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7737
7738 * menu-bar.el (menu-bar-update-buffers): Update item list format
7739 in `buffers-menu' to confirm with changes to `get_keyelt'
7740 (r117463). (Bug#18016)
7741
7742 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7743
7744 * progmodes/python.el (inferior-python-mode): Make input prompts
7745 read-only.
7746
7747 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7748
7749 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7750 executables named "python2" or "python3".
7751 (tramp-get-remote-uid-with-python): Use parentheses around
7752 arguments to `print' to make it compatible with Python 3.
7753 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7754
7755 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7756
7757 * window.el (window--pixel-to-total): Use FRAME's root window, not
7758 that of the selected frame. (Bug#18112, Bug#16674)
7759
7760 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7761
7762 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7763 (Bug#18117)
7764
7765 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7766
7767 * progmodes/python.el (inferior-python-mode): Doc fix.
7768
7769 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7770
7771 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7772 not a character, ignore it instead of raising an error.
7773
7774 * calendar/todo-mode.el: Fix handling of marked items and make
7775 minor code improvements.
7776 (todo-edit-item): If there are marked items, ensure user can only
7777 invoke editing commands that work with marked items.
7778 (todo-edit-item--text): When there are marked items, make it a
7779 noop if invoked with point not on an item; otherwise, ensure it
7780 applies only to item at point.
7781 (todo-item-undone): If there are marked not-done items, return
7782 point to its original position before signaling user error.
7783 (todo--user-error-if-marked-done-item): New function.
7784 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7785 (todo-item-done): Use it.
7786
7787 2014-07-28 Glenn Morris <rgm@gnu.org>
7788
7789 * files.el (toggle-read-only): Re-add basic doc-string.
7790 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7791
7792 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7793 Replace missing `switch-to-prolog' with `run-prolog'.
7794 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7795
7796 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7797
7798 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7799 of file-wide setting when changing category-wide setting.
7800
7801 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7802
7803 * doc-view.el (doc-view-open-text): Don't require that the
7804 document is saved in a file (e.g., email attachment).
7805
7806 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7807
7808 Parse completion input in a iPython friendly way. (Bug#18084)
7809 * progmodes/python.el
7810 (python-shell-completion-at-point): Rename from
7811 python-shell-completion-complete-at-point.
7812 (inferior-python-mode): Use it.
7813 (python-completion-at-point): Rename from
7814 python-completion-complete-at-point. Parse input up to first
7815 backward occurrence of whitespace, open-paren, close-paren or
7816 string delimiter.
7817 (python-mode): Use it.
7818
7819 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7820
7821 * progmodes/python.el
7822 (python-shell-with-shell-buffer): New macro.
7823 (python-shell-font-lock-get-or-create-buffer)
7824 (python-shell-font-lock-kill-buffer)
7825 (python-shell-font-lock-with-font-lock-buffer)
7826 (python-shell-font-lock-cleanup-buffer)
7827 (python-shell-font-lock-toggle): Use it.
7828 (python-shell-font-lock-turn-on)
7829 (python-shell-font-lock-turn-off): Use it. Make command.
7830
7831 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7832
7833 Grab all Python process output before inferior-python-mode hooks.
7834 * progmodes/python.el (inferior-python-mode):
7835 Call accept-process-output and sit-for to ensure all output for process
7836 has been received before running hooks.
7837 (python-shell-internal-get-or-create-process):
7838 Cleanup accept-process-output and sit-for calls.
7839
7840 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7841
7842 More robust shell startup and code setup.
7843 * progmodes/python.el (python-shell-make-comint):
7844 Remove accept-process-output call.
7845 (python-shell-get-buffer): Return current buffer if major-mode is
7846 inferior-python-mode.
7847 (python-shell-get-or-create-process): Use it.
7848 (python-shell-send-setup-code): Send all setup code in one string,
7849 output success message and accept-process-output.
7850
7851 2014-07-27 Eli Zaretskii <eliz@gnu.org>
7852
7853 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7854 Add rudimentary support for bidirectional text.
7855
7856 2014-07-27 Martin Rudalics <rudalics@gmx.at>
7857
7858 * frame.el (frame-notice-user-settings): Rewrite using
7859 frame-initial-frame-tool-bar-height.
7860 * menu-bar.el (menu-bar-horizontal-scroll-bar)
7861 (menu-bar-no-horizontal-scroll-bar): New functions.
7862 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7863 scroll bars.
7864 * scroll-bar.el (scroll-bar-lines)
7865 (set-horizontal-scroll-bar-mode)
7866 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7867 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7868 (scroll-bar-toolkit-horizontal-scroll): New functions.
7869 (horizontal-scroll-bar-mode)
7870 (previous-horizontal-scroll-bar-mode)
7871 (horizontal-scroll-bar-mode-explicit): New variables.
7872 (horizontal-scroll-bar-mode): New option.
7873 (toggle-horizontal-scroll-bar): Do something.
7874 (top-level): Bind horizontal-scroll-bar mouse-1.
7875 * startup.el (tool-bar-originally-present): Remove variable.
7876 (command-line): Don't set tool-bar-originally-present.
7877 * window.el (window-min-height): Update doc-string.
7878 (window--dump-frame): Dump horizontal scroll bar values.
7879 (window--min-size-1): Handle minibuffer window separately.
7880 Count in margins and horizontal scroll bar. Return safe value
7881 iff IGNORE equals 'safe.
7882 (frame-windows-min-size): New function (used by frame resizing
7883 routines).
7884 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7885 scroll bars.
7886 (window--sanitize-window-sizes): New function.
7887 (window-split-min-size): Remove.
7888 (split-window): Count divider-width. Don't use
7889 `window-split-min-size' any more. Reword error messages.
7890 Sanitize windows sizes after splitting.
7891
7892 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
7893
7894 Use `defvar-local' more.
7895 * progmodes/hideshow.el
7896 (hs-c-start-regexp, hs-block-start-regexp)
7897 (hs-block-start-mdata-select, hs-block-end-regexp)
7898 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7899 remove corresponding `make-variable-buffer-local' top-level calls.
7900
7901 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7902
7903 Cleanup error signals. (Bug#18067)
7904 * progmodes/python.el
7905 (python-indent-shift-left): Use user-error instead.
7906 (python-shell-prompt-detect): Use lwarn with python group.
7907 (python-completion-complete-at-point)
7908 (python-eldoc--get-doc-at-point): Don't signal error.
7909
7910 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7911
7912 Support for packages in Python shell. (Bug#13570)
7913 * progmodes/python.el (python-shell--package-depth): New var.
7914 (python-shell-package-enable): New command.
7915 (python-util-list-directories, python-util-list-files)
7916 (python-util-list-packages): New functions.
7917
7918 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7919
7920 Faster comint output. (Bug#16875)
7921 * progmodes/python.el:
7922 (python-comint-output-filter-function): Make obsolete.
7923 (python-comint-postoutput-scroll-to-bottom): New function.
7924 (inferior-python-mode): Set comint-output-filter-functions to a
7925 minimum.
7926
7927 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7928
7929 * progmodes/python.el (python-shell-font-lock-post-command-hook):
7930 Safeguard current point and undo history.
7931
7932 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7933
7934 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
7935 * progmodes/python.el:
7936 (python-shell-prompt-input-regexps): Add iPython block prompt.
7937 (python-shell-output-syntax-table): Delete var.
7938 (python-shell-font-lock-with-font-lock-buffer): New macro.
7939 (python-shell-font-lock-get-or-create-buffer)
7940 (python-shell-font-lock-kill-buffer)
7941 (python-shell-font-lock-cleanup-buffer)
7942 (python-shell-font-lock-post-command-hook)
7943 (python-shell-font-lock-turn-off): New functions.
7944 (python-shell-font-lock-turn-on): New function.
7945 (inferior-python-mode): Use it.
7946 (python-shell-font-lock-toggle): New command.
7947 (python-shell-font-lock-enable): Rename from
7948 python-shell-enable-font-lock.
7949 (run-python-internal): Use it.
7950 (python-shell-font-lock-comint-output-filter-function): New function.
7951 (python-shell-comint-end-of-output-p): New function.
7952 (python-shell-output-filter): Use it.
7953 (python-util-comint-last-prompt): New function.
7954 (python-util-text-properties-replace-name): New function.
7955
7956 2014-07-25 Glenn Morris <rgm@gnu.org>
7957
7958 * vc/ediff-init.el (ediff-toggle-read-only-function):
7959 * vc/ediff-util.el (ediff-toggle-read-only):
7960 Replace obsolete toggle-read-only with read-only-mode.
7961
7962 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
7963
7964 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7965 with `save-match-data'. (Bug#18095)
7966
7967 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
7968
7969 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7970 order to ensure that row and col are lexically bound inside the
7971 evaluated sexp.
7972
7973 2014-07-21 Glenn Morris <rgm@gnu.org>
7974
7975 * progmodes/hideif.el (hide-ifdef-mode-submap):
7976 Also substitute read-only-mode.
7977 * bindings.el (mode-line-toggle-read-only):
7978 * bs.el (bs-toggle-readonly):
7979 * buff-menu.el (Buffer-menu-toggle-read-only):
7980 * dired.el (dired-toggle-read-only):
7981 * files.el (view-read-only, find-file-read-only)
7982 (find-file-read-only-other-window)
7983 (find-file-read-only-other-frame):
7984 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7985 Doc fixes re toggle-read-only.
7986
7987 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7988
7989 * progmodes/python.el: Add comment about pipe buffering and
7990 solutions for missing/delayed output in inferior Python shells.
7991 (Bug#17304)
7992
7993 * progmodes/python.el (python-mode): Don't set
7994 mode-require-final-newline. (Bug#17990)
7995
7996 Make python.el work with IPython automatically. (Bug#15510)
7997 * progmodes/python.el:
7998 (python-shell-completion-setup-code): New value supporting iPython.
7999 (python-shell-completion-string-code): New value supporting iPython.
8000 (python-shell-completion-get-completions): Use them.
8001 (python-shell-completion-module-string-code): Make obsolete.
8002 (python-shell-prompt-input-regexps)
8003 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8004 (python-shell-output-filter): Fix comment typo.
8005
8006 Fix Python shell prompts detection for remote hosts.
8007 * progmodes/python.el (python-shell-prompt-detect):
8008 Replace call-process with process-file and make it more robust.
8009
8010 Autodetect Python shell prompts. (Bug#17370)
8011 * progmodes/python.el:
8012 (python-shell-interpreter-interactive-arg)
8013 (python-shell-prompt-detect-enabled)
8014 (python-shell-prompt-detect-failure-warning)
8015 (python-shell-prompt-input-regexps)
8016 (python-shell-prompt-output-regexps): New vars.
8017 (python-shell-prompt-calculated-input-regexp)
8018 (python-shell-prompt-calculated-output-regexp): New vars.
8019 (python-shell-get-process-name)
8020 (python-shell-internal-get-process-name)
8021 (python-shell-output-filter)
8022 (python-shell-completion-get-completions): Use them.
8023 (python-shell-prompt-detect)
8024 (python-shell-prompt-validate-regexps): New functions.
8025 (python-shell-prompt-set-calculated-regexps): New function.
8026 (inferior-python-mode): Use it. Also honor overriden
8027 python-shell-interpreter and python-shell-interpreter-args.
8028 (python-shell-make-comint): Honor overriden
8029 python-shell-interpreter and python-shell-interpreter-args.
8030 (python-shell-get-or-create-process): Make it testable by allowing
8031 to call run-python non-interactively.
8032 (python-util-valid-regexp-p): New function.
8033 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8034 (python-shell-prompt-output-regexp)
8035 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8036
8037 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8040 smie-config--guess.
8041 (smie-config--guess): Use it.
8042
8043 * emacs-lisp/edebug.el: Use nadvice.
8044 (edebug-original-read): Remove.
8045 (edebug--read): Rename from edebug-read and add `orig' arg.
8046 (edebug-uninstall-read-eval-functions)
8047 (edebug-install-read-eval-functions): Use nadvice.
8048 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8049 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8050 (edebug-read-string, edebug-read-function): Use just `read'.
8051 (edebug-original-debug-on-entry): Remove.
8052 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8053 `orig' arg.
8054 (debug-on-entry): Override with nadvice.
8055
8056 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8057 it also makes sense to bind it to a non-mouse event.
8058
8059 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8060
8061 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8064 (bug#18015).
8065
8066 * rect.el (rectangle--string-preview): Don't assume there
8067 a non-nil default (bug#17984).
8068
8069 2014-07-16 Glenn Morris <rgm@gnu.org>
8070
8071 * desktop.el (after-init-hook): Disable startup frame restoration
8072 in non-graphical situations. (Bug#17693)
8073
8074 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8075 if it was "empty", or used for a different set of files. (Bug#17884)
8076
8077 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8078
8079 * bindings.el (mode-line-remote): If default-directory is not a
8080 string, don't call file-remote-p on it; instead state in the
8081 help-echo that it is nil. (Bug#17986)
8082
8083 2014-07-14 Daniel Colascione <dancol@dancol.org>
8084
8085 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8086 to `macroexpand-all'
8087
8088 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8089 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8090
8091 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8092
8093 Fix bug: C-x v v discarded existing log message (Bug#17884).
8094 * vc/vc-dispatcher.el (vc-log-edit):
8095 Don't clobber an already-existing log message.
8096
8097 2014-07-12 Glenn Morris <rgm@gnu.org>
8098
8099 * vc/log-edit.el (log-edit-changelog-entries):
8100 Check for a visited-but-never-saved ChangeLog.
8101
8102 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8105 a non-existing file (bug#17970).
8106
8107 * faces.el (face-name): Undo last change.
8108 (x-resolve-font-name): Don't call face-name (bug#17956).
8109
8110 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8111
8112 Fix dedenters and electric colon handling. (Bug#15163)
8113 * progmodes/python.el
8114 (python-rx-constituents): Add dedenter and block-ender.
8115 (python-indent-dedenters, python-indent-block-enders): Delete.
8116 (python-indent-context): Return new case for dedenter-statement.
8117 (python-indent-calculate-indentation): Handle new case.
8118 (python-indent-calculate-levels): Fix levels calculation for
8119 dedenter statements.
8120 (python-indent-post-self-insert-function): Fix colon handling.
8121 (python-info-dedenter-opening-block-message): New function.
8122 (python-indent-line): Use it.
8123 (python-info-closing-block)
8124 (python-info-closing-block-message): Remove.
8125 (python-info-dedenter-opening-block-position)
8126 (python-info-dedenter-opening-block-positions)
8127 (python-info-dedenter-statement-p): New functions.
8128
8129 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8130
8131 * files.el (out-of-memory-warning-percentage): New defcustom.
8132 (warn-maybe-out-of-memory): Use it.
8133
8134 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8135
8136 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8137 when calling `read-string'. (Bug#17839)
8138
8139 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8140
8141 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8142 warning.
8143
8144 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8145
8146 * files.el (warn-maybe-out-of-memory): New function.
8147 (find-file-noselect): Use it.
8148
8149 2014-07-09 Sam Steingold <sds@gnu.org>
8150
8151 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8152 `constant' like `bless', `return' &c
8153
8154 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8157 next line.
8158
8159 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8162 the middle of a line (bug#17896).
8163
8164 2014-07-09 Juri Linkov <juri@jurta.org>
8165
8166 * startup.el (command-line): Append displaying the warning about
8167 the errors in the init file to the end of `after-init-hook'.
8168 (Bug#17927)
8169
8170 * faces.el (face-name): Return input arg `face' as-is
8171 when it's not a symbol.
8172 (x-resolve-font-name): Don't check if the face is a symbol.
8173 (Bug#17956)
8174
8175 * facemenu.el (list-colors-print): In help-echo format use %.2f
8176 instead of %d because now HSV values are floating-point components
8177 between 0.0 and 1.0.
8178
8179 2014-07-09 Glenn Morris <rgm@gnu.org>
8180
8181 * emulation/cua-rect.el (cua--activate-rectangle):
8182 Avoid setting cua--rectangle to nil. (Bug#17877)
8183
8184 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8185
8186 * calendar/todo-mode.el: Fix wrong-type-argument error when
8187 marking multiple consecutive items.
8188 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8189 end of the todo and done items sections. Note in doc string that
8190 items marked by passing a numeric prefix argument can include the
8191 last todo and first done items.
8192 (todo-mark-category): Don't try to mark the empty line between the
8193 todo and done items sections.
8194
8195 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8198 proper Lisp quoting (bug#17934).
8199
8200 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8201 require-final-newline since prog-mode already took care of it (bug#17947).
8202
8203 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8204
8205 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8206 refer to the Todo mode Info manual. Update the comment on
8207 requiring cl-lib.
8208 (todo-find-filtered-items-file): Add todo-prefix overlays.
8209 (todo-filter-items): Reorder a let-bound variable to avoid a
8210 wrong-type-argument error on canceling the file choice dialog.
8211
8212 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * progmodes/octave.el (inferior-octave-mode):
8215 Set comint-input-ring-size to a number (bug#17912).
8216
8217 2014-07-09 Juri Linkov <juri@jurta.org>
8218
8219 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8220 and `isearch-mode' associated with nil. (Bug#17849)
8221
8222 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * linum.el (linum--face-height): New function (bug#17813).
8225 (linum-update-window): Use it to adjust margin to linum's width.
8226
8227 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8228 * eshell/em-smart.el (eshell-smart-scroll-window):
8229 Use with-selected-window.
8230
8231 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8232 Remove also pointless window&mark manipulation.
8233
8234 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8235 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8236 (perl-continuation-line-p): Don't skip over anything else than labels.
8237 Return the previous char.
8238 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8239 and update callers accordingly. For continuation lines, check the
8240 the case of array hashes.
8241 (perl-backward-to-noncomment): Make it non-interactive.
8242 (perl-backward-to-start-of-continued-exp): Rewrite.
8243
8244 2014-07-08 Sam Steingold <sds@gnu.org>
8245
8246 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8247 New user commands.
8248
8249 2014-07-08 Juri Linkov <juri@jurta.org>
8250
8251 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8252 (vc-annotate-color-map): Use less saturated colors (20%) for
8253 background-mode.
8254 (vc-annotate-very-old-color): Add default value for background-mode.
8255 (vc-annotate-background): Set default value to nil since now text on
8256 the default backgrounds should be legible in light and dark modes.
8257 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8258 (Bug#17808)
8259
8260 2014-07-08 Juri Linkov <juri@jurta.org>
8261
8262 * simple.el (transpose-chars): Don't move point into read-only area.
8263 (Bug#17829)
8264
8265 2014-07-08 Juri Linkov <juri@jurta.org>
8266
8267 * window.el (with-displayed-buffer-window): New macro.
8268 (with-temp-buffer-window, with-current-buffer-window):
8269 Use `macroexp-let2' to evaluate and bind variables
8270 in the same order as macro arguments.
8271 (display-buffer--action-function-custom-type):
8272 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8273
8274 * minibuffer.el (minibuffer-completion-help): Replace
8275 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8276 with actions that display *Completions* at-bottom when called
8277 from the minibuffer, or below-selected in a normal buffer.
8278 Associate `window-height' with `fit-window-to-buffer'.
8279 Let-bind `pop-up-windows' to nil.
8280
8281 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8282 instead of `with-current-buffer-window'. (Bug#17809)
8283
8284 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8285
8286 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8287 (hide-ifdef-env-backup): New variable.
8288 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8289 New customizable variables.
8290 (hif-clear-all-ifdef-defined): New defun.
8291 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8292 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8293 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8294 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8295 Fix bug to hide the correct #elif region(s).
8296 (hif-range-elif): New defun.
8297 (hif-recurse-level): New var.
8298 (hif-evaluate-region, hif-evaluate-macro): New defun.
8299 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8300 fully hidden.
8301 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8302 Better interaction.
8303
8304 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/dbus.el (dbus-peer-handler): New defun.
8307 (dbus-register-service): Register it. (Bug#17858)
8308 (dbus-managed-objects-handler): Fix docstring.
8309
8310 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8311
8312 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8313 (narrow-to-defun): New arg include-comments, defaulting to it
8314 (bug#16328).
8315
8316 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8319 different calling convention to rectangle--unhighlight-for-redisplay.
8320
8321 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8322
8323 * net/tramp.el (tramp-call-process): Handle error strings.
8324
8325 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8326
8327 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8328 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8329
8330 * net/trampver.el: Update release number.
8331
8332 2014-07-03 Juri Linkov <juri@jurta.org>
8333
8334 * desktop.el (desktop-save): Rename arg `auto-save' to
8335 `only-if-changed'. Doc fix. (Bug#17873)
8336
8337 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8340 Use insert-for-yank (bug#17271).
8341
8342 2014-07-03 Leo Liu <sdl.web@gmail.com>
8343
8344 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8345 Support lexical-binding.
8346
8347 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * vc/log-edit.el (log-edit-goto-eoh): New function.
8350 (log-edit--match-first-line): Use it (bug#17861).
8351
8352 2014-07-03 Glenn Morris <rgm@gnu.org>
8353
8354 * vc/log-edit.el (log-edit-hook): Add missing :version.
8355
8356 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8357
8358 * progmodes/python.el (python-indent-post-self-insert-function):
8359 Enhancements to electric indentation behavior inside
8360 parens. (Bug#17658)
8361
8362 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8365 buffer-invisibility-spec (bug#17867).
8366
8367 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8368
8369 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8370 pass "-a".
8371
8372 2014-07-03 Glenn Morris <rgm@gnu.org>
8373
8374 * cus-edit.el (help):
8375 * finder.el (finder-known-keywords):
8376 * help.el (help-for-help-internal):
8377 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8378 (ediff-redraw-registry-buffer):
8379 * vc/ediff-ptch.el (ediff-patch-file-internal):
8380 Doc fixes re "online" help. (Bug#17803)
8381
8382 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8383 (idlwave-mode): Doc URL update.
8384
8385 2014-07-01 Juri Linkov <juri@jurta.org>
8386
8387 * man.el: Display man pages immediately and use process-filter
8388 to format them asynchronously.
8389 (Man-width): Doc fix.
8390 (man): Doc fix.
8391 (Man-start-calling): Use `with-selected-window' to get
8392 `frame-width' and `window-width'.
8393 (Man-getpage-in-background): Call `Man-notify-when-ready'
8394 immediately after creating a new buffer. Call `Man-mode' and set
8395 `mode-line-process' in the created buffer. Set process-filter to
8396 `Man-bgproc-filter' in start-process branch. In call-process branch
8397 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8398 Use `Man-start-calling' inside `with-current-buffer'.
8399 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8400 (Man-cleanup-manpage): Don't print messages.
8401 (Man-bgproc-filter): New function.
8402 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8403 user moved it during asynchronous formatting. Move calls of
8404 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8405 `Man-bgproc-filter'. Move the call of `Man-mode' to
8406 `Man-getpage-in-background'. Use `quit-restore-window'
8407 instead of `kill-buffer'. Use `message' instead of `error'
8408 because errors are caught by process sentinel.
8409 (Man-mode): Move calls of `Man-build-page-list',
8410 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8411 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8412
8413 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8414 for the message about the man page cleaned up.
8415
8416 2014-07-01 Mario Lang <mlang@delysid.org>
8417
8418 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8419 cosutomization option `gnutls-verify-error'.
8420
8421 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8424 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8425
8426 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8427 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8428 is suspended (bug#17857).
8429
8430 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8431
8432 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8433 Prefer utf-8 coding. (Bug#17859)
8434
8435 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8436
8437 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8438 for `reverse'.
8439
8440 2014-06-30 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8443 (autoload-ensure-default-file): Maybe make existing output writable.
8444 * Makefile.in (AUTOGEN_VCS): Remove.
8445 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8446
8447 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8448
8449 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8450
8451 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8452
8453 New if-let, when-let, thread-first and thread-last macros.
8454
8455 * emacs-lisp/subr-x.el
8456 (internal--listify, internal--check-binding)
8457 (internal--build-binding-value-form, internal--build-binding)
8458 (internal--build-bindings): New functions.
8459 (internal--thread-argument, thread-first, thread-last)
8460 (if-let, when-let): New macros.
8461
8462 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8463
8464 * net/rcirc.el (rcirc-buffer-process): Restore previous
8465 behaviour. (Bug#17772)
8466
8467 2014-06-29 Alan Mackenzie <acm@muc.de>
8468
8469 Don't call c-parse-state when c++-template-syntax-table is active.
8470 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8471 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8472 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8473
8474 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8475
8476 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8477 account for file-wide setting of todo-top-priorities-overrides.
8478 Make code a bit cleaner.
8479
8480 2014-06-28 Glenn Morris <rgm@gnu.org>
8481
8482 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8483
8484 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8485
8486 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8487 category-wide setting of todo-top-priorities-overrides, check for
8488 a file-wide setting and fontify accordingly.
8489
8490 2014-06-28 Glenn Morris <rgm@gnu.org>
8491
8492 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8493
8494 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8497
8498 2014-06-28 K. Handa <handa@gnu.org>
8499
8500 Fix Bug#17739.
8501
8502 * composite.el: Setup composition-function-table for dotted circle.
8503 (compose-gstring-for-dotted-circle): New function.
8504
8505 * international/characters.el: Add category "^" to all
8506 non-spacing characters.
8507
8508 2014-06-28 Glenn Morris <rgm@gnu.org>
8509
8510 * Makefile.in (doit): Remove force rule.
8511 (custom-deps, finder-data, autoloads, update-subdirs)
8512 (compile-one-process): PHONY targets do not need force rules.
8513
8514 * Makefile.in (compile-main, compile, compile-always):
8515 No need to explicitly pass variables to ourself in recursive calls.
8516
8517 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8520
8521 2014-06-26 Glenn Morris <rgm@gnu.org>
8522
8523 * Makefile.in (update-authors): Update for moved authors.el.
8524
8525 2014-06-26 Leo Liu <sdl.web@gmail.com>
8526
8527 * skeleton.el (skeleton-end-hook): Default to nil and move the
8528 work to skeleton-insert. (Bug#17850)
8529
8530 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8531
8532 * calc/calc-alg.el (math-beforep):
8533 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8534 Simplify because string-lessp can accept symbols as args.
8535
8536 2014-06-26 Daiki Ueno <ueno@gnu.org>
8537
8538 * emacs-lisp/package.el (package--check-signature):
8539 If package-check-signature is allow-unsigned, don't signal error when
8540 we can't verify signature because of missing public key
8541 (bug#17625).
8542
8543 2014-06-26 Glenn Morris <rgm@gnu.org>
8544
8545 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8546 Remove outdated declaration.
8547
8548 * emacs-lisp/authors.el (authors-valid-file-names)
8549 (authors-renamed-files-alist): Additions.
8550
8551 2014-06-26 Leo Liu <sdl.web@gmail.com>
8552
8553 * textmodes/picture.el (picture-set-tab-stops):
8554 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8555 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8556
8557 * progmodes/asm-mode.el (asm-calculate-indentation):
8558 Use indent-next-tab-stop.
8559
8560 * indent.el (indent-accumulate-tab-stops): New function.
8561
8562 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8565 (package-desc-status): Obey it.
8566
8567 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8568
8569 * calendar/todo-mode.el: Fix two bugs.
8570 (todo-insert-item--basic): If user cancels item insertion to
8571 another category before setting priority, show original category
8572 whether it is in the same or a different file.
8573 (todo-set-item-priority): After selecting category, instead of
8574 moving point to top, which extends an active region, restore it.
8575
8576 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * help-fns.el (describe-function-1): Check file-name is a string before
8579 calling help-fns--autoloaded-p (bug#17564).
8580
8581 2014-06-26 Juri Linkov <juri@jurta.org>
8582
8583 * desktop.el (desktop-auto-save-enable)
8584 (desktop-auto-save-disable): New functions.
8585 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8586 (desktop-read): Disable the autosave before loading the desktop,
8587 and enable afterwards. (Bug#17351)
8588
8589 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 Fix some indentation problem with \; and pipes (bug#17842).
8592 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8593 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8594 New functions.
8595 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8596 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8597 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8598
8599 2014-06-26 Glenn Morris <rgm@gnu.org>
8600
8601 * emacs-lisp/find-func.el (find-function-C-source-directory):
8602 Use file-accessible-directory-p.
8603
8604 * ps-samp.el: Make it slightly less awful.
8605 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8606 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8607 Only set local values.
8608 (ps-article-subject, ps-article-author): Use standard functions
8609 like mail-fetch-field.
8610 (ps-info-file, ps-info-node): Use match-string.
8611 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8612 (ps-samp-ps-setup): ... new function.
8613
8614 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8615 Optimize away code unneeded on any modern Emacs.
8616
8617 * emacs-lisp/authors.el: Move to ../admin.
8618
8619 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8620
8621 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8622
8623 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8624 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8625 performance enhancements.
8626 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8627 expansion.
8628 (hif-factor, hif-string-concatenation, intern-safe): Support string
8629 concatenation and argumented macro expansion.
8630 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8631 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8632 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8633 (hif-canonicalize-tokens, hif-place-macro-invocation)
8634 (hif-parse-macro-arglist): Mostly new functions for supporting
8635 argumented macro expansion.
8636 (hif-string-concatenation, hif-stringify, hif-token-concat)
8637 (hif-token-stringification, hif-token-concatenation):
8638 Stringification and concatenation.
8639 (hif-find-next-relevant): Fix comments.
8640 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8641 some cases involving #elif.
8642 (hif-find-define, hif-add-new-defines): New functions for automatically
8643 scanning of defined symbols.
8644 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8645 (hide-ifdef-undef): Fix behavior to match CPP.
8646
8647 2014-06-25 Glenn Morris <rgm@gnu.org>
8648
8649 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8650 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8651 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8652 files. They are not relevant to the original issue (bug#1004),
8653 and cause unnecessary recompilation (bug#2151).
8654
8655 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8658 (landmark--last-pos): New var.
8659 (landmark--intangible-chars): New const.
8660 (landmark--intangible): New function.
8661 (landmark-mode, landmark-move): Use it.
8662 (landmark-mode): Remove properties.
8663 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8664 (landmark-cross-qtuple):
8665 Don't worry about `intangible' any more.
8666 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8667 (landmark-init-display): Don't set `intangible' and `point-entered'.
8668 (square): Remove. Inline it instead.
8669 (landmark--distance): Rename from `distance'.
8670 (landmark-calc-distance-of-robot-from): Rename from
8671 calc-distance-of-robot-from.
8672 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8673
8674 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8675
8676 * files.el (dir-locals-find-file, file-relative-name):
8677 * info.el (Info-complete-menu-item):
8678 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8679 to compare-strings to avoid out-of-range errors.
8680 * subr.el (string-prefix-p): Adjust to match strict range
8681 checking in compare-strings.
8682
8683 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8684
8685 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8686 for comment lines non-greedy and stopping at newlines to fix stack
8687 overflows with large files.
8688
8689 2014-06-24 Eli Barzilay <eli@barzilay.org>
8690
8691 * calculator.el (calculator-last-input): Drop 'ascii-character property
8692 lookup.
8693
8694 2014-06-24 Leo Liu <sdl.web@gmail.com>
8695
8696 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8697 tab-stop-list to nil. (Bug#16381)
8698
8699 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8700 (indent-rigidly-left-to-tab-stop)
8701 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8702 (move-to-tab-stop): Change callers.
8703
8704 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8705
8706 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8707 wrt behavior of \n as the first/last element of a skeleton.
8708
8709 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8710
8711 * net/tramp-adb.el (tramp-adb-handle-process-file):
8712 * net/tramp-sh.el (tramp-sh-handle-process-file):
8713 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8714 the output buffer when DISPLAY is non-nil. (Bug#17815)
8715
8716 2014-06-24 Glenn Morris <rgm@gnu.org>
8717
8718 * play/landmark.el (landmark-move-down, landmark-move-up):
8719 Fix 2007-10-20 change - preserve horizontal position.
8720
8721 2014-06-23 Sam Steingold <sds@gnu.org>
8722
8723 * simple.el (kill-append): Remove undo boundary depending on ...
8724 (kill-append-merge-undo): New user option.
8725
8726 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * simple.el (handle-shift-selection, exchange-point-and-mark)
8729 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8730 (transient-mark-mode): Use&set the global value.
8731 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8732 * emulation/edt.el (edt-emulation-off): Save&restore the global
8733 transient-mark-mode setting.
8734 * obsolete/pc-select.el (pc-selection-mode): Use the
8735 transient-mark-mode function.
8736
8737 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8738
8739 * international/fontset.el (script-representative-chars):
8740 Add representative characters for scripts added in Unicode 7.0.
8741 (otf-script-alist): Synchronize with the latest registry of OTF
8742 script tags.
8743
8744 * international/characters.el (char-script-table): Update for
8745 scripts added and codepoint ranges changed in Unicode 7.0.
8746
8747 2014-06-23 Eli Barzilay <eli@barzilay.org>
8748
8749 * calculator.el (calculator-standard-displayer): Fix bug in use of
8750 `calculator-groupize-number'.
8751 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8752 `eval' code, so it works in v24.3.1 too.
8753 (calculator-last-input): Comment to clarify purpose.
8754
8755 2014-06-22 Mario Lang <mlang@delysid.org>
8756
8757 * textmodes/rst.el (rst-comment-region): From from -> from.
8758
8759 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8760
8761 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8762
8763 * electric.el (electric-layout-post-self-insert-function):
8764 * emacs-lisp/ert.el (ert--insert-infos):
8765 * obsolete/vi.el (vi-set-mark):
8766 * term.el (term-handle-scroll):
8767 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8768 * wid-edit.el (widget-editable-list-value-create):
8769 Prefer point-marker to copy-marker of point.
8770
8771 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8772
8773 Fix completion retrieval parsing (bug#17209).
8774 * progmodes/python.el (python-mode):
8775 (python-util-strip-string): New function.
8776 (python-shell-completion-get-completions): Use it.
8777
8778 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8779
8780 * skeleton.el (skeleton-insert): Fix last change.
8781
8782 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8783
8784 Enhancements for outline integration (bug#17796).
8785 * progmodes/python.el (python-mode): Properly set
8786 outline-heading-end-regexp so that comments after colons for
8787 defuns are supported.
8788
8789 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8790
8791 * skeleton.el (skeleton-insert): Doc fix.
8792
8793 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8796 (smie-config-guess): Use smie-config-local so the rules are obeyed
8797 (bug#17818).
8798
8799 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8800 since it's already done inside the loop (bug#17819).
8801
8802 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8803
8804 * mouse.el (mouse-drag-line): Re-remove code initially removed
8805 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8806 (Bug#17819).
8807
8808 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8811 align with the surrounding parent (bug#17721).
8812
8813 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8814
8815 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8816 locally to nil.
8817 (texinfo-insert-block, texinfo-insert-@end)
8818 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8819 local setting of skeleton-end-newline by adding an explicit \n to
8820 the skeletons where appropriate. (Bug#17801)
8821
8822 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8825 (smie-indent--hanging-p): Use it.
8826 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8827
8828 2014-06-21 Leo Liu <sdl.web@gmail.com>
8829
8830 * simple.el (read-quoted-char): Don't let help chars pop up help
8831 buffer. (Bug#16617)
8832
8833 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8836 for | (bug#17621).
8837
8838 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8839 Drop unknown events instead of burping.
8840
8841 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8842
8843 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8844 and later. (Bug#17790)
8845
8846 2014-06-21 Juri Linkov <juri@jurta.org>
8847
8848 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8849 to `soft'. (Bug#17554)
8850
8851 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8854 (bug#17737).
8855
8856 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
8857
8858 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8859 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
8860
8861 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
8862
8863 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8864 `unread-command-events'.
8865
8866 2014-06-19 William Xu <william.xwl@gmail.com>
8867
8868 * progmodes/hideif.el (hif-string-to-number): Don't return float for
8869 hex integer constants (bug#17807).
8870
8871 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * international/mule-util.el (truncate-string-ellipsis): New var.
8874 (truncate-string-to-width): Use it.
8875
8876 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
8877
8878 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8879 (lisp-string-in-doc-position-p): New function, extracted from
8880 lisp-font-lock-syntactic-face-function.
8881 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8882
8883 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
8884
8885 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
8886
8887 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8890 (bubbles--game-over): Don't add `intangible' properties since they
8891 didn't work anyway.
8892
8893 2014-06-18 Juri Linkov <juri@jurta.org>
8894
8895 * vc/ediff-init.el (ediff-current-diff-Ancestor)
8896 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8897 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8898 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8899 Add `min-colors 88' version with removed black/white foregrounds.
8900 (Bug#10181)
8901
8902 2014-06-18 Juri Linkov <juri@jurta.org>
8903
8904 * vc/diff-mode.el (diff-changed): Empty face definition to use
8905 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
8906 (diff-context): Use darker color on light background and
8907 lighter color on dark background.
8908
8909 2014-06-18 Juri Linkov <juri@jurta.org>
8910
8911 * vc/diff-mode.el (diff-refine-changed): Rename from
8912 `diff-refine-change' for consistency with `diff-changed'.
8913 (diff-refine-change): Add obsolete face alias. (Bug#10181)
8914
8915 * vc/smerge-mode.el (smerge-refined-changed): Rename from
8916 `smerge-refined-change'.
8917 (smerge-refined-change): Add obsolete face alias.
8918
8919 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * rect.el (rectangle-preview): New custom.
8922 (rectangle): New group.
8923 (rectangle--pos-cols): Add `window' argument.
8924 (rectangle--string-preview-state, rectangle--string-preview-window):
8925 New vars.
8926 (rectangle--string-flush-preview, rectangle--string-erase-preview)
8927 (rectangle--space-to, rectangle--string-preview): New functions.
8928 (string-rectangle): Use them.
8929 (rectangle--inhibit-region-highlight): New var.
8930 (rectangle--highlight-for-redisplay): Obey it. Make sure
8931 `apply-on-region' uses the point-crutches of the right window.
8932 Use :align-to rather than multiple spaces.
8933
8934 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
8935
8936 * ruler-mode.el (ruler-mode-window-col)
8937 (ruler-mode-mouse-set-left-margin)
8938 (ruler-mode-mouse-set-right-margin): Fix calculation of column
8939 from mouse position (Bug#17768).
8940
8941 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
8942
8943 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8944 without varname or rhs causes crash.
8945 (dun-ftp): Fix bug where blank ftp password is allowed, making it
8946 impossible to win endgame.
8947 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8948 rlogin is anymore.
8949 (dun-help): Bump version number; update contact info.
8950
8951 2014-06-15 Eli Barzilay <eli@barzilay.org>
8952
8953 * calculator.el (calculator-prompt, calculator-remove-zeros)
8954 (calculator-mode-hook, calculator-operators, calculator-stack)
8955 (calculator-mode): Tweak docstring.
8956 (calculator-user-operators): Tweak docstring, fix a bug in the last
8957 example.
8958 (calculator-displayer): `std' case has an optional boolean.
8959 (calculator-displayers): Use the new boolean to group in decimal mode.
8960 (calculator-mode-map, calculator, calculator-message)
8961 (calculator-op-arity, calculator-add-operators)
8962 (calculator-string-to-number, calculator-displayer-prev)
8963 (calculator-displayer-next, calculator-remove-zeros)
8964 (calculator-eng-display, calculator-number-to-string)
8965 (calculator-update-display, calculator-last-input)
8966 (calculator-clear-fragile, calculator-digit, calculator-decimal)
8967 (calculator-exp, calculator-saved-move, calculator-clear)
8968 (calculator-copy, calculator-put-value, calculator-help)
8969 (calculator-expt, calculator-truncate): Minor code improvements.
8970 (calculator-need-3-lines): New function pulling out code from
8971 `calculator'.
8972 (calculator-get-display): Rename from `calculator-get-prompt', and
8973 improved.
8974 (calculator-push-curnum): Rename from `calculator-curnum-value', and
8975 extended for all uses of it. All callers changed.
8976 (calculator-groupize-number): New utility for splitting a number into
8977 groups.
8978 (calculator-standard-displayer): Improve code, new optional argument to
8979 use comma-split groups, make second argument optional too to use with
8980 'left/'right inputs. All callers changed.
8981 (calculator-reduce-stack-once): New utility, doing the meat of what
8982 `calculator-reduce-stack' used to do, much improved (mostly using
8983 `pcase' for conciseness and clarity).
8984 (calculator-reduce-stack): Now doing just the reduction loop using
8985 `calculator-reduce-stack-once'.
8986 (calculator-funcall): Improve code, make it work in v24.3.1 too.
8987 (calculator-last-input): Improve code, remove some old cruft.
8988 (calculator-quit): Kill `calculator-buffer' in electric mode too.
8989 (calculator-integer-p): Remove.
8990 (calculator-fact): Improve code, make it work on non-integer values
8991 too (using truncated numbers).
8992
8993 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
8994
8995 Sync with Tramp 2.2.10.
8996
8997 * net/tramp.el (tramp-methods): Tweak docstring.
8998 (tramp-handle-file-accessible-directory-p): Check for
8999 `file-readable-p' instead of `file-executable-p'.
9000 (tramp-check-cached-permissions):
9001 Use `tramp-compat-file-attributes'.
9002 (tramp-call-process): Add new argument VEC. Adapt callees in all
9003 tramp*.el files.
9004
9005 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9006 (tramp-adb-maybe-open-connection): Don't set
9007 `tramp-current-*' variables.
9008
9009 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9010 file properties of temporary buffers.
9011
9012 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9013
9014 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9015 (tramp-gvfs-handle-delete-file): Flush file
9016 properties, not directory properties.
9017 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9018 reading "unix::mode".
9019 (tramp-gvfs-handle-file-name-all-completions):
9020 Use "-h" option for "gvfs-ls".
9021 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9022 (tramp-gvfs-send-command): Simplify traces.
9023
9024 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9025 (vc-git-program, vc-hg-program): Declare.
9026 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9027 (tramp-methods) <nc>: Add new method.
9028 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9029 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9030 `tramp-login-args'.
9031 (tramp-default-user-alist): Add "nc".
9032 (top): Remove completion function for "sftp". Add completion
9033 functions for "nc" and "psftp".
9034 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9035 Implement support for "nc" method.
9036 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9037 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9038 Tweak docstring.
9039 (tramp-sh-handle-write-region): Tweak error message.
9040 (tramp-sh-handle-vc-registered): Remove backends when the remote
9041 binary does not exist.
9042 (tramp-find-inline-encoding): Do not raise an error.
9043 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9044 the "nc" case. Quote result also locally.
9045
9046 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9047 (tramp-smb-handle-set-file-acl): Use `start-process'.
9048 (tramp-smb-handle-insert-directory): Use progress reporter.
9049 (tramp-smb-handle-rename-file): Flush also file properties of
9050 FILENAME.
9051
9052 * net/trampver.el: Update release number.
9053
9054 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9057 add-to-list.
9058 (ses-localvars): Remove ses--local-printer-list, unused.
9059 (ses--metaprogramming): New macro. Use it to defvar variables.
9060 (ses-set-localvars): Simplify.
9061 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9062 property-list into an alist.
9063 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9064 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9065 Remove; use defstruct accessors/setters instead.
9066 (ses-cell-formula-aset, ses-cell-printer-aset)
9067 (ses-cell-references-aset): Remove, use setf instead.
9068 (ses--alist-get): New function.
9069 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9070 Use an alist instead of a plist and don't do move-to-front since the
9071 list is always short.
9072 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9073 (ses-cell-property-set-fun, ses-cell-property-set)
9074 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9075 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9076 (ses--letref): New macro.
9077 (ses-cell-property-pop): Rewrite.
9078 (ses--cell): Rename from ses-cell and make it into a function.
9079 Make `formula' fallback on `value' if nil.
9080 (ses--local-printer): Rename from ses-local-printer and make it into
9081 a function.
9082 (ses-set-cell): Turn it into a macro so finding the accessor from the
9083 field name is done at compile time.
9084 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9085 `ref' before adding `sym' to :ses-repair-reference.
9086 (ses-calculate-cell): Use ses--letref rather than
9087 ses-cell-property-get-handle.
9088 (ses-write-cells): Use a single prin1-to-string.
9089 (ses-setter-with-undo): New function.
9090 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9091 (ses-unset-with-undo): Remove.
9092 (ses-load): Prefer apply' over `eval'.
9093 (ses-read-printer, ses-set-column-width): Use standard "(default
9094 foo)" format.
9095
9096 2014-06-15 Glenn Morris <rgm@gnu.org>
9097
9098 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9099
9100 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9101 Replace delete-duplicates and mapcan by cl- versions throughout.
9102 And cl-macroexpand-all by macroexpand-all.
9103 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9104
9105 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9106
9107 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9108
9109 2014-06-15 Juri Linkov <juri@jurta.org>
9110
9111 * bindings.el: Put `ascii-character' property on keypad keys
9112 mapped to characters. (Bug#17759)
9113
9114 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9117 bumping forward into a closing paren (bug#17761).
9118
9119 * term/xterm.el (xterm--version-handler): Work around for OSX
9120 Terminal.app (bug#17607).
9121
9122 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9123
9124 * play/dunnet.el (dun-describe-room, dun-mode):
9125 If a lamp is in the room, you won't be eaten by a grue.
9126
9127 2014-06-13 Glenn Morris <rgm@gnu.org>
9128
9129 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9130 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9131 (compile-always): GNU make automatically passes
9132 command-line arguments to sub-makes.
9133
9134 * calendar/calendar.el (calendar-generate-window):
9135 Remove pointless call to font-lock-fontify-buffer.
9136
9137 2014-06-13 Matthias Meulien <orontee@gmail.com>
9138
9139 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9140 (bug#17767).
9141
9142 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * simple.el (set-mark-command): Simplify a bit.
9145
9146 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9147
9148 * help.el (help--key-binding-keymap): New function.
9149 (help--binding-locus): New function.
9150 (describe-key): Mention the keymap in which the binding was
9151 found. (bug#13948)
9152
9153 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * hippie-exp.el (he--all-buffers): New function.
9156 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9157 (try-expand-dabbrev-all-buffers): Use it.
9158
9159 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9160
9161 * hippie-exp.el (try-expand-line-all-buffers)
9162 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9163 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9164 original buffer, in case they're buffer-local.
9165
9166 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9167
9168 * ses.el (ses-initial-global-parameters-re): New defconst, a
9169 specific regexp is needed now that ses.el can handle both
9170 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9171 local printers.
9172 (ses-localvars): Add local variables needed for local printer handling.
9173 (ses-set-localvars): Handle hashmap initialization.
9174 (ses-paramlines-plist): Add param-line for number of local printers.
9175 (ses-paramfmt-plist): New defconst, needed for code factorization
9176 between functions `ses-set-parameter' and
9177 `ses-file-format-extend-paramter-list'
9178 (ses-make-local-printer-info): New defsubst.
9179 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9180 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9181 (ses-cell-printer-aset): New defmacro.
9182 (ses-local-printer-compile): New defun.
9183 (ses-local-printer): New defmacro.
9184 (ses-printer-validate, ses-call-printer): Add support for local
9185 printer functions.
9186 (ses-file-format-extend-paramter-list): New defun.
9187 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9188 factorization.
9189 (ses-load): Add support for local printer functions.
9190 (ses-read-printer): Update docstring and add support for local printer
9191 functions.
9192 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9193 (ses-safe-printer): Add support for local printer functions.
9194
9195 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9196
9197 * ffap.el (ffap-lax-url): New var (bug#17723).
9198 (ffap-url-at-point): Use it.
9199 (ffap-file-at-point): Avoid returning just "/".
9200
9201 2014-06-12 Matthias Meulien <orontee@gmail.com>
9202
9203 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9204 (python-mode-map): Bind it.
9205
9206 * progmodes/python.el (class skeleton): Don't erase last char of class
9207 name (bug#17683).
9208
9209 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9210
9211 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9212
9213 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9214
9215 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9216 (bug#17745).
9217
9218 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9219
9220 * international/mule-cmds.el: Use lexical-binding.
9221 (ucs-names): Simplify.
9222
9223 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9224
9225 * progmodes/python.el (run-python): Use read-shell-command.
9226
9227 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * rect.el: Make it possible to move bounds past EOL or into TABs.
9230 (operate-on-rectangle): Use apply-on-rectangle.
9231 (rectangle--mark-crutches): New var.
9232 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9233 (rectangle--crutches, rectangle--reset-crutches): New functions.
9234 (apply-on-rectangle): Obey crutches. Avoid setq.
9235 Fix missing final iteration if end is at EOB&BOL.
9236 (rectangle-mark-mode-map): Add remap bindings for
9237 exchange-point-and-mark and char/line movements.
9238 (rectangle--*-char): New function.
9239 (rectangle-exchange-point-and-mark, rectangle-right-char)
9240 (rectangle-left-char, rectangle-forward-char)
9241 (rectangle-backward-char, rectangle-next-line)
9242 (rectangle-previous-line): New commands.
9243 (rectangle--place-cursor): New function.
9244 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9245
9246 2014-06-08 Glenn Morris <rgm@gnu.org>
9247
9248 * startup.el (initial-buffer-choice): Doc fix.
9249 Reset :version (adding an option does not merit a :version bump).
9250
9251 * bookmark.el (bookmark-load):
9252 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9253
9254 2014-06-08 Juri Linkov <juri@jurta.org>
9255
9256 * desktop.el: Activate auto-saving on window configuration changes.
9257 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9258 `desktop-auto-save-set-timer' to/from
9259 `window-configuration-change-hook'.
9260 (desktop-auto-save-set-timer): Change REPEAT arg of
9261 `run-with-idle-timer' from t to nil.
9262 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9263
9264 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9265
9266 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9267 vc-hg-command (bug#17570).
9268
9269 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9272 (bug#17702).
9273
9274 2014-06-08 Glenn Morris <rgm@gnu.org>
9275
9276 * startup.el (window-setup-hook): Doc fix.
9277
9278 * emacs-lisp/package.el (package-check-signature)
9279 (package-unsigned-archives): Doc fixes.
9280
9281 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9282
9283 * window.el (display-buffer-use-some-window): Don't make window
9284 used smaller than it was before (Bug#17671).
9285
9286 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9287
9288 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9289 'redisplay' instead of '(sit-for 0)'.
9290
9291 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9292
9293 * net/tramp.el (tramp-ssh-controlmaster-options):
9294 Improve search regexp. (Bug#17653)
9295
9296 2014-06-08 Glenn Morris <rgm@gnu.org>
9297
9298 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9299
9300 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9301
9302 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9303
9304 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9305
9306 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9307 (bug#17586).
9308
9309 * vc/vc-hg.el (vc-hg-log-graph): New var.
9310 (vc-hg-print-log): Use it.
9311 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9312 graph output (bug#17515).
9313
9314 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9317 even happened elsewhere.
9318
9319 2014-06-06 Mario Lang <mlang@delysid.org>
9320
9321 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9322 `recenter' if `current-buffer' is equal to `window-buffer'.
9323
9324 2014-06-05 Leo Liu <sdl.web@gmail.com>
9325
9326 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9327
9328 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9329
9330 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9331 New function which calls a callback on portions of the buffer that are
9332 outside of ignored environments.
9333 (tildify-build-regexp): Remove function since it is now
9334 incorporated in `tildify-foreach-region-outside-env' where it is
9335 optimized and simplified by the use of `mapconcat'.
9336 (tildify-tildify): Return number of substitutions made so that…
9337 (tildify-count): …can be removed.
9338 (tildify-find-env): Accept a new PAIRS argument which was
9339 previously looked up in `tildify-ignored-environments-alist' each
9340 time the function was called. With this change, the lookup is
9341 performed only once in `tildify-foreach-region-outside-env'.
9342 (tildify-region): Greatly simplify the function since now most of
9343 the work is done by `tildify-foreach-region-outside-env'.
9344 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9345 and instead using or.
9346
9347 * textmodes/tildify.el (tildify-ignored-environments-alist):
9348 Optimize environments regexes
9349
9350 Each time beginning of an environment to ignore is found,
9351 `tildify-find-env' needs to identify regexp for the ending
9352 of the environment. This is done by trying all the opening
9353 regexes on matched text in a loop, so to speed that up, this
9354 loop should have fewer things to match, which can be done by
9355 using alternatives in the opening regexes.
9356
9357 Coincidentally, this should make matching of the opening
9358 regexp faster as well thanks to the use of `regexp-opt' and
9359 having common prefix pulled from many regexes.
9360
9361 * textmodes/tildify.el (tildify-string-alist)
9362 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9363 of supported modes since `xml-mode' is no longer a thing but just
9364 an alias to the former. Also include comments and insides of tags
9365 in `tildify-ignored-environments-alist' for XML modes. Finally,
9366 since XML does not define “&nbsp;”[1], use a numeric reference for
9367 a no-break space (namely “&#160;”)
9368
9369 [1] XML specification defines only a handful of predefined entities.
9370 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9371 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9372 >, &, ' and " respectively). This is in contrast to HTML and even
9373 XHTML which defined a whole bunch of entities including “&nbsp;”.
9374
9375 * textmodes/tildify.el (tildify-pattern-alist)
9376 (tildify-string-alist, tildify-ignored-environments-alist):
9377 Improve defcustom's types by adding more tags explaining what each
9378 value means and replace “sexp” used in
9379 `tildify-ignored-environments-alist' with a full type declaration.
9380
9381 * textmodes/tildify.el (tildify-find-env): Fix matched group
9382 indexes in end-regex building
9383
9384 When looking for a start of an ignore-environment, the regex is built
9385 by concatenating regexes of all the environments configured in
9386 `tildify-ignored-environments-alist'. So for example, the following
9387 list could be used to match TeX's \verb and \verb* commands:
9388
9389 (("\\\\verb\\(.\\)" . (1))
9390 ("\\\\verb\\*\\(.\\)" . (1)))
9391
9392 This would result in the following regex being used to find the start
9393 of any of the variants of the \verb command:
9394
9395 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9396
9397 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9398 won't match anything, and thus (match-string 1) will be nil, which
9399 will cause building of the end-matching regex to fail.
9400
9401 Fix this by using capture groups from the time when the opening
9402 regexes are matched individually.
9403
9404 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9405 in `tildify-find-env'
9406
9407 The `tildify-ignored-environments-alist' allows the end-regex to
9408 be provided not as a static string but mix of strings and indexes
9409 of groups matched the begin-regex. For example, the “\verb!…!”
9410 TeX-command (where “!” is an arbitrary character) is handled
9411 using:
9412
9413 ("\\\\verb\\*?\\(.\\)" . (1))
9414
9415 In the same way, the following should be supported as well:
9416
9417 ("open-\\(.\\)" . ("end-" 1))
9418
9419 However the tildify-find-env function fails at
9420
9421 (concat result
9422 (if (stringp (setq aux (car expression)))
9423 expression ; BUG: expression is a list
9424 (regexp-quote (match-string aux))))
9425
9426 where the string part is handled incorrectly.
9427
9428 The most trivial fix would be to replace `expression' in the
9429 true-part of the if-statement with `aux', but instead, this commit
9430 optimizes `tildify-find-env' by changing it to use `mapconcat'
9431 rather than open-coded while-loop.
9432
9433 2014-06-05 Mario Lang <mlang@delysid.org>
9434
9435 * woman.el (woman-mapcan): Remove.
9436 (woman-parse-colon-path): Use cl-mapcan instead.
9437
9438 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9439
9440 * register.el: Add link to Emacs manual in Commentary.
9441
9442 2014-06-02 Sam Steingold <sds@gnu.org>
9443
9444 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9445 (popup-menu): ...here.
9446 (menu-bar-open): Use it to avoid an error when `lookup-key'
9447 returns a number.
9448
9449 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9450
9451 * net/tramp.el (tramp-call-process): Add traces.
9452 (tramp-handle-unhandled-file-name-directory): Return "/".
9453
9454 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9455
9456 Sync with upstream verilog-mode revision 3cd8144.
9457 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9458 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9459 (verilog-type-font-keywords): Add nor.
9460 (verilog-batch-execute-func): Force reading of Local Variables.
9461 Fix printing "no changes to be saved" with verilog-batch.
9462 (verilog-auto-arg-ports): Doc fix.
9463 Add verilog-auto-arg-format to support newlines in AUTOARG.
9464 (verilog-auto-arg): Doc fix.
9465
9466 2014-06-02 Glenn Morris <rgm@gnu.org>
9467
9468 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9469 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9470 * emulation/ws-mode.el: Move to obsolete/.
9471 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9472
9473 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9474
9475 * simple.el (keyboard-quit): Force update of mode lines, to remove
9476 the "Def" indicator, if we were defining a macro. (Bug#17615)
9477
9478 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * minibuffer.el (minibuffer-force-complete-and-exit):
9481 Obey minibuffer-default (bug#17545).
9482
9483 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9484 (bug#17619).
9485
9486 * subr.el (set-transient-map): Don't wait for some "nested"
9487 transient-map to finish if we're only supposed to be active for
9488 the next command (bug#17642).
9489
9490 2014-06-02 Leo Liu <sdl.web@gmail.com>
9491
9492 * emacs-lisp/gv.el (window-buffer, window-display-table)
9493 (window-dedicated-p, window-hscroll, window-point, window-start):
9494 Fix gv-expander. (Bug#17630)
9495
9496 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9499 clicks (bug#17633).
9500
9501 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9502 for the single comma, since ", " is *very* common in normal French text
9503 (bug#17643).
9504
9505 2014-06-02 Glenn Morris <rgm@gnu.org>
9506
9507 * emacs-lisp/package.el (package-check-signature)
9508 (package-unsigned-archives): Fix :version.
9509
9510 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * subr.el (sit-for): Don't run input-methods (bug#15614).
9513
9514 2014-06-02 Glenn Morris <rgm@gnu.org>
9515
9516 * cus-start.el: Fix some :version numbers.
9517
9518 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * simple.el (deactivate-mark): Set mark-active to nil even if
9521 deactivation is done via setting transient-mark-mode to nil,
9522 since one is buffer-local and the other is global.
9523
9524 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9525 there can't be more than 2 arguments (bug#17584).
9526
9527 2014-06-02 Glenn Morris <rgm@gnu.org>
9528
9529 * simple.el (filter-buffer-substring-functions)
9530 (filter-buffer-substring-function, buffer-substring-filters)
9531 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9532
9533 * minibuffer.el (completion-in-region-functions, completion-in-region)
9534 (completion--in-region): Doc fixes.
9535
9536 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9537 (expand-abbrev, abbrev--default-expand): Doc fixes.
9538
9539 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9540
9541 Include sources used to create macuvs.h.
9542 * international/README: Refer to the Unicode Terms of Use rather
9543 than copying it bodily here, as that simplifies maintenance.
9544
9545 2014-06-01 Glenn Morris <rgm@gnu.org>
9546
9547 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9548
9549 2014-05-31 Glenn Morris <rgm@gnu.org>
9550
9551 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9552
9553 2014-05-30 Glenn Morris <rgm@gnu.org>
9554
9555 * loadup.el: Treat `command-line-args' more flexibly.
9556
9557 2014-05-30 Alan Mackenzie <acm@muc.de>
9558
9559 Guard (looking-at "\\s!") from XEmacs.
9560 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9561
9562 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9563
9564 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9565 The argument COUNT is now optional, to be more backward-compatible.
9566 Doc fix. (Bug#17560)
9567
9568 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9569
9570 * whitespace.el (whitespace-report-region):
9571 Simplify documentation.
9572 (whitespace-report-region): Allow report-if-bogus to take the
9573 value `never', for non-interactive use.
9574 (whitespace-report): Refer to whitespace-report-region's
9575 documentation.
9576
9577 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9580 Side benefit: it works without jit-lock.
9581 (whitespace-point--used): New buffer-local var.
9582 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9583 (whitespace-color-off): Use font-lock-flush.
9584 (whitespace-point--used, whitespace-point--flush-used): New functions.
9585 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9586 (whitespace-empty-at-eob-regexp): Use them.
9587 (whitespace-post-command-hook): Rewrite.
9588
9589 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9590 (font-lock-fontify-buffer): Mark interactive-only.
9591 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9592 Make buffer-local.
9593 (font-lock-specified-p): Remove redundant boundp check.
9594 (font-lock-flush-function, font-lock-ensure-function): New vars.
9595 (font-lock-turn-on-thing-lock): Set them.
9596 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9597 (font-lock-after-change-function): Make `old-len' optional.
9598 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9599 Call font-lock-flush, just in case.
9600 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9601 recent Emacsen.
9602 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9603 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9604 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9605 and with-syntax-table.
9606 * textmodes/conf-mode.el (conf-quote-normal):
9607 * progmodes/sh-script.el (sh-set-shell):
9608 * progmodes/prog-mode.el (prettify-symbols-mode):
9609 * progmodes/f90.el (f90-font-lock-n):
9610 * progmodes/cwarn.el (cwarn-mode):
9611 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9612 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9613 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9614 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9615 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9616 font-lock-fontify-buffer-function and
9617 font-lock-unfontify-buffer-function.
9618 (rmail-unfontify-buffer-function, rmail-fontify-message):
9619 Use with-silent-modifications.
9620 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9621 and font-lock-ensure.
9622 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9623
9624 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9625
9626 * emacs-lisp/package.el (package-generate-autoloads):
9627 Inhibit backup files.
9628
9629 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9630
9631 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9632 (bug#17608).
9633
9634 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9635
9636 * textmodes/tildify.el (tildify-buffer, tildify-region):
9637 Add dont-ask option.
9638
9639 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9642 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9643
9644 * subr.el (internal--funcall-interactively): New.
9645 (internal--call-interactively): Remove.
9646 (called-interactively-p): Detect funcall-interactively instead of
9647 call-interactively.
9648 * simple.el (repeat-complex-command): Use funcall-interactively.
9649 (repeat-complex-command--called-interactively-skip): Remove.
9650
9651 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * register.el (register-read-with-preview): Don't burp on
9654 frame switches (e.g. due to the frame we just popped).
9655
9656 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9657 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9658
9659 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9660
9661 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9662
9663 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9664
9665 * window.el (window--dump-frame): Remove interactive specification.
9666
9667 2014-05-26 Glenn Morris <rgm@gnu.org>
9668
9669 * hippie-exp.el (he-line-search-regexp):
9670 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9671
9672 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9673
9674 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9675 to avoid errors when trying to create or visit a file foo.todo
9676 located outside to todo-directory, and to allow having such files
9677 without them being tied to Todo mode (bug#17482).
9678 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9679 (todo-archive-done-item, todo-find-filtered-items-file)
9680 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9681 (todo-category-completions, todo-read-category): When visiting a
9682 Todo file, make sure we're in the right mode and the buffer local
9683 variables are set.
9684 (todo-make-categories-list, todo-reset-nondiary-marker)
9685 (todo-reset-done-string, todo-reset-comment-string):
9686 After processing all Todo files, kill the buffers of those files that
9687 weren't being visited before the processing.
9688 (todo-display-as-todo-file, todo-add-to-buffer-list)
9689 (todo-visit-files-commands): Comment out.
9690 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9691 (auto-mode-alist): Remove add-to-list calls making Todo file
9692 extensions unrestrictedly tied to Todo modes.
9693
9694 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9697 (advice-function-member-p): Tell it to check both names and functions
9698 (bug#17531).
9699 (advice--add-function): Adjust call accordingly.
9700
9701 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9702
9703 * calendar/todo-mode.el: Miscellaneous bug fixes.
9704 (todo-delete-file): When deleting an archive but not its todo
9705 file, make sure to update the todo file's category sexp.
9706 (todo-move-category): Keep the moved category's name unless the
9707 file moved to already has a category with that name. If the
9708 numerically last category of the source file was moved, make the
9709 first category current to avoid selecting a nonexisting category.
9710 (todo-merge-category): Fix implementation to make merging to a
9711 category in another file work as documented. Eliminate now
9712 insufficient and unnecessary renaming of archive category, correct
9713 document string accordingly, and clarify it. If the numerically
9714 last category of the source file was merged, make the first
9715 category current to avoid selecting a nonexisting category.
9716 (todo-archive-done-item): When there are marked items and point
9717 happens to be on an unmarked item, ignore the latter. Don't leave
9718 point below last item after archiving marked items.
9719 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9720 from an archive with only one category deletes the archive only
9721 when the category is empty after unarchiving. Make sure the todo
9722 file's category sexp is updated.
9723 (todo-read-file-name): Allow an existing file name even when it is
9724 not required (todo-move-category needs this to work as documented).
9725 (todo-add-file): Call todo-validate-name to reject the name of an
9726 existing todo file (needed due to fix in todo-read-file-name).
9727 (todo-reset-nondiary-marker): Also reset in filtered items files.
9728 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9729 regexp filtered items files.
9730 (todo-reset-highlight-item): Also reset in filtered items files.
9731 Fix incorrect variable reference in document string.
9732
9733 2014-05-26 Glenn Morris <rgm@gnu.org>
9734
9735 * window.el (window--dump-frame): Avoid error in --without-x builds.
9736
9737 2014-05-26 Glenn Morris <rgm@gnu.org>
9738
9739 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9740
9741 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9742
9743 * frame.el (set-frame-font): Doc fix.
9744
9745 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9746
9747 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9748
9749 * emacs-lisp/package.el (package--download-one-archive):
9750 Use `write-region' instead of `save-buffer' to avoid running various
9751 hooks. (Bug#17155)
9752 (describe-package-1): Same. Insert newline at the end of the
9753 buffer if appropriate.
9754
9755 2014-05-26 Juri Linkov <juri@jurta.org>
9756
9757 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9758 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9759 Add more modifiers: meta, control, shift, hyper, super, alt.
9760 (Bug#17439)
9761
9762 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9763 to allow changing its value with `set-variable'.
9764
9765 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9768 #; comments.
9769 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9770 New functions.
9771 (scheme-mode-variables): Set syntax-propertize-function instead of
9772 font-lock-syntactic-face-function.
9773 (scheme-font-lock-syntactic-face-function): Delete.
9774
9775 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9776
9777 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9778 (bug#17392).
9779
9780 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9781
9782 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9783 for a temporary file name.
9784
9785 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9786
9787 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9788
9789 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9790
9791 * net/dbus.el (dbus-init-bus, dbus-call-method)
9792 (dbus-call-method-asynchronously, dbus-send-signal)
9793 (dbus-method-return-internal, dbus-method-error-internal):
9794 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9795
9796 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9797
9798 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9799 methods which do not have a doc string. (Bug#17490)
9800
9801 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9802
9803 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9804 also for AMS Math's \eqref macro.
9805
9806 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9807
9808 Arrange to never byte-compile the generated -pkg.el file.
9809
9810 * emacs-lisp/package.el (package-generate-description-file):
9811 Output first-line comment to set buffer-local var `no-byte-compile'.
9812 Suggested by Dmitry Gutov:
9813 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9814
9815 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9816
9817 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9818
9819 * emacs-lisp/package.el (package-generate-description-file):
9820 Inline `package--alist-to-plist'; rewrite to selectively
9821 quote alist values that are not self-quoting.
9822 (package--alist-to-plist): Delete func.
9823
9824 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
9825
9826 * term/xterm.el (xterm-function-map): Add mapping for shifted
9827 keypad keys.
9828
9829 2014-05-24 Daniel Colascione <dancol@dancol.org>
9830
9831 * progmodes/subword.el (subword-find-word-boundary): Move point to
9832 correct spot before search. (Bug#17580)
9833
9834 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9835 breaking the build.
9836
9837 2014-05-24 Leo Liu <sdl.web@gmail.com>
9838
9839 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
9840
9841 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * minibuffer.el (completion--sreverse): Remove.
9844 (completion--common-suffix): Use `reverse' instead.
9845 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9846
9847 2014-05-22 Glenn Morris <rgm@gnu.org>
9848
9849 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9850
9851 2014-05-21 Daniel Colascione <dancol@dancol.org>
9852
9853 * files.el (interpreter-mode-alist): Add mksh.
9854
9855 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9856 derivative.
9857 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9858 mksh. Improve custom spec; allow regular expressions.
9859 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9860 (sh-after-hack-local-variables): New function.
9861 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
9862 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9863 the normalization.
9864 (sh-canonicalize-shell): Rewrite to support regexes.
9865
9866 2014-05-21 Leo Liu <sdl.web@gmail.com>
9867
9868 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9869
9870 2014-05-19 Leo Liu <sdl.web@gmail.com>
9871
9872 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9873
9874 2014-05-18 Glenn Morris <rgm@gnu.org>
9875
9876 * loadup.el:
9877 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9878
9879 2014-05-14 Sam Steingold <sds@gnu.org>
9880
9881 * progmodes/python.el (python-shell-get-or-create-process):
9882 Do not bind `current-prefix-arg' so that C-c C-z does not talk
9883 back unless requested.
9884
9885 2014-05-14 Glenn Morris <rgm@gnu.org>
9886
9887 * subr.el (with-file-modes): New macro.
9888 * printing.el (pr-save-file-modes): Make obsolete.
9889 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9890 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9891 Add with-file-modes.
9892 * doc-view.el (doc-view-make-safe-dir):
9893 * epg.el (epg--start):
9894 * files.el (locate-user-emacs-file, make-temp-file)
9895 (backup-buffer-copy, move-file-to-trash):
9896 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9897 * eshell/esh-util.el (eshell-with-private-file-modes)
9898 (eshell-make-private-directory):
9899 * net/browse-url.el (browse-url-mosaic):
9900 * obsolete/mailpost.el (post-mail-send-it):
9901 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9902 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9903 Use with-file-modes.
9904
9905 * vc/emerge.el (emerge-make-temp-file): Simplify.
9906
9907 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
9908 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9911 suffix (bug#15419).
9912
9913 2014-05-14 Glenn Morris <rgm@gnu.org>
9914
9915 * vc/emerge.el (emerge-temp-file-prefix):
9916 Make pointless option obsolete.
9917 (emerge-temp-file-mode): Make non-functional option obsolete.
9918
9919 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
9920
9921 * net/browse-url.el (browse-url):
9922 Use `unhandled-file-name-directory' when setting `default-directory',
9923 in order to circumvent stalled remote connections. (Bug#17425)
9924
9925 2014-05-14 Glenn Morris <rgm@gnu.org>
9926
9927 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9928 Optimize on Emacs, which has the relevant functions for ages.
9929
9930 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * simple.el (undo-make-selective-list): Obey undo-no-redo.
9933
9934 2014-05-12 Sam Steingold <sds@gnu.org>
9935
9936 * calendar/time-date.el (seconds-to-string): New function to
9937 pretty print time delay in seconds.
9938
9939 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * mpc.el (mpc-format): Trim Date to the year.
9942 (mpc-songs-hashcons): Shorten the Date field.
9943
9944 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9945 into autoloading just because of a silly indirection.
9946
9947 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
9948
9949 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
9950
9951 2014-05-12 Glenn Morris <rgm@gnu.org>
9952
9953 * emacs-lisp/find-gc.el: Move to ../admin.
9954
9955 * printing.el (pr-version):
9956 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9957
9958 * net/browse-url.el (browse-url-mosaic):
9959 Create /tmp/Mosaic.PID as a private file.
9960
9961 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9964 (advice--member-p): If name is given, only compare the name.
9965 (advice--remove-function): Don't stop at the first match.
9966 (advice--normalize-place): New function.
9967 (add-function, remove-function): Use it.
9968 (advice--add-function): Pass the name, if any, to
9969 advice--remove-function.
9970
9971 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
9972
9973 * electric.el (electric-indent-post-self-insert-function): Don't use
9974 `pos' after modifying the buffer (bug#17449).
9975
9976 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
9977
9978 * calendar/todo-mode.el (todo-insert-item-from-calendar):
9979 Correct argument list to conform to todo-insert-item--basic.
9980
9981 2014-05-12 Glenn Morris <rgm@gnu.org>
9982
9983 * files.el (cd-absolute): Test if directory is accessible
9984 rather than executable. (Bug#17330)
9985
9986 * progmodes/compile.el (recompile):
9987 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
9988
9989 * net/browse-url.el (browse-url-mosaic):
9990 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
9991 This is CVE-2014-3423.
9992
9993 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * mouse.el: Use the normal toplevel loop while dragging.
9996 (mouse-set-point): Handle multi-clicks.
9997 (mouse-set-region): Handle multi-clicks for drags.
9998 (mouse-drag-region): Update call accordingly.
9999 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10000 Use the normal event loop instead of a local while/read-event loop.
10001 (global-map): Remove redundant bindings for double/triple-mouse-1.
10002 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10003 Generate synthetic down events when the protocol only sends up events.
10004 (xterm-mouse-last): Remove.
10005 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10006 terminal parameter instead.
10007 (xterm-mouse--set-click-count): New function.
10008 (xterm-mouse-event): Detect/generate double/triple clicks.
10009 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10010
10011 * info.el (Info-quoted): New face.
10012 (Info-mode-font-lock-keywords): New var.
10013 (Info-mode): Use it.
10014
10015 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10016 are a hindrance for C-x C-e.
10017
10018 2014-05-11 Leo Liu <sdl.web@gmail.com>
10019
10020 * net/rcirc.el (rcirc-sentinel): Fix last change.
10021
10022 2014-05-08 Sam Steingold <sds@gnu.org>
10023
10024 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10025 (rcirc-sentinel): Auto-reconnect to the server if
10026 `rcirc-reconnect-delay' is non-0 (but not more often than its
10027 value in case the host is off-line).
10028
10029 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10030
10031 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10032
10033 2014-05-09 Glenn Morris <rgm@gnu.org>
10034
10035 * files.el (file-expand-wildcards):
10036 * man.el (Man-support-local-filenames):
10037 * printing.el (pr-i-directory, pr-interface-directory):
10038 * progmodes/grep.el (lgrep, rgrep):
10039 * textmodes/ispell.el (ispell-call-process)
10040 (ispell-call-process-region, ispell-start-process)
10041 (ispell-init-process): Use file-accessible-directory-p.
10042
10043 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10046 (xterm-mouse--read-event-sequence-1000): Return nil if something
10047 looks fishy.
10048 (xterm-mouse-event): Propagate it.
10049 (xterm-mouse-translate-1): Handle it.
10050
10051 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10052
10053 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10054 four slots of the parameter list are filled, make sure to pass it
10055 to the argument list of todo-insert-item--basic.
10056
10057 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10060 Add optional `seen' argument to detect and break infinite loops.
10061
10062 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10063
10064 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10065 (trace-unsafe, trace-use-tree): Make parentheses style be
10066 according to Emacs style.
10067
10068 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10069
10070 * net/tramp-sh.el (tramp-remote-process-environment):
10071 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10072 Add :version entry.
10073 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10074 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10075 extra "PSx=..." commands.
10076 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10077 (Bug#17295)
10078
10079 (tramp-uudecode): Replace the hard-coded temporary file name by a
10080 format specifier.
10081 (tramp-remote-coding-commands): Enhance docstring.
10082 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10083 name. (Bug#17415)
10084 This is CVE-2014-3424.
10085
10086 2014-05-08 Glenn Morris <rgm@gnu.org>
10087
10088 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10089 (find-gc-source-files): Update some names.
10090 (trace-call-tree): Simplify and update.
10091 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10092 This is CVE-2014-3422.
10093
10094 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * minibuffer.el (completion--try-word-completion): Revert fix for
10097 Bug#15980 (bug#17375).
10098
10099 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10100 Always store button numbers in the same way in xterm-mouse-last;
10101 Don't burp is xterm-mouse-last is not set as expected.
10102 Never return negative indices.
10103
10104 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10105
10106 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10107 Backtrack one char if the global/char-literal var matcher hits
10108 inside a string. The next char could be the beginning of an
10109 expression expansion.
10110
10111 2014-05-08 Glenn Morris <rgm@gnu.org>
10112
10113 * help-fns.el (describe-function-1): Test for an autoload before a
10114 macro, since `macrop' works on autoloads. (Bug#17410)
10115
10116 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10119
10120 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10121 Make sure the new point we return is within the new string (bug#17239).
10122
10123 2014-05-05 Daniel Colascione <dancol@dancol.org>
10124
10125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10126 Port `gnu' pattern to rx.
10127
10128 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10129
10130 Remove unneeded prompt when closing a buffer with active
10131 emacsclient ("Buffer ... still has clients"), #16548.
10132 * server.el (server-start): Remove the only call to:
10133 (server-kill-buffer-query-function): Remove.
10134
10135 2014-05-04 Leo Liu <sdl.web@gmail.com>
10136
10137 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10138 Defvar to pacify compiler.
10139
10140 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10141
10142 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10143
10144 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10147 Use nil rather than `default' for the "default" appearance (bug#17388).
10148 * vc/ediff-util.el (ediff-inferior-compare-regions)
10149 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10150 a misleading `default' value when it's really a boolean.
10151 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10152 overlay is not visible.
10153
10154 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10155
10156 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10157 (todo-menu): Uncomment and update.
10158
10159 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10160
10161 * calendar/todo-mode.el: Reimplement item editing to have the same
10162 basic user interface as item insertion, and make small UI and
10163 larger internal improvements to the latter.
10164 (todo-insert-item): Add reference to the Todo mode user manual to
10165 the documentation string.
10166 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10167 adjust all callers. Change signature to combine diary and
10168 nonmarking arguments. Incorporate functionality of deleted item
10169 copying command and add error checking. Remove detailed
10170 descriptions of the arguments from the documentation string, since
10171 this is treated in the Todo mode user manual.
10172 (todo-copy-item, todo-edit-multiline-item)
10173 (todo-edit-done-item-comment, todo-edit-item-header)
10174 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10175 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10176 (todo-edit-item-date-year, todo-edit-item-date-month)
10177 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10178 Remove.
10179 (todo-edit-item): Reimplement as wrapper command for
10180 todo-edit-item--next-key and make it distinguish done and not done
10181 todo items.
10182 (todo-edit-item--text): New function, replacing old command
10183 todo-edit-item and incorporating deleted commands
10184 todo-edit-multiline-item and todo-edit-done-item-comment.
10185 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10186 Use only numeric value of prefix argument. Remove detailed
10187 descriptions of the arguments from the documentation string, since
10188 this is treated in the Todo mode user manual.
10189 (todo-edit-item--diary-inclusion): New function, replacing old
10190 command todo-edit-item-diary-inclusion and incorporating and fixing
10191 functionality of deleted command todo-edit-item-diary-nonmarking,
10192 making sure to remove todo-nondiary-marker when adding
10193 diary-nonmarking-symbol.
10194 (todo-edit-category-diary-inclusion): Make sure to delete
10195 diary-nonmarking-symbol when adding todo-nondiary-marker.
10196 (todo-edit-category-diary-nonmarking): Fix indentation.
10197 (todo-insert-item--parameters): Group diary and nonmarking
10198 parameters together.
10199 (todo-insert-item--apply-args): Adjust to signature of
10200 todo-insert-item--basic and incorporate copy parameter.
10201 Make small code improvements.
10202 (todo-insert-item--next-param): Improve prompt and adjust it to
10203 new parameter grouping. Remove obsolete code.
10204 (todo-edit-item--param-key-alist)
10205 (todo-edit-item--date-param-key-alist)
10206 (todo-edit-done-item--param-key-alist): New defconsts.
10207 (todo-edit-item--prompt): New variable.
10208 (todo-edit-item--next-key): New function.
10209 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10210 Remove bindings of deleted commands.
10211
10212 2014-05-04 Leo Liu <sdl.web@gmail.com>
10213
10214 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10215
10216 2014-05-04 Glenn Morris <rgm@gnu.org>
10217
10218 * allout-widgets.el (allout-widgets-tally)
10219 (allout-decorate-item-guides):
10220 * menu-bar.el (menu-bar-positive-p):
10221 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10222 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10223 * progmodes/js.el (js--inside-param-list-p)
10224 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10225 * progmodes/prolog.el (region-exists-p):
10226 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10227 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10228 Doc fixes (replace `iff').
10229
10230 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10233
10234 2014-05-04 Leo Liu <sdl.web@gmail.com>
10235
10236 Support Chinese diary entries in calendar and diary. (Bug#17393)
10237 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10238 (calendar-chinese-from-absolute-for-diary)
10239 (calendar-chinese-to-absolute-for-diary)
10240 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10241 (diary-chinese-list-entries): New functions to list and mark
10242 Chinese diary entries in the calendar window.
10243 (diary-chinese-anniversary)
10244 (diary-chinese-insert-anniversary-entry)
10245 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10246 (diary-chinese-insert-yearly-entry): New commands to insert
10247 Chinese diary entries.
10248
10249 * calendar/diary-lib.el (diary-font-lock-keywords):
10250 Support font-locking Chinese dates.
10251
10252 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10253 inserting Chinese diary entries.
10254
10255 * calendar/calendar.el (diary-chinese-entry-symbol):
10256 New customizable variable.
10257 (calendar-mode-map): Add bindings for inserting Chinese diary
10258 entries.
10259
10260 2014-05-03 Juri Linkov <juri@jurta.org>
10261
10262 * dired.el (dired-check-switches, dired-switches-recursive-p):
10263 New functions. (Bug#17218)
10264 (dired-switches-escape-p, dired-move-to-end-of-filename):
10265 Use `dired-check-switches'.
10266 (dired-insert-old-subdirs, dired-build-subdir-alist)
10267 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10268
10269 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10270
10271 * simple.el (undo-make-selective-list): New algorithm fixes
10272 incorrectness of position adjustments when undoing in region.
10273 (Bug#17235)
10274 (undo-elt-crosses-region): Make obsolete.
10275 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10276 New functions to adjust positions using undo-deltas.
10277
10278 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10281 the last consecutive closing paren (bug#17345).
10282
10283 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10284
10285 * dired.el (dired-mode): make terminology for eXpunge command
10286 consistent. (Bug#17276)
10287
10288 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10289
10290 * dired.el (dired-initial-position-hook, dired-initial-position):
10291 Doc string fixes.
10292
10293 2014-04-30 Glenn Morris <rgm@gnu.org>
10294
10295 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10296
10297 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10298
10299 * faces.el (face-spec-recalc): Apply X resources only after the
10300 defface spec has been applied. Thus, X resources are no longer
10301 overriden by the defface spec which also fixes issues on win32 where
10302 the toolbar coloring was wrong because it is set through X resources
10303 and was (wrongfully) overriden. (Bug#16694)
10304
10305 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * textmodes/rst.el (electric-pair-pairs): Declare.
10308 (rst-mode): Set it (bug#17131).
10309
10310 2014-04-30 Juri Linkov <juri@jurta.org>
10311
10312 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10313 and `print-level' to nil. (Bug#17351)
10314
10315 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10316
10317 * battery.el (battery-update): Handle the case where battery
10318 status is "N/A" (bug#17319).
10319
10320 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10323 to syntax-propertize.
10324 (ps-mode-auto-indent): Mark as obsolete.
10325 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10326 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10327 word regexp operators.
10328 (ps-mode-map): Move initialization into declaration. Remove binding
10329 for TAB, RET, >, ], and }.
10330 (ps-mode-syntax-table): Move initialization into declaration.
10331 Don't give word syntax to non-word chars.
10332 (ps-run-mode-map): Move initialization into declaration.
10333 (ps-mode-menu-main): Remove auto-indent entry.
10334 (ps-mode-smie-rules): New function.
10335 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10336 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10337 (ps-mode--string-syntax-table): New const.
10338 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10339 New functions.
10340 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10341 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10342
10343 2014-04-27 Daniel Colascione <dancol@dancol.org>
10344
10345 * term/xterm.el (xterm-paste): Use large finite timeout when
10346 reading event to avoid putting keys in this-command-keys.
10347
10348 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10351 (perl-syntax-propertize-function): Use it. Extend handling of
10352 here-docs to the unquoted case.
10353
10354 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10355
10356 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10357 Use equal-including-properties to compare help-echo strings (bug#17331).
10358
10359 2014-04-25 Leo Liu <sdl.web@gmail.com>
10360
10361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10362 Fix syntax for @. (Bug#17325)
10363
10364 2014-04-25 Daniel Colascione <dancol@dancol.org>
10365
10366 * emacs-lisp/cl.el (gv): Require gv early to break eager
10367 macro-expansion cycles.
10368
10369 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * simple.el (region-active-p): Check there's a mark (bug#17324).
10372
10373 * simple.el (completion-list-mode-map): Use choose-completion for the
10374 mouse binding as well (bug#17302).
10375 (completion-list-mode, completion-setup-function): Adjust docstring and
10376 echo area message accordingly.
10377 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10378 calling convention of choose-completion.
10379 * comint.el (comint-dynamic-list-completions):
10380 * term.el (term-dynamic-list-completions): Accept choose-completion.
10381
10382 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10383 &, |, +, - and * can't be a division (bug#17317).
10384
10385 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10386 features on gnome-terminal (bug#16988).
10387
10388 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10389
10390 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10391
10392 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10393 the declared object, ignore zero or more parens, not zero or one.
10394
10395 2014-04-24 Leo Liu <sdl.web@gmail.com>
10396
10397 * progmodes/xscheme.el (xscheme-expressions-ring)
10398 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10399 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10400 (xscheme-allow-output-p, xscheme-prompt)
10401 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10402
10403 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10404 Comment out unused functions.
10405
10406 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * info.el: Use lexical-binding and cl-lib.
10409 Use defvar-local and setq-local instead of make-local-variable.
10410 (Info-apropos-matches): Avoid add-to-list.
10411 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10412
10413 2014-04-24 Daniel Colascione <dancol@dancol.org>
10414
10415 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10416
10417 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10420
10421 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10422
10423 * dired.el (dired-insert-set-properties): Do not consider
10424 subdirectory headings and empty lines to be information that
10425 `dired-hide-details-mode' should hide. (Bug#17228)
10426
10427 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10428
10429 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10430 Remove test messages.
10431 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10432 and `target' twice.
10433
10434 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10437 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10438
10439 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10440
10441 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10442
10443 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10444 Set "IFS=" when using read builtin, in order to preserve spaces in
10445 the file name. Add test messages for hunting a bug on hydra.
10446 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10447
10448 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10451 Don't prettify a word within a symbol.
10452
10453 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10454
10455 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10456 possible.
10457
10458 2014-04-22 Daniel Colascione <dancol@dancol.org>
10459
10460 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10461 use defun to define `function-put'.
10462
10463 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10466 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10467 (lisp-mode-variables): Set font-lock-extra-managed-props.
10468
10469 * emacs-lisp/byte-run.el (function-put): New function.
10470 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10471 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10472 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10473 Use them.
10474
10475 2014-04-22 Daniel Colascione <dancol@dancol.org>
10476
10477 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10478 Add `full-p' parameter; when nil, call `macroexpand' instead of
10479 `macroexpand-all'.
10480
10481 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10482 Improve docstrings.
10483
10484 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10485 Use lambda function values, not quoted lambdas.
10486 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10487
10488 * emacs-lisp/cl-macs.el
10489 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10490 (cl-struct-slot-value): Conditionally use aref or nth so that the
10491 compiler produces optimal code.
10492
10493 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10496 (inline): Don't inline cl--set-elt.
10497 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10498 Define as inlinable instead.
10499 (cl-struct-set-slot-value): Remove.
10500
10501 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10502 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10503 Use setf instead.
10504
10505 2014-04-21 Daniel Colascione <dancol@dancol.org>
10506
10507 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10508 last two parameters after all.
10509 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10510 (cl--compiler-macro-assoc,cl-struct-slot-value)
10511 (cl-struct-set-slot-value): Stop using them.
10512
10513 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10516 entry in image-mode-winprops-alist.
10517
10518 2014-04-21 Daniel Colascione <dancol@dancol.org>
10519
10520 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10521 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10522 (byte-compile-toplevel-file-form): Use it.
10523
10524 * emacs-lisp/cl-macs.el:
10525 (cl--loop-let): Properly destructure `while' clauses.
10526
10527 2014-04-20 Daniel Colascione <dancol@dancol.org>
10528
10529 * vc/vc.el (vc-root-dir): New public autoloaded function for
10530 generically finding the current VC root.
10531 * vc/vc-hooks.el (vc-not-supported): New error.
10532 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10533
10534 2014-04-20 Daniel Colascione <dancol@dancol.org>
10535
10536 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10537 argument.
10538 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10539 argument in case we're inside a symbol-macrolet.
10540 (cl--do-arglist, cl--compiler-macro-typep)
10541 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10542 environment to `cl--const-expr-val'.
10543 (cl-struct-sequence-type,cl-struct-slot-info)
10544 (cl-struct-slot-offset, cl-struct-slot-value)
10545 (cl-struct-set-slot-value): New functions.
10546
10547 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10550 assignments such as "case=hello" (bug#17297).
10551
10552 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10553
10554 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10555 Do not autoload.
10556 (tramp-file-name-handler, tramp-completion-file-name-handler):
10557 Revert patch from 2014-04-10, it isn't necessary anymore.
10558 (tramp-autoload-file-name-handler)
10559 (tramp-register-autoload-file-name-handlers): New defuns.
10560 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10561 (tramp-register-file-name-handlers): Remove also
10562 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10563 Do not autoload its invocation, but eval it after loading of 'tramp.
10564
10565 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10566
10567 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10568
10569 2014-04-17 Daniel Colascione <dancol@dancol.org>
10570
10571 Add support for bracketed paste mode; add infrastructure for
10572 managing terminal mode enabling and disabling automatically.
10573
10574 * xt-mouse.el:
10575 (xterm-mouse-mode): Simplify.
10576 (xterm-mouse-tracking-enable-sequence)
10577 (xterm-mouse-tracking-disable-sequence): New constants.
10578 (turn-on-xterm-mouse-tracking-on-terminal)
10579 (turn-off-xterm-mouse-tracking-on-terminal):
10580 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10581 parameters instead of random hooks.
10582 (turn-on-xterm-mouse-tracking)
10583 (turn-off-xterm-mouse-tracking): Delete.
10584
10585 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10586 (xterm-paste-ending-sequence): New constant.
10587 (xterm-paste): New command used for bracketed paste support.
10588
10589 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10590 (terminal-init-xterm-bracketed-paste-mode): New function.
10591 (terminal-init-xterm): Call it.
10592 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10593 and tty-mode-reset-strings instead of random hooks.
10594 (xterm-turn-on-modify-other-keys)
10595 (xterm-turn-off-modify-other-keys)
10596 (xterm-remove-modify-other-keys): Delete obsolete functions.
10597
10598 * term/screen.el: Rewrite to just use the xterm code.
10599 Add copyright notice. Mention tmux.
10600
10601 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10602
10603 * image-mode.el (image-mode-window-put): Also update the property of
10604 the "default window".
10605 * doc-view.el (doc-view-new-window-function): If no window
10606 exists, move to the last known page.
10607
10608 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10611 here-documents (bug#17262).
10612
10613 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10614
10615 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10616 Provide doc strings, as required by snarf-documentation.
10617
10618 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10621 arg of overlays-at. Use `invisible-p'.
10622
10623 * obsolete/lucid.el (extent-at):
10624 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10625 overlays-at.
10626 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10627
10628 2014-04-16 João Távora <joaotavora@gmail.com>
10629
10630 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10631 links. (Bug#17217).
10632
10633 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10634
10635 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10636 Use mapc to loop over a vector. (Bug#17257).
10637
10638 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10639
10640 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10641 patch, there are new problems with file names containing spaces.
10642 Get rid of backticks. (Bug#17238)
10643
10644 2014-04-16 João Távora <joaotavora@gmail.com>
10645
10646 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10647 possible bug.
10648
10649 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10650
10651 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10652 (blink-cursor-mode): Mention customization variables and the
10653 effect of 'blink-cursor-blinks'.
10654
10655 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10656
10657 * simple.el (undo): Prevent insertion of identity mapping into
10658 undo-equiv-table so as undo-only does not inf loop in the presence
10659 of consecutive nils in undo list.
10660
10661 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10662
10663 * faces.el (make-face): Deprecate optional argument as it is no
10664 longer needed/used since the conditional X resources handling
10665 has been pushed down to make-face-x-resource-internal itself.
10666 (make-empty-face): Don't pass optional argument to make-face.
10667
10668 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10669
10670 * savehist.el (savehist-save): Remove workaround for a read-passwd
10671 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10672 noticing that the shim was still present.
10673
10674 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10675
10676 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10677
10678 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * faces.el (face-set-after-frame-default): Remove unused local variable.
10681
10682 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * progmodes/grep.el: Use lexical-binding.
10685 (grep-expand-template): Pass explicit lexical env to `eval'.
10686 (zrgrep): Let-bind grep-find-template explicitly.
10687
10688 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10689 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10690
10691 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10692
10693 * international/characters.el <standard-case-table>: Add entries
10694 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10695 Set category of Coptic characters be 'g' (Greek).
10696
10697 2014-04-12 Leo Liu <sdl.web@gmail.com>
10698
10699 * progmodes/octave.el (completion-table-with-cache):
10700 Define if not available.
10701 (octave-goto-function-definition, octave-sync-function-file-names)
10702 (octave-find-definition-default-filename):
10703 Backquote upattern for compatibility.
10704
10705 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10706
10707 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10708 name twice due to backticks. (Bug#17238)
10709
10710 2014-04-12 Glenn Morris <rgm@gnu.org>
10711
10712 * term/w32-win.el (x-win-suspend-error):
10713 * term/x-win.el (x-win-suspend-error): Sync docs.
10714
10715 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10716
10717 * faces.el (make-face): Remove deprecated optional argument.
10718 The conditional application of X resources is handled directly by
10719 make-face-x-resource-internal since Emacs 24.4.
10720 (make-empty-face): Don't pass optional argument to make-face.
10721
10722 2014-04-11 Glenn Morris <rgm@gnu.org>
10723
10724 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10725
10726 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 Ediff's overlay priorities cause more trouble than they solve.
10729 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10730 (ediff-highest-priority): Remove function (bug#17234).
10731 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10732 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10733 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10734 overlay priorities.
10735
10736 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10737
10738 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10739 entry; use symbol boundaries to avoid mis-matches.
10740
10741 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10742
10743 * net/tramp.el (tramp-file-name-handler)
10744 (tramp-completion-file-name-handler): Avoid recursive loading.
10745
10746 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10747 Quote result also locally.
10748
10749 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10752 Remove left-over code.
10753
10754 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10755 Reuse the previous comment's indentation unconditionally if it's on its
10756 own line.
10757
10758 2014-04-09 Daniel Colascione <dancol@dancol.org>
10759
10760 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10761 `no-syntax-crossing' arguments. Forward to `up-list'.
10762 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10763 Implement logic for escaping from strings. Use narrowing to deal
10764 with corner cases.
10765
10766 2014-04-09 Leo Liu <sdl.web@gmail.com>
10767
10768 * net/rcirc.el (rcirc-connection-info): New variable.
10769 (rcirc-connect): Use it to store connection info.
10770 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10771 for killed process.
10772 (rcirc-cmd-reconnect): New command. (Bug#17045)
10773 (rcirc-mode, set-rcirc-encode-coding-system)
10774 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10775
10776 2014-04-09 Daniel Colascione <dancol@dancol.org>
10777
10778 * emacs-lisp/cl-indent.el: Add comment claiming
10779 facility is also good for elisp.
10780 (lisp-indent-find-method): New function.
10781 (common-lisp-indent-function): Recognize cl-loop.
10782 (common-lisp-indent-function-1): Recognize cl constructs; use
10783 `lisp-indent-find-method' instead of `get' directly.
10784 (if): Use else-body style for elisp.
10785
10786 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10787
10788 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10789 Module methods. (Bug#17216)
10790
10791 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10794 (describe-bindings-internal): Mark obsolete.
10795
10796 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10799 buffer-file-name, and buffer-file-truename any more.
10800
10801 2014-04-08 Leo Liu <sdl.web@gmail.com>
10802
10803 Use lexical-binding and require cl-lib.
10804 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10805 (rcirc-handler-generic, rcirc-fill-paragraph)
10806 (rcirc-format-response-string, rcirc-target-buffer)
10807 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10808 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10809 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10810 (rcirc-markup-timestamp, rcirc-markup-attributes)
10811 (rcirc-markup-my-nick, rcirc-markup-urls)
10812 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10813 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10814 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10815 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10816 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10817 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10818 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10819 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10820 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10821 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10822 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10823 use cl-lib.
10824
10825 2014-04-07 João Távora <joaotavora@gmail.com>
10826
10827 * elec-pair.el (electric-pair--syntax-ppss):
10828 When inside comments parse from comment beginning.
10829 (electric-pair--balance-info): Fix typo in comment.
10830 (electric-pair--in-unterminated-string-p): Delete.
10831 (electric-pair--unbalanced-strings-p): New function.
10832 (electric-pair-string-bound-function): New var.
10833 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10834 according to `electric-pair--in-unterminated-string-p'
10835
10836 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10837 Inhibit quote pairing if point-max is inside an unterminated string.
10838 (electric-pair--looking-at-unterminated-string-p): Delete.
10839 (electric-pair--in-unterminated-string-p): New function.
10840
10841 2014-04-07 Glenn Morris <rgm@gnu.org>
10842
10843 * shell.el (shell-directory-tracker):
10844 Go back to just ignoring failures. (Bug#17159)
10845
10846 2014-04-07 João Távora <joaotavora@gmail.com>
10847
10848 Fix `electric-pair-delete-adjacent-pairs' in modes binding
10849 backspace. (Bug#16981)
10850 * elec-pair.el (electric-pair-backward-delete-char): Delete.
10851 (electric-pair-backward-delete-char-untabify): Delete.
10852 (electric-pair-mode-map): Bind backspace to a menu item filtering
10853 a new `electric-pair-delete-pair' command.
10854 (electric-pair-delete-pair): New command.
10855
10856 * progmodes/python.el (python-electric-pair-string-delimiter):
10857 Fix triple-quoting electricity. (Bug#17192)
10858
10859 * elec-pair.el (electric-pair-post-self-insert-function):
10860 Don't skip whitespace when `electric-pair-text-pairs' and
10861 `electric-pair-pairs' were used. syntax to
10862 electric-pair--skip-whitespace. (Bug#17183)
10863
10864 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10865
10866 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10867 "<F>". (Bug#17199)
10868
10869 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10872 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10873
10874 2014-04-07 Glenn Morris <rgm@gnu.org>
10875
10876 * help.el (view-lossage): Doc tweak.
10877
10878 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
10879
10880 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10881 only when inhibit-x-resources is nil, and do that earlier in the
10882 function. Doc fix. (Bug#16694)
10883 (face-spec-choose): Accept additional optional argument, whose
10884 value is returned if no matching attributes are found.
10885 (face-spec-recalc): Use the new optional argument when calling
10886 face-spec-choose. (Bug#16378)
10887 (make-face-x-resource-internal): Do nothing when
10888 inhibit-x-resources is non-nil. Don't touch the default face if
10889 reversed video is given--as was done in previous versions of Emacs.
10890 (face-set-after-frame-default): Don't call
10891 make-face-x-resource-internal here. (Bug#16434)
10892
10893 2014-04-07 Tassilo Horn <tsdh@gnu.org>
10894
10895 * doc-view.el (doc-view-bookmark-jump):
10896 Use `bookmark-after-jump-hook' to jump to the right page after the
10897 buffer is shown in a window. (bug#16090)
10898
10899 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10900
10901 * international/characters.el (mirroring): Fix last change:
10902 instead of loading uni-mirrored.el explicitly, do that implicitly
10903 by creating the 'mirroring' uniprop table. This avoids announcing
10904 the loading of uni-mirrored.el.
10905
10906 2014-04-07 Glenn Morris <rgm@gnu.org>
10907
10908 * files.el (buffer-stale--default-function)
10909 (buffer-stale-function, revert-buffer--default):
10910 * autorevert.el (auto-revert-buffers): Doc tweaks.
10911
10912 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10913
10914 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10915
10916 2014-04-07 Glenn Morris <rgm@gnu.org>
10917
10918 * files.el (make-backup-file-name-function)
10919 (make-backup-file-name, make-backup-file-name--default-function)
10920 (make-backup-file-name-1, find-backup-file-name)
10921 (revert-buffer-function, revert-buffer-insert-file-contents-function)
10922 (buffer-stale--default-function, buffer-stale-function)
10923 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10924 (revert-buffer, revert-buffer--default)
10925 (revert-buffer-insert-file-contents--default-function):
10926 Doc fixes related to defaults no longer being nil.
10927 (make-backup-file-name-function): Bump :version.
10928 Restore nil as a valid but deprecated custom type.
10929
10930 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10933 Handle $' used as a variable (bug#17174).
10934
10935 * progmodes/perl-mode.el (perl-indent-new-calculate):
10936 Handle forward-sexp failure (bug#16985).
10937 (perl-syntax-propertize-function): Add "foreach" and "for" statement
10938 modifiers introducing expressions (bug#17116).
10939
10940 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10943
10944 2014-04-05 Leo Liu <sdl.web@gmail.com>
10945
10946 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10947 Add define-compilation-mode.
10948
10949 2014-04-04 João Távora <joaotavora@gmail.com>
10950
10951 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10952 parse from comment beginning.
10953 (electric-pair--balance-info): Fix typo in comment.
10954 (electric-pair--in-unterminated-string-p): Delete.
10955 (electric-pair--unbalanced-strings-p): New function.
10956 (electric-pair-string-bound-function): New var.
10957 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10958 according to `electric-pair--in-unterminated-string-p'.
10959
10960 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10963 Move declaration before first use.
10964 (reftex-move-to-next-arg): Silence compiler warning.
10965
10966 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
10967
10968 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10969 Use `window-total-width' instead of `window-width'.
10970
10971 2014-04-03 Daniel Colascione <dancol@dancol.org>
10972
10973 * subr.el (set-transient-map): Remove rms's workaround entirely;
10974 use new `suspicious-object' subr to mark our lambda for closer
10975 scrutiny during gc.
10976
10977 2014-04-02 Richard Stallman <rms@gnu.org>
10978
10979 * subr.el (set-transient-map): Comment out previous change.
10980
10981 2014-04-02 Glenn Morris <rgm@gnu.org>
10982
10983 * menu-bar.el (menu-bar-file-menu):
10984 * vc/ediff.el (ediff-current-file):
10985 Update for revert-buffer-function no longer being nil by default.
10986
10987 * simple.el (command-execute): Respect nil disabled-command-function.
10988
10989 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10990
10991 * simple.el (command-execute): Do not execute the command when it
10992 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
10993
10994 2014-04-02 Juri Linkov <juri@jurta.org>
10995
10996 * dired-aux.el (dired-compress-file): Don't use string-match-p
10997 because its match data is used afterwards.
10998
10999 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11002 0 like nil.
11003
11004 2014-04-02 João Távora <joaotavora@gmail.com>
11005
11006 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11007 Inhibit quote pairing if point-max is inside an unterminated string.
11008 (electric-pair--looking-at-unterminated-string-p):
11009 Delete.
11010 (electric-pair--in-unterminated-string-p): New function.
11011
11012 2014-04-01 Daniel Colascione <dancol@dancol.org>
11013
11014 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11015 when trying to complete the prompt.
11016
11017 2014-03-31 Leo Liu <sdl.web@gmail.com>
11018
11019 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11020 Refactor out eldoc-documentation-function-default.
11021 (eldoc-documentation-function-default): New function.
11022 (eldoc-documentation-function): Change value.
11023
11024 2014-03-31 Glenn Morris <rgm@gnu.org>
11025
11026 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11027
11028 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11029 (vhdl-compose-components-package, vhdl-compose-configuration):
11030 Abbreviate default-directory (missing from some previous upstream sync).
11031
11032 2014-03-31 Reto Zimmermann <reto@gnu.org>
11033
11034 Sync with upstream vhdl mode v3.35.2.
11035 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11036 (top-level): No longer require assoc.
11037 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11038 New functions. Use throughout to replace aget etc.
11039 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11040 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11041 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11042 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11043 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11044 except `vhdl-compiler'.
11045 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11046 when appropriate.
11047
11048 2014-03-31 Glenn Morris <rgm@gnu.org>
11049
11050 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11051 Revert 2014-03-26 merge goof; go back to using defalias.
11052
11053 2014-03-30 Daniel Colascione <dancol@dancol.org>
11054
11055 * comint.el (comint-send-input):
11056 Deactivate completion-in-region-mode before we send comint input.
11057 (Bug#17139).
11058
11059 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11060 on keyboard-quit.
11061
11062 2014-03-29 Glenn Morris <rgm@gnu.org>
11063
11064 * textmodes/reftex.el: Manage most autoloads automatically.
11065 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11066 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11067 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11068 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11069 * textmodes/reftex-toc.el: Set generated-autoload-file,
11070 and add autoload cookies for reftex.el.
11071 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11072
11073 2014-03-28 Glenn Morris <rgm@gnu.org>
11074
11075 * cus-start.el (report-emacs-bug-address): Set custom properties.
11076 * mail/emacsbug.el (report-emacs-bug-address):
11077 Variable is now defined in emacs.c.
11078
11079 * mail/emacsbug.el (report-emacs-bug):
11080 Include system-configuration-features.
11081
11082 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11083
11084 * simple.el (cycle-spacing): Never delete spaces on first run by
11085 default, but do so in a new 'fast mode and if there are already
11086 N spaces (the previous behavior).
11087 Compare N with its value in previous invocation so that changing
11088 prefix argument restarts `cycle-spacing' sequence.
11089 The idea is that with this change, binding M-SPC to
11090 `cycle-spacing' should not introduce any changes in behavior of
11091 the binding so long as users do not type M-SPC twice in a raw with
11092 the same prefix argument or lack thereof.
11093
11094 2014-03-28 Glenn Morris <rgm@gnu.org>
11095
11096 * faces.el (term-file-aliases): New variable.
11097 (tty-run-terminal-initialization): Respect term-file-aliases.
11098 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11099 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11100 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11101
11102 2014-03-27 Glenn Morris <rgm@gnu.org>
11103
11104 * startup.el (inhibit-startup-hooks): Doc tweak.
11105 (normal-top-level): Simplify running of hooks.
11106 For window-setup-hook, respect inhibit-startup-hooks.
11107 (command-line-1): Don't set window-setup-hook to nil.
11108
11109 Allow selective autoloading from obsolete/ directory.
11110 * Makefile.in (obsolete-autoloads): New rule.
11111 (autoloads): Run obsolete-autoloads.
11112 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11113 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11114
11115 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11116
11117 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11118 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11119
11120 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11121 Don't propertize `?' or `!' as symbol constituent when after
11122 colon. (Bug#17097)
11123
11124 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11125
11126 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11127 which is no longer needed and causes trouble in GTK builds (bug#17046).
11128
11129 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11130 Use url-insert-file-contents; package-handle-response no longer exists.
11131
11132 2014-03-26 Daniel Colascione <dancol@dancol.org>
11133
11134 * simple.el (process-menu-mode-map): New variable.
11135 (process-menu-delete-process): New command.
11136
11137 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11138
11139 * emacs-lisp/package.el: Fix bug#16733 (again).
11140 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11141 (url-http-target-url): Remove unused declarations.
11142 (package-handle-response): Remove.
11143 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11144 (package--download-one-archive): Use current-buffer instead of
11145 dynamic binding of `buffer'.
11146 (describe-package-1): Do not decode readme-string.
11147
11148 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11149
11150 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11151
11152 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11153 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11154 `remote-file-name-inhibit-cache' to nil in the second pass.
11155 (tramp-find-executable): Do not call "which" on SunOS.
11156 (tramp-send-command-and-check): Fix docstring.
11157 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11158 check whether source directory has set the sticky bit.
11159
11160 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11161
11162 * simple.el (primitive-undo): Only process marker adjustments
11163 validated against their corresponding (TEXT . POS). Issue warning
11164 for lone marker adjustments in undo history. (Bug#16818)
11165 (undo-make-selective-list): Add marker adjustments to selective
11166 undo list based on whether their corresponding (TEXT . POS) is in
11167 the region. Remove variable adjusted-markers, which was unused
11168 and only non nil during undo-make-selective-list.
11169 (undo-elt-in-region): Return nil when passed a marker adjustment
11170 and explain in function doc.
11171
11172 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11173
11174 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11175
11176 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11177
11178 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11179 Match special global variables without curlies, too.
11180 (ruby-font-lock-keywords): Simplify the matcher for special global
11181 variables. Don't require a non-word character after the variable.
11182 (Bug#17057)
11183
11184 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * simple.el (redisplay-highlight-region-function): Increase priority of
11187 overlay to make sure boundaries are visible (bug#15899).
11188
11189 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11190
11191 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11192 (frameset-restore): Compare display strings with equal.
11193
11194 * frame.el (make-frame): Don't quote display name in error message,
11195 it is already a string.
11196
11197 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11198
11199 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11200 the password.
11201
11202 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11203
11204 * emacs-lisp/package.el (package--add-to-archive-contents):
11205 Include already installed and built-in packages in
11206 `package-archive-contents'.
11207 (package-install): Don't include already installed packages in the
11208 options during interactive invocation. (Bug#16762)
11209 (package-show-package-list): If the buffer is already displayed in
11210 another window, switch to that window.
11211
11212 2014-03-26 Reto Zimmermann <reto@gnu.org>
11213
11214 Sync with upstream vhdl mode v3.35.1.
11215 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11216 (vhdl-compiler-alist): Doc fix.
11217 (vhdl-goto-line): Remove.
11218 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11219 (vhdl-mode) <paragraph-start>: Fix value.
11220 (vhdl-fix-statement-region): Not `for' in wait-statement.
11221 (vhdl-beautify-region): Also (un)tabify.
11222 (vhdl-get-visible-signals):
11223 Scan declarative part of generate statements.
11224 (vhdl-template-record): Fix indentation for record type declaration.
11225 (vhdl-expand-abbrev, vhdl-expand-paren):
11226 Revert to using fset again rather than defalias.
11227 (vhdl-scan-directory-contents): Tweak.
11228 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11229 (vhdl-compose-components-package):
11230 Replace vhdl-goto-line with forward-line.
11231 (top-level): Tweak speedbar frame selection.
11232 (vhdl-generate-makefile-1): Support for compilers with no
11233 unit-to-file name mapping (create directory with dummy files).
11234
11235 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11236
11237 Sync with upstream verilog-mode revision 702457d.
11238 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11239 (create-lockfiles): Declare.
11240 (verilog-read-decls): Fix module header imports, bug709.
11241 Reported by Victor Lau.
11242 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11243 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11244 interface-only modules, bug721. Reported by Dean Hoyt.
11245
11246 2014-03-26 Glenn Morris <rgm@gnu.org>
11247
11248 * obsolete/gulp.el: Move here from emacs-lisp/.
11249
11250 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11251 Remove fallback aliases, since they are always defined now.
11252
11253 2014-03-24 Daniel Colascione <dancol@dancol.org>
11254
11255 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11256 instead of cl-loop search function.
11257
11258 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11259
11260 * calendar/parse-time.el (parse-time-iso8601-regexp)
11261 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11262 it more generally.
11263
11264 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11265
11266 * net/dns.el (network-interface-list): Define for XEmacs.
11267
11268 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11269
11270 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11271 the network interfaces changed.
11272 (dns-query): Use it to flush the data.
11273
11274 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11277
11278 2014-03-23 Daniel Colascione <dancol@dancol.org>
11279
11280 Change subword-mode to use `find-word-boundary-function-table' and
11281 replace `capitalized-words-mode'. Also, convert to lexical binding.
11282 * progmodes/cap-words.el: Delete now-obsolete file.
11283 * progmodes/subword.el: Reimplement using
11284 `find-word-boundary-function-table'.
11285 (subword-mode-map): Hollow out.
11286 (capitalized-words-mode): Define as obsolete alias for
11287 `subword-mode'.
11288 (subword-mode, superword-mode): Tweak documentation to reflect new
11289 implementation; call `subword-setup-buffer'.
11290 (subword-forward, subword-capitalize): Add underscore to indicate
11291 unused variable.
11292 (subword-find-word-boundary-function-table): New constant.
11293 (subword-empty-char-table): New constant.
11294 (subword-setup-buffer): New function.
11295 (subword-find-word-boundary): New function.
11296
11297 2014-03-23 Daniel Colascione <dancol@dancol.org>
11298
11299 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11300 list to look for keyword arguments instead of `memq', fixing
11301 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11302 Please make bootstrap.
11303
11304 2014-03-22 Glenn Morris <rgm@gnu.org>
11305
11306 * dired.el (dired-read-regexp): Make obsolete.
11307 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11308 (dired-flag-files-regexp):
11309 * dired-aux.el (dired-mark-read-regexp):
11310 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11311
11312 * startup.el (fancy-startup-text):
11313 * help.el (describe-gnu-project): Visit online info about GNU project.
11314
11315 * help-fns.el (help-fns--interactive-only): New function.
11316 (help-fns-describe-function-functions): Add the above function.
11317 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11318 (next-line, previous-line): Remove hand-written interactive-only
11319 information from doc strings, it is auto-generated now.
11320 * bookmark.el (bookmark-write):
11321 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11322 (epa-mail-import-keys): Mark interactive-only,
11323 and remove hand-written interactive-only information from doc strings.
11324 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11325 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11326 * files.el (not-modified):
11327 * simple.el (mark-whole-buffer): Mark interactive-only.
11328
11329 * emacs-lisp/byte-run.el (defun-declarations-alist):
11330 Add interactive-only. Doc tweak.
11331 (macro-declarations-alist): Doc tweak.
11332 * subr.el (declare): Doc tweak (add xref to manual).
11333 * comint.el (comint-run):
11334 * files.el (insert-file-literally, insert-file):
11335 * replace.el (replace-string, replace-regexp):
11336 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11337 (delete-forward-char, goto-line, insert-buffer, next-line)
11338 (previous-line): Set interactive-only via declare.
11339
11340 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11341
11342 * emacs-lisp/package.el (package-desc): Use the contents of the
11343 quoted form, not its cdr. (Bug#16873)
11344
11345 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11346
11347 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11348 benefit of doc.c; change parameter profile to match the X function.
11349
11350 2014-03-22 Leo Liu <sdl.web@gmail.com>
11351
11352 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11353 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11354
11355 2014-03-21 Richard Stallman <rms@gnu.org>
11356
11357 * battery.el (battery-linux-sysfs): Search for each field
11358 from the beginning of the buffer.
11359
11360 * subr.el (set-transient-map): Clear out function and value
11361 of the temporary symbol when we're done with it.
11362
11363 * mail/rmailsum.el (rmail-summary-delete-forward):
11364 Optimize case of reaching end and handling count.
11365 (rmail-summary-mark-deleted): Optimize when N is current msg.
11366 Don't create new summary line.
11367 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11368 (rmail-summary-undelete-many): Rewrite for speed.
11369 (rmail-summary-msg-number): New function.
11370
11371 * mail/rmail.el (rmail-delete-message): Update summary.
11372 (rmail-undelete-previous-message): Handle repeat count arg.
11373 (rmail-delete-backward, rmail-delete-forward): Likewise.
11374
11375 2014-03-21 Daniel Colascione <dancol@dancol.org>
11376
11377 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11378 information in bug reports.
11379
11380 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11381
11382 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11383 and `tramp-copy-env'.
11384
11385 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11386 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11387
11388 2014-03-21 Glenn Morris <rgm@gnu.org>
11389
11390 * electric.el (electric-indent-post-self-insert-function): Add doc.
11391
11392 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11393
11394 * emacs-lisp/package.el (package-compute-transaction):
11395 Use `version-list-<=' to compare the requirement version against
11396 the version of package already to be installed. Update the error
11397 message. (Bug#16826)
11398
11399 * progmodes/ruby-mode.el (ruby-smie-rules):
11400 Add indentation rule for ` @ '. (Bug#17050)
11401
11402 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11403
11404 * align.el (align-regexp): Remove superfluous backslash.
11405
11406 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11407 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11408 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11409 Fix docstring typos.
11410 (ffap-next): Use C-u in docstring.
11411 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11412 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11413 Remove superfluous backslashes.
11414 (ffap-string-at-point): Reflow docstring.
11415
11416 * server.el (server-host): Reflow docstring.
11417 (server-unload-function): Fix docstring typo.
11418 (server-eval-at): Remove superfluous backslash.
11419
11420 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11421 (skeleton-insert): Doc fix.
11422 (skeleton-insert): Reflow docstring.
11423
11424 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11425 (tty-color-approximate, tty-color-by-index, tty-color-values)
11426 (tty-color-desc): Remove superfluous backslashes.
11427
11428 2014-03-21 Glenn Morris <rgm@gnu.org>
11429
11430 * cus-start.el (history-length): Bump :version.
11431
11432 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11433 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11434 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11435 Don't set `make-backup-files'.
11436
11437 * info.el (info--prettify-description): New function,
11438 to give info-finder descriptions consistent case, punctuation.
11439 (Info-finder-find-node): Use it. Sort packages.
11440 Refer to "description" rather than "commentary".
11441
11442 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11443
11444 * frameset.el (frameset--print-register): New function.
11445 (frameset-to-register): Use it.
11446
11447 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11448
11449 * progmodes/hideif.el (hif-string-to-number): New function.
11450 (hif-tokenize): Use it to understand non-decimal floats.
11451
11452 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11453
11454 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11455
11456 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * electric.el (electric-newline-and-maybe-indent): New command.
11459 Bind it globally to C-j.
11460 (electric-indent-mode): Don't mess with the global map any more.
11461 Don't drop the post-self-insert-hook is some buffer is still using it
11462 (bug#16770).
11463
11464 * bindings.el (global-map): Remove C-j binding.
11465
11466 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11467 the docstring of functions advised before dumping (bug#16993).
11468
11469 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11470
11471 * ps-print.el (ps-generate-postscript-with-faces):
11472 Explicitly deactivate the mark (bug#16866).
11473 * simple.el (deactivate-mark): Update region highlight.
11474
11475 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11476
11477 * emacs-lisp/package.el (describe-package-1):
11478 Decode commentary (bug#16733).
11479
11480 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11483 modification of the value argument of :set (bug#16755).
11484
11485 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * simple.el (newline-and-indent): Do autofill (bug#17031).
11488
11489 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11490
11491 * newcomment.el (comment-normalize-vars): Only add escaping check
11492 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11493 (comment-beginning): Use `narrow-to-region' instead of moving back
11494 one character.
11495 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11496 (comment-start-skip): Update the docstring.
11497
11498 2014-03-18 Richard Stallman <rms@gnu.org>
11499
11500 * dired.el (dired-display-file): Force use of other window.
11501
11502 2014-03-18 Daniel Colascione <dancol@dancol.org>
11503
11504 * startup.el (tty-handle-args): Remove debug message from 2007.
11505
11506 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11509 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11510 (advice--make-1, advice-add, advice-remove):
11511 Remove braindead :advice-pending hack.
11512
11513 2014-03-17 Glenn Morris <rgm@gnu.org>
11514
11515 * calendar/calendar.el (calendar-generate-month): Apply weekend
11516 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11517
11518 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11519
11520 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11521 (tramp-call-process): Trace also DESTINATION.
11522
11523 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11524 Quote file names when they are local. Remove superfluous trace.
11525
11526 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * newcomment.el (comment-beginning): If `comment-start-skip'
11529 doesn't match, move back one char and try again. (Bug#16971)
11530
11531 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11532 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11533 Set `comment-start-skip' to a simpler value that doesn't try to
11534 check if the semicolon is escaped (this is handled by
11535 `syntax-ppss' now). (Bug#16971)
11536
11537 * progmodes/scheme.el (scheme-mode-variables): Same.
11538
11539 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11540
11541 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11542 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11543 current (Bug#16816, Bug#17007).
11544 (with-current-buffer-window): New macro doing the same as
11545 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11546 * help.el (help-print-return-message): Warn in doc-string to not
11547 use this in `with-help-window'.
11548 (describe-bindings-internal): Call `describe-buffer-bindings'
11549 from within help buffer. See Juanma's scenario in (Bug#16816).
11550 (with-help-window): Update doc-string.
11551 * dired.el (dired-mark-pop-up):
11552 * files.el (save-buffers-kill-emacs):
11553 * register.el (register-preview): Use `with-current-buffer-window'
11554 instead of `with-temp-buffer-window'.
11555
11556 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11557
11558 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11559 Implement inserting into current buffer, documented in their docstrings.
11560 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11561 (rst-section-tree-point, rst-forward-section, rst-indent)
11562 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11563 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11564 (rst-font-lock-handle-adornment-pre-match-form)
11565 (rst-repeat-last-character): Reflow docstrings.
11566 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11567 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11568 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11569 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11570 Fix docstring typos.
11571 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11572 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11573 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11574
11575 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11576
11577 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11578 for compatibility with other ports.
11579 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11580 from the -xrm command line argument, but in the Nextstep port its value
11581 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11582
11583 * progmodes/python.el (defconst, python-syntax-count-quotes)
11584 (python-indent-region, python-indent-shift-right)
11585 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11586 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11587 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11588 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11589 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11590 (python-shell-buffer-substring, python-shell-send-buffer)
11591 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11592 (python-completion-complete-at-point, python-fill-docstring-style)
11593 (python-eldoc-function, python-imenu-format-item-label)
11594 (python-imenu-format-parent-item-label)
11595 (python-imenu-format-parent-item-jump-label)
11596 (python-imenu--build-tree, python-imenu-create-index)
11597 (python-imenu-create-flat-index): Fix docstring typos.
11598 (python-indent-context, python-shell-prompt-regexp, run-python):
11599 Remove superfluous backslashes.
11600 (python-indent-line, python-nav-beginning-of-defun)
11601 (python-shell-get-buffer, python-shell-get-process)
11602 (python-info-current-defun, python-info-current-line-comment-p)
11603 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11604 (python-indent-post-self-insert-function, python-shell-send-file)
11605 (python-shell-completion-get-completions)
11606 (python-shell-completion-complete-or-indent)
11607 (python-eldoc--get-doc-at-point): Reflow docstrings.
11608
11609 2014-03-14 Glenn Morris <rgm@gnu.org>
11610
11611 * emacs-lisp/package.el (package-menu-mode-map):
11612 Replace use of obsolete function alias. Tweak menu item text.
11613
11614 * info.el (Info-finder-find-node):
11615 Ignore the `emacs' metapackage. (Bug#10813)
11616
11617 * finder.el (finder-list-matches): Include unversioned packages
11618 in the result of a keyword search.
11619
11620 * finder.el (finder--builtins-descriptions): New constant.
11621 (finder-compile-keywords): Use finder--builtins-descriptions.
11622
11623 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11624
11625 * simple.el (blink-matching-paren): Describe the new value,
11626 `jump', enabling the old behavior.
11627 (blink-matching-open): Use that value. (Bug#17008)
11628
11629 2014-03-14 Glenn Morris <rgm@gnu.org>
11630
11631 * finder.el (finder-no-scan-regexp): Add leim-list.
11632 (finder-compile-keywords):
11633 Don't skip files with same basename. (Bug#14010)
11634 * Makefile.in (setwins_finder): New, excluding leim.
11635 (finder-data): Use setwins_finder.
11636
11637 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11638 (help-function-arglist, help-make-usage): Move from here...
11639 * help.el (help-split-fundoc, help-add-fundoc-usage)
11640 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11641 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11642
11643 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * net/socks.el (socks, socks-override-functions)
11646 (socks-find-services-entry):
11647 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11648 (hif-find-ifdef-block):
11649 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11650
11651 * net/tls.el (tls-program): Reflow docstring.
11652
11653 * progmodes/pascal.el (pascal-mode-abbrev-table)
11654 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11655 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11656 (pascal-outline-mode): Fix docstring typos.
11657 (pascal-mode): Let define-derived-mode document mode hook.
11658 (pascal-uncomment-area): Reflow.
11659 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11660
11661 * progmodes/opascal.el (opascal-compound-block-indent)
11662 (opascal-case-label-indent): Fix docstring typos.
11663 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11664
11665 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11666
11667 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11668 Fontify multiple adjacent negation chars. (Bug#17004)
11669
11670 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11671
11672 * emacs-lisp/package.el (package--prepare-dependencies):
11673 Accept requirements without explicit version (bug#14941).
11674
11675 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11676
11677 * register.el (register-separator, copy-to-register): Doc fixes.
11678 (register-preview-default): Remove unnecessary call to concat.
11679
11680 * frameset.el (frameset-restore): When checking for a visible frame,
11681 use the action map instead of calling visible-frame-list.
11682
11683 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11684
11685 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11686
11687 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11688
11689 * window.el (fit-frame-to-buffer): Get maximum width from
11690 display's width instead of height.
11691
11692 2014-03-12 Glenn Morris <rgm@gnu.org>
11693
11694 * desktop.el (desktop-restore-frames)
11695 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11696 (desktop-restore-reuses-frames): Doc tweaks.
11697
11698 * electric.el (electric-indent-mode): Doc fix.
11699
11700 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11703 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11704 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11705 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11706 (cvs-dired-use-hook): Fix docstring typos.
11707 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11708 Doc fixes.
11709
11710 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11711 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11712 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11713 (cvs-execute-single-dir): Fix docstring typos.
11714
11715 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11716 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11717
11718 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11719
11720 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11721 Fix docstring typos.
11722
11723 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11724
11725 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11726 called from jump-to-register after unloading the frameset package.
11727
11728 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11731 (bug#16975). Deactivate the mark before setting it to nil.
11732 (activate-mark): Do nothing if region is already active.
11733
11734 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * frameset.el (frameset--target-display): Remove definition; declare.
11737 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11738
11739 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11742 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11743 when the advice is pending.
11744 (advice-remove): Remove this marker when not needed any more.
11745
11746 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * frameset.el: Separate options for reusing frames and cleaning up.
11749 (frameset--reuse-list): Remove definition; declare.
11750 (frameset--action-map): Declare.
11751 (frameset--find-frame-if): Doc fix.
11752 (frameset--restore-frame): Cache frame action.
11753 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11754 how to clean up the frame list after restoring. Remove cleaning
11755 options from REUSE-FRAMES. Change all keyword values to symbols.
11756 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11757
11758 * desktop.el (desktop-restore-forces-onscreen)
11759 (desktop-restore-reuses-frames): Use non-keyword values.
11760 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11761
11762 2014-03-10 Glenn Morris <rgm@gnu.org>
11763
11764 * files.el (find-file): Doc fix: update info node name.
11765
11766 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11767 Doc fix: remove references to deleted info nodes.
11768
11769 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11772 Do not add nil to the environment, when there's no remote `locale'.
11773 (tramp-find-inline-encoding): Check, that the remote host has
11774 installed perl, before sending scripts.
11775
11776 2014-03-10 Leo Liu <sdl.web@gmail.com>
11777
11778 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11779 Clear eldoc-last-message. (Bug#16920)
11780
11781 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11784 (bug#14430).
11785
11786 2014-03-09 Juri Linkov <juri@jurta.org>
11787
11788 * ansi-color.el (ansi-color-names-vector): Copy default colors
11789 from `xterm-standard-colors' that look well on the default white
11790 background (and also on the black background) to avoid illegible
11791 color combinations like yellow-on-white and white-on-white.
11792 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11793
11794 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11795
11796 * frameset.el (frameset-restore): When no frame is visible, do not
11797 generate a list of frames, just make visible the selected one.
11798
11799 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11800
11801 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11802 it only contains the repository root. (Bug#16897)
11803
11804 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11805
11806 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11807 only when `remote-file-name-inhibit-cache' is nil.
11808 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11809
11810 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11811
11812 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11813 Fix doc-strings.
11814 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11815 fit-frame-to-buffer variable. Fix doc-string.
11816 (fit-window-to-buffer): Set ONLY argument in call of
11817 fit-frame-to-buffer. Fix doc-string.
11818
11819 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11820
11821 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11822 (tramp-action-password): Clear password cache if needed.
11823 (tramp-read-passwd): Do not clear password cache.
11824
11825 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11826 cache unless it is the first password request.
11827
11828 2014-03-06 Glenn Morris <rgm@gnu.org>
11829
11830 * simple.el (newline): Doc tweak.
11831
11832 * emacs-lisp/shadow.el (load-path-shadows-find):
11833 Ignore dir-locals. (Bug#12357)
11834
11835 2014-03-05 Glenn Morris <rgm@gnu.org>
11836
11837 * files.el (interpreter-mode-alist):
11838 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
11839
11840 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11841
11842 * frameset.el (frameset--initial-params): Filter out null entries.
11843
11844 2014-03-05 Martin Rudalics <rudalics@gmx.at>
11845
11846 * window.el (window-min-height, window-min-width):
11847 Rewrite doc-strings.
11848 (window-body-size): Add PIXELWISE argument to make it consistent
11849 with its callees.
11850
11851 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11852
11853 * finder.el (finder-mode-map, finder-mode-syntax-table):
11854 Revert part of 2014-02-28 change.
11855
11856 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
11857
11858 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11859 (eww-setup-buffer): Clear next/prev/etc more reliably.
11860 (eww-textarea-map): [tab] doesn't work on tty.
11861 Reported by Mario Lang.
11862
11863 * net/shr.el (shr-map): Ditto.
11864
11865 2014-03-04 Glenn Morris <rgm@gnu.org>
11866
11867 * minibuffer.el (completion-hilit-commonality):
11868 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11869
11870 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11871
11872 * hilit-chg.el (hilit-chg-unload-function): New function.
11873 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11874 (hilit-chg-map-changes): Prefer cardinal number to digit.
11875 (hilit-chg-display-changes): Reflow docstring.
11876 (highlight-changes-rotate-faces): Remove superfluous backslash.
11877
11878 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
11879
11880 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11881 `tramp-send-command-and-check'.
11882
11883 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11884
11885 * hexl.el (hexl-address-region, hexl-ascii-region)
11886 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11887 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11888 (hexl-forward-word, hexl-previous-line, hexl-next-line):
11889 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11890 (hexl-mode): Doc fix.
11891 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11892 (hexl-mode-ruler): Fix typos in docstrings.
11893
11894 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11895 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11896 Remove superfluous backslashes.
11897 (strokes-last-stroke, strokes-global-map, strokes-mode):
11898 Reflow docstrings.
11899 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11900 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11901 (strokes-distance-squared, strokes-global-set-stroke)
11902 (strokes-global-set-stroke-string): Doc fixes.
11903 (strokes-help): Fix typos; reflow docstring.
11904
11905 2014-03-04 Martin Rudalics <rudalics@gmx.at>
11906
11907 * window.el (window-in-direction): Fix doc-string.
11908
11909 2014-03-04 Glenn Morris <rgm@gnu.org>
11910
11911 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11912 Explicit error if no grammar.
11913 (smie-config-save): Doc fix. Fix quote typo.
11914
11915 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11918 electric-indent-mode-hook if we obey electric-indent-mode.
11919 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11920 decide whether we obey electric-indent-mode.
11921 (c-change-set-fl-decl-start, c-extend-after-change-region):
11922 Silence warnings.
11923 (c-electric-indent-mode-hook): Assume we do want to obey
11924 electric-indent-mode.
11925
11926 * electric.el (electric-indent-mode-has-been-called): Remove.
11927 (electric-indent-mode): Fix accordingly.
11928
11929 * files.el (hack-local-variables): Mention file name in warning.
11930
11931 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11932
11933 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
11934
11935 * bindings.el: Add comment describing why C-d binds to `delete-char'.
11936 * simple.el (delete-forward-char): Mark as interactive-only.
11937
11938 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11939
11940 * icomplete.el (icomplete-completions):
11941 Follow-up to 2014-03-01 change.
11942
11943 * icomplete.el: Miscellaneous doc fixes.
11944 Use Icomplete everywhere instead of icomplete for consistency.
11945 (icomplete-max-delay-chars): Fix typo.
11946 (icomplete-mode): Use \[].
11947 (icomplete-tidy, icomplete-exhibit): Reflow.
11948 (icomplete-minibuffer-setup-hook, icomplete-completions):
11949 Remove superfluous backlashes.
11950
11951 * ido.el: Miscellaneous doc fixes.
11952 Use Ido everywhere instead of ido or `ido' for consistency.
11953 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11954 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11955 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11956 (ido-separator): Extract obsolescence info from docstring and declare
11957 with make-obsolete-variable.
11958 (ido-minibuffer-setup-hook): Simplify example.
11959 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11960 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11961 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11962 (ido-everywhere): Reflow docstring.
11963 (ido-toggle-vc): Doc fix.
11964 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11965 of long list of keybindings.
11966
11967 2014-03-03 Glenn Morris <rgm@gnu.org>
11968
11969 * frame.el (display-pixel-height, display-pixel-width)
11970 (display-mm-dimensions-alist, display-mm-height)
11971 (display-mm-width): Doc tweaks.
11972
11973 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
11974
11975 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11976 case of undo in region.
11977
11978 2014-03-02 Martin Rudalics <rudalics@gmx.at>
11979
11980 * window.el (fit-window-to-buffer): Fix argument in window-size
11981 call when window is horizontally combined.
11982
11983 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * icomplete.el (icomplete-completions): Use string-width.
11986 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11987
11988 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
11989
11990 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11991 Highlight regexp options. (Bug#16914)
11992
11993 2014-03-01 Martin Rudalics <rudalics@gmx.at>
11994
11995 * window.el (window--max-delta-1): Round down when calculating
11996 how many lines/columns we can get from a window.
11997
11998 2014-03-01 Glenn Morris <rgm@gnu.org>
11999
12000 * isearch.el (search-invisible): Doc fix.
12001
12002 * minibuffer.el (completion-hilit-commonality):
12003 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12004 * comint.el (comint-dynamic-list-completions): Doc fix.
12005 * comint.el (comint-dynamic-list-completions):
12006 * filecache.el (file-cache-minibuffer-complete):
12007 * tempo.el (tempo-display-completions):
12008 * eshell/em-hist.el (eshell-list-history):
12009 Replace use of obsolete argument of display-completion-list.
12010
12011 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12012
12013 * icomplete.el (icomplete-completions):
12014 Revert back to using "..." when ?… cannot be displayed.
12015
12016 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * finder.el (finder-unload-function): New function.
12019
12020 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * dframe.el (dframe-detach):
12023 * find-dired.el (find-dired, find-name-dired):
12024 * finder.el (finder-mode-map, finder-mode-syntax-table)
12025 (finder-headmark, finder-select, finder-mouse-select):
12026 Fix docstring typos.
12027
12028 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12029
12030 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12031 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12032 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12033 Fix doc-string based on a suggestion by Nicolas Richard
12034 <theonewiththeevillook@yahoo.fr>.
12035 * help.el (with-help-window): Fix doc-string.
12036
12037 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12038
12039 * net/shr.el (shr-image-animate): New option.
12040 (shr-put-image): Respect shr-image-animate.
12041
12042 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12043
12044 * net/tramp-adb.el (tramp-adb-parse-device-names):
12045 Use `accept-process-output'.
12046 (tramp-adb-handle-file-truename): Cache the localname only.
12047 (tramp-adb-handle-make-directory)
12048 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12049 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12050 modes cannot be changed.
12051
12052 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12053 file properties of symlinks.
12054
12055 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12056
12057 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12058 required/optional fields to match development biblatex. (Bug#16781)
12059
12060 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12061
12062 * saveplace.el (toggle-save-place):
12063 Fix argument handling. (Bug#16673)
12064
12065 2014-02-28 Glenn Morris <rgm@gnu.org>
12066
12067 * minibuffer.el (completions-first-difference)
12068 (completions-common-part, completion-hilit-commonality): Doc fixes.
12069
12070 2014-02-28 Karl Berry <karl@gnu.org>
12071
12072 * info.el (Info-mode-map): Add H for describe-mode,
12073 to synchronize with standalone Info.
12074
12075 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12076
12077 * progmodes/sql.el (sql-interactive-mode):
12078 Avoid setting global comint-input-ring-separator. (Bug#16814)
12079
12080 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/dbus.el (dbus--init-bus): Declare function.
12083 (dbus-path-local, dbus-interface-local): New defconst.
12084 (dbus-init-bus): Use them.
12085 (dbus-return-values-table): Extend doc.
12086 (dbus-handle-bus-disconnect): Extend error message.
12087
12088 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * subr.el (y-or-n-p): Fix double space issue in message.
12091
12092 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12093
12094 * net/tramp.el (tramp-call-process): Improve trace message.
12095 (tramp-handle-insert-file-contents): Trace error case.
12096
12097 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12098 <insert-directory>: Use `tramp-handle-insert-directory'.
12099 (tramp-adb-handle-insert-directory): Remove function.
12100 (tramp-adb-send-command-and-check): New defun, replacing
12101 `tramp-adb-command-exit-status'. Change all callees.
12102 (tramp-adb-handle-file-attributes)
12103 (tramp-adb-handle-directory-files-and-attributes): Use it.
12104 (tramp-adb-ls-output-name-less-p):
12105 Use `directory-listing-before-filename-regexp'.
12106 (tramp-adb-handle-delete-directory): Flush also file properties of
12107 the truename of directory.
12108 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12109 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12110 (tramp-adb-handle-write-region): Implement APPEND.
12111 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12112 properties correctly.
12113 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12114 variables. Check for connected devices only when needed.
12115
12116 2014-02-27 Glenn Morris <rgm@gnu.org>
12117
12118 * minibuffer.el (completion-table-dynamic)
12119 (completion-table-with-cache): Doc fixes.
12120
12121 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12122 (completing-read-multiple): Doc fixes.
12123
12124 2014-02-27 Daniel Colascione <dancol@dancol.org>
12125
12126 * minibuffer.el (completion--nth-completion): Fix indentation.
12127
12128 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12129 explicit tramp path is empty.
12130
12131 2014-02-27 Glenn Morris <rgm@gnu.org>
12132
12133 * emacs-lisp/crm.el (completing-read-multiple):
12134 Empower help-enable-auto-load.
12135
12136 2014-02-26 Glenn Morris <rgm@gnu.org>
12137
12138 * startup.el (command-line): Don't init the tty in daemon mode.
12139
12140 Avoid calling tty-setup-hook twice, eg if a term file
12141 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12142 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12143 (tty-create-frame-with-faces): Use it.
12144 * startup.el (command-line): Pass run-hook argument
12145 to tty-run-terminal-initialization.
12146
12147 * dired.el (dired-restore-desktop-buffer): Demote errors;
12148 eg in case a glob match fails. (Bug#16884)
12149
12150 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12151
12152 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12153 error from `read-from-string'. (Bug#16850)
12154
12155 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12156 result of `completing-read' in the interactive form. (Bug#16854)
12157
12158 2014-02-25 Glenn Morris <rgm@gnu.org>
12159
12160 * image.el (image-animate, image-animate-timeout):
12161 Stop animating images in dead buffers. (Bug#16878)
12162
12163 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12164
12165 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12166 Doc fixes.
12167 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12168 * term/sun.el (sun-raw-prefix-hooks):
12169 Use tty-setup-hook instead of term-setup-hook.
12170 (terminal-init-sun): Construct message from bytecomp plist.
12171 * term/wyse50.el (enable-arrow-keys): Doc fix.
12172
12173 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12174
12175 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12176 Fix docstring typos.
12177
12178 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12179
12180 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12181
12182 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12183
12184 * minibuffer.el (completion--try-word-completion):
12185 Fix error when completing M-x commands (bug#16808).
12186
12187 2014-02-24 Leo Liu <sdl.web@gmail.com>
12188
12189 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12190
12191 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * apropos.el (apropos-print): Avoid formatting error when
12194 apropos-do-all and apropos-compact-layout are both t.
12195
12196 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12197
12198 * apropos.el (apropos-property, apropos-all-words-regexp)
12199 (apropos-true-hit, apropos-variable, apropos-print):
12200 Fix docstring typos, and remove obsolete comment.
12201
12202 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12203
12204 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12205 Preserve trailing "/". (Bug#16851)
12206
12207 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12208
12209 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12210 after `=>' (bug#16811).
12211 (ruby-smie-rules): Handle the inconsistent second element of the
12212 list returned by `smie-indent--parent'.
12213 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12214 method call.
12215
12216 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12217
12218 * elec-pair.el (electric-pair-text-syntax-table)
12219 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12220 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12221 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12222 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12223
12224 2014-02-22 Glenn Morris <rgm@gnu.org>
12225
12226 * imenu.el (imenu--generic-function): Doc fix.
12227
12228 * register.el (frame-configuration-to-register): Make obsolete.
12229
12230 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * desktop.el (desktop-save-buffer-p): Do not fail when
12233 desktop-files-not-to-save is nil. Return t for true result
12234 as the doc says.
12235
12236 2014-02-22 Daniel Colascione <dancol@dancol.org>
12237
12238 * net/secrets.el (secrets-create-item, secrets-search-items):
12239 Check that attribute values are strings, avoiding the construction
12240 of invalid dbus messages.
12241
12242 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12243
12244 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12245 defun-declarations-alist.
12246
12247 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12250 (bug#16829).
12251
12252 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12255 (whitespace-newline, whitespace-trailing, whitespace-line)
12256 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12257 (whitespace-space-after-tab): Fix typo in docstrings.
12258
12259 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12260
12261 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12262
12263 * electric.el (electric-indent-functions-without-reindent):
12264 Add `yaml-indent-line'.
12265
12266 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12267
12268 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12269 It has done nothing for years; should be removed after the release.
12270
12271 * simple.el (choose-completion): Fix docstring typo.
12272 (read-quoted-char-radix): Remove unneeded * in docstring.
12273 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12274 Don't escape parentheses unnecessarily in docstrings.
12275
12276 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12277
12278 Fix handling of window-min-height/-width (Bug#16738).
12279 * window.el (window--dump-window, window--dump-frame):
12280 New functions.
12281 (window--min-size-1): Account for window dividers.
12282 When window-resize-pixelwise is nil, delay rounding till after the
12283 sum of the window components has been calculated.
12284 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12285 nil make sure at least one text line and two text columns remain
12286 fully visible.
12287 (window-resize): Signal an error when window-resize-apply fails.
12288 (window--resize-child-windows): Fix calculation of by how many
12289 pixels a window can still be shrunk via window-new-normal.
12290 (adjust-window-trailing-edge): Call window--resizable with
12291 correct TRAIL argument.
12292
12293 (with-temp-buffer-window): Don't evaluate BODY within
12294 with-current-buffer (Bug#16816).
12295
12296 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp.el (tramp-check-cached-permissions):
12299 Call `file-attributes' with `suffix' being a symbol but a string.
12300
12301 2014-02-21 Daniel Colascione <dancol@dancol.org>
12302
12303 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12304 (dbus-init-bus): New function: call into dbus-init-bus-1
12305 and installs a handler for the disconnect signal.
12306 (dbus-call-method): Rewrite to look for result in cons.
12307 (dbus-call-method-handler): Store result in cons.
12308 (dbus-check-event): Recognize events with nil sender as valid.
12309 (dbus-handle-bus-disconnect): New function. React to bus
12310 disconnection signal by synthesizing dbus error for each
12311 pending synchronous or asynchronous call.
12312 (dbus-notice-synchronous-call-errors): New function.
12313 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12314 is true, not all the time.
12315
12316 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12317
12318 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12319 Remove obsolescence declarations, these variables do not exist anymore.
12320
12321 * savehist.el (savehist-save-minibuffer-history)
12322 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12323 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12324 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12325 mostly, refer to "Savehist mode" when talking about the mode,
12326 and not the function.
12327
12328 * saveplace.el (save-place): Remove redundant info in docstring.
12329 (save-place-forget-unreadable-files, toggle-save-place)
12330 (save-place-forget-unreadable-files, save-place-dired-hook):
12331 Fix typos and remove unneeded backslashes.
12332
12333 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12334
12335 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12336 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12337
12338 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12339 <insert-directory>: Use `tramp-handle-insert-directory'.
12340 (tramp-gvfs-handle-insert-directory): Remove function.
12341
12342 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12343 Call `tramp-handle-insert-directory'.
12344
12345 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12348 before the start of buffer/region (bug#16799).
12349
12350 2014-02-20 Glenn Morris <rgm@gnu.org>
12351
12352 * isearch.el (search-invisible): Doc fix.
12353
12354 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12355
12356 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12357 (bug#16657).
12358
12359 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12360
12361 * frameset.el (frameset-restore): Delay removing an old frame's
12362 duplicate id until the new frame has been correctly created.
12363
12364 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12365
12366 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12367 (tramp-check-cached-permissions): Call `file-attributes' if the
12368 cache is empty.
12369
12370 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12371 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12372
12373 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12374 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12375 (tramp-gvfs-maybe-open-connection): Set always connection
12376 properties, even if target is mounted already.
12377
12378 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12379 Set tramp-autoload cookie.
12380 (tramp-get-remote-touch): New defun.
12381 (tramp-sh-handle-set-file-times): Use it.
12382 (tramp-sh-handle-directory-files-and-attributes):
12383 Use `tramp-handle-directory-files-and-attributes' if neither stat
12384 nor perl are available on the remote host.
12385
12386 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12387 "/". Write long listing only when "l" belongs to the switches.
12388
12389 * net/trampver.el: Update release number.
12390
12391 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12394
12395 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12396
12397 * window.el (window-state-put): Allow WINDOW to refer to an
12398 internal window (Bug#16793).
12399
12400 2014-02-19 Glenn Morris <rgm@gnu.org>
12401
12402 * textmodes/remember.el: Move provide statement to end.
12403 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12404 (remember-notes): Doc fixes.
12405
12406 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * delsel.el (delete-char): Restore incorrectly erased property
12409 (bug#16795).
12410
12411 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12412
12413 * frameset.el (frameset--restore-frame): When a frame is being reused
12414 and its root window is not alive, delete all the frame's windows before
12415 restoring the window state. This works around the issue in bug#16793.
12416
12417 2014-02-18 Glenn Morris <rgm@gnu.org>
12418
12419 * textmodes/remember.el (remember-data-directory)
12420 (remember-directory-file-name-format, remember-store-in-files)
12421 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12422 (remember-notes-save-and-bury-buffer)
12423 (remember-notes--kill-buffer-query): Doc fixes.
12424
12425 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12426
12427 2014-02-17 Alan Mackenzie <acm@muc.de>
12428
12429 Connect electric-indent-mode up with CC Mode. Bug #15478.
12430 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12431 to electric-indent-{,local-}-mode.
12432 (c-basic-common-init): Set electric-indent-inhibit.
12433 Initialize c-electric-flag from electric-indent-mode.
12434 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12435 New hook functions which propagate electric-indent-mode to CC mode.
12436
12437 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12438 hit, toggle electric-indent-local-mode.
12439
12440 * electric.el (electric-indent-mode-has-been-called):
12441 New variable.
12442
12443 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12444
12445 * frameset.el (frameset-cfg-id): New function.
12446 (frameset--reuse-frame, frameset-restore): Use it.
12447 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12448
12449 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * ido.el (ido-file-internal): Remove unused var `d'.
12452 Use \` for to match BoS. Fit within 80n columns.
12453
12454 2014-02-17 Daniel Colascione <dancol@dancol.org>
12455
12456 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12457 dbus-call-method check for completion using a busy-wait loop with
12458 gradual backoff.
12459
12460 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12461
12462 Sync with Tramp 2.2.9.
12463
12464 * net/trampver.el: Update release number.
12465
12466 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12467
12468 * ido.el (ido-file-internal): Don't add the name of an existing
12469 directory twice. (Bug#16747)
12470
12471 2014-02-16 Glenn Morris <rgm@gnu.org>
12472
12473 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12474 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12475
12476 2014-02-15 Michael R. Mauger <michael@mauger.com>
12477
12478 * progmodes/sql.el: Version 3.4
12479 (sql-oracle-options): New default value ("-L").
12480 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12481 (sql-placeholders-filter): Correct placeholder pattern.
12482 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12483 (sql-login-delay): New variable.
12484 (sql-product-interactive): Use it.
12485
12486 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12487
12488 * frameset.el (frameset--jump-to-register): Check that buffer is live
12489 (bug#16749).
12490
12491 2014-02-15 Glenn Morris <rgm@gnu.org>
12492
12493 * info.el (info-initialize): Revert 2014-01-10 change.
12494
12495 2014-02-14 Glenn Morris <rgm@gnu.org>
12496
12497 * replace.el (map-query-replace-regexp)
12498 (read-regexp-defaults-function, read-regexp): Doc fixes.
12499
12500 * dired.el (dired-read-regexp):
12501 * faces.el (list-faces-display):
12502 * misearch.el (multi-isearch-read-matching-buffers)
12503 (multi-isearch-read-matching-files):
12504 * play/cookie1.el (cookie-apropos):
12505 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12506
12507 * textmodes/remember.el (remember): Use frameset-to-register
12508 rather than frame-configuration-to-register.
12509
12510 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12511
12512 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12513 incorrect keybinding.
12514
12515 2014-02-13 Daniel Colascione <dancol@dancol.org>
12516
12517 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12518 when adding overlays so that line numbers from compiler match line
12519 numbers we use.
12520
12521 2014-02-13 Glenn Morris <rgm@gnu.org>
12522
12523 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12524
12525 * jit-lock.el (jit-lock-mode): Doc fix.
12526
12527 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12528
12529 * apropos.el (apropos-read-pattern): When the user passes an empty
12530 string, give a more helpful error message than "Wrong type
12531 argument: stringp, nil".
12532
12533 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12536
12537 2014-02-13 Glenn Morris <rgm@gnu.org>
12538
12539 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12540
12541 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12544 shift-select commands.
12545
12546 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12547
12548 * progmodes/js.el (js-indent-line): Don't widen.
12549 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12550
12551 2014-02-12 Glenn Morris <rgm@gnu.org>
12552
12553 * icomplete.el (icomplete): Add info-link to defgroup.
12554 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12555 (icomplete-minibuffer-map, icomplete-mode)
12556 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12557
12558 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12559 (package-menu-filter): Rename from package-menu-filter-interactive.
12560 Doc fix.
12561
12562 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12563
12564 * frameset.el (frameset--jump-to-register): Select the required
12565 window and buffer before restoring position (bug#16696).
12566
12567 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12568
12569 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12570
12571 2014-02-10 Glenn Morris <rgm@gnu.org>
12572
12573 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12574
12575 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12576
12577 * w32-common-fns.el (x-get-selection): Doc fix.
12578 * select.el (x-get-selection): Doc fix. (Bug#15109)
12579
12580 * face-remap.el (face-remap-add-relative)
12581 (face-remap-remove-relative, face-remap-reset-base)
12582 (face-remap-set-base): Call force-mode-line-update to redisplay
12583 the current buffer due to potential change in faces. (Bug#16709)
12584
12585 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12586
12587 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12588 script more robustly.
12589
12590 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12591
12592 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12593
12594 * simple.el (choose-completion): Doc fix (bug#14160).
12595
12596 * subr.el (event-start): Say what a nil EVENT value means.
12597
12598 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12599 (bug#14197).
12600
12601 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12602
12603 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12604
12605 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12606
12607 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12608 predicate function (bug#15455).
12609
12610 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12611
12612 * ielm.el (inferior-emacs-lisp-mode): Instead of
12613 `comment-use-global-state', set `comment-use-syntax'.
12614
12615 2014-02-10 Glenn Morris <rgm@gnu.org>
12616
12617 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12618
12619 2014-02-09 Alan Mackenzie <acm@muc.de>
12620
12621 Fix c-invalidate-state-cache on narrowed buffers.
12622 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12623 Widen when setting and clearing the CPP delimiter properties.
12624
12625 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12626
12627 * help.el (describe-bindings): Doc fix (bug#9888).
12628
12629 * files.el (save-buffer): Use ARG as the parameter name for
12630 consistency (bug#10346).
12631 (save-buffer): Clarify the 0 argument (bug#10346).
12632
12633 * cus-edit.el (customize-apropos): Fix error string.
12634 (custom-buffer-create): Doc fix (bug#11122).
12635 (custom-sort-items): Doc fix (bug#11121).
12636
12637 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12638
12639 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12640 (icomplete-simple-completing-p): Mention the previous variable.
12641
12642 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12643 meaning of the parameter (bug#12282).
12644
12645 * files.el (find-file-noselect): Clarify prompt when changing
12646 readedness (bug#13261).
12647 (locate-file): Suffixes aren't returned, so don't say that they
12648 are (bug#12674).
12649 (backup-inhibited): Doc clarification (bug#12525).
12650
12651 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12652 before we actually start to delete things (bug#16331).
12653
12654 * subr.el (event-start): Doc fix (bug#14228).
12655 (event-end): Ditto.
12656
12657 2014-02-09 Glenn Morris <rgm@gnu.org>
12658
12659 * emacs-lisp/warnings.el (lwarn):
12660 Empower help-enable-auto-load. (Bug#15940)
12661
12662 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12663
12664 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12665 (Bug#16690)
12666
12667 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12668
12669 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12670 Insert output at end of buffer. (Bug#16120)
12671
12672 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12673
12674 * simple.el (choose-completion-string-functions): Document new
12675 calling convention (bug#14153).
12676 (execute-extended-command): Clarify doc string (bug#13373).
12677
12678 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12679
12680 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12681 (find-grep-dired): Doc fix (bug#14288).
12682
12683 2014-02-08 Juri Linkov <juri@jurta.org>
12684
12685 * isearch.el (isearch-quote-char): Check character validity
12686 like in `quoted-insert' (bug#16677).
12687
12688 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12689
12690 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12691
12692 * isearch.el (isearch-hide-immediately): Doc clarification
12693 (bug#14723).
12694
12695 * simple.el (line-move): Document utility function used many
12696 places in the Emacs sources (bug#14843).
12697
12698 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12699 (dired-prev-marked-file): Doc fix (bug#14855).
12700 (dired-up-directory): Doc fix (bug#14848).
12701
12702 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12703
12704 * files.el (file-relative-name): Doc fix (bug#15159).
12705
12706 * fringe.el (fringe-styles): Doc fix (bug#15239).
12707
12708 * isearch.el (isearch-filter-predicate): Documentation typo fix
12709 (bug#15474).
12710
12711 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12712
12713 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12714
12715 * replace.el (replace-match-maybe-edit): Doc clarification
12716 (bug#15632).
12717
12718 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12719
12720 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12721
12722 2014-02-08 Glenn Morris <rgm@gnu.org>
12723
12724 * help-fns.el (describe-variable):
12725 Check {file,dir}-local-variables-alist, and buffer-file-name,
12726 in the correct buffer.
12727
12728 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12729
12730 * help-fns.el (describe-variable): Fix the case where
12731 a value is directory-local with no dir-locals file. (Bug#16635)
12732
12733 2014-02-08 Glenn Morris <rgm@gnu.org>
12734
12735 * abbrev.el (edit-abbrevs-mode):
12736 Derive from fundamental-mode. (Bug#16682)
12737
12738 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * simple.el (quoted-insert): Check character validity (bug#16677).
12741
12742 2014-02-07 Juri Linkov <juri@jurta.org>
12743
12744 * desktop.el (desktop-read): Claim the lock when the owner is not
12745 the current process. (Bug#16157)
12746
12747 2014-02-07 Juri Linkov <juri@jurta.org>
12748
12749 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12750 to "\\` ". (Bug#16651)
12751
12752 2014-02-07 Juri Linkov <juri@jurta.org>
12753
12754 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12755 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12756 (desktop-auto-save-cancel-timer): New function with some code from
12757 `desktop-auto-save-set-timer'.
12758 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12759 Instead of setting `desktop-save-mode' to nil, call
12760 `desktop-save-mode' with arg 0. (Bug#16630)
12761
12762 2014-02-07 Glenn Morris <rgm@gnu.org>
12763
12764 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12765 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12766 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12767
12768 * obsolete/iswitchb.el: Move to obsolete/.
12769 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12770 since obsolete/ is not scanned for autoloads.
12771 * emacs-lisp/authors.el (authors-valid-file-names):
12772 Add iswitchb.el.
12773
12774 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12775 Disable now non-functional find-file-hook.
12776
12777 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12778
12779 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12780 instead of ";" in order to avoid additional prompts. Let heredoc
12781 scripts read from tty. (Bug#16582)
12782 (tramp-send-command): No special handling of heredocs, it isn't
12783 necessary anymore.
12784
12785 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12788 with a space (bug#16664). Limit the symbols considered to the ones
12789 that are bound or fbound (bug#16646).
12790
12791 2014-02-06 Glenn Morris <rgm@gnu.org>
12792
12793 * epa.el (epa-mail-aliases): Doc fix.
12794
12795 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12796
12797 * emacs-lisp/lisp.el (lisp-completion-at-point):
12798 Use `completion-table-merge' instead of `completion-table-in-turn'
12799 (bug#16604).
12800
12801 * minibuffer.el (completion-table-merge): New function.
12802
12803 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12804
12805 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12806 (tramp-sh-handle-set-file-acl)
12807 (tramp-sh-handle-start-file-process)
12808 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12809 (tramp-find-executable, tramp-send-command): Use it.
12810
12811 2014-02-05 Glenn Morris <rgm@gnu.org>
12812
12813 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12814
12815 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12816
12817 * progmodes/python.el (python-shell-send-string)
12818 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12819
12820 2014-02-04 Anders Lindgren <andlind@gmail.com>
12821
12822 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12823 the names (bug#16620).
12824
12825 2014-02-03 Martin Rudalics <rudalics@gmx.at>
12826
12827 * faces.el (window-divider): New default value. Rewrite doc-string.
12828 (window-divider-first-pixel, window-divider-last-pixel): New faces.
12829
12830 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12831
12832 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12833 `protected' and `public' can also be called without arguments.
12834
12835 2014-02-03 Glenn Morris <rgm@gnu.org>
12836
12837 * register.el (window-configuration-to-register)
12838 (frame-configuration-to-register): Unadvertise unused argument.
12839 * frameset.el (frameset-to-register): Remove unused argument.
12840
12841 * frameset.el (frameset-to-register):
12842 * kmacro.el (kmacro-to-register):
12843 * register.el (increment-register):
12844 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12845 (calc-append-to-register, calc-prepend-to-register):
12846 * play/gametree.el (gametree-layout-to-register)
12847 (gametree-apply-register-layout):
12848 * textmodes/picture.el (picture-clear-rectangle-to-register)
12849 (picture-yank-rectangle-from-register):
12850 * vc/emerge.el (emerge-combine-versions-register):
12851 Use register-read-with-preview to read registers.
12852
12853 2014-02-03 João Távora <joaotavora@gmail.com>
12854
12855 * elec-pair.el (electric-pair-backward-delete-char): Don't error
12856 when at beginning of (possibly narrowed) buffer.
12857
12858 2014-02-02 Daniel Colascione <dancol@dancol.org>
12859
12860 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12861 Also try to display local help from just before point.
12862
12863 2014-02-02 Alan Mackenzie <acm@muc.de>
12864
12865 c-parse-state. Don't "append-lower-brace-pair" in certain
12866 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
12867 recognised as a comment.
12868
12869 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12870 as well as normal comment starter.
12871 (c-parse-state-get-strategy): Extra return possibility
12872 'back-and-forward.
12873 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12874 return value list to indicate replacement of a brace-pair cons
12875 with its car.
12876 (c-parse-state-1): With 'back-and-forward, only call
12877 c-append-lower-brace-pair-to state-cache when cons-separated.
12878
12879 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
12880
12881 * term/ns-win.el (ns-suspend-error): New function.
12882 (ns-initialize-window-system): Add ns-suspend-error to
12883 suspend-hook (Bug#16612).
12884
12885 2014-02-02 Daniel Colascione <dancol@dancol.org>
12886
12887 * progmodes/cc-defs.el (c-find-assignment-for-mode):
12888 Make loading cc-mode silent.
12889
12890 2014-02-02 Daniel Colascione <dancol@dancol.org>
12891
12892 * comint.el (comint-prompt-read-only): Change doc to suggest
12893 remap keybinding.
12894
12895 2014-02-02 Glenn Morris <rgm@gnu.org>
12896
12897 * register.el (register-read-with-preview, point-to-register)
12898 (window-configuration-to-register, frame-configuration-to-register)
12899 (jump-to-register, number-to-register, view-register, insert-register)
12900 (copy-to-register, append-to-register, prepend-to-register)
12901 (copy-rectangle-to-register): Doc fixes.
12902
12903 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12906 * emacs-lisp/find-func.el (find-function-C-source): Idem.
12907 * emacs-lisp/nadvice.el (advice--cd*r): New function.
12908 * help-fns.el (describe-function-1): Use it.
12909
12910 2014-02-02 Glenn Morris <rgm@gnu.org>
12911
12912 * register.el (register-preview-default): New function,
12913 split from register-preview.
12914 (register-preview-function): Rename from register-preview-functions,
12915 make it not a hook.
12916 (register-preview): Use register-preview-function.
12917 (register-read-with-preview): Error on non-character event. (Bug#16595)
12918
12919 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
12920
12921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12922 `:' before binary operators (bug#16609). Don't check for `:'
12923 before `[' and `(', or their syntax status. A percent literal
12924 can't end with either.
12925 (ruby-font-lock-keywords): For built-ins that require arguments,
12926 check that they're followed by something that looks like argument
12927 (bug#16610).
12928
12929 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12930
12931 * subr.el (butlast): Document what an omitted N means (bug#13437).
12932 (nbutlast): Ditto.
12933
12934 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
12935
12936 * net/shr.el (shr-generic): Make into a defsubst to make the stack
12937 depth shallower (bug#16587).
12938 (shr-tag-svg): Respect `shr-inhibit-images'.
12939 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12940
12941 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
12942
12943 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12944 (ruby-smie-grammar): Make "." right-associative. Make its priority
12945 lower than the ternary and all binary operators.
12946 (ruby-smie-rules): Indent "(" relative to the first non-"."
12947 parent, or the first "." parent at indentation.
12948 Use `ruby-align-chained-calls' for indentation of "." tokens.
12949 (Bug#16593)
12950
12951 2014-01-31 Juri Linkov <juri@jurta.org>
12952
12953 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12954 from `make-hash-table'.
12955
12956 * textmodes/ispell.el (ispell-init-process): Change message format
12957 to be consistent with other messages.
12958
12959 2014-01-31 Glenn Morris <rgm@gnu.org>
12960
12961 * delsel.el (delete-selection-mode): Doc fix.
12962
12963 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12964 (trace-function-background): Doc fixes.
12965
12966 * ido.el (ido-use-virtual-buffers): Doc fix.
12967 Reset :version, since the default value has not changed.
12968
12969 * register.el (register-preview-delay, register-read-with-preview):
12970 Doc fixes.
12971
12972 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12973 do not mess with mail-buffer position (fixes 2009-11-03 change).
12974 * progmodes/cc-mode.el (c-submit-bug-report):
12975 Check auto-fill-mode is bound. (Bug#16592)
12976
12977 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
12978
12979 * startup.el (fancy-splash-image-file): New function,
12980 split from fancy-splash-head.
12981 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12982 so that we are both using the same image. (Bug#16574)
12983
12984 2014-01-30 Glenn Morris <rgm@gnu.org>
12985
12986 * simple.el (eval-expression): Doc fix.
12987
12988 * hexl.el (hexl-mode-hook):
12989 * ielm.el (ielm-mode-hook):
12990 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12991 (lisp-interaction-mode-hook):
12992 * progmodes/cfengine.el (cfengine3-documentation-function):
12993 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12994
12995 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12998 is a symbol (bug#16584).
12999
13000 2014-01-30 Glenn Morris <rgm@gnu.org>
13001
13002 * help.el (help-for-help-internal): Add "P" to text.
13003
13004 2014-01-29 Glenn Morris <rgm@gnu.org>
13005
13006 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13007
13008 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13009
13010 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13011 height constraints.
13012
13013 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13014
13015 * progmodes/hideif.el: Extend to full CPP expression syntax.
13016 (hif-token-alist): Add missing tokens.
13017 (hif-token-regexp): Add support for float/octal/hex immediates.
13018 (hif-string-literal-regexp): New const.
13019 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13020 (hif-exprlist): New function.
13021 (hif-parse-if-exp): Use it.
13022 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13023 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13024 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13025 (hif-logxor, hif-comma): New functions.
13026
13027 2014-01-28 Glenn Morris <rgm@gnu.org>
13028
13029 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13030
13031 * indent.el (tab-stop-list): Doc fix. Add :version.
13032
13033 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13034 (cvs-append-to-ignore): Add compatibility alias.
13035
13036 2014-01-27 Glenn Morris <rgm@gnu.org>
13037
13038 * dired.el (dired-hide-details-mode): Don't autoload it,
13039 since it cannot be used outside Dired buffers anyway.
13040
13041 * emulation/cua-base.el (cua-mode): Doc fix.
13042
13043 * dired.el (dired-hide-details-hide-symlink-targets)
13044 (dired-hide-details-hide-information-lines)
13045 (dired-hide-details-mode): Doc fixes.
13046
13047 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13048 * strokes.el (strokes-file): Doc fix. Bump :version.
13049 (strokes-help): Doc fix.
13050 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13051 * emulation/viper.el (viper): Doc fix for custom group.
13052 (top-level): Remove oh-so-no-longer-relevant text about vip.
13053 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13054
13055 * ido.el (ido-save-directory-list-file):
13056 * saveplace.el (save-place-file):
13057 * calendar/timeclock.el (timeclock-file):
13058 * net/quickurl.el (quickurl-url-file):
13059 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13060 * progmodes/idlwave.el (idlwave-config-directory):
13061 * textmodes/remember.el (remember-data-file):
13062 Bump :version.
13063
13064 2014-01-26 Glenn Morris <rgm@gnu.org>
13065
13066 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13067 Doc fix. Make obsolete.
13068 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13069
13070 * sort.el (delete-duplicate-lines): Doc fix.
13071
13072 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13073
13074 * progmodes/ada-mode.el (ada):
13075 * woman.el (woman): Link to info manual and Commentary section.
13076
13077 * progmodes/flymake.el (flymake):
13078 * nxml/nxml-mode.el (nxml):
13079 * net/eww.el (eww):
13080 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13081 * htmlfontify.el (htmlfontify):
13082 * ses.el (ses):
13083 * epa.el (epa):
13084 * ido.el (ido): Link to info manual.
13085
13086 2014-01-25 Leo Liu <sdl.web@gmail.com>
13087
13088 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13089
13090 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13091
13092 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13093 (bug#16537).
13094
13095 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13096
13097 * net/eww.el (eww-download-callback):
13098 Fix reference to eww-download-directory.
13099
13100 * emacs-lisp/bytecomp.el (byte-compile-file):
13101 Remove unused local variable `file-name'.
13102
13103 2014-01-24 Glenn Morris <rgm@gnu.org>
13104
13105 * woman.el (woman-default-faces, woman-monochrome-faces):
13106 Fix obsolescence specification.
13107
13108 * subr.el (with-demoted-errors): Doc fix.
13109
13110 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13111
13112 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13113 (cl--macroexp-fboundp): New function.
13114 (cl--make-type-test): Use it.
13115
13116 2014-01-23 Glenn Morris <rgm@gnu.org>
13117
13118 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13119 * simple.el (eval-expression): Doc fixes.
13120
13121 2014-01-22 Glenn Morris <rgm@gnu.org>
13122
13123 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13124
13125 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * emacs-lisp/package.el: Write files silently.
13128 (package-autoload-ensure-default-file, package--write-file-no-coding)
13129 (package-generate-description-file, package--download-one-archive)
13130 (package-install-from-archive): Tell `write-region' to stay quiet.
13131 (package-menu-mode, package-menu--print-info): Omit the Archive column
13132 if there's only one archive.
13133 (package-all-keywords, package--has-keyword-p): Remove dead code.
13134
13135 2014-01-22 Glenn Morris <rgm@gnu.org>
13136
13137 * version.el (emacs-bzr-version-bzr): Fix typo.
13138
13139 * version.el (emacs-repository-get-version):
13140 Check either .bzr or .git, but not both.
13141 Make the git case actually use the DIR argument, and return nil
13142 rather than the empty string.
13143 Avoid error if .git exists but the git executable is not found.
13144
13145 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13146
13147 Fixes in window size functions around Bug#16430 and Bug#16470.
13148 * window.el (window-total-size, window-size): New argument ROUND.
13149 (window--min-delta-1, window-min-delta, window--max-delta-1):
13150 Be more conservative when calculating the numbers of lines or
13151 columns a window can shrink (Bug#16430).
13152 (fit-window-to-buffer): Simplify code.
13153 * term.el (term-window-width): Call window-body-width again.
13154
13155 2014-01-22 Glenn Morris <rgm@gnu.org>
13156
13157 * image.el (image-format-suffixes): Doc fix.
13158
13159 * international/quail.el (quail-define-package): Doc fix.
13160
13161 * emacs-lisp/authors.el (authors-valid-file-names)
13162 (authors-renamed-files-alist): Additions.
13163
13164 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13165 reverts 2014-01-09 change. (Bug#16422)
13166
13167 * calc/calc-embed.el (thing-at-point-looking-at):
13168 * emacs-lisp/map-ynp.el (x-popup-dialog):
13169 * obsolete/lmenu.el (x-popup-dialog):
13170 * emacs-lisp/package.el (url-recreate-url):
13171 * mail/mailclient.el (clipboard-kill-ring-save):
13172 * subr.el (x-popup-dialog): Update declaration.
13173 * mail/rmail.el (rmail-mime-message-p):
13174 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13175
13176 2014-01-21 Daniel Colascione <dancol@dancol.org>
13177
13178 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13179 Correctly detect when we're inside an arithmetic expansion form
13180 containing nested parenthesis.
13181 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13182 to detect cases where we shouldn't expand "<<" to a heredoc
13183 skeleton.
13184
13185 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13188 (eldoc--message-command-p): New function.
13189 (eldoc-display-message-p): Use it.
13190 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13191 message is not automatically erased for us.
13192 (eldoc-print-current-symbol-info): Erase previous message, if any.
13193
13194 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13195
13196 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13197 specify it's an interactive function.
13198
13199 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13200 Fix regex used for scanning for citation keys which failed for
13201 citations with optional arguments.
13202
13203 2014-01-21 Leo Liu <sdl.web@gmail.com>
13204
13205 * simple.el (read--expression): Don't enable eldoc-mode.
13206
13207 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * simple.el (move-beginning-of-line): Make sure we don't move forward
13210 (bug#16497).
13211
13212 2014-01-20 Juri Linkov <juri@jurta.org>
13213
13214 * saveplace.el (toggle-save-place, save-place-to-alist)
13215 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13216 'dired-mode) before checking for dired-directory. (Bug#16477)
13217
13218 2014-01-20 Juri Linkov <juri@jurta.org>
13219
13220 * indent.el (indent-line-to): Use backward-to-indentation
13221 instead of back-to-indentation. (Bug#16461)
13222
13223 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13224
13225 Revert some of the CANNOT_DUMP fix (Bug#16494).
13226 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13227 but fixing this can wait until after the next release.
13228 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13229
13230 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13231
13232 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13233 Use `password-word-equivalents'.
13234 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13235 to t. (Bug#5664, Bug#13124)
13236
13237 2014-01-19 Alan Mackenzie <acm@muc.de>
13238
13239 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13240 points.
13241 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13242 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13243 * progmodes/cc-mode.el (c-before-change, c-after-change)
13244 (c-font-lock-fontify-region): Bind it here.
13245
13246 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13247
13248 * term.el (term-window-width): Call window-text-width instead of
13249 window-width (Bug#16470).
13250
13251 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13252
13253 * simple.el (password-word-equivalents): Remove duplicates.
13254 Sort, to make this easier next time.
13255 Downcase. Omit ": " after "jelszó".
13256
13257 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13258
13259 * term/common-win.el (saved-region-selection): Defvar it.
13260 (x-select-text): Set saved-region-selection (Bug#16382).
13261
13262 2014-01-18 Glenn Morris <rgm@gnu.org>
13263
13264 * emacs-lisp/authors.el (authors-aliases)
13265 (authors-renamed-files-alist): Add some entries.
13266
13267 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13268
13269 * net/tramp.el (tramp-password-prompt-regexp):
13270 Use `password-word-equivalents' if available.
13271 (tramp-action-password, tramp-process-one-action)
13272 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13273
13274 2014-01-17 Chong Yidong <cyd@gnu.org>
13275
13276 * simple.el (password-word-equivalents): New defcustom.
13277 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13278 to 24.4.
13279 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13280 to t. (Bug#13124)
13281
13282 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13283
13284 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13285 (ruby-align-to-stmt-keywords): Change the default value.
13286 Use `ruby-alignable-keywords' to generate the possible customization
13287 choices.
13288 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13289 keywords, check against the value of `ruby-alignable-keywords'
13290 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13291
13292 2014-01-17 Glenn Morris <rgm@gnu.org>
13293
13294 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13295
13296 Make M-x authors return zero *Authors Errors* from current logs.
13297 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13298 (authors-ignored-files): Add some entries, remove others.
13299 (authors-ambiguous-files, authors-valid-file-names):
13300 Add some entries.
13301 (authors-renamed-files-alist): Add, remove, and adjust entries.
13302 (authors-renamed-files-regexps): Add some entries.
13303 Remove some very broad ones. Make some entries `lax'.
13304 (authors-lax-changelogs): New constant.
13305 (authors-disambiguate-file-name): Treat top-level specially.
13306 (authors-lax-changelog-p): New function.
13307 (authors-canonical-file-name): Check file as written against
13308 authors-valid-file-names. Do not special-case etc/.
13309 Handle `lax' logs and authors-renamed-files-regexps elements.
13310
13311 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13312
13313 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13314 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13315 callers.
13316
13317 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13320 Assume we're already in the proper buffer.
13321 Inspired by Anders Lindgren <andlind@gmail.com>.
13322 (follow-post-command-hook): Call it from the right buffer.
13323 (follow-comint-scroll-to-bottom): Adjust call.
13324 (follow-all-followers): Use get-buffer-window-list.
13325
13326 2014-01-15 Daniel Colascione <dancol@dancol.org>
13327
13328 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13329 `buffer-file-name' in interactive-form so that we don't leave
13330 pathless file names in `file-name-history'.
13331
13332 2014-01-15 Juri Linkov <juri@jurta.org>
13333
13334 * indent.el (indent-rigidly): Set deactivate-mark to nil
13335 in transient indentation mode. (Bug#16438)
13336
13337 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13338
13339 * emacs-lisp/package.el (package-desc-keywords): New function
13340 (Bug#16222).
13341 (describe-package-1, package-all-keywords)
13342 (package--has-keyword-p): Use it.
13343
13344 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13345
13346 * simple.el (define-alternatives): When creating the
13347 COMMAND-alternatives variable, assign COMMAND as its definition
13348 name so that `describe-variable' can relocate it.
13349
13350 2014-01-14 Matthew Leach <matthew@mattleach.net>
13351
13352 * font-lock.el (font-lock-keywords): Fix typo in docstring
13353 (bug#16307).
13354
13355 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13356
13357 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13358 line instead of wrongly reset `add-coment' (bug#13577).
13359
13360 2014-01-14 Daiki Ueno <ueno@gnu.org>
13361
13362 * epa-file.el (epa-file-write-region): Encode the region according
13363 to `buffer-file-format'. Problem reported at:
13364 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13365
13366 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13367
13368 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13369 so it applies in the right buffer (bug#16410).
13370
13371 2014-01-13 Daniel Colascione <dancol@dancol.org>
13372
13373 * textmodes/rst.el (rst-define-key): Provide deprecated
13374 keybindings through named functions instead of anonymous ones so
13375 that "??" doesn't appear in describe-mode output.
13376
13377 2014-01-13 Bastien Guerry <bzg@gnu.org>
13378
13379 * simple.el (define-alternatives): Call the selected command
13380 interactively. When setting `COMMAND--implementation' for the
13381 first time, tell the user how to chose another implementation.
13382 Enhance the docstring.
13383
13384 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13385
13386 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13387 (log-edit--match-first-line): New function.
13388 (log-edit-font-lock-keywords): Use it.
13389 (log-edit-mode): Make jit-lock-defer-multiline work.
13390
13391 2014-01-13 Bastien Guerry <bzg@gnu.org>
13392
13393 * rect.el (rectangle-mark-mode): When the region is not active,
13394 display a message saying that the mark as been set and that
13395 rectangle mode is in use.
13396 (rectangle--highlight-for-redisplay): Only put an overlay with a
13397 visible vertical bar when (display-graphic-p) is non-nil.
13398 This partially fixes Bug#16403.
13399
13400 2014-01-13 Juri Linkov <juri@jurta.org>
13401
13402 * info.el (Info-find-file): Go to DIR before displaying the error
13403 about a nonexistent file if no previous Info file is visited.
13404 Use `user-error' instead of `error' for "Info file %s does not exist".
13405 (Info-find-node-2): In case of a nonexistent node in unwind forms
13406 go to the Top node if there is no previous node to revert to.
13407 (Bug#16405)
13408
13409 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13410
13411 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13412 * window.el (fit-frame-to-buffer): Fix doc-string.
13413 Respect window-min-height/-width. Fit pixelwise when
13414 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13415 when avoiding that frame goes partially off-screen.
13416 (fit-window-to-buffer): Respect window-min-height/-width
13417 (Bug#14096).
13418
13419 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13422 after an empty line.
13423
13424 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13425
13426 * net/shr.el (shr-render-region): Autoload.
13427
13428 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13429
13430 * net/eww.el (eww-download-directory): Rename from
13431 `eww-download-path' (Bug#16419).
13432
13433 2014-01-12 Leo Liu <sdl.web@gmail.com>
13434
13435 * dired-x.el (dired-mode-map): Fix last change.
13436
13437 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13438
13439 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13440
13441 Spelling fixes.
13442 * emacs-lisp/generic.el (generic--normalize-comments):
13443 Rename from generic--normalise-comments. All uses changed.
13444 * play/bubbles.el (bubbles--neighborhood-score)
13445 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13446 (bubbles--neighborhood-available)
13447 (bubbles--update-neighborhood-score):
13448 Rename from names with 'neighbourhood'. All uses changed.
13449
13450 2014-01-12 Leo Liu <sdl.web@gmail.com>
13451
13452 Re-implement the feature of showing eldoc info after editing.
13453 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13454 (eldoc-edit-message-commands): New function.
13455 (eldoc-print-after-edit): New variable.
13456 (eldoc-pre-command-refresh-echo-area): Emit message only by
13457 eldoc-message-commands.
13458 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13459 if eldoc-print-after-edit is set. (Bug#16346)
13460 * simple.el (read--expression): Enable eldoc-mode.
13461 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13462
13463 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13464 Eric S. Raymond <esr@thyrsus.com>
13465
13466 * version.el (emacs-repository-get-version): Enhance so the
13467 function works correctly in either a Bazaar or Git repo.
13468
13469 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13470
13471 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13472 Goes with removal of the joke manpages from /etc.
13473
13474 2014-01-10 Kenichi Handa <handa@gnu.org>
13475
13476 * mail/rmail.el (rmail-get-coding-system):
13477 Check rmail-get-coding-function before "funcall"ing it.
13478
13479 2014-01-10 Glenn Morris <rgm@gnu.org>
13480
13481 * emacs-lisp/authors.el (authors-fixed-entries):
13482 Update for files that no longer exist.
13483
13484 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13485
13486 * version.el (emacs-bzr-get-version): Restore compatibilty with
13487 24.3 (Tested).
13488
13489 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13490
13491 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13492 and Podfile.
13493
13494 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13495
13496 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13497
13498 2014-01-10 Chong Yidong <cyd@gnu.org>
13499
13500 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13501
13502 2014-01-10 Anders Lindgren <andlind@gmail.com>
13503
13504 * follow.el (follow-cache-command-list): Include right-char and
13505 left-char.
13506
13507 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13508
13509 Spelling fixes.
13510 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13511 * woman.el (woman-mark-horizontal-position):
13512 Rename from woman-mark-horizonal-position. Use changed.
13513
13514 2014-01-10 Glenn Morris <rgm@gnu.org>
13515
13516 * info.el (info-initialize): If running uninstalled, ensure our
13517 own info files are always found first, even if INFOPATH is set.
13518
13519 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13520
13521 2014-01-09 David Engster <deng@randomsample.de>
13522
13523 * emacs-lisp/eieio-custom.el:
13524 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13525 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13526 * emacs-lisp/eieio.el: Regenerate autoloads.
13527
13528 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13529
13530 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13531 following renames. (Bug#8756)
13532
13533 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13536 (bug#16382).
13537 (activate-mark): Add `no-tmm' argument.
13538 (set-mark, push-mark-command): Use it instead of running
13539 activate-mark-hook by hand.
13540
13541 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13542
13543 In preparation for the move to git, sanitize out some
13544 Bazaar-specific names.
13545
13546 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13547
13548 * version.el (emacs-bzr-version): Name changed to
13549 emacs-repository-version. Obsolete-variable alias made.
13550 * loadup.el: Follow through on this name change.
13551 * mail/emacsbug.el (report-emacs-bug): Factor out any
13552 assumption about the version control system in use.
13553
13554 2014-01-08 David Engster <deng@randomsample.de>
13555
13556 * help-fns.el (help-fns-describe-function-functions):
13557 New variable to call functions for augmenting help buffers.
13558 (describe-function-1): Remove explicit calls to
13559 `help-fns--compiler-macro', `help-fns--parent-mode' and
13560 `help-fns--obsolete'. Put them in above new variable instead, and
13561 call them through `run-hook-with-args'.
13562 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13563 `eieio-describe-class'. Not meant for interactive use anymore,
13564 but to augment existing help buffers. Remove optional second
13565 argument. Create proper button for file location.
13566 Rewrite function to use `insert' instead of `princ' and `prin1' where
13567 possible.
13568 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13569 (eieio-method-def, eieio-class-def): Move further up.
13570 (describe-method, describe-generic, eieio-describe-method):
13571 Remove aliases.
13572 (eieio-help-constructor, eieio-help-generic): Rename from
13573 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13574 Rewrite to use `insert' in the current buffer and use proper help
13575 buttons.
13576 (eieio-help-find-method-definition)
13577 (eieio-help-find-class-definition): Also accept symbols as
13578 arguments.
13579 (eieio-help-mode-augmentation-maybee): Remove.
13580 (eieio-describe-class-sb): Use `describe-function'.
13581 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13582 Add `eieio-help-generic' and `eieio-help-constructor'.
13583
13584 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13585
13586 Spelling fixes.
13587 * language/china-util.el (hz-ascii-designation):
13588 Rename from hz-ascii-designnation.
13589 (hz-ascii-designation): Rename from hz-ascii-designnation.
13590 All uses changed.
13591
13592 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13595 package-alist.
13596
13597 2014-01-08 Bastien Guerry <bzg@gnu.org>
13598
13599 * emacs-lisp/package.el (package-delete):
13600 Correctly delete the package from package-alist.
13601
13602 2014-01-08 Daiki Ueno <ueno@gnu.org>
13603
13604 * emacs-lisp/package.el (url-recreate-url): Declare.
13605 (url-http-target-url): Declare.
13606 (package-handle-response): Include requested URL in the error message.
13607 (package--check-signature): Don't re-signal errors from
13608 package--with-work-buffer. Suggested by Stefan Monnier.
13609
13610 2014-01-07 Bastien Guerry <bzg@gnu.org>
13611
13612 * minibuffer.el (completion--try-word-completion): When both a
13613 hyphen and a space are possible candidates for the character
13614 following a word, display both candidates. (Bug#15980)
13615
13616 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13617
13618 * window.el (balance-windows-2): While rounding don't give a
13619 window more than the remainder. Bug#16351, bug#16383.
13620
13621 2014-01-07 Glenn Morris <rgm@gnu.org>
13622
13623 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13624 (menu-bar-help-menu): Use view-external-packages instead.
13625
13626 2014-01-07 Bastien Guerry <bzg@gnu.org>
13627
13628 * emacs-lisp/package.el (package-delete): Also delete the package
13629 name from `package-alist', not its description only.
13630
13631 2014-01-07 Glenn Morris <rgm@gnu.org>
13632
13633 * help.el (view-external-packages):
13634 * menu-bar.el (menu-bar-help-extra-packages):
13635 Visit efaq.info rather than etc/MORE.STUFF.
13636
13637 2014-01-07 Juri Linkov <juri@jurta.org>
13638
13639 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13640 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13641
13642 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13643 that shadows RET. (Bug#16342)
13644
13645 2014-01-07 Chong Yidong <cyd@gnu.org>
13646
13647 * isearch.el (isearch-yank-char, isearch-yank-word)
13648 (isearch-yank-line): Doc fix.
13649
13650 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13653 * emacs-lisp/elint.el (elint-find-builtins):
13654 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13655 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13656 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13657 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13658 * apropos.el (apropos-safe-documentation):
13659 * subr.el (symbol-file): Remove redundant fboundp.
13660 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13661
13662 2014-01-06 Bastien Guerry <bzg@gnu.org>
13663
13664 * hl-line.el (global-hl-line-overlay): Make a local variable.
13665 (global-hl-line-overlays): New variable to store all overlays.
13666 (global-hl-line-mode): Don't delete overlays from the current
13667 buffer when `global-hl-line-sticky-flag' is non-nil.
13668 (global-hl-line-highlight): Add new overlays to
13669 `global-hl-line-overlays'.
13670 (global-hl-line-unhighlight-all): New function to delete all
13671 overlays when turning off `global-hl-line-mode'.
13672 This fixes Bug#16183.
13673
13674 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * subr.el (set-transient-map): Fix nested case and docstring.
13677
13678 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13679
13680 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13681 `Texinfo' entry.
13682
13683 2014-01-06 Daniel Colascione <dancol@dancol.org>
13684
13685 Fix defun navigation in vc log view.
13686
13687 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13688 like `beginning-of-defun'.
13689 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13690 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13691 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13692 (log-view-extract-comment): Call `log-view-current-entry' directly
13693 instead of relying on broken `log-view-beginning-of-defun' behavior.
13694
13695 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13696
13697 Spelling fixes.
13698 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13699 * emacs-lisp/debug.el (cancel-debug-on-entry):
13700 * epg.el (epg-error-to-string):
13701 * files.el (recover-file):
13702 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13703 * mail/emacsbug.el (report-emacs-bug-hook):
13704 * mail/sendmail.el (mail-recover):
13705 * ses.el (ses-yank-resize):
13706 * term/ns-win.el (ns-print-buffer):
13707 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13708 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13709 All uses changed.
13710 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13711
13712 2014-01-06 Leo Liu <sdl.web@gmail.com>
13713
13714 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13715 to avoid shadowing global key. (Bug#16354)
13716
13717 2014-01-06 Daniel Colascione <dancol@dancol.org>
13718
13719 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13720 rst-mode.
13721
13722 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13723
13724 * window.el (balance-windows): Add mising t to fix Bug#16351.
13725
13726 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13727
13728 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13729 (bug#16285).
13730 (shr-insert): If we have a word that's longer than `shr-width',
13731 break after it anyway. Otherwise we'll do no breaking once we get
13732 such a long word.
13733
13734 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13735
13736 * net/eww.el (eww): Support single/double quote for search.
13737 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13738 (eww-history-quit): Delete and use quit-window.
13739 (eww-history-kill): Delete, because it doesn't work well and
13740 not necessary.
13741 (eww-history-mode-map): Delete some keys and add easy-menu.
13742
13743 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13744
13745 Fix misspelling of 'chinese' in rx (Bug#16237).
13746 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13747 chinese-two-byte.
13748
13749 Change subword regexps back to vars (Bug#16296).
13750 * progmodes/subword.el (subword-forward-regexp)
13751 (subword-backward-regexp): Change these back to variables.
13752
13753 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13754
13755 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13756 syntax-begin-function (bug#16247).
13757
13758 2014-01-03 Chong Yidong <cyd@gnu.org>
13759
13760 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13761 (advice--docstring): Delete variable.
13762 (advice--make-1): Leave the docstring empty.
13763 (advice-add): Use function-documentation for advised docstring.
13764
13765 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13766 Ignore function-documentation property when getting documentation.
13767 (ad-activate-advised-definition): Use function-documentation
13768 generate the docstring.
13769 (ad-make-advised-definition): Don't call
13770 ad-make-advised-definition-docstring.
13771 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13772 Delete functions.
13773
13774 * progmodes/sql.el (sql-help): Use function-documentation instead
13775 of dynamic-docstring-function property. No need to autoload now.
13776 (sql--help-docstring): New variable.
13777 (sql--make-help-docstring): Use it.
13778
13779 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13780
13781 * ielm.el (ielm-tab): Retarget.
13782 (ielm-map): Use ielm-tab for tab.
13783 (ielm-complete-filename): Use comint-filename-completion.
13784 (ielm-complete-symbol): Remove.
13785 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13786 remove ielm-tab from completion-at-point-functions (bug#16224).
13787
13788 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13789 Beware signals raised by predicates (bug#16201).
13790
13791 2014-01-02 Richard Stallman <rms@gnu.org>
13792
13793 * dired-aux.el (dired-do-print): Handle printer-name.
13794
13795 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13796 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13797 (rmail-epa-decrypt): Turn off mime processing.
13798
13799 * mail/rmail.el (rmail-make-in-reply-to-field):
13800 Add parens in message-id.
13801
13802 * mail/rmail.el (rmail-get-coding-function): Variable.
13803 (rmail-get-coding-system): Use it.
13804
13805 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13806
13807 * international/mule-conf.el: Unify the charset indian-is13194.
13808 (indian-is13194): Specify unify-map.
13809
13810 2013-12-31 Leo Liu <sdl.web@gmail.com>
13811
13812 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13813
13814 2013-12-30 Daniel Colascione <dancol@dancol.org>
13815
13816 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13817 of printing a useless when we resume from sleep.
13818
13819 * progmodes/sh-script.el
13820 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13821 in indentation code. (Bug#16233)
13822
13823 2013-12-28 João Távora <joaotavora@gmail.com>
13824
13825 * elec-pair.el (electric-pair-post-self-insert-function):
13826 Don't open extra newlines at beginning of buffer. (Bug#16272)
13827
13828 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13829
13830 * frame.el (window-system-for-display): Don't allow to create a
13831 GUI frame from a -nw session on MS-Windows. (Bug#14739)
13832
13833 2013-12-28 Glenn Morris <rgm@gnu.org>
13834
13835 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13836 Update callers.
13837
13838 * apropos.el (apropos-match-face):
13839 * calculator.el (calculator-displayer):
13840 * dabbrev.el (dabbrev-search-these-buffers-only):
13841 * face-remap.el (buffer-face-mode-face):
13842 * simple.el (yank-handled-properties):
13843 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13844 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13845 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13846 (hashcash-double-spend-database):
13847 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13848 (ruby-deep-indent-paren-style):
13849 * textmodes/flyspell.el (flyspell-auto-correct-binding):
13850 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13851 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13852 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13853 Specify custom types.
13854
13855 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13856 * bookmark.el (bookmark-bmenu-use-header-line):
13857 * doc-view.el (doc-view-scale-internally):
13858 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13859 * register.el (register-preview-delay):
13860 * net/shr.el (shr-bullet):
13861 * progmodes/cfengine.el (cfengine-cf-promises)
13862 (cfengine-parameters-indent):
13863 * progmodes/octave.el (inferior-octave-error-regexp-alist):
13864 * textmodes/reftex-vars.el (reftex-label-regexps):
13865 * vc/log-edit.el (log-edit-setup-add-author): Add version.
13866
13867 * net/tls.el (tls-certtool-program): Fix default value.
13868
13869 * desktop.el (desktop-restore-in-current-display):
13870 * newcomment.el (comment-empty-lines):
13871 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13872 (idlwave-pad-keyword):
13873 * progmodes/tcl.el (tcl-tab-always-indent):
13874 * textmodes/reftex-vars.el (reftex-index-default-tag):
13875 * elec-pair.el (electric-pair-skip-whitespace):
13876 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13877
13878 * emacs-lisp/authors.el (authors-ignored-files)
13879 (authors-valid-file-names, authors-renamed-files-alist): Additions.
13880
13881 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
13882
13883 * shell.el (shell-dynamic-complete-command): Doc fix.
13884 (shell--command-completion-data): Shell completion now matches
13885 executable filenames from the current buffer's directory, on
13886 systems in which this behavior is the default (windows-nt, ms-dos).
13887
13888 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13889
13890 * net/shr.el (shr-insert): Don't infloop if the width is zero.
13891
13892 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13895 (bug#16251).
13896
13897 * electric.el: Move all electric-pair-* to elec-pair.el.
13898 * elec-pair.el: New file, split from electric.el.
13899
13900 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13901
13902 * net/shr.el (shr-find-fill-point): Don't try to fill if the
13903 indentation level is larger than the width, because that will
13904 infloop.
13905 (shr-insert): Fill repeatedly long texts, so that Japanese is
13906 formatted correctly (bug#16263).
13907 (shr-find-fill-point): Off by one error in comparison with the
13908 indentation.
13909
13910 2013-12-26 João Távora <joaotavora@gmail.com>
13911
13912 * electric.el (electric-pair-mode): More flexible engine for skip-
13913 and inhibit predicates, new options for pairing-related functionality.
13914 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13915 if that keeps or improves their balance in buffers.
13916 (electric-pair-delete-adjacent-pairs): Delete the pair when
13917 backspacing over adjacent matched delimiters.
13918 (electric-pair-open-extra-newline): Open extra newline when
13919 inserting newlines between adjacent matched delimiters.
13920 (electric--sort-post-self-insertion-hook):
13921 Sort post-self-insert-hook according to priority values when
13922 minor-modes are activated.
13923 * simple.el (newline-and-indent): Call newline with interactive
13924 set to t.
13925 (blink-paren-post-self-insert-function): Set priority to 100.
13926 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13927 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13928 comments. Locally set electric-pair-skip-whitespace to 'chomp and
13929 electric-pair-open-newline-between-pairs to nil.
13930
13931 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
13932
13933 * progmodes/python.el: Use lexical-binding.
13934 (python-nav-beginning-of-defun): Stop searching ASAP.
13935
13936 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
13937
13938 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13939 Fix interactive spec. Doc fix. (Bug#15754)
13940
13941 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13942
13943 * emacs-lisp/byte-run.el (eval-when-compile):
13944 * progmodes/cc-defs.el (cc-eval-when-compile):
13945 Fix edebug spec (bug#16184).
13946
13947 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13948
13949 * net/shr.el (shr-visit-file): Remove debugging function.
13950 (shr-insert): Don't infloop if we can't find a good place to break
13951 the line (bug#16256).
13952
13953 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
13954
13955 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13956 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
13957 python-nav-lisp-forward-sexp-safe.
13958 (python-nav--forward-sexp): New argument SAFE allows switching
13959 forward sexp movement behavior for parens.
13960 (python-nav-forward-sexp): Throw errors on unterminated parens
13961 (Bug#16191).
13962 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13963 (python-nav-backward-sexp-safe): New functions.
13964 (python-shell-buffer-substring):
13965 Use `python-nav-forward-sexp-safe'.
13966
13967 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13968
13969 * net/shr.el (shr-find-fill-point): Don't break lines before a
13970 quotation mark.
13971 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13972 (shr-find-fill-point): Remove the special checks for the quotation
13973 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13974
13975 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13976
13977 * net/eww.el (eww-form-textarea): Use a different face for
13978 textareas than text input since they have different keymaps
13979 (bug#16142).
13980
13981 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
13982
13983 * progmodes/python.el (python-nav-beginning-of-statement):
13984 Speed up (Bug#15295).
13985
13986 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13987
13988 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13989 the window configuration.
13990
13991 2013-12-24 Eli Zaretskii <eliz@gnu.org>
13992
13993 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13994 we run on MS-Windows or MS-DOS.
13995
13996 2013-12-24 Martin Rudalics <rudalics@gmx.at>
13997
13998 * window.el (balance-windows-area): Call window-size instead of
13999 window-height and window-width. Bug#16241.
14000
14001 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14002
14003 * net/eww.el (eww-bookmark-quit): Remove.
14004 (eww-bookmark-browse): Restore the window configuration when you
14005 choose a bookmark (bug#16144).
14006
14007 2013-12-24 Daniel Colascione <dancol@dancol.org>
14008
14009 * icomplete.el: Remove redundant :group arguments to `defcustom'
14010 throughout.
14011 (icomplete-show-matches-on-no-input): New customizable variable.
14012 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14013 we have something to show.
14014 (icomplete-exhibit): Compute completions even if we have no user input.
14015
14016 2013-12-23 Daniel Colascione <dancol@dancol.org>
14017
14018 * icomplete.el: Move `provide' to end of file.
14019
14020 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14021
14022 * net/gnutls.el (gnutls-verify-error): Add version tag.
14023
14024 2013-12-23 Chong Yidong <cyd@gnu.org>
14025
14026 * subr.el (set-transient-map): Rename from
14027 set-temporary-overlay-map. Doc fix.
14028
14029 * face-remap.el (text-scale-adjust):
14030 * indent.el (indent-rigidly):
14031 * kmacro.el (kmacro-call-macro):
14032 * minibuffer.el (minibuffer-force-complete):
14033 * repeat.el (repeat):
14034 * simple.el (universal-argument--mode):
14035 * calendar/todo-mode.el (todo-insert-item--next-param):
14036 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14037
14038 * indent.el (indent-rigidly): Use substitute-command-keys.
14039
14040 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14041
14042 * net/eww.el (eww-tag-select): Add text-property to jump to next
14043 select field.
14044 (eww): Add non-supported ftp error.
14045
14046 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14047
14048 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14049 comments. Handle electric indent after typing `?' and `!'.
14050
14051 2013-12-22 Chong Yidong <cyd@gnu.org>
14052
14053 * faces.el (face-spec-recalc): If the theme specs are not
14054 applicable to a frame, fall back on the defface spec.
14055 This prevents themes from obliterating faces on low-color terminals.
14056
14057 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14058
14059 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14060 after `{'. We need it after block openers, and it doesn't seem
14061 to hurt after hash openers.
14062
14063 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14064
14065 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14066 extracted from `ruby-smie-rules'.
14067 (ruby--electric-indent-chars): New variable.
14068 (ruby--electric-indent-p): New function.
14069 (ruby-mode): Use `electric-indent-functions' instead of
14070 `electric-indent-chars'.
14071
14072 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14073
14074 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14075 docstring.
14076 (ruby-smie-rules): Indent plus one level after `=>'.
14077
14078 2013-12-21 Richard Stallman <rms@gnu.org>
14079
14080 * simple.el (newline): Doc fix.
14081
14082 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14083
14084 * net/eww.el (eww-list-histories, eww-list-histories)
14085 (eww-history-browse, eww-history-quit, eww-history-kill)
14086 (eww-history-mode-map, eww-history-mode): New command and
14087 functions to list browser histories.
14088 (eww-form-text): Support text form with disabled
14089 and readonly attributes.
14090 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14091
14092 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14093
14094 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14095 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14096 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14097 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14098 Use `user-error'.
14099 (eww-bookmark-mode-map): Add menu.
14100 (eww-render, eww-mode): Use `setq-local'.
14101 (eww-tool-bar-map): New variable.
14102 (eww-mode): Set `tool-bar-map'.
14103 (eww-view-source): Check for `html-mode' with `fboundp'.
14104
14105 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106
14107 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14108 elements with text inside. Also remove debugging.
14109
14110 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14111
14112 * cus-start.el (all): Add ns-use-srgb-colorspace.
14113
14114 2013-12-21 Chong Yidong <cyd@gnu.org>
14115
14116 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14117 undefined. Thus, theme settings for undefined faces do not take
14118 effect until the faces are defined with defface, the same as with
14119 theme variables.
14120
14121 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14122 (face-spec-reset-face): Don't assign extra properties in temacs.
14123 (face-spec-recalc): Apply X resources too.
14124
14125 2013-12-21 Chong Yidong <cyd@gnu.org>
14126
14127 * faces.el (face-spec-set):
14128 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14129 * custom.el (defface): Doc fixes (Bug#16203).
14130
14131 * indent.el (indent-rigidly-map): Add docstring, and move commands
14132 into named functions.
14133 (indent-rigidly-left, indent-rigidly-right)
14134 (indent-rigidly-left-to-tab-stop)
14135 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14136 indentation direction based on bidi direction, and accumulate
14137 sequential commands in a single undo boundary.
14138 (indent-rigidly--pop-undo): New utility function.
14139
14140 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14141
14142 * faces.el (read-face-name): Require crm.el when using crm-separator.
14143
14144 2013-12-20 Daniel Colascione <dancol@dancol.org>
14145
14146 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14147 so that we don't reflow comments into the shebang line.
14148
14149 2013-12-20 Juri Linkov <juri@jurta.org>
14150
14151 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14152 a position when `dired-directory' is non-nil. Check integer
14153 positions with `integerp'.
14154 (toggle-save-place, save-places-to-alist): Add check for
14155 `dired-directory'.
14156 (save-place-find-file-hook): Check integer positions with
14157 `integerp'.
14158 (save-place-dired-hook): Use `dired-goto-file' when
14159 `dired-filename' is found in the assoc list. Check integer
14160 positions with `integerp'.
14161 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14162
14163 * dired.el (dired-initial-position-hook): Rename back from
14164 `dired-initial-point-hook'.
14165 (dired-initial-position): Rename `dired-initial-point-hook' to
14166 `dired-initial-position-hook'.
14167 (dired-file-name-at-point): Doc fix. (Bug#15329)
14168
14169 2013-12-20 Juri Linkov <juri@jurta.org>
14170
14171 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14172 (read-regexp-suggestions): New function.
14173 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14174 Use `read-regexp-suggestions'. Add non-empty default to history
14175 for empty input.
14176 (occur-read-regexp-defaults-function): Remove function.
14177 (occur-read-primary-args): Use `regexp-history-last' instead of
14178 `occur-read-regexp-defaults-function'.
14179
14180 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14181 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14182 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14183 `hi-lock-read-regexp-defaults-function'. Doc fix.
14184 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14185 with `find-tag-default-as-symbol-regexp'. Doc fix.
14186 (hi-lock-read-regexp-defaults): Remove function.
14187 (hi-lock-regexp-okay): Add check for null.
14188
14189 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14190 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14191
14192 * subr.el (find-tag-default-as-symbol-regexp): New function.
14193 (find-tag-default-as-regexp): Move symbol regexp formatting to
14194 `find-tag-default-as-symbol-regexp'.
14195
14196 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14197
14198 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14199 (Bug#14179)
14200
14201 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14202
14203 * calendar/todo-mode.el: New implementation of item insertion
14204 commands and key bindings.
14205 (todo-key-prompt): New face.
14206 (todo-insert-item): New command.
14207 (todo-insert-item--parameters): New defconst, replacing defvar
14208 todo-insertion-commands-args-genlist.
14209 (todo-insert-item--param-key-alist): New defconst, replacing
14210 defvar todo-insertion-commands-arg-key-list.
14211 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14212 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14213 (todo-insert-item--next-param): New functions.
14214 (todo-insert-item--args, todo-insert-item--argleft)
14215 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14216 New variables.
14217 (todo-key-bindings-t): Change binding of "i" from
14218 todo-insertion-map to todo-insert-item.
14219 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14220 (todo-insertion-command-name, todo-insertion-commands-names)
14221 (todo-define-insertion-command, todo-insertion-commands)
14222 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14223
14224 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14225
14226 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14227 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14228 eval-when-compile.
14229 (todo-move-category): Allow choosing a non-existing todo file to
14230 move the category to, and create that file.
14231 (todo-default-priority): New user option.
14232 (todo-set-item-priority): Use it.
14233 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14234 (desktop-restore-file-buffer): Declare.
14235 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14236 (todo-modes-set-2): Locally set desktop-save-buffer to
14237 todo-desktop-save-buffer.
14238 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14239 (auto-mode-alist): Add autoload cookie.
14240
14241 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14242
14243 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14244 helpers.el was a poor choice of name.
14245 (string-remove-prefix): New function.
14246 (string-remove-suffix): New function.
14247
14248 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14249
14250 Fix assignment for new window total sizes.
14251 * window.el (window--pixel-to-size): Remove function.
14252 (window--pixel-to-total-1, window--pixel-to-total):
14253 Fix calculation of new total sizes.
14254
14255 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14256
14257 * comint.el (comint-output-filter): Fix rear-nonsticky property
14258 placement (Bug#16010).
14259
14260 2013-12-20 Chong Yidong <cyd@gnu.org>
14261
14262 * faces.el (read-color): Minor fix for completion function.
14263
14264 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14265
14266 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14267 New option. (Bug#16182)
14268 (ruby-smie--indent-to-stmt-p): Use it.
14269 (ruby-smie-rules): Revert the logic in the handling of `when'.
14270 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14271 (ruby-deep-arglist, ruby-deep-indent-paren)
14272 (ruby-deep-indent-paren-style): Update docstrings to note that the
14273 vars don't have any effect with SMIE.
14274
14275 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14276
14277 * calc/calc.el (calc-enter, calc-pop): Use the variable
14278 `calc-context-sensitive-enter'.
14279
14280 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14281
14282 * net/shr.el (shr-insert): Protect against infloops in degenerate
14283 tables.
14284
14285 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14286
14287 * progmodes/octave.el (octave): Add link to manual and octave
14288 homepage.
14289 (octave-mode-menu): Link to octave-mode manual.
14290
14291 2013-12-20 Leo Liu <sdl.web@gmail.com>
14292
14293 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14294 insertion using skeleton-end-newline. (Bug#16138)
14295
14296 2013-12-20 Juri Linkov <juri@jurta.org>
14297
14298 * replace.el (occur-engine): Use `add-face-text-property'
14299 to add the face property to matches and titles. (Bug#14645)
14300
14301 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14302 the palette of other hi-lock colors.
14303 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14304
14305 2013-12-19 Juri Linkov <juri@jurta.org>
14306
14307 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14308 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14309 (minibuffer-history-symbol): Move variable declaration closer to
14310 its usage.
14311
14312 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14313 (Bug#14785)
14314
14315 2013-12-19 Juri Linkov <juri@jurta.org>
14316
14317 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14318 New function.
14319 (log-edit-hook): Add it to :options. (Bug#16170)
14320
14321 2013-12-19 Juri Linkov <juri@jurta.org>
14322
14323 * simple.el (eval-expression-print-format): Don't check for
14324 command names and the last command. Always display additional
14325 formats of the integer result in the echo area, and insert them
14326 to the current buffer only with a zero prefix arg.
14327 Display character when char-displayable-p is non-nil.
14328 (eval-expression): With a zero prefix arg, set `print-length' and
14329 `print-level' to nil, and insert the integer values from
14330 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14331
14332 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14333 `eval-last-sexp-arg-internal'. Doc fix.
14334 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14335 `eval-last-sexp-print-value'. Doc fix.
14336 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14337 Set `print-length' and `print-level' to nil when arg is zero.
14338 (eval-last-sexp): Doc fix.
14339 (eval-defun-2): Print the integer values from
14340 `eval-expression-print-format' at the end.
14341
14342 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14343 values from `eval-expression-print-format' at the end.
14344
14345 * ielm.el (ielm-eval-input): Print the integer
14346 values from `eval-expression-print-format' at the end.
14347
14348 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14349
14350 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14351 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14352
14353 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14356 (hl-line-highlight, global-hl-line-highlight): Use it.
14357 (hl-line-overlay): Use defvar-local.
14358
14359 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14360
14361 * term/ns-win.el: Require dnd.
14362 (global-map): Remove drag items.
14363 (ns-insert-text, ns-set-foreground-at-mouse)
14364 (ns-set-background-at-mouse):
14365 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14366 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14367 New functions.
14368
14369 2013-12-19 Glenn Morris <rgm@gnu.org>
14370
14371 * emacs-lisp/ert.el (ert-select-tests):
14372 Fix string/symbol mixup. (Bug#16121)
14373
14374 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14375
14376 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14377 keywords to their parent.
14378
14379 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14380
14381 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14382 first arg to be a string (fixed dead code), or an operator symbol.
14383 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14384 operator symbols.
14385 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14386 did nothing. Don't respond to `(:after ".")', it will be called
14387 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14388 change anything. Only return indentation for binary operators
14389 when they are hanging. De-dent opening paren when its parent is
14390 `.', otherwise it looks bad when the dot is not at bol or eol
14391 (bug#16182).
14392
14393 2013-12-19 Juri Linkov <juri@jurta.org>
14394
14395 * replace.el (query-replace-read-args): Split a non-negative arg
14396 and a negative arg into separate elements.
14397 (query-replace, query-replace-regexp, replace-string)
14398 (replace-regexp): Add arg `backward'. Doc fix.
14399 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14400 move point to the beginning of the match.
14401 (replace-search, replace-highlight): Use new arg `backward'
14402 to set the value of `isearch-forward'.
14403 (perform-replace): Add arg `backward' and use it to perform
14404 replacement backward. (Bug#14979)
14405
14406 * isearch.el (isearch-query-replace): Use a negative prefix arg
14407 to call `perform-replace' with a non-nil arg `backward'.
14408
14409 2013-12-18 Juri Linkov <juri@jurta.org>
14410
14411 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14412 to the default list. Move `log-edit-show-files' to the end.
14413 Add more available functions to options.
14414 (log-edit): Move default specific settings to
14415 `log-edit-insert-message-template'. Don't move point.
14416 (log-edit-insert-message-template): New function.
14417 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14418 (Bug#16170)
14419
14420 2013-12-18 Juri Linkov <juri@jurta.org>
14421
14422 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14423 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14424
14425 2013-12-18 Leo Liu <sdl.web@gmail.com>
14426
14427 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14428 (Bug#16186)
14429
14430 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14431
14432 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14433 formats for displaying file sizes when the -s switch is given.
14434 Instead, compute a separate format for displaying the size in
14435 blocks, which is displayed in addition to the "regular" size.
14436 When -h is given in addition to -s, produce size in blocks in
14437 human-readable form as well. (Bug#16179)
14438
14439 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14440
14441 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14442 Reference tables with ~\ref{...} instead of only \ref{...}.
14443
14444 2013-12-18 Chong Yidong <cyd@gnu.org>
14445
14446 * cus-edit.el (custom-magic-alist): Fix "themed" description
14447 (Bug#14348).
14448
14449 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14450 is non-nil, do not create a new entry in the symbol's theme-value
14451 or theme-face property; update theme-settings only (Bug#14664).
14452 (custom-available-themes): Doc fix.
14453
14454 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14455 (Bug#15674).
14456
14457 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14458
14459 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14460
14461 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14462 (Bug#13914).
14463
14464 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14465
14466 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14467
14468 2013-12-18 Glenn Morris <rgm@gnu.org>
14469
14470 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14471 * cus-start.el (load-prefer-newer): New option.
14472
14473 2013-12-18 Le Wang <l26wang@gmail.com>
14474
14475 * comint.el (comint-previous-matching-input-from-input):
14476 Retain point (Bug#13404).
14477
14478 2013-12-18 Chong Yidong <cyd@gnu.org>
14479
14480 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14481
14482 2013-12-18 Glenn Morris <rgm@gnu.org>
14483
14484 * mail/emacsbug.el (report-emacs-bug):
14485 Only mention enable-multibyte-characters if non-standard.
14486
14487 2013-12-17 Juri Linkov <juri@jurta.org>
14488
14489 * arc-mode.el (archive-extract-by-file): Check if directory exists
14490 before deletion to not show irrelevant errors if it doesn't exist.
14491
14492 2013-12-17 Juri Linkov <juri@jurta.org>
14493
14494 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14495 (Bug#14751)
14496
14497 * net/eww.el (browse-web): Add alias to `eww'.
14498 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14499 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14500
14501 * net/browse-url.el (browse-url-browser-function): Move `eww'
14502 closer to similar functions.
14503
14504 * startup.el (fancy-startup-screen, fancy-about-screen):
14505 Set browse-url-browser-function to eww-browse-url locally.
14506 (Bug#14751)
14507
14508 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14509
14510 * window.el (window--pixel-to-total): Remove unused `mini' var.
14511 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14512 (split-window): Remove unused `new' var.
14513 (window--display-buffer): Remove unused `frame' and `delta' vars.
14514 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14515 and display-width'.
14516
14517 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14518
14519 * dired.el (dired-mark-pop-up):
14520 * register.el (register-preview): Don't bind
14521 split-height-threshold here since it's now done in
14522 display-buffer-below-selected.
14523
14524 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14525
14526 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14527 xterm-rgb-convert-to-16bit.
14528 (rxvt-register-default-colors): Standardize with
14529 xterm-register-default-colors (Bug#14078).
14530
14531 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14532
14533 * simple.el (kill-region): Pass mark first, then point, so that
14534 kill-append works right (Bug#12819).
14535 (copy-region-as-kill, kill-ring-save): Likewise.
14536
14537 2013-12-17 Leo Liu <sdl.web@gmail.com>
14538
14539 * net/rcirc.el (rcirc-add-face):
14540 * eshell/em-prompt.el (eshell-emit-prompt):
14541 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14542 (Bug#16167)
14543
14544 2013-12-17 Chong Yidong <cyd@gnu.org>
14545
14546 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14547 Suggested by Xue Fuqiao.
14548
14549 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14550
14551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14552
14553 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * net/shr.el (shr-insert-document): Remove unused var
14556 `shr-preliminary-table-render'.
14557 (shr-rescale-image): Remove unused arg `force'.
14558 (shr-put-image): Update calls accordingly.
14559 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14560
14561 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14562
14563 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14564 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14565 :close-all, to see which indentation method to use (Bug#16116).
14566 (smie-rules-function): Document the method :close-all.
14567
14568 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14569
14570 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14571
14572 * net/eww.el (eww-display-html): If we can't find the anchor we're
14573 looking for, then go to point-min.
14574
14575 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14576
14577 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14578 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14579 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14580 Expand dir too, in case it's relative.
14581
14582 2013-12-16 Juri Linkov <juri@jurta.org>
14583
14584 * desktop.el (desktop-auto-save-timeout): Change default to
14585 `auto-save-timeout'. Doc fix.
14586 (desktop-save): Skip the timestamp in desktop-saved-frameset
14587 when checking for auto-save changes.
14588 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14589 `desktop-auto-save' is called repeatedly by the idle timer.
14590 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14591 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14592 (Bug#15331)
14593
14594 2013-12-16 Juri Linkov <juri@jurta.org>
14595
14596 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14597 (Bug#16035)
14598 (isearch-pre-command-hook): Check `this-command' for symbolp.
14599
14600 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14603
14604 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14605
14606 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14607 (cfengine3--current-function): Bring in the current-function
14608 functionality from `cfengine3--current-word'.
14609 (cfengine3-completion-function): Bring in the
14610 bounds-of-current-word functionality from
14611 `cfengine3--current-word'.
14612
14613 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14614
14615 * window.el (display-buffer-below-selected):
14616 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14617
14618 2013-12-16 Leo Liu <sdl.web@gmail.com>
14619
14620 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14621 Remove NOMSG arg and all uses changed.
14622
14623 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14626 (cua--deactivate-rectangle): Don't deactivate the mark.
14627 (cua-set-rectangle-mark): Don't set mark-active since
14628 cua--activate-rectangle already does it for us.
14629 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14630 non-rectangular region.
14631
14632 * emulation/cua-base.el (cua-repeat-replace-region):
14633 Use with-current-buffer.
14634
14635 * net/gnutls.el: Use cl-lib.
14636 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14637
14638 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14639
14640 * emacs-lisp/package.el (package-built-in-p): Support both
14641 built-in and the package.el converted package descriptions.
14642 (package-show-package-list): Allow keywords.
14643 (package-keyword-button-action): Use it instead of
14644 `finder-list-matches'.
14645 (package-menu-filter-interactive): Interactive filtering (by
14646 keyword) function.
14647 (package-menu--generate): Support keywords and change keymappings
14648 and headers when they are given.
14649 (package--has-keyword-p): Helper function.
14650 (package-menu--refresh): Use it.
14651 (package--mapc): Helper function.
14652 (package-all-keywords): Use it.
14653 (package-menu-mode-map): Set up menu items and keybindings to
14654 provide a filtering UI.
14655
14656 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14657
14658 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14659 the behavior when a certificate fails validation. Defaults to
14660 old behavior: never abort, just warn.
14661 (gnutls-negotiate): Use it.
14662
14663 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14664
14665 * window.el (display-buffer-below-selected): Never split window
14666 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14667
14668 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14669
14670 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14671 (package-buffer-info): Use it (bug#15108).
14672
14673 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14674
14675 * icomplete.el (icomplete-completions): Make sure the prefix is already
14676 displayed elsewhere before hiding it (bug#16219).
14677
14678 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14679
14680 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14681 open-paren tokens when preceded by a open-paren, too.
14682 (ruby-smie-rules): Handle virtual indentation after open-paren
14683 tokens specially. If there is code between it and eol, return the
14684 column where is starts (Bug#16118).
14685
14686 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14687
14688 * progmodes/cfengine.el: Fix `add-hook' doc.
14689 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14690 (cfengine3--current-word): Fix parameters.
14691 (cfengine3-make-syntax-cache): Simplify further.
14692 (cfengine3-completion-function, cfengine3--current-function):
14693 Use `assq' for symbols.
14694 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14695
14696 2013-12-13 Glenn Morris <rgm@gnu.org>
14697
14698 * loadup.el (load-path): Warn if site-load or site-init changes it.
14699 No more need to reset it when bootstrapping.
14700
14701 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14702
14703 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14704 locations for cf-promises.
14705 (cfengine-mode-syntax-functions-regex): New caching variable.
14706 (cfengine3-fallback-syntax): Fallback syntax for cases where
14707 cf-promises doesn't run.
14708 (cfengine3--current-word): Reimplement using
14709 `cfengine-mode-syntax-functions-regex'.
14710 (cfengine3-completion-function, cfengine3--current-function):
14711 Use `cfengine3-make-syntax-cache' directly.
14712 (cfengine3-clear-syntax-cache): New function.
14713 (cfengine3-make-syntax-cache): Simplify and create
14714 `cfengine-mode-syntax-functions-regex' on demand.
14715 (cfengine3-format-function-docstring): Don't call
14716 `cfengine3-make-syntax-cache' explicitly.
14717
14718 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14719
14720 Fix windmove-find-other-window broken after pixelwise resizing
14721 (Bug#16017).
14722 * windmove.el (windmove-other-window-loc): Revert change from
14723 2013-12-04.
14724 (windmove-find-other-window): Call window-in-direction.
14725 * window.el (window-in-direction): New arguments SIGN, WRAP and
14726 MINI to emulate original windmove-find-other-window behavior.
14727
14728 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14729
14730 * simple.el (blink-matching--overlay): New variable.
14731 (blink-matching-open): Instead of moving point, highlight the
14732 matching paren with an overlay
14733 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14734
14735 * faces.el (paren-showing-faces, show-paren-match)
14736 (show-paren-mismatch): Move from paren.el.
14737
14738 2013-12-13 Leo Liu <sdl.web@gmail.com>
14739
14740 * indent.el (indent-region): Disable progress reporter in
14741 minibuffer. (Bug#16108)
14742
14743 * bindings.el (visual-order-cursor-movement): Fix version.
14744
14745 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14746
14747 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14748 Also match after beginning of line.
14749 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14750 files. Thanks to Russell Sim. (Bug#15378)
14751
14752 2013-12-13 Juri Linkov <juri@jurta.org>
14753
14754 * simple.el <Keypad support>: Remove key bindings duplicated
14755 with bindings.el. (Bug#14397)
14756
14757 2013-12-13 Juri Linkov <juri@jurta.org>
14758
14759 * comint.el (comint-mode-map): Replace `delete-char' with
14760 `delete-forward-char'. (Bug#16109)
14761
14762 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14763
14764 * progmodes/python.el (python-indent-calculate-indentation):
14765 Fix de-denters cornercase. (Bug#15731)
14766
14767 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14770 (advice--make): Pay attention to `depth'.
14771 (advice--make-1): Don't autoload commands eagerly.
14772 * emacs-lisp/elp.el (elp-instrument-function):
14773 * emacs-lisp/trace.el (trace-function-internal):
14774 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14775
14776 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14777
14778 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14779
14780 * term/w32-win.el (w32-handle-dropped-file):
14781 * startup.el (normal-top-level):
14782 * net/browse-url.el (browse-url-file-url):
14783 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14784 decode file names using 'utf-8' rather than
14785 file-name-coding-system.
14786
14787 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14788
14789 * progmodes/python.el (python-indent-context)
14790 (python-indent-calculate-indentation): Fix auto-identation
14791 behavior for comment blocks. (Bug#15916)
14792
14793 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14794
14795 * progmodes/python.el (python-indent-calculate-indentation):
14796 When determining indentation, don't treat "return", "pass", etc., as
14797 operators when they are just string constituents. (Bug#15812)
14798
14799 2013-12-12 Juri Linkov <juri@jurta.org>
14800
14801 * uniquify.el (uniquify-buffer-name-style): Change default to
14802 `post-forward-angle-brackets'.
14803
14804 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14805 `uniquify'. Change default to `post-forward-angle-brackets'.
14806
14807 2013-12-11 Glenn Morris <rgm@gnu.org>
14808
14809 * emacs-lisp/package.el (finder-list-matches):
14810 Autoload rather than falsely declaring.
14811
14812 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14813
14814 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14815 (eww-mode-map): Use them.
14816
14817 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14818
14819 * window.el (display-buffer-in-side-window): Fix doc-string
14820 (Bug#16115).
14821
14822 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14823
14824 * vc/vc-git.el: Silence byte-compiler warnings.
14825 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14826 (log-edit-set-header): Declare.
14827
14828 2013-12-11 Eli Zaretskii <eliz@gnu.org>
14829
14830 * Makefile.in (custom-deps, finder-data): Run output file names
14831 through unmsys--file-name. (Bug#16099)
14832
14833 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
14834
14835 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14836 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14837
14838 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14839 instead of deleting the selection "by hand" (bug#16098).
14840 Rely on insert-for-yank to yank rectangles.
14841 (cua-highlight-region-shift-only): Mark obsolete.
14842 (cua-mode): Don't enable/disable transient-mark-mode,
14843 shift-select-mode (cua-mode works both with and without them), and
14844 pc-selection-mode (obsolete).
14845 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14846 (cua--deactivate-rectangle): Deactivate it.
14847
14848 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14849 (delete-selection-helper): Make sure yank starts at the top of the
14850 deleted region.
14851 (minibuffer-keyboard-quit): Use region-active-p.
14852
14853 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14854
14855 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14856 to `delete' (bug#16109).
14857
14858 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14859
14860 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14861 info manual and show keybindings and set `:group' keyword.
14862
14863 2013-12-11 Juri Linkov <juri@jurta.org>
14864
14865 * delsel.el (delete-active-region): Let-bind `this-command'
14866 to prevent `kill-region' from changing its original value.
14867 (delete-selection-helper): Handle `overwrite-mode' for the type
14868 `kill' exactly the same way as for the type `t'.
14869 (insert-char, quoted-insert, reindent-then-newline-and-indent):
14870 Support more commands. (Bug#13312)
14871
14872 2013-12-11 Juri Linkov <juri@jurta.org>
14873
14874 * bindings.el: Map kp keys to non-kp keys systematically
14875 with basic modifiers control, meta and shift. (Bug#14397)
14876
14877 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14878
14879 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14880 "Close browser" menu items. Fix wrong function of "List
14881 bookmarks".
14882
14883 2013-12-11 Juri Linkov <juri@jurta.org>
14884
14885 * misearch.el (multi-isearch-buffers): Set the value of
14886 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14887 arg of isearch-forward to t.
14888 (multi-isearch-buffers-regexp): Set the value of
14889 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14890 arg of isearch-forward-regexp to t.
14891 (multi-isearch-files): Set the value of
14892 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14893 arg of isearch-forward to t.
14894 (multi-isearch-files-regexp): Set the value of
14895 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14896 arg of isearch-forward-regexp to t. (Bug#16035)
14897
14898 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14899 arg of isearch-forward to t.
14900 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14901 arg of isearch-forward-regexp to t.
14902 (dired-isearch-filter-filenames): Remove unnecessary check for
14903 `dired-isearch-filenames'.
14904
14905 * comint.el (comint-history-isearch-backward):
14906 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14907 (comint-history-isearch-backward-regexp):
14908 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14909
14910 2013-12-10 Eli Zaretskii <eliz@gnu.org>
14911
14912 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14913 unmsys--file-name. (Bug#16099)
14914
14915 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
14916
14917 * emacs-lisp/package.el (package-keyword-button-action):
14918 Remove finder.el require dependency.
14919
14920 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
14921
14922 * emacs-lisp/package.el: Require finder.el.
14923 (describe-package-1): Add keyword buttons.
14924 (package-make-button): New convenience function.
14925 (package-keyword-button-action): Keyword button action using
14926 `finder-list-matches'.
14927
14928 2013-12-09 Eli Zaretskii <eliz@gnu.org>
14929
14930 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14931 last commit.
14932
14933 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
14934
14935 * autorevert.el (auto-revert-notify-add-watch): Do not handle
14936 symlinked files.
14937
14938 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14939
14940 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14941 after the end of a percent literal.
14942
14943 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
14944
14945 * progmodes/ruby-mode.el (ruby-forward-string): Document.
14946 Handle caret-delimited strings (Bug#16079).
14947
14948 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14949
14950 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14951 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14952 `ruby-parse-partial' (Bug#16078).
14953
14954 2013-12-09 Leo Liu <sdl.web@gmail.com>
14955
14956 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
14957
14958 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
14959
14960 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14961 (js-switch-indent-offset): New option.
14962 (js--proper-indentation): Use it. And handle the case when
14963 "default" is actually a key in an object literal.
14964 (js--same-line): New function.
14965 (js--multi-line-declaration-indentation): Use it.
14966 (js--indent-in-array-comp, js--array-comp-indentation):
14967 New functions.
14968 (js--proper-indentation): Use them, to handle array comprehension
14969 continuations.
14970
14971 2013-12-08 Leo Liu <sdl.web@gmail.com>
14972
14973 * progmodes/flymake.el (flymake-highlight-line): Re-write.
14974 (flymake-make-overlay): Remove arg MOUSE-FACE.
14975 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14976
14977 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14980 New function.
14981 (redisplay-highlight-region-function): Use it.
14982
14983 * emulation/cua-base.el (cua--explicit-region-start)
14984 (cua--last-region-shifted): Remove.
14985 (cua--deactivate): Use deactivate-mark.
14986 (cua--pre-command-handler-1): Don't handle shift-selection.
14987 (cua--post-command-handler-1): Don't change transient-mark-mode.
14988 (cua--select-keymaps): Use region-active-p rather than
14989 cua--explicit-region-start or cua--last-region-shifted.
14990 (cua-mode): Enable shift-select-mode.
14991
14992 2013-12-08 Leo Liu <sdl.web@gmail.com>
14993
14994 * progmodes/flymake.el (flymake-popup-current-error-menu):
14995 Rename from flymake-display-err-menu-for-current-line. Reimplement.
14996 (flymake-posn-at-point-as-event, flymake-popup-menu)
14997 (flymake-make-emacs-menu): Remove. (Bug#16077)
14998
14999 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 * rect.el (rectangle-mark-mode): Activate mark even if
15002 transient-mark-mode is off (bug#16066).
15003 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15004 is > mark and at bolp.
15005
15006 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15007 (region-extract-function): Use it.
15008 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15009 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15010 Delete functions.
15011 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15012 kill-ring-save, kill-region, delete-char, delete-forward-char.
15013 Ignore self-insert-iso.
15014
15015 * emulation/cua-gmrk.el (cua--init-global-mark):
15016 Ignore `self-insert-iso'.
15017
15018 * emulation/cua-base.el (cua--prefix-copy-handler)
15019 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15020 checking cua--rectangle.
15021 (cua-delete-region): Use region-extract-function.
15022 (cua-replace-region): Delete function.
15023 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15024 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15025 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15026 (cua--init-keymaps): Don't remap delete-selection commands.
15027 (cua-mode): Use delete-selection-mode instead of rolling our own
15028 (bug#16085).
15029
15030 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15031 Obey region-extract-function.
15032
15033 Make registers and delete-selection-mode work on rectangles.
15034 * register.el (describe-register-1): Don't modify the register's value.
15035 (copy-to-register): Obey region-extract-function.
15036 * delsel.el (delete-active-region): Obey region-extract-function.
15037
15038 2013-12-08 Leo Liu <sdl.web@gmail.com>
15039
15040 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15041 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15042 (flymake-compilation-prevents-syntax-check)
15043 (flymake-start-syntax-check-on-newline)
15044 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15045 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15046 (flymake-xml-program, flymake-master-file-dirs)
15047 (flymake-master-file-count-limit)
15048 (flymake-allowed-file-name-masks): Relocate.
15049 (flymake-makehash, flymake-float-time)
15050 (flymake-replace-regexp-in-string, flymake-split-string)
15051 (flymake-get-temp-dir): Remove.
15052 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15053 (flymake-current-row, flymake-selected-frame)
15054 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15055 related functions. (Bug#16077)
15056
15057 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15058
15059 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15060
15061 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15062
15063 * help-fns.el (describe-function-1): Use new advice-* functions
15064 rather than old ad-* functions. Fix function type description and
15065 source links for advised functions and subrs.
15066
15067 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068
15069 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15070
15071 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15072
15073 * progmodes/compile.el (compilation-start):
15074 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15075
15076 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15077 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15078
15079 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15080
15081 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15082 Touch up the last change.
15083
15084 2013-12-06 Leo Liu <sdl.web@gmail.com>
15085
15086 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15087 (inferior-octave-startup): Always use "octave> " for prompt.
15088 (octave-goto-function-definition)
15089 (octave-sync-function-file-names)
15090 (octave-find-definition-default-filename): Remove redundant backquotes.
15091
15092 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15093
15094 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15095 syntax for `?'.
15096 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15097 where appropriate already.
15098 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15099 end of method names (Bug#15874).
15100
15101 2013-12-06 Juri Linkov <juri@jurta.org>
15102
15103 * isearch.el (isearch--saved-overriding-local-map):
15104 New internal variable.
15105 (isearch-mode): Set it to the initial value of
15106 `overriding-terminal-local-map'.
15107 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15108 with `isearch--saved-overriding-local-map'. (Bug#16035)
15109
15110 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15111
15112 * progmodes/octave.el (inferior-octave-completion-table):
15113 Turn back into function, use `completion-table-with-cache'
15114 (Bug#11906). Update all references.
15115
15116 * minibuffer.el (completion-table-with-cache): New function.
15117
15118 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15119
15120 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15121
15122 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15123
15124 * net/eww.el (eww-current-source): New variable to store page
15125 source.
15126 (eww-display-html, eww-mode, eww-save-history)
15127 (eww-restore-history): Use it.
15128 (eww-view-source): New command to view page source.
15129 Opportunistically uses `html-mode' to highlight the buffer.
15130 (eww-mode-map): Install it.
15131
15132 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15133
15134 * net/dbus.el (dbus-unregister-service)
15135 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15136 Fix docstring.
15137 (dbus-unregister-service): Skip :serial entries in
15138 `dbus-registered-objects-table'.
15139 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15140
15141 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15142
15143 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15144 around keywords with extra `split-string' argument.
15145
15146 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15147
15148 * windmove.el (windmove-other-window-loc): Handle navigation
15149 between windows (excluding the minibuffer window - Bug#16017).
15150
15151 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15152
15153 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15154 in D-Bus type syntax.
15155 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15156 preserve unibyte strings. (Bug#16048)
15157
15158 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15159
15160 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15161 Call force-mode-line-update is the proper buffer (bug#16042).
15162
15163 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15164
15165 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15166 `log-edit-remember-comment', make argument optional. Adjust all
15167 callers.
15168 (log-edit-mode): Add `log-edit-remember-comment' to
15169 `kill-buffer-hook' locally.
15170 (log-edit-kill-buffer): Don't remember comment explicitly since
15171 the buffer is killed anyway.
15172
15173 2013-12-04 Juri Linkov <juri@jurta.org>
15174
15175 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15176 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15177
15178 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15179
15180 * notifications.el (notifications-close-notification): Call the
15181 D-Bus method with ID being a `:uint32'. (Bug#16030)
15182
15183 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15184
15185 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15186
15187 2013-12-03 Juri Linkov <juri@jurta.org>
15188
15189 * progmodes/compile.el (compilation-start): Rename window alist
15190 entry `no-display-ok' to `allow-no-window'.
15191
15192 * simple.el (shell-command): Add window alist entry
15193 `allow-no-window' to `display-buffer'.
15194 (async-shell-command): Doc fix.
15195
15196 * window.el (display-buffer-no-window): New action function.
15197 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15198
15199 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15200
15201 * vc/log-edit.el (log-edit-set-header): Extract from
15202 `log-edit-toggle-header'.
15203 (log-edit-extract-headers): Separate the summary, when extracted
15204 from header, from the rest of the message with an empty line.
15205
15206 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15207 line, if present, to the Summary header.
15208
15209 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15212 in current-buffer (bug#16029).
15213
15214 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15215
15216 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15217 (debugger-mode-map): Bind it.
15218 (debugger--backtrace-base): New function.
15219 (debugger-eval-expression): Use it.
15220 (debugger-frame-number): Skip local vars when present.
15221 (debugger--locals-visible-p, debugger--insert-locals)
15222 (debugger--show-locals, debugger--hide-locals): New functions.
15223
15224 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15225
15226 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15227 "LC_ALL".
15228 (tramp-get-remote-locale): New defun.
15229 (tramp-open-connection-setup-interactive-shell): Use it.
15230
15231 2013-12-02 Leo Liu <sdl.web@gmail.com>
15232
15233 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15234
15235 * progmodes/sh-script.el (sh-shell-process):
15236 * progmodes/octave.el (inferior-octave-process-live-p):
15237 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15238 (gdb-inferior-io-sentinel):
15239 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15240
15241 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15242
15243 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15244 `save-selected-window' to `log-edit-hide-buf'. This makes
15245 `log-edit-show-files' idempotent.
15246 (log-edit-show-files): Mark the new window as dedicated.
15247
15248 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15249
15250 * vc/log-edit.el (log-edit-mode-map): Add binding for
15251 `log-edit-kill-biffer'.
15252 (log-edit-hide-buf): Add a FIXME comment.
15253 (log-edit-add-new-comment): New function, extracted from
15254 `log-edit-done'.
15255 (log-edit-done, log-edit-add-to-changelog): Use it.
15256 (log-edit-kill-buffer): New command.
15257
15258 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15259
15260 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15261 instead of killing the buffer.
15262
15263 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15266
15267 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15268
15269 * net/eww.el (eww-form-checkbox-selected-symbol)
15270 (eww-form-checkbox-symbol): New customizable variable.
15271 (eww-form-checkbox, eww-toggle-checkbox):
15272 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15273
15274 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15275 (shr--get-media-pref, shr--extract-best-source): New function.
15276 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15277 no :src tag was specified.
15278
15279 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15280 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15281 Use \\` to match beginning of string instead of ^.
15282 (eww-browse-with-external-browser): Provide optional URL parameter.
15283 (eww-render): Set `eww-current-title' back to "".
15284
15285 * net/shr.el (shr-tag-video): Display content for video if no
15286 poster is available.
15287 (shr-tag-audio): Add support for <audio> tag.
15288
15289 * net/eww.el (eww-text-input-types): New const.
15290 (eww-process-text-input): Treat input types in
15291 `eww-text-input-types' as text.
15292
15293 * net/shr.el (shr-tag-table): Fix comment typo.
15294
15295 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15296
15297 * net/eww.el (eww-follow-link): New command to avoid reloading
15298 pages when we follow #target links (bug#15243).
15299 (eww-quit): Special mode buffers shouldn't query before exiting.
15300
15301 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15302
15303 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15304 forms.
15305
15306 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15307
15308 * net/eww.el (eww-restore-history): Update the window title after
15309 moving in the history.
15310 (eww-current-dom): New variable used to save the current DOM.
15311
15312 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15313
15314 * vc/log-edit.el (log-edit-mode-map): Add binding for
15315 `log-edit-beginning-of-line'.
15316 (log-edit-setup-add-author): New user option.
15317 (log-edit-beginning-of-line): New command.
15318 (log-edit): Move major mode call above the contents setup so that
15319 the local variable values are already applied.
15320 (log-edit): Only insert "Author: " when
15321 `log-edit-setup-add-author' is non-nil.
15322 (log-edit): When SETUP is non-nil, position point after ": "
15323 instead of point-min.
15324
15325 2013-12-01 Glenn Morris <rgm@gnu.org>
15326
15327 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15328
15329 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15330
15331 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15332 redisplay to make sure the initial frame gets a chance to become
15333 visible. (Bug#16014)
15334
15335 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15336
15337 Support resizing frames and windows pixelwise.
15338 * cus-start.el (frame-resize-pixelwise)
15339 (window-resize-pixelwise): New entries.
15340 * emacs-lisp/debug.el (debug): Use window-total-height instead
15341 of window-total-size.
15342 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15343 * help.el (describe-bindings-internal): Use help-buffer as
15344 argument for with-help-window.
15345 (temp-buffer-max-width): New option.
15346 (resize-temp-buffer-window, help-window-setup)
15347 (with-help-window): Rewrite.
15348 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15349 dragging dividers.
15350 * window.el (frame-char-size, window-min-pixel-height)
15351 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15352 (window-min-pixel-width, window-safe-min-pixel-size)
15353 (window-combination-p, window-safe-min-size)
15354 (window-resizable-p, window--size-to-pixel)
15355 (window--pixel-to-size, window--resize-apply-p): New functions.
15356 (window-safe-min-height): Fix doc-string.
15357 (window-size, window-min-size, window--min-size-1)
15358 (window-sizable, window-sizable-p, window--min-delta-1)
15359 (window-min-delta, window--max-delta-1, window-max-delta)
15360 (window--resizable, window--resizable-p, window-resizable)
15361 (window-full-height-p, window-full-width-p, window-at-side-p)
15362 (window--in-direction-2, window-in-direction)
15363 (window--resize-reset-1, window--resize-mini-window)
15364 (window-resize, window-resize-no-error)
15365 (window--resize-child-windows-normal)
15366 (window--resize-child-windows, window--resize-siblings)
15367 (window--resize-this-window, window--resize-root-window)
15368 (window--resize-root-window-vertically)
15369 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15370 (maximize-window, minimize-window, delete-window)
15371 (quit-restore-window, window-split-min-size, split-window)
15372 (balance-windows-2, balance-windows)
15373 (balance-windows-area-adjust, balance-windows-area)
15374 (window--state-get-1, window-state-get, window--state-put-1)
15375 (window--state-put-2, window-state-put)
15376 (display-buffer-record-window, window--display-buffer):
15377 Make functions handle pixelwise sizing of windows.
15378 (display-buffer--action-function-custom-type)
15379 (display-buffer-fallback-action):
15380 Add display-buffer-in-previous-window.
15381 (display-buffer-use-some-window): Resize window to height it had
15382 before.
15383 (fit-window-to-buffer-horizontally): New option.
15384 (fit-frame-to-buffer): Describe new values.
15385 (fit-frame-to-buffer-bottom-margin): Replace with
15386 fit-frame-to-buffer-margins.
15387 (window--sanitize-margin): New function.
15388 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15389 using window-text-pixel-size.
15390
15391 2013-11-30 Glenn Morris <rgm@gnu.org>
15392
15393 * emacs-lisp/bytecomp.el (byte-compile-form):
15394 Make the `interactive-only' warning like the `obsolete' one.
15395 * comint.el (comint-run):
15396 * files.el (insert-file-literally, insert-file):
15397 * replace.el (replace-string, replace-regexp):
15398 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15399 (goto-line, insert-buffer, next-line, previous-line):
15400 Tweak `interactive-only' spec.
15401
15402 Stop keeping (most) generated cedet grammar files in the repository.
15403 * Makefile.in (semantic): New.
15404 (compile-main): Depend on semantic.
15405
15406 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15409 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15410
15411 * uniquify.el (uniquify-buffer-name-style): Change default.
15412
15413 * loadup.el: Preload "uniquify".
15414
15415 * time.el (display-time-update): Update all mode lines (bug#15999).
15416
15417 * electric.el (electric-indent-mode): Enable by default.
15418 * loadup.el: Preload "electric".
15419
15420 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15421
15422 * emacs-lisp/helpers.el (string-empty-p): New function.
15423 (string-blank-p): New function.
15424
15425 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15426
15427 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15428 (Bug#14029).
15429
15430 2013-11-29 Andreas Politz <politza@fh-trier.de>
15431 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15432 allow non-lambda lists as functions.
15433 (imenu--in-alist): Don't recurse into non-subalists.
15434 (imenu): Don't pass function itself as an argument (Bug#14029).
15435
15436 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15437
15438 * progmodes/python.el (python-mode-map): Remove binding for ":".
15439 (python-indent-electric-colon): Remove command.
15440 (python-indent-post-self-insert-function): Integrate the previous code
15441 of python-indent-electric-colon. Make it conditional on
15442 electric-indent-mode.
15443 (python-mode): Add ?: to electric-indent-chars.
15444 Move python-indent-post-self-insert-function to the end of
15445 post-self-insert-hook.
15446
15447 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15448
15449 * doc-view.el (doc-view-goto-page): Update mode-line.
15450
15451 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15452
15453 2013-11-27 Glenn Morris <rgm@gnu.org>
15454
15455 * international/charprop.el, international/uni-bidi.el:
15456 * international/uni-category.el, international/uni-combining.el:
15457 * international/uni-comment.el, international/uni-decimal.el:
15458 * international/uni-decomposition.el, international/uni-digit.el:
15459 * international/uni-lowercase.el, international/uni-mirrored.el:
15460 * international/uni-name.el, international/uni-numeric.el:
15461 * international/uni-old-name.el, international/uni-titlecase.el:
15462 * international/uni-uppercase.el:
15463 Remove generated files from VCS repository.
15464
15465 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15466
15467 * filenotify.el (file-notify-add-watch): Don't special-case
15468 w32notify when computing the directory to watch.
15469
15470 2013-11-27 Glenn Morris <rgm@gnu.org>
15471
15472 Make bootstrap without generated uni-*.el files possible again.
15473 * loadup.el: Update command-line-args checking for unidata-gen.
15474 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15475 * composite.el, international/characters.el:
15476 Handle unicode tables being undefined.
15477
15478 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15479 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15480 (compile-main): Depend on leim rule.
15481 (leim): New rule.
15482 * loadup.el: Move leim-list.el to leim/ subdirectory.
15483 * startup.el (normal-top-level): No more leim directory.
15484 * international/ja-dic-cnv.el (skkdic-convert):
15485 Disable version-control and autoloads in output files.
15486 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15487 Disable version-control and autoloads in output files.
15488 * leim/quail: Move here from ../leim.
15489 * leim/quail/hangul.el (hangul-input-method-activate):
15490 Add autoload cookie.
15491 (generated-autoload-load-name): Set file-local value.
15492 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15493 (generated-autoload-load-name): Set file-local value.
15494
15495 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15496
15497 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15498 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15499 (eww-quit): Ask confirmation before quitting eww.
15500
15501 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15502
15503 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15504 reading output from Diff on MS-Windows and MS-DOS.
15505
15506 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15507
15508 * emacs-lisp/helpers.el (string-reverse): New function.
15509
15510 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15511
15512 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15513 names on MS Windows, like "/[::1]:".
15514
15515 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15516 SWITCHES.
15517
15518 2013-11-26 Glenn Morris <rgm@gnu.org>
15519
15520 * progmodes/python.el (python-indent-guess-indent-offset):
15521 Avoid corner-case error. (Bug#15975)
15522
15523 Preload leim-list.el. (Bug#4789)
15524 * loadup.el: Load leim-list.el when found.
15525 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15526
15527 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15528
15529 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15530
15531 * emacs-lisp/helpers.el (string-join): New function.
15532
15533 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15534
15535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15536 Mark as obsolete and replace it with a symbol property.
15537 (byte-compile-form): Use new 'interactive-only property.
15538 * comint.el, files.el, replace.el, simple.el:
15539 Apply new 'interactive-only properly.
15540
15541 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15542
15543 * window.el (display-buffer-at-bottom): Make sure that
15544 split-window-sensibly creates the new window on bottom
15545 (Bug#15961).
15546
15547 2013-11-23 David Kastrup <dak@gnu.org>
15548
15549 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15550 on the conflict markers when available.
15551 (smerge--get-marker): New function.
15552 (smerge-end-re, smerge-base-re): Add subgroup.
15553
15554 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15555
15556 * frame.el (handle-focus-in, handle-focus-out): Add missing
15557 interactive spec.
15558
15559 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15560
15561 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15562 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15563
15564 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15567 (gomoku--last-pos): New var.
15568 (gomoku--intangible-chars): New const.
15569 (gomoku--intangible): New function.
15570 (gomoku-mode): Use it. Derive from special-mode.
15571 (gomoku-move-up): Adjust line count.
15572 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15573 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15574 Simplify accordingly.
15575
15576 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15577 Remove blink-cursor code.
15578 (blink-cursor-timer-function, blink-cursor-suspend):
15579 Don't special-case GUIs.
15580 (blink-cursor-mode): Use focus-in/out-hook.
15581
15582 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15583
15584 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15585 work when annotation is invisible (Bug#13886).
15586
15587 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15588
15589 * json.el (json-alist-p): Only return non-nil if the alist has
15590 simple keys (Bug#13518).
15591
15592 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15593
15594 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15595 when control-statement is the first statement in a buffer (Bug#15956).
15596
15597 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15598
15599 * imenu.el (imenu-generic-skip-comments-and-strings):
15600 New option (Bug#15560).
15601 (imenu--generic-function): Use it.
15602
15603 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15604
15605 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15606 (Bug#13898)
15607
15608 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15609
15610 * emacs-lisp/helpers.el: Add some string helpers.
15611 (string-trim-left): Removes leading whitespace.
15612 (string-trim-right): Removes trailing whitespace.
15613 (string-trim): Removes leading and trailing whitespace.
15614
15615 * subr.el (string-suffix-p): New function.
15616
15617 2013-11-23 Glenn Morris <rgm@gnu.org>
15618
15619 * progmodes/python.el (python-shell-send-file):
15620 Add option to delete file when done. (Bug#15647)
15621 (python-shell-send-string, python-shell-send-region): Use it.
15622
15623 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15624
15625 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15626 to set buffer-read-only to t, never to nil. (Bug#15938)
15627
15628 * textmodes/tex-mode.el (latex-noindent-environments):
15629 Add safe-local-variable property. (Bug#15936)
15630
15631 2013-11-23 Glenn Morris <rgm@gnu.org>
15632
15633 * textmodes/enriched.el (enriched-mode): Doc fix.
15634 * emacs-lisp/authors.el (authors-renamed-files-alist):
15635 Add enriched.doc -> enriched.txt.
15636
15637 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15638
15639 2013-11-22 Leo Liu <sdl.web@gmail.com>
15640
15641 * progmodes/octave.el (inferior-octave-startup): Spit out error
15642 message.
15643
15644 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15645
15646 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15647 Improve docstring.
15648 Add :version.
15649 (ruby-encoding-magic-comment-style): Add :version.
15650
15651 2013-11-22 Leo Liu <sdl.web@gmail.com>
15652
15653 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15654 (Bug#15076)
15655 (octave-help-mode): Adapt to change to help-mode-finish to use
15656 derived-mode-p on 2013-09-17.
15657 (inferior-octave-prompt): Also match octave-gui.
15658 (octave-kill-process): Don't ask twice. (Bug#10564)
15659
15660 2013-11-22 Leo Liu <sdl.web@gmail.com>
15661
15662 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15663 (inferior-octave-startup, inferior-octave-check-process)
15664 (inferior-octave-track-window-width-change)
15665 (octave-completion-at-point, octave-eldoc-function): Use it.
15666 (octave-kill-process): Provide confirmation. (Bug#10564)
15667
15668 2013-11-21 Leo Liu <sdl.web@gmail.com>
15669
15670 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15671 Fix obsolete variable comment-use-global-state.
15672
15673 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15674
15675 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15676 Add `octave-source-file'.
15677 (octave-source-file): New function. (Bug#15935)
15678
15679 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15680
15681 * net/eww.el (eww-local-regex): New variable.
15682 (eww): Use it to detect localhost and similar.
15683
15684 2013-11-21 Leo Liu <sdl.web@gmail.com>
15685
15686 Add completion for command `ag'.
15687 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15688 (pcomplete/ag): New function.
15689 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15690
15691 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15692
15693 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15694 (bug#14646).
15695 (make-obsolete): Remove interactive spec.
15696
15697 2013-11-21 Glenn Morris <rgm@gnu.org>
15698
15699 * startup.el (command-line-1): Use path-separator with -L.
15700
15701 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15702
15703 * emacs-lisp/package.el (describe-package-1): Add package archive
15704 to shown fields.
15705
15706 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15707
15708 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15709 Change default to "# encoding: %s" to differentiate it from the
15710 default Ruby encoding comment template.
15711
15712 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15713
15714 * ses.el (ses-mode): Doc fix. (Bug#14748)
15715
15716 2013-11-20 Leo Liu <sdl.web@gmail.com>
15717
15718 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15719
15720 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15721
15722 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15723 when rebase or bisect are in progress.
15724
15725 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15726
15727 * filenotify.el (file-notify-add-watch): Doc fix.
15728
15729 2013-11-19 Leo Liu <sdl.web@gmail.com>
15730
15731 * obsolete/rcompile.el: Mark obsolete.
15732
15733 * progmodes/compile.el (compilation-start)
15734 (compilation-goto-locus, compilation-find-file):
15735 Pass no-display-ok and handle nil value from display-buffer.
15736 (Bug#13594)
15737
15738 * window.el (display-buffer-alist, display-buffer): Document the
15739 new parameter no-display-ok. Return either a window or nil
15740 but never a non-window value.
15741
15742 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * electric.el (electric-indent-mode-map): Remove.
15745 (electric-indent-mode): Change the global-map instead (bug#15915).
15746
15747 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15748 Use add-function.
15749
15750 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * emacs-lisp/nadvice.el (remove-function): Align with
15753 add-function's behavior.
15754
15755 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15756 (gdb--string-regexp): New constant.
15757 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15758 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15759 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15760 submatch 1.
15761 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15762 Adjust use accordingly.
15763 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15764
15765 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15766
15767 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15768 interpolation curlies (Bug#15914).
15769
15770 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15771
15772 * calc/calc.el (calc-context-sensitive-enter): New variable.
15773 (calc-enter): Use `calc-context-sensitive-enter'.
15774
15775 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15776
15777 * progmodes/cfengine.el: Version bump.
15778 (cfengine-cf-promises): New defcustom to locate cf-promises.
15779 (cfengine3-vartypes): Add new "data" type.
15780 (cfengine3--current-word): New function to get current name-like
15781 word or its bounds.
15782 (cfengine3--current-function): New function to look up a CFEngine
15783 function's definition.
15784 (cfengine3-format-function-docstring): New function.
15785 (cfengine3-make-syntax-cache): New function.
15786 (cfengine3-documentation-function): New function: ElDoc glue.
15787 (cfengine3-completion-function): New function: completion glue.
15788 (cfengine3-mode): Set `compile-command',
15789 `eldoc-documentation-function', and add to
15790 `completion-at-point-functions'.
15791
15792 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15793
15794 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15795 `tramp-current-connection'.
15796
15797 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15798
15799 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15800 nil/self/true/false with "end of symbol".
15801
15802 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15803
15804 * subr.el (version-regexp-alist): Fix a typo.
15805
15806 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15807
15808 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15809 "en_US.utf8" and "LC_CTYPE" to "".
15810 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15811 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15812
15813 2013-11-15 Leo Liu <sdl.web@gmail.com>
15814
15815 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15816
15817 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * progmodes/gud.el (ctl-x-map):
15820 Remove C-x SPC binding. (Bug#12342)
15821 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15822
15823 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
15824
15825 * subr.el (version-regexp-alist):
15826 Recognize hg, svn and darcs versions as snapshot versions.
15827
15828 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15829 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15830 (ruby--encoding-comment-required-p): Extract from
15831 `ruby-mode-set-encoding'.
15832 (ruby-mode-set-encoding): Add the ability to always insert an
15833 utf-8 encoding comment. Fix and simplify coding comment update
15834 logic.
15835
15836 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
15837
15838 * net/tramp-gvfs.el (top): Run init code only when
15839 `tramp-gvfs-enabled' is not nil.
15840 (tramp-gvfs-enabled): Check also :system bus.
15841
15842 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15843
15844 Sync with upstream verilog-mode revision 78e66ba.
15845 * progmodes/verilog-mode.el (verilog-end-of-defun)
15846 (verilog-type-completion, verilog-get-list): Remove unused funcs.
15847 (verilog-get-end-of-defun): Remove unused argument.
15848 (verilog-comment-depth): Remove unused local `e'.
15849 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15850 Don't pass arg to verilog-get-end-of-defun.
15851
15852 2013-11-14 Glenn Morris <rgm@gnu.org>
15853
15854 * obsolete/assoc.el (aget): Prefix dynamic variable.
15855
15856 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15857
15858 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * widget.el, hfy-cmap.el: Remove bogus package version number.
15861
15862 2013-11-13 Glenn Morris <rgm@gnu.org>
15863
15864 * replace.el (replace-eval-replacement):
15865 Try to give more helpful error message. (Bug#15836)
15866
15867 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15868 (archive-7z-update): Avoid custom type mismatches.
15869
15870 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15871
15872 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
15873
15874 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15875 address can be empty.
15876
15877 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15878 Accept nil SWITCHES.
15879 (tramp-gvfs-handle-write-region): Implement APPEND.
15880
15881 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
15882
15883 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15884 binary "|" operator and closing block args delimiter.
15885 Remove FIXME comment referring to Ruby 1.8-only syntax.
15886 (ruby-smie--implicit-semi-p): Not after "|" operator.
15887 (ruby-smie--closing-pipe-p): New function.
15888 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15889 (ruby-smie-rules): Indent after "|".
15890
15891 2013-11-12 Glenn Morris <rgm@gnu.org>
15892
15893 * ps-print.el (ps-face-attribute-list):
15894 Handle anonymous faces. (Bug#15827)
15895
15896 2013-11-12 Martin Rudalics <rudalics@gmx.at>
15897
15898 * window.el (display-buffer-other-frame): Fix doc-string.
15899 (Bug#15868)
15900
15901 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * subr.el (force-mode-line-update): Delete, move to buffer.c.
15904
15905 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
15906
15907 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15908 (tramp-sh-handle-file-local-copy): Don't write a message when
15909 saving temporary files.
15910
15911 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15912 both directories are remote.
15913 (tramp-smb-handle-directory-files): Do not return double entries.
15914 Do not expand full file names.
15915 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15916 (tramp-smb-handle-write-region): Implement APPEND.
15917 (tramp-smb-get-stat-capability): Fix a stupid bug.
15918
15919 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15920
15921 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15922
15923 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15924
15925 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15926 throwing error over malformed let/let* (bug#15814).
15927
15928 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15929
15930 * iswitchb.el (iswitchb-mode): Mark obsolete.
15931
15932 2013-11-11 Glenn Morris <rgm@gnu.org>
15933
15934 * international/uni-bidi.el, international/uni-category.el:
15935 * international/uni-name.el, international/uni-numeric.el:
15936 Regenerate for Unicode 6.3.0.
15937
15938 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
15939
15940 * net/tramp.el (tramp-methods):
15941 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15942 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15943
15944 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
15945
15946 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15947 Force highlighting text after Summary keyword in doc face for rpm.
15948
15949 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
15950
15951 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15952 available and the word has no wildcards, append one to the grep pattern.
15953 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15954 (ispell-complete-word): Call `ispell-lookup-words' with the value
15955 independent of `ispell-look-p'.
15956
15957 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15958
15959 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15960 Not after "||".
15961 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15962 their parent.
15963
15964 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15965
15966 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
15967 (ruby-font-lock-keywords): Use backquote.
15968
15969 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15970
15971 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15972 (ruby-smie--backward-token): Only consider full-string matches.
15973
15974 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
15975
15976 * faces.el (describe-face): Add distant-foreground.
15977
15978 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
15979
15980 * progmodes/ruby-mode.el: Improve encoding comment handling.
15981 (ruby-encoding-magic-comment-style): New option.
15982 (ruby-custom-encoding-magic-comment-template): New option.
15983 (ruby--insert-coding-comment, ruby--detect-encoding):
15984 New functions extracted from `ruby-mode-set-encoding'.
15985 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15986 to control the style of the auto-inserted encoding comment.
15987
15988 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15989
15990 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15991 Use `smie-backward-sexp' with token argument.
15992
15993 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
15994
15995 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15996 Remove instrumentation code.
15997
15998 2013-11-08 Glenn Morris <rgm@gnu.org>
15999
16000 * progmodes/autoconf.el (autoconf-mode):
16001 Tweak comment-start-skip. (Bug#15822)
16002
16003 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16004
16005 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16006 at bobp (bug#15826).
16007 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16008
16009 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16010
16011 * man.el (Man-start-calling): New macro, extracted from
16012 Man-getpage-in-background.
16013 (Man-getpage-in-background): Use it.
16014 (Man-update-manpage): New command.
16015 (Man-mode-map): Bind it.
16016
16017 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16018
16019 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16020 of "and", "or", "&&" and "||".
16021 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16022 argument. Prohibit opening curly brace because it could only be a
16023 block opener in that position.
16024 (ruby-smie--forward-token, ruby-smie--backward-token):
16025 Separate "|" from "&" or "*" going after it. That can happen in block
16026 arguments.
16027 (ruby-smie--indent-to-stmt): New function, seeks the end of
16028 previous statement or beginning of buffer.
16029 (ruby-smie-rules): Use it.
16030 (ruby-smie-rules): Check if there's a ":" before a curly block
16031 opener candidate; if there is, it's a hash.
16032
16033 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16036 (cl--block-wrapper): Fix last accidental change.
16037
16038 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16039
16040 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16041 Instrument, in order to hunt failure on hydra.
16042
16043 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16044
16045 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16046 malformed bindings form (bug#15814).
16047
16048 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16049
16050 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16051 "." compared to " @ ". This incidentally fixes some indentation
16052 examples with "do".
16053 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16054 (ruby-smie-grammar): New tokens: "and" and "or".
16055 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16056 Exclude "and" and "or". Remove "do" in order to work around token
16057 priorities.
16058 (ruby-smie-rules): Add all infix tokens. Handle the case of
16059 beginning-of-buffer.
16060
16061 2013-11-06 Glenn Morris <rgm@gnu.org>
16062
16063 * Makefile.in (setwins_almost, setwins_for_subdirs):
16064 Avoid accidental matches.
16065
16066 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16067
16068 * menu-bar.el (popup-menu): Use key-binding.
16069
16070 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16071
16072 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16073 menus, support also the menus produced by minor modes.
16074 (Bug#15817)
16075
16076 2013-11-06 Leo Liu <sdl.web@gmail.com>
16077
16078 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16079 DISTANCE to bound the search. All uses changed. (Bug#15808)
16080
16081 2013-11-06 Glenn Morris <rgm@gnu.org>
16082
16083 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16084 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16085 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16086
16087 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * electric.el (electric-indent-just-newline): New command.
16090 (electric-indent-mode-map): New keymap.
16091 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16092 Re-add :group which weren't redundant.
16093
16094 * electric.el (electric-indent-local-mode): New minor mode.
16095 (electric-indent-functions-without-reindent): New var.
16096 (electric-indent-post-self-insert-function): Use it.
16097 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16098
16099 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16100
16101 * international/quail.el (quail-help): Be more explicit about the
16102 meaning of the labels shown on the keys. (Bug#15800)
16103
16104 * startup.el (normal-top-level): Load the subdirs.el files before
16105 setting the locale environment. (Bug#15805)
16106
16107 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16110 via arguments so as to get the right ones (bug#15418).
16111
16112 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16113
16114 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16115
16116 Fix problems found while writing a test suite.
16117
16118 * net/tramp-compat.el (tramp-compat-load): New defun.
16119 * net/tramp.el (tramp-handle-load): Use it.
16120
16121 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16122 "(numberp ok-if-already-exists)" correctly.
16123
16124 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16125
16126 * international/characters.el (glyphless-char-display-control):
16127 Add usage note.
16128
16129 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16130
16131 * progmodes/python.el (python-mode):
16132 * progmodes/scheme.el (scheme-mode):
16133 * progmodes/prolog.el (prolog-mode):
16134 * progmodes/ruby-mode.el (ruby-mode):
16135 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16136 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16137
16138 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16139
16140 * rect.el (rectangle--highlight-for-redisplay):
16141 * emacs-lisp/smie.el (smie--next-indent-change):
16142 Use buffer-chars-modified-tick.
16143
16144 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16145
16146 * electric.el (electric-indent-post-self-insert-function):
16147 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16148
16149 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16150
16151 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16152
16153 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16154
16155 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16156 (bug#15786).
16157
16158 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16161
16162 * progmodes/python.el: Fix up last change.
16163 (python-shell--save-temp-file): New function.
16164 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16165 `string' comes from the current buffer.
16166 (python-shell-send-string-no-output): Remove `msg' arg.
16167 (python--use-fake-loc): New var.
16168 (python-shell-buffer-substring): Obey it. Try to compensate for the
16169 extra coding line added by python-shell--save-temp-file.
16170 (python-shell-send-region): Use python-shell--save-temp-file and
16171 python-shell-send-file directly. Add `nomain' argument.
16172 (python-shell-send-buffer): Use python-shell-send-region.
16173 (python-electric-pair-string-delimiter): New function.
16174 (python-mode): Use it.
16175
16176 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16177
16178 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16179 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16180 environment and decoding all of the default-directory's to here
16181 from command-line.
16182 (command-line): Decode also argv[0].
16183
16184 * loadup.el: Error out if default-directory is a multibyte string
16185 when we are dumping.
16186
16187 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16188
16189 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16190
16191 * emacs-lisp/package.el (package-menu-mode)
16192 (package-menu--print-info, package-menu--archive-predicate):
16193 Add Archive column to package list.
16194
16195 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16196
16197 Fix problems found while writing a test suite.
16198
16199 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16200 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16201 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16202 to nil when running original file name handler. Otherwise,
16203 there are problems with constructs like "$$FOO".
16204
16205 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16206 for `localname'.
16207
16208 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16209
16210 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16211
16212 * subr.el (version<, version<=, version=):
16213 Update docstrings with information for snapshot versions.
16214
16215 * helpers.el: New library for misc helper functions.
16216 (hash-table-keys): New function returning a list of hash keys.
16217 (hash-table-values): New function returning a list of hash values.
16218
16219 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16220
16221 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16222 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16223
16224 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16225
16226 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16227 checking whether point is after a 1-letter word.
16228
16229 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16230
16231 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16232 Don't infloop when expanding region over `multiline' syntax-type that
16233 begins a line (bug#15778).
16234
16235 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16236
16237 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16238 Make it into a proper minor mode.
16239 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16240 (rectangle-mark-mode-map): New keymap.
16241 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16242
16243 2013-11-04 Glenn Morris <rgm@gnu.org>
16244
16245 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16246
16247 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16250 (ruby-smie-rules): Use smie-rule-parent instead.
16251
16252 * emacs-lisp/smie.el (smie-rule-parent): Always call
16253 smie-indent-virtual rather than only for hanging tokens.
16254 (smie--next-indent-change): New helper command.
16255
16256 2013-11-03 Glenn Morris <rgm@gnu.org>
16257
16258 * Makefile.in (abs_srcdir): Remove.
16259 (emacs): Unset EMACSLOADPATH.
16260
16261 2013-11-02 Glenn Morris <rgm@gnu.org>
16262
16263 * Makefile.in (EMACS): Use a relative filename.
16264 (abs_top_builddir): Remove.
16265 (custom-deps, finder-data, autoloads): Use --chdir.
16266
16267 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16268
16269 Use relative filenames in TAGS files.
16270 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16271 (lisptagsfiles4, TAGS): Use relative file names.
16272 (TAGS-LISP): Remove.
16273 (maintainer-clean): No more TAGS-LISP file.
16274
16275 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16276 (lisptagsfiles4): Use absolute filenames again.
16277 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16278 Remove all *loaddefs files, not just the first. Remove esh-groups.
16279 (maintainer-clean): Delete TAGS, TAGS-LISP.
16280
16281 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16282
16283 * emacs-lisp/package.el (package-version-join):
16284 Recognize snapshot versions.
16285
16286 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16287
16288 * subr.el (version-regexp-alist): Add support for snapshot versions.
16289
16290 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16291
16292 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16293 New function, replacement for `smie-rule-parent' for when we want to
16294 skip over our direct parent if it's an assignment token..
16295 (ruby-smie-rules): Use it.
16296
16297 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16298
16299 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16300 unconditionally. Remove now unnecessary forward declarations.
16301 Remove XEmacs-specific setup.
16302 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16303 (ruby-font-lock-syntactic-keywords)
16304 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16305 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16306 (ruby-here-doc-end-syntax): Remove.
16307 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16308 defined as function.
16309
16310 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16311
16312 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16313
16314 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16315
16316 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16317 table and abbrev table, `define-derived-mode' does that for us
16318 anyway.
16319
16320 2013-11-01 Glenn Morris <rgm@gnu.org>
16321
16322 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16323 files is atomic for some time, so no parallel compilation issues).
16324
16325 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16326
16327 * faces.el (face-x-resources): Add :distant-foreground.
16328 (region): Use :distant-foreground for gtk and ns.
16329
16330 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16331
16332 Allow multiple bibliographies when BibLaTeX is used rather than
16333 BibTeX.
16334 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16335 (reftex-locate-bibliography-files): Us it.
16336
16337 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16338
16339 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16340 allow comments in pbm files.
16341
16342 * term/w32-win.el (dynamic-library-alist): Support newer versions
16343 of libjpeg starting with v7: look only for the DLL from the
16344 version against which Emacs was built.
16345 Support versions of libpng beyond 1.4.x.
16346 Support libtiff v4.x.
16347
16348 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16349
16350 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16351 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16352 Add property :safe.
16353 (ruby-deep-arglist): Add property :type.
16354
16355 2013-10-31 Glenn Morris <rgm@gnu.org>
16356
16357 * Makefile.in (custom-deps, finder-data): No need to setq the target
16358 variables, we are in the right directory and the defaults work fine.
16359
16360 2013-10-30 Glenn Morris <rgm@gnu.org>
16361
16362 * Makefile.in (autoloads): Do not use abs_lisp.
16363
16364 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16365 `newline' does not respect `standard-output', so use `princ'.
16366
16367 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16368
16369 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16370 * buff-menu.el (Buffer-menu--unmark): New function.
16371 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16372
16373 2013-10-30 Glenn Morris <rgm@gnu.org>
16374
16375 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16376
16377 * emacs-lisp/package.el (lm-homepage): Declare.
16378
16379 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16380 Fix doc typos.
16381
16382 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16383
16384 * Makefile.in (finder-data, autoloads, update-subdirs)
16385 (compile-main, compile-clean, compile-always, bootstrap-clean):
16386 Check return value of cd.
16387 (compile-calc): Remove.
16388
16389 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16390
16391 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16392
16393 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16394 (byte-compile-and-folded): New function.
16395 (=, <, >, <=, >=): Use it.
16396
16397 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16398 (path-separator, null-device, buffer-file-coding-system)
16399 (lpr-headers-switches): Check system-type before modifying them.
16400 (find-buffer-file-type-coding-system): Mark obsolete.
16401 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16402 find-file-not-found-set-buffer-file-coding-system.
16403 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16404 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16405 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16406 (w32-direct-print-region-helper, w32-direct-print-region-function)
16407 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16408 * startup.el (normal-top-level-add-subdirs-to-load-path):
16409 * ps-print.el (ps-print-region-function):
16410 * lpr.el (print-region-function): Use new name.
16411
16412 * subr.el (custom-declare-variable-early): Remove function.
16413 (custom-declare-variable-list): Remove var.
16414 (error, user-error): Remove `while' loop.
16415 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16416 (user-emacs-directory-warning, locate-user-emacs-file):
16417 Move to files.el.
16418 * simple.el (read-quoted-char-radix, read-quoted-char):
16419 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16420 Move from subr.el.
16421 * custom.el (custom-declare-variable-list): Don't process
16422 custom-declare-variable-list.
16423
16424 * progmodes/python.el (python-shell-get-buffer): New function.
16425 (python-shell-get-process): Use it.
16426 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16427 Python which encoding was used. Don't split-string since we only care
16428 about the first line. Return the temp-file, if applicable.
16429 (python-shell-send-region): Tell compile.el how to turn locations in
16430 the temp-file into locations in the source buffer.
16431
16432 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * subr.el (undefined): Add missing behavior from the C code for
16435 unbound keys.
16436
16437 * rect.el: Use lexical-binding. Add new rectangular region support.
16438 (rectangle-mark): New command.
16439 (rectangle--region): New var.
16440 (deactivate-mark-hook): Reset rectangle--region.
16441 (rectangle--extract-region, rectangle--insert-for-yank)
16442 (rectangle--highlight-for-redisplay)
16443 (rectangle--unhighlight-for-redisplay): New functions.
16444 (region-extract-function, redisplay-unhighlight-region-function)
16445 (redisplay-highlight-region-function): Use them to handle
16446 rectangular region.
16447 * simple.el (region-extract-function): New var.
16448 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16449 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16450 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16451 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16452 (redisplay-unhighlight-region-function)
16453 (redisplay-highlight-region-function): New vars.
16454 (redisplay--update-region-highlight): New function.
16455 (pre-redisplay-function): Use it.
16456 (exchange-point-and-mark): Don't deactivate the mark before
16457 reactivate-it anyway.
16458 * comint.el (comint-kill-region): Remove yank-handler argument.
16459 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16460 (delete-char): Remove property, since it's now part of their
16461 default behavior.
16462 (self-insert-iso): Remove property since this command doesn't exist.
16463
16464 * emacs-lisp/package.el (package--download-one-archive)
16465 (describe-package-1): Don't query the user about final newline.
16466
16467 2013-10-29 Daniel Colascione <dancol@dancol.org>
16468
16469 * net/tramp.el (tramp-methods): Document new functionality.
16470 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16471 tramp-hostname-checker if method provides one instead of scanning
16472 argument list for "%h" to decide hostname acceptability.
16473
16474 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16475
16476 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16477 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16478 Handle COPY-CONTENTS. (Bug#15737)
16479
16480 2013-10-28 Daiki Ueno <ueno@gnu.org>
16481
16482 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16483 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16484
16485 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16486
16487 * image.el (defimage, image-load-path): Doc fixes.
16488
16489 2013-10-27 Alan Mackenzie <acm@muc.de>
16490
16491 Indent statements in macros following "##" correctly.
16492 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16493 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16494
16495 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16496
16497 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16498
16499 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16500
16501 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16502 after `=' is probably a new expression.
16503
16504 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16505
16506 * man.el (man-imenu-title): New option.
16507 (Man-mode-map): Add menu. (Bug#15722)
16508 (Man-mode): Add imenu to menu.
16509
16510 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16511
16512 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16513 specific in what the first arg can be: a non-keyword word,
16514 string/regexp/percent literal opener, opening paren, or unary
16515 operator followed directly by word.
16516
16517 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16518
16519 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16520 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16521 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16522 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16523 Remove vars, they do not apply any more.
16524 (prolog-mode-abbrev-table): Remove redundant declaration.
16525 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16526 (prolog-use-smie): Remove.
16527 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16528 supported by prolog-electric-if-then-else-flag.
16529 (prolog-mode-variables, prolog-menu): Use setq-local.
16530 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16531 Remove binding to `Backspace' since this key doesn't exist anyway.
16532 Remove bindings for electric self-inserting keys.
16533 (prog-mode): Assume it's defined.
16534 (prolog-post-self-insert): New function.
16535 (prolog-mode): Use it.
16536 (prolog-indent-line, prolog-indent-level)
16537 (prolog-find-indent-of-matching-paren)
16538 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16539 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16540 (prolog-goto-next-paren, prolog-in-string-or-comment)
16541 (prolog-tokenize, prolog-inside-mline-comment)
16542 (prolog-find-start-of-mline-comment): Remove functions.
16543 (prolog-find-unmatched-paren, prolog-clause-end)
16544 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16545 (prolog-electric--if-then-else): Rename from
16546 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16547 (prolog-tokenize-searchkey): Remove const.
16548 (prolog-clause-info): Use forward-sexp.
16549 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16550 (prolog-electric-if-then-else): Remove commands.
16551 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16552 for use in post-self-insert-hook.
16553 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16554 for use in post-self-insert-hook.
16555 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16556 for use in post-self-insert-hook.
16557 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16558 adapt it for use in post-self-insert-hook.
16559
16560 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16561
16562 * emacs-lisp/ert.el (ert-run-tests-interactively):
16563 Use `completing-read'. (Bug#9756)
16564
16565 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16566
16567 * simple.el (line-move): Call line-move-1 instead of
16568 line-move-visual when the current window hscroll is zero, but
16569 temporary-goal-column indicates we will need to hscroll as result
16570 of the movement. (Bug#15712)
16571
16572 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16573
16574 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16575 capitalization. Use :visible instead of :active.
16576 Fix `ruby-indent-exp' reference. Add menu items for the generic
16577 commands that are used with SMIE.
16578 (ruby-do-end-to-brace): Insert space after `{'.
16579
16580 2013-10-25 John Anthony <john@jo.hnanthony.com>
16581
16582 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16583
16584 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16585
16586 2013-10-25 Glenn Morris <rgm@gnu.org>
16587
16588 * vc/vc.el (vc-print-log): Don't use a working revision unless
16589 one was explicitly specified. (Bug#15322)
16590
16591 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16592
16593 * subr.el (add-to-list): Preserve return value in compiler-macro
16594 (bug#15692).
16595
16596 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16597
16598 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16599 result. Ask user to retry using '-all' flag. (Bug#15701)
16600
16601 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * emacs-lisp/smie.el: New smie-config system.
16604 (smie-config): New defcustom.
16605 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16606 (smie-config-guess, smie-config-save): New commands.
16607 (smie-config--mode-local, smie-config--buffer-local)
16608 (smie-config--trace, smie-config--modefuns): New vars.
16609 (smie-config--advice, smie-config--mode-hook)
16610 (smie-config--setter, smie-config-local, smie-config--get-trace)
16611 (smie-config--guess-value, smie-config--guess): New functions.
16612 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16613 text properties. Treat "string fence" syntax like string syntax.
16614
16615 * progmodes/sh-script.el (sh-use-smie): Change default.
16616 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16617 (sh-var-value): Simplify by CSE.
16618 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16619 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16620 is used.
16621 (sh-guess-basic-offset): Use cl-incf.
16622 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16623
16624 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16625
16626 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16627 (bug#15699).
16628
16629 2013-10-24 Glenn Morris <rgm@gnu.org>
16630
16631 * Makefile.in (abs_top_srcdir): Remove.
16632 (update-subdirs): Use relative path to update-subdirs.
16633
16634 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16635
16636 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16637 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16638 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16639 Call unmsys--file-name before expand-file-name, not after it.
16640
16641 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16642
16643 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16644 (ert-test-skipped): New error.
16645 (ert-skip, ert-stats-skipped): New defuns.
16646 (ert--skip-unless): New macro.
16647 (ert-test-skipped): New struct.
16648 (ert--run-test-debugger, ert-test-result-type-p)
16649 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16650 (ert--stats-set-test-and-result, ert-char-for-test-result)
16651 (ert-string-for-test-result, ert-run-tests-batch)
16652 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16653 Handle skipped tests. (Bug#9803)
16654
16655 2013-10-24 Glenn Morris <rgm@gnu.org>
16656
16657 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16658
16659 * Makefile.in (abs_top_srcdir): New, set by configure.
16660 (update-subdirs): Correct build-aux location.
16661
16662 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16663
16664 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16665 value, whether we could auto-deduce `backend', or not.
16666
16667 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16668 with parameters" example. Simplify the "is it block or is it
16669 hash" check, but also make it more thorough.
16670
16671 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16672
16673 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16674
16675 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16676
16677 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16678 { if it is hanging.
16679
16680 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16681 :before ";".
16682
16683 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16684
16685 * progmodes/compile.el (compilation-directory-matcher)
16686 (compilation-page-delimiter):
16687 Support GNU Make-4.0 directory quoting. (Bug#15678)
16688
16689 2013-10-23 Leo Liu <sdl.web@gmail.com>
16690
16691 * ido.el (ido-tidy): Handle read-only text.
16692
16693 2013-10-23 Glenn Morris <rgm@gnu.org>
16694
16695 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16696 (emacs, compile, compile-always):
16697 Quote entities that might contain whitespace.
16698 (custom-deps, finder-data, autoloads): Use abs_lisp.
16699 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16700 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16701 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16702
16703 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16704
16705 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16706 Use `following-char'.
16707
16708 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16709
16710 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16711 * progmodes/ruby-mode.el (ruby-smie-rules):
16712 Remove corresponding workaround. Fix indentation rule of ";" so it
16713 also applies when ";" is the parent.
16714
16715 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16716
16717 * frame.el (display-screens, display-pixel-height)
16718 (display-pixel-width, display-mm-width, display-backing-store)
16719 (display-save-under, display-planes, display-color-cells)
16720 (display-visual-class, display-monitor-attributes-list):
16721 Mention the optional ‘display’ argument in doc strings.
16722
16723 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16724
16725 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16726 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16727
16728 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16729
16730 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16731 TODO. Add "." after " @ ".
16732 (ruby-smie--at-dot-call): New function. Checks if point at method
16733 call with explicit target.
16734 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16735 to the method name tokens when it precedes them.
16736 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16737 (ruby-smie-rules): Add rule for indentation before and after "."
16738 token.
16739
16740 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * textmodes/remember.el (remember-diary-extract-entries):
16743 Avoid add-to-list.
16744
16745 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16746 an instruction.
16747
16748 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16749
16750 * progmodes/ruby-mode.el (ruby-smie-grammar):
16751 Add (almost) all infix operators.
16752 (ruby-smie--implicit-semi-p): Add new operator chars.
16753
16754 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16755 `smie-down-list'.
16756 (ruby-smie--args-separator-p): Check that there's no newline
16757 between method call and its arguments.
16758
16759 2013-10-20 Alan Mackenzie <acm@muc.de>
16760
16761 Allow comma separated lists after Java "implements".
16762
16763 * progmodes/cc-engine.el (c-backward-over-enum-header):
16764 Parse commas.
16765 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16766 from a "disallowed" list in enum fontification.
16767
16768 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16769
16770 * startup.el (default-frame-background-mode): Remove unused defvar.
16771
16772 * progmodes/verilog-mode.el (verilog-mode): Don't set
16773 comment-indent-function globally.
16774
16775 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16776
16777 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16778 Move Info menu item creation to ns-win.el.
16779
16780 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16781 in menu bar.
16782
16783 * menu-bar.el: Move GNUstep specific menus...
16784
16785 * term/ns-win.el (ns-initialize-window-system): ... to here.
16786
16787 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16788
16789 * simple.el (newline): Only run post-self-insert-hook when
16790 called interactively.
16791
16792 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16793
16794 * icomplete.el (icomplete-with-completion-tables): Add :version.
16795
16796 2013-10-19 Alan Mackenzie <acm@muc.de>
16797
16798 Fix fontification bugs with constructors and const.
16799
16800 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16801 CASE 2) Remove the check for the absence of a suffix construct
16802 after a function declaration with only types (no identifiers) in
16803 the parentheses. Also, accept a function declaration with just a
16804 type inside the parentheses, if this type can be positively
16805 recognised as such, or if a prefix keyword like "explicit" nails
16806 down the construct as a declaration.
16807
16808 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16809
16810 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16811 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16812 the problem whereby selecting a menu item that leads to a
16813 minibuffer prompt moves the cursor out of the minibuffer window,
16814 making it hard to type at the prompt. Suggested by Stefan Monnier
16815 <monnier@iro.umontreal.ca>.
16816
16817 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16818
16819 * menu-bar.el: Don't make Services menu.
16820
16821 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16822
16823 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16824 (ffap-alist): Use ffap-c++-mode for c++-mode.
16825 (ffap-c++-path): New variable.
16826 (ffap-c++-mode): New function.
16827
16828 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
16829
16830 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
16831
16832 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
16833
16834 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16835 introduced on 2013-09-08, which results in an infinite loop
16836 requesting a password.
16837
16838 2013-10-18 Glenn Morris <rgm@gnu.org>
16839
16840 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16841
16842 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
16843
16844 Sync with upstream verilog-mode revision 1a6ecec7.
16845 * progmodes/verilog-mode.el (verilog-mode-version): Update.
16846 (verilog-mode-release-date): Remove.
16847 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16848 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16849 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16850 (verilog-auto-tieoff-ignore-regexp)
16851 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16852 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16853 (verilog-signals-with, verilog-dir-cache-preserving)
16854 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16855 Doc fixes.
16856 (verilog-case-fold): New option, to control case folding in
16857 regexp searches, bug597.
16858 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16859 (verilog-string-match-fold, verilog-in-paren-count)
16860 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16861 (verilog-at-close-struct-p): New functions.
16862 (verilog-beg-block-re-ordered, verilog-extended-case-re)
16863 (verilog-forward-sexp, verilog-set-auto-endcomments)
16864 (verilog-leap-to-case-head): Handle "unique0" case.
16865 (verilog-in-constraint-re): New constant.
16866 (verilog-keywords, verilog-type-font-keywords):
16867 Add some SystemVerilog 1800-2012 keywords.
16868 (verilog-label-be): Remove unimplemented argument, bug669.
16869 (verilog-batch-execute-func): When batch expanding clear
16870 create-lockfiles to prevent spurious user locks when a file ends
16871 up not changing.
16872 (verilog-calculate-indent, verilog-calc-1)
16873 (verilog-at-close-constraint-p, verilog-at-constraint-p)
16874 (verilog-do-indent): Fix indentation of nested constraints
16875 and structures.
16876 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16877 (verilog-auto-inst-param): Use verilog-string-match-fold.
16878 (verilog-read-inst-module-matcher):
16879 Fix AUTOINST on gate primitives with #1.
16880 (verilog-read-decls): Fix double-declaring user-defined typed signals.
16881 Reads all user-defined typed variables.
16882 (verilog-read-defines): Fix reading definitions inside comments, bug647.
16883 (verilog-signals-matching-regexp)
16884 (verilog-signals-not-matching-regexp, verilog-auto):
16885 Respect verilog-case-fold.
16886 (verilog-diff-report): Fix line count.
16887 (verilog-auto-assign-modport): Remove unused local `modi'.
16888 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16889 better handle multidimensional arrays.
16890 Fix packed array ports misadding bit index in AUTOINST, bug637.
16891 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16892 to not double-declare existing outputs and inputs, respectively.
16893 (verilog-template-map): Bind U to verilog-sk-uvm-component.
16894 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16895 (verilog-sk-uvm-component): New skeleton.
16896 (verilog-submit-bug-report): Add verilog-case-fold,
16897 remove verilog-mode-release-date.
16898
16899 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
16900
16901 * subr.el (sit-for): Call (input-pending-p t) so as to behave
16902 as before.
16903
16904 2013-10-18 Reuben Thomas <rrt@sc3d.org>
16905
16906 * textmodes/remember.el (remember): Set buffer-offer-save in
16907 remember buffers (bug#13566).
16908
16909 2013-10-18 Daniel Colascione <dancol@dancol.org>
16910
16911 When evaluating forms in ielm, direct standard output to ielm
16912 buffer. Add new ielm-return-for-effect command. Remove trailing
16913 whitespace throughout.
16914
16915 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16916 (ielm-return-for-effect): New command.
16917 (ielm-send-input): Accept optional `for-effect' parameter.
16918 (ielm-eval-input): Accept optional `for-effect' parameter.
16919 Bind `standard-output' to stream we create using
16920 `ielm-standard-output-impl'. Suppress printing result when
16921 `for-effect'.
16922 (ielm-standard-output-impl): New function.
16923 (inferior-emacs-lisp-mode): Explain new features in documentation.
16924
16925 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
16926
16927 Code cleanup.
16928
16929 * net/tramp.el (tramp-debug-message): Do not check for connection
16930 buffer.
16931 (tramp-message): Use "vector" connection property.
16932
16933 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16934 (tramp-equal-remote, tramp-eshell-directory-change)
16935 * net/tramp-adb.el (tramp-adb-handle-copy-file)
16936 (tramp-adb-handle-rename-file)
16937 * net/tramp-cmds.el (tramp-list-remote-buffers)
16938 (tramp-cleanup-connection, tramp-cleanup-this-connection)
16939 * net/tramp-compat.el (tramp-compat-process-running-p)
16940 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16941 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16942 (tramp-gvfs-handle-rename-file)
16943 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16944 (tramp-set-file-uid-gid)
16945 * net/tramp-smb.el (tramp-smb-handle-copy-file)
16946 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16947 of `file-remote-p'.
16948
16949 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16950 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16951 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16952 (tramp-gw-open-network-stream): Suppress unrelated traces.
16953
16954 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16955 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16957 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16958 connection property.
16959
16960 * net/tramp-cache.el (top): Suppress traces when reading
16961 persistency file.
16962
16963 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16964 Refactor common code. Improve debug message.
16965 (tramp-maybe-open-connection)
16966 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16967 connection buffer too early.
16968
16969 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16970 from `tramp-smb-actions-with-acl'.
16971 (tramp-smb-actions-set-acl): New defconst.
16972 (tramp-smb-handle-copy-directory)
16973 (tramp-smb-action-get-acl): New defun, renamed from
16974 `tramp-smb-action-with-acl'.
16975 (tramp-smb-action-set-acl): New defun.
16976 (tramp-smb-handle-set-file-acl): Rewrite.
16977
16978 2013-10-17 Glenn Morris <rgm@gnu.org>
16979
16980 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
16981
16982 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * skeleton.el (skeleton-newline): Remove.
16985 (skeleton-internal-1): Use (insert "\n") instead.
16986
16987 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16988 let-bindings.
16989
16990 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16991 forward-sexp-function while we redo its job (bug#15613).
16992
16993 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
16994
16995 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16996 represented by lists.
16997
16998 2013-10-16 Glenn Morris <rgm@gnu.org>
16999
17000 * tmm.el (tmm--history): New dynamic variable.
17001 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17002
17003 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17004
17005 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17006 (tramp-smb-errors): Add error messages.
17007 (tramp-smb-actions-with-acl): New defconst.
17008 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17009 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17010 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17011 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17012 (tramp-smb-get-stat-capability): Fix tests.
17013
17014 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17015
17016 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17017 (bug#15580).
17018
17019 2013-10-16 Glenn Morris <rgm@gnu.org>
17020
17021 * ansi-color.el (ansi-color-drop-regexp):
17022 Add 1J, 1K, 2K. (Bug#15617)
17023
17024 * files.el (hack-local-variables--warned-lexical): New.
17025 (hack-local-variables):
17026 Warn about misplaced lexical-binding. (Bug#15616)
17027
17028 * net/eww.el (eww-render): Always set eww-current-url,
17029 and update header line. (Bug#15622)
17030 (eww-display-html): ... Rather than just doing it here.
17031
17032 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17033
17034 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17035 menu navigations commands.
17036
17037 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17038
17039 * progmodes/subword.el (subword-capitalize): Be careful when
17040 the search for [[:alpha:]] fails (bug#15580).
17041
17042 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17043
17044 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17045 to commands that scroll the menu.
17046
17047 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17048
17049 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17050 Handle methods ending with `?' and `!'.
17051
17052 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17053
17054 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17055 `japanese-cp932' to `cp932' to fix the problem where saving a
17056 source file written in Shift_JIS twice would end up having
17057 `coding: japanese-cp932' which Ruby could not recognize.
17058 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17059 in `ruby-encoding-map'.
17060 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17061 doesn't need to be explicitly declared in magic comment.
17062 (ruby-encoding-map): Add type declaration for better customize UI.
17063
17064 2013-10-13 Glenn Morris <rgm@gnu.org>
17065
17066 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17067 Occur buffers are read-only. http://bugs.debian.org/720775
17068
17069 * emacs-lisp/authors.el (authors-fixed-entries):
17070 Comment out old alpha stuff.
17071
17072 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17073
17074 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17075 to `after-save-hook' instead of `before-save-hook'.
17076 (ruby-mode-set-encoding): Use the value of coding system used to
17077 write the file. Call `basic-save-buffer-1' after modifying the
17078 buffer.
17079
17080 2013-10-13 Alan Mackenzie <acm@muc.de>
17081
17082 Fix indentation/fontification of Java enum with
17083 "implements"/generic.
17084
17085 * progmodes/cc-engine.el (c-backward-over-enum-header):
17086 Extracted from the three other places and enhanced to handle generics.
17087 (c-inside-bracelist-p): Uses new function above.
17088 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17089 function above.
17090 (c-font-lock-enum-tail): Uses new function above.
17091
17092 2013-10-13 Kenichi Handa <handa@gnu.org>
17093
17094 * international/mule-cmds.el (select-safe-coding-system): Remove a
17095 superfluous condition in chekcing whether a coding system is safe
17096 or not.
17097
17098 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17099
17100 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17101
17102 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17103
17104 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17105
17106 2013-10-13 Glenn Morris <rgm@gnu.org>
17107
17108 * menu-bar.el (menu-bar-update-buffers):
17109 Unify Buffers menu prompt string. (Bug#15576)
17110
17111 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17112
17113 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17114 Add some entries.
17115 (authors-fixed-entries): Use accented form of name.
17116
17117 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17118
17119 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17120 method calls (bug#15594).
17121 (ruby-smie--args-separator-p): New function.
17122 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17123 recognize paren-free method calls.
17124
17125 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17126 internals of universal-argument.
17127
17128 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17129
17130 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17131 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17132 dropped menu on second mouse click on the menu bar.
17133
17134 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17135
17136 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17137 (explicit-shell-file-name): Declare.
17138 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17139 (sh-completion-at-point-function): New function.
17140 (sh-mode): Use it.
17141 (sh-smie--keyword-p): Remove unused argument.
17142 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17143 vars.
17144 (sh-set-shell): Always setup SMIE, even if we use the
17145 old indentation code.
17146
17147 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17148
17149 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17150 cases of ? and =.
17151 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17152 predicate would return nil are almost non-existent.
17153 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17154
17155 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17156 cache also after commands that modify the buffer but don't move
17157 point.
17158
17159 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17160
17161 * env.el (substitute-env-in-file-name): New function.
17162 (substitute-env-vars): Extend the meaning of the optional arg.
17163
17164 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17165
17166 * term/w32-win.el (dynamic-library-alist): Define separate lists
17167 of GIF DLLs for versions before and after 5.0.0 of giflib.
17168 (Bug#15531)
17169
17170 2013-10-10 João Távora <joaotavora@gmail.com>
17171
17172 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17173 not locked, use last revision and current source as
17174 defaults. (Bug#15569)
17175
17176 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17177
17178 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17179 menu-bar is hidden.
17180
17181 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17182
17183 * window.el (pop-to-buffer-same-window): Fix doc-string.
17184 (Bug#15492)
17185
17186 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17189
17190 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17191
17192 * calendar/icalendar.el (icalendar-import-file):
17193 Fix interactive spec. (Bug#15482)
17194
17195 2013-10-10 Glenn Morris <rgm@gnu.org>
17196
17197 * desktop.el (desktop-save): Default to saving in .emacs.d,
17198 since PWD is no longer in desktop-path by default. (Bug#15319)
17199
17200 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17201 now that text mode has a menu with the same entry.
17202 (menu-bar-text-mode-auto-fill): Remove now unused func.
17203 * textmodes/text-mode.el (text-mode-map):
17204 Use auto-fill help text from menu-bar.el.
17205
17206 2013-10-10 John Anthony <john@jo.hnanthony.com>
17207
17208 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17209
17210 2013-10-09 Juri Linkov <juri@jurta.org>
17211
17212 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17213 instead of this-command-keys. Add universal-argument-more and
17214 universal-argument-minus to the list of prefix commands. (Bug#15568)
17215
17216 2013-10-09 Glenn Morris <rgm@gnu.org>
17217
17218 * vc/vc-svn.el (vc-svn-create-repo):
17219 Expand paths in file://... url. (Bug#15446)
17220
17221 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17222 Add some entries.
17223 (authors): Remove unused local variables.
17224
17225 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * profiler.el: Create a more coherent calltree from partial backtraces.
17228 (profiler-format): Hide the tail with `invisible' so that C-s can still
17229 find the hidden elements.
17230 (profiler-calltree-depth): Don't recurse so enthusiastically.
17231 (profiler-function-equal): New hash-table-test.
17232 (profiler-calltree-build-unified): New function.
17233 (profiler-calltree-build): Use it.
17234 (profiler-report-make-name-part): Indent the calltree less.
17235 (profiler-report-mode): Add visibility specs for profiler-format.
17236 (profiler-report-expand-entry, profiler-report-toggle-entry):
17237 Expand the whole subtree when provided with a prefix arg.
17238
17239 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17240
17241 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17242 iuwu-mod token.
17243 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17244 hanging iuwu-mod token.
17245 (ruby-smie--forward-token): Do not include a dot after a token in
17246 that token.
17247 (ruby-smie--backward-token): Likewise.
17248
17249 2013-10-08 Juri Linkov <juri@jurta.org>
17250
17251 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17252 to isearch-other-control-char.
17253 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17254 and isearch-post-command-hook to post-command-hook.
17255 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17256 and isearch-post-command-hook from post-command-hook.
17257 (isearch-unread-key-sequence)
17258 (isearch-reread-key-sequence-naturally)
17259 (isearch-lookup-scroll-key, isearch-other-control-char)
17260 (isearch-other-meta-char): Remove functions.
17261 (isearch-pre-command-hook, isearch-post-command-hook):
17262 New functions based on isearch-other-meta-char rewritten
17263 relying on the new behavior of overriding-terminal-local-map
17264 that does not replace the local keymaps any more. (Bug#15200)
17265
17266 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17267
17268 Support menus on text-mode terminals.
17269 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17270 functionality.
17271
17272 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17273
17274 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17275 Move here from mouse.el.
17276 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17277 and arrow keys.
17278 (tty-menu-navigation-map): New map for TTY menu navigation.
17279
17280 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17281
17282 * frame.el (display-mouse-p): Report text-mode mouse as available
17283 on w32.
17284 (display-popup-menus-p): Report availability if mouse is
17285 available; don't condition on window-system.
17286
17287 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17288 (tty-menu-selected-face): New faces.
17289
17290 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17291
17292 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17293 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17294 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17295 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17296 New constants.
17297 (lisp-mode-variables): New `elisp' argument.
17298 (emacs-lisp-mode): Use it.
17299 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17300 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17301
17302 * indent.el: Use lexical-binding.
17303 (indent-region): Add progress reporter.
17304 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17305 last step.
17306 (indent--next-tab-stop): New function to implement this behavior.
17307 (tab-to-tab-stop, move-to-tab-stop): Use it.
17308
17309 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17310
17311 * indent.el (indent-rigidly--current-indentation): New function.
17312 (indent-rigidly-map): New var.
17313 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17314
17315 2013-10-08 Bastien Guerry <bzg@gnu.org>
17316
17317 * register.el (insert-register): Fix 2013-10-07 change.
17318
17319 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17320
17321 * progmodes/perl-mode.el: Use lexical-binding.
17322 Remove redundant :group args.
17323 (perl-nochange): Change default to be closer to other major modes's
17324 standard behavior.
17325 (perl-indent-line): Don't consider text on current line as a
17326 valid beginning of function from which to indent.
17327
17328 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17329 with more than one argument (bug#15538).
17330
17331 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17332
17333 * vc/pcvs.el: Use lexical-binding.
17334 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17335 environment of `eval'.
17336 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17337 than a list of expressions. Adjust callers.
17338 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17339
17340 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17341
17342 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17343 case of the dot in a chained method call being on the following line.
17344
17345 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * electric.el (electric-indent-inhibit): New var.
17348 (electric-indent-post-self-insert-function): Use it.
17349 * progmodes/python.el (python-mode): Set it.
17350
17351 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17352 open braces.
17353
17354 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17355
17356 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17357 (css-mode): Use electric-indent-chars.
17358
17359 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17360 (font-lock-beg, font-lock-end): Move before first use.
17361 (nxml-mode): Use syntax-propertize-function.
17362 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17363 (nxml-extend-after-change-region): Remove.
17364 * nxml/xmltok.el: Use lexical-binding.
17365 (xmltok-save): Use `declare'.
17366 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17367 * nxml/nxml-util.el: Use lexical-binding.
17368 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17369 Use `declare'.
17370 * nxml/nxml-ns.el: Use lexical-binding.
17371 (nxml-ns-save): Use `declare'.
17372 (nxml-ns-prefixes-for): Avoid add-to-list.
17373 * nxml/rng-match.el: Use lexical-binding.
17374 (rng--ipattern): Use cl-defstruct.
17375 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17376 (rng-cons-group-after, rng-subst-group-after)
17377 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17378 Use closures instead of `(lambda...).
17379
17380 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17381
17382 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17383 of BEG and END.
17384
17385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17386 Use `tramp-handle-insert-file-contents'.
17387 (tramp-gvfs-handle-insert-file-contents): Remove function.
17388
17389 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17390 Use `save-restriction' in order to keep markers.
17391
17392 * net/trampver.el: Update release number.
17393
17394 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17395
17396 * progmodes/compile.el (compilation-parse-errors):
17397 Use compilation--put-prop.
17398 (compilation--ensure-parse): Check compilation-multiline.
17399
17400 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17401
17402 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17403 lexical-binding.
17404
17405 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17406
17407 * progmodes/ruby-mode.el: Fix recently added tests.
17408 (ruby-smie-grammar): Add - and +.
17409 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17410 (ruby-smie--backward-id): New functions.
17411 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17412 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17413 any more.
17414
17415 2013-10-07 Leo Liu <sdl.web@gmail.com>
17416
17417 * register.el (register-preview-delay)
17418 (register-preview-functions): New variables.
17419 (register-read-with-preview, register-preview)
17420 (register-describe-oneline): New functions.
17421 (point-to-register, window-configuration-to-register)
17422 (frame-configuration-to-register, jump-to-register)
17423 (number-to-register, view-register, insert-register)
17424 (copy-to-register, append-to-register, prepend-to-register)
17425 (copy-rectangle-to-register): Use register-read-with-preview to
17426 read register. (Bug#15525)
17427
17428 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17429
17430 * net/network-stream.el (network-stream-open-starttls): Don't add
17431 --insecure if it's already present, because that gnutls-cli
17432 rejects getting that parameter twice.
17433
17434 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17435
17436 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17437 keyword, too.
17438
17439 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17440
17441 * newcomment.el (comment-use-global-state): Change default value
17442 to t, mark obsolete (Bug#15251).
17443 (comment-beginning): In addition to `comment-to-syntax', check the
17444 value of `comment-use-global-state'.
17445
17446 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17447
17448 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17449 (ruby-comment-column): Follow the global default, by default.
17450 (ruby-smie-grammar): Add assignment syntax.
17451 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17452 open-paren, a comma, or a \.
17453 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17454 and line continuations.
17455 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17456 followed by implicit semi-colons. Add rule for string concatenation
17457 and for indentation at BOB.
17458 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17459
17460 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17461 calling next-sexp, since next-token may have skipped chars which
17462 next-sexp doesn't know should be skipped!
17463
17464 2013-10-05 Leo Liu <sdl.web@gmail.com>
17465
17466 * progmodes/octave.el (octave-send-region):
17467 Call compilation-forget-errors.
17468
17469 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17470
17471 * vc/vc-svn.el (vc-svn-find-admin-dir):
17472 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17473 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17474 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17475 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17476
17477 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17478
17479 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17480
17481 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17482
17483 * subr.el (read-passwd): Hide chars even when called within a context
17484 where after-change-functions is disabled (bug#15501).
17485 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17486 until we removed ourself from overriding-terminal-local-map.
17487
17488 2013-10-04 Leo Liu <sdl.web@gmail.com>
17489
17490 * progmodes/octave.el (inferior-octave-mode):
17491 Call compilation-forget-errors.
17492
17493 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17494
17495 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17496
17497 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17498
17499 * net/secrets.el (secrets-create-collection): Add optional
17500 argument ALIAS. Use proper Label keyword. Append ALIAS as
17501 dbus-call-method argument. (Bug#15516)
17502
17503 2013-10-04 Leo Liu <sdl.web@gmail.com>
17504
17505 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17506 (inferior-octave-compilation-font-lock-keywords): New variables.
17507 (compilation-error-regexp-alist)
17508 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17509 (inferior-octave-mode): Use compilation-shell-minor-mode.
17510
17511 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17512
17513 * minibuffer.el (completion--replace): Be careful that `end' might be
17514 a marker.
17515
17516 2013-10-03 Daiki Ueno <ueno@gnu.org>
17517
17518 Add support for package signature checking.
17519 * emacs-lisp/package.el (url-http-file-exists-p)
17520 (epg-make-context, epg-context-set-home-directory)
17521 (epg-verify-string, epg-context-result-for)
17522 (epg-signature-status, epg-signature-to-string)
17523 (epg-check-configuration, epg-configuration)
17524 (epg-import-keys-from-file): Declare.
17525 (package-check-signature): New user option.
17526 (package-unsigned-archives): New user option.
17527 (package-desc): Add `signed' field.
17528 (package-load-descriptor): Set `signed' field if .signed file exists.
17529 (package--archive-file-exists-p): New function.
17530 (package--check-signature): New function.
17531 (package-install-from-archive): Check package signature.
17532 (package--download-one-archive): Check archive signature.
17533 (package-delete): Remove .signed file.
17534 (package-import-keyring): New command.
17535 (package-refresh-contents): Import default keyring.
17536 (package-desc-status): Add "unsigned" status.
17537 (describe-package-1, package-menu--print-info)
17538 (package-menu-mark-delete, package-menu--find-upgrades)
17539 (package-menu--status-predicate): Support "unsigned" status.
17540
17541 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17544 the new compilation scheme using the new byte-codes.
17545
17546 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17547 (byte-pophandler): New byte codes.
17548 (byte-goto-ops): Adjust accordingly.
17549 (byte-compile--use-old-handlers): New var.
17550 (byte-compile-catch): Use new byte codes depending on
17551 byte-compile--use-old-handlers.
17552 (byte-compile-condition-case--old): Rename from
17553 byte-compile-condition-case.
17554 (byte-compile-condition-case--new): New function.
17555 (byte-compile-condition-case): New function that dispatches depending
17556 on byte-compile--use-old-handlers.
17557 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17558 when we can.
17559
17560 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17561 Optimize under `condition-case' and `catch' if
17562 byte-compile--use-old-handlers is nil.
17563 (disassemble-offset): Handle new bytecodes.
17564
17565 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17566
17567 * subr.el (error): Use `declare'.
17568 (decode-char, encode-char): Use advertised-calling-convention instead
17569 of the docstring to discourage use of the `restriction' arg.
17570
17571 2013-10-03 Daiki Ueno <ueno@gnu.org>
17572
17573 * epg.el (epg-verify-file): Add a comment saying that it does not
17574 notify verification error as a return value nor a signal.
17575 (epg-verify-string): Ditto.
17576
17577 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17578
17579 * progmodes/compile.el (compilation-start): Try globbing the arg to
17580 `cd' (bug#15417).
17581
17582 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17583
17584 Sync with Tramp 2.2.8.
17585
17586 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17587 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17588 * net/trampver.el: Update release number.
17589
17590 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17591
17592 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17593 and default-process-coding-system for darwin only.
17594
17595 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17596
17597 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17598
17599 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17600
17601 * vc/vc-git.el (vc-git-grep): Disable pager.
17602
17603 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17604
17605 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17606 Use :url instead of :homepage, as per
17607 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17608
17609 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17610 non-nil, use `syntax-ppss' (Bug#15251).
17611
17612 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17613
17614 * progmodes/octave.el (inferior-octave-startup-file):
17615 Prefer ~/.emacs.d/init_octave.m.
17616
17617 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17618
17619 * emacs-lisp/package.el (package-desc-from-define):
17620 Accept additional arguments as plist, convert them to an alist and store
17621 them in the `extras' slot.
17622 (package-generate-description-file): Convert extras alist back to
17623 plist and append to the `define-package' form arguments.
17624 (package--alist-to-plist): New function.
17625 (package--ac-desc): Add `extras' slot.
17626 (package--add-to-archive-contents): Check if the archive-contents
17627 vector is long enough, and if it is, pass its `extras' slot value
17628 to `package-desc-create'.
17629 (package-buffer-info): Call `lm-homepage', pass the returned value
17630 to `package-desc-from-define'.
17631 (describe-package-1): Render the homepage button (Bug#13291).
17632
17633 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17634 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17635
17636 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17637
17638 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17639 and default-process-coding-system to utf-8-unix (Bug#15402).
17640
17641 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17642
17643 * subr.el (looking-back): Do not recommend using looking-back.
17644
17645 2013-09-28 Alan Mackenzie <acm@muc.de>
17646
17647 Fix indentation/fontification of Java enum with "implements".
17648
17649 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17650 regexp which matches "implements", etc., in Java.
17651 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17652 specifier clauses coming after "enum".
17653 * progmodes/cc-fonts.el (c-font-lock-declarations)
17654 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17655 after "enum".
17656
17657 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17658
17659 * faces.el (region): Change ns_selection_color to
17660 ns_selection_fg_color, add ns_selection_bg_color.
17661
17662 2013-09-28 Leo Liu <sdl.web@gmail.com>
17663
17664 * progmodes/octave.el (inferior-octave-completion-table)
17665 (inferior-octave-completion-at-point): Minor tweaks.
17666
17667 * textmodes/ispell.el (ispell-lookup-words): Rename from
17668 lookup-words. (Bug#15460)
17669 (lookup-words): Obsolete.
17670 (ispell-complete-word, ispell-command-loop): All uses changed.
17671
17672 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17673
17674 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17675 (octave-mode-menu): Add octave-send-buffer.
17676 (octave-send-buffer): New function.
17677
17678 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17679
17680 * progmodes/octave.el (octave-mode-map): Add key binding for
17681 octave-lookfor.
17682 (octave-mode-menu): Add octave-lookfor.
17683 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17684 octave-lookfor.
17685 (octave-lookfor): New function.
17686
17687 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17688
17689 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17690 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17691 its convention.
17692 (cl--loop-set-iterator-function): New function.
17693 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17694 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17695 Bind `it' with `let' instead of substituting it with `cl-subst'.
17696 (cl--unused-var-p): New function.
17697 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17698 Eliminate some unused variable warnings (bug#15326).
17699
17700 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17701
17702 * doc-view.el (doc-view-scale-reset): Rename from
17703 `doc-view-reset-zoom-level'.
17704 (doc-view-scale-adjust): New command.
17705 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17706 `doc-view-scale-adjust'.
17707
17708 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17709
17710 * doc-view.el (doc-view-reset-zoom-level): New command.
17711 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17712 zoom commands (bug#15466).
17713
17714 2013-09-26 Kenichi Handa <handa@gnu.org>
17715
17716 * international/quail.el (quail-help): Make it not a command.
17717
17718 2013-09-26 Leo Liu <sdl.web@gmail.com>
17719
17720 * minibuffer.el (completion-all-sorted-completions): Make args
17721 optional as they are.
17722
17723 2013-09-25 Daniel Colascione <dancol@dancol.org>
17724
17725 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17726 specs are and that they're not evaluated.
17727
17728 2013-09-24 Sam Steingold <sds@gnu.org>
17729
17730 * midnight.el (clean-buffer-list-kill-regexps)
17731 (clean-buffer-list-kill-buffer-names): Update for the new Man
17732 buffer naming which includes the object name.
17733
17734 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17735
17736 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17737 (eshell-parse-command, eshell-parse-pipeline): Use it since
17738 eshell-separate-commands requires a dynamic scoped var.
17739 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17740
17741 2013-09-23 Leo Liu <sdl.web@gmail.com>
17742
17743 * autoinsert.el (auto-insert-alist): Make the value of
17744 lexical-binding match its file setting.
17745
17746 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17747
17748 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17749
17750 * autoarg.el (autoarg-kp-digit-argument):
17751 * electric.el (Electric-command-loop):
17752 * kmacro.el (kmacro-step-edit-insert):
17753 Do not set universal-argument-num-events.
17754
17755 2013-09-22 Leo Liu <sdl.web@gmail.com>
17756
17757 * files.el (interpreter-mode-alist): Add octave.
17758
17759 2013-09-21 Alan Mackenzie <acm@muc.de>
17760
17761 C++: fontify identifier in declaration following "public:" correctly.
17762 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17763 to match "public", etc.
17764 (c-decl-prefix-re): Add ":" into the C++ value.
17765 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17766 bit. Add a check for a ":" preceded by "public", etc.
17767
17768 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17769
17770 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17771 recognized by GDB 7.5 and later.
17772
17773 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17774
17775 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17776
17777 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17778
17779 * subr.el (internal--call-interactively): New const.
17780 (called-interactively-p): Use it (bug#3984).
17781
17782 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17783
17784 * vc/pcvs.el (cvs-mode-ignore):
17785 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17786 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17787
17788 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17791 (eshell-ls-orig-insert-directory): Remove.
17792 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17793 (eshell-ls-use-in-dired): Use advice-add/remove.
17794 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17795 Add `orig-fun' arg for use in :around advice.
17796 Make it check (redundantly) eshell-ls-use-in-dired.
17797
17798 2013-09-19 Glenn Morris <rgm@gnu.org>
17799
17800 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17801
17802 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17803
17804 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17805
17806 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17807
17808 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17809 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17810 (tramp-get-remote-python): New defuns.
17811 (tramp-get-remote-uid-with-perl)
17812 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17813 contributed by yary <not.com@gmail.com> (tiny change).
17814 (tramp-get-remote-uid-with-python)
17815 (tramp-get-remote-gid-with-python): New defuns. Python code
17816 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17817 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17818
17819 2013-09-19 Glenn Morris <rgm@gnu.org>
17820
17821 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17822
17823 * eshell/em-unix.el (eshell-remove-entries):
17824 Rename argument to avoid name-clash with global `top-level'.
17825
17826 * eshell/esh-proc.el (eshell-kill-process-function):
17827 Remove eshell-reset-after-proc from eshell-kill-hook if present.
17828 (eshell-reset-after-proc): Remove unused arg `proc'.
17829
17830 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17831 (directory-files-and-attributes): Mark unused arg.
17832
17833 * eshell/em-unix.el (eshell-remove-entries):
17834 Remove unused arg `path'. Update callers.
17835
17836 * eshell/em-hist.el (eshell-hist-parse-arguments):
17837 Remove unused arg `silent'. Update callers.
17838
17839 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17840 Fix (f)boundp mix-up.
17841
17842 * eshell/em-smart.el (eshell-smart-scroll-window)
17843 (eshell-disable-after-change):
17844 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17845
17846 2013-09-18 Alan Mackenzie <acm@muc.de>
17847
17848 Fix fontification of type when followed by "const".
17849 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17850 "known" types from fontification.
17851
17852 2013-09-18 Glenn Morris <rgm@gnu.org>
17853
17854 * emacs-lisp/chart.el (x-display-color-cells): Declare.
17855 (chart-face-list): Drop Emacsen without display-color-p.
17856
17857 * net/eww.el (libxml-parse-html-region): Declare.
17858 (eww-display-html): Explicit error if no libxml2 support.
17859
17860 * doc-view.el (doc-view-mode): Silence --without-x compilation.
17861
17862 * image.el (image-type-from-buffer, image-multi-frame-p):
17863 Remove --without-x warning/error.
17864
17865 * mouse.el (mouse-yank-primary):
17866 * term.el (term-mouse-paste):
17867 Reorder to silence --without-x compilation.
17868
17869 * mpc.el (doc-view-mode): Silence --without-x compilation.
17870
17871 * mail/rmailmm.el (rmail-mime-set-bulk-data):
17872 Silence --without-x compilation.
17873
17874 * progmodes/gud.el (gud-find-file, gud-mode):
17875 Silence --without-x compilation.
17876 (tooltip-mode): Declare.
17877
17878 * wdired.el (dired-backup-overwrite): Remove declaration.
17879 (wdired-mode-map): Add doc string.
17880
17881 * custom.el (x-get-resource): Declare.
17882
17883 * eshell/em-glob.el (ange-cache):
17884 * eshell/em-unix.el (ange-cache): Declare.
17885
17886 * faces.el (x-display-list, x-open-connection, x-get-resource):
17887 Declare.
17888
17889 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17890 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17891 Declare.
17892
17893 * frame.el (x-display-grayscale-p, x-display-name): Declare.
17894
17895 * net/gnutls.el (gnutls-log-level): Declare.
17896
17897 * net/shr.el (image-size, image-animate): Declare.
17898
17899 * simple.el (font-info): Declare.
17900
17901 * subr.el (x-popup-dialog): Declare.
17902
17903 * term/common-win.el (x-select-enable-primary)
17904 (x-last-selected-text-primary, x-last-selected-text-clipboard):
17905 Declare.
17906
17907 * term/ns-win.el (x-handle-args): Declare.
17908
17909 * term/x-win.el (x-select-enable-clipboard): Declare.
17910
17911 * term/w32-win.el (create-default-fontset): Declare.
17912
17913 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17914 Declare.
17915
17916 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17917 (fit-frame-to-buffer): Explicit error if --without-x.
17918 (mouse-autoselect-window-select): Silence compiler.
17919
17920 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17921
17922 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17923 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17924 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17925 * eshell/esh-util.el (eshell-sublist):
17926 Remove unused local variables.
17927
17928 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17929
17930 * textmodes/two-column.el: Make 2C-split work for --without-x.
17931 (scroll-bar-columns): Autoload.
17932 (top-level): Require fringe when compiling.
17933
17934 2013-09-18 Leo Liu <sdl.web@gmail.com>
17935
17936 * subr.el (add-hook): Robustify to handle closure as well.
17937
17938 2013-09-17 Glenn Morris <rgm@gnu.org>
17939
17940 * simple.el (messages-buffer-mode-map): Unbind "g".
17941
17942 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 * help-mode.el (help-mode-finish): Use derived-mode-p.
17945 Remove obsolete highlighting.
17946
17947 * play/life.el (life-mode): Use define-derived-mode. Derive from
17948 special-mode.
17949 (life): Let-bind inhibit-read-only.
17950 (life-setup): Avoid `setq'. Use `life-mode'.
17951
17952 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17953 which should not be needed any more.
17954 (package-menu-refresh, package-menu-describe-package): Use user-error.
17955
17956 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17957 (eshell-post-rewrite-command-hook): Make obsolete.
17958 (eshell-parse-command): Simplify.
17959 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17960 (eshell--cmd): Declare.
17961 (eshell-parse-pipeline): Remove unused var `final-p'.
17962 Pass a dynvar to eshell-post-rewrite-command-hook.
17963 Implement the new eshell-post-rewrite-command-function.
17964 (eshell-invoke-directly): Remove unused arg `input'.
17965 * eshell/esh-io.el (eshell-io-initialize):
17966 Use eshell-post-rewrite-command-function (bug#15399).
17967 (eshell--apply-redirections): Rename from eshell-apply-redirections;
17968 adjust to new calling convention.
17969 (eshell-create-handles): Rename args to avoid clashing with dynvar
17970 `standard-output'.
17971
17972 2013-09-17 Glenn Morris <rgm@gnu.org>
17973
17974 * simple.el (messages-buffer-mode): New major mode.
17975 (messages-buffer): New function.
17976 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17977 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17978 (ert-run-test): Use `messages-buffer' function.
17979 (ert--force-message-log-buffer-truncation): Ignore read-only.
17980 * help.el (view-echo-area-messages): Use `messages-buffer' function.
17981 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17982
17983 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17986
17987 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17988
17989 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17990
17991 * icomplete.el (icomplete-in-buffer): New var.
17992 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17993 vars and replace them with functions.
17994 (icomplete-minibuffer-setup): Adjust accordingly.
17995 (icomplete--completion-table, icomplete--completion-predicate)
17996 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17997 New functions.
17998 (icomplete-forward-completions, icomplete-backward-completions)
17999 (icomplete-simple-completing-p, icomplete-exhibit)
18000 (icomplete-completions): Use them.
18001 (icomplete--in-region-buffer): New var.
18002 (icomplete--in-region-setup): New function.
18003 (icomplete-mode): Use it.
18004
18005 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18006 (bug#15379).
18007 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18008 return args and options.
18009 (eshell-eval-using-options): Use the new return value of
18010 eshell--do-opts to set the options's vars in their scope.
18011 (eshell--set-option): Rename from eshell-set-option.
18012 Add arg `opt-vals'.
18013 (eshell--process-option): Rename from eshell-process-option.
18014 Add arg `opt-vals'.
18015 (eshell--process-args): Use an `opt-vals' alist to store the options's
18016 values during their processing and return them additionally to the
18017 remaining args.
18018
18019 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18020
18021 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18022 continuation character an operator, as far as indentation is
18023 concerned (Bug#15369).
18024
18025 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18026
18027 * window.el (window--state-put-2): Don't process buffer state
18028 when buffer doesn't exist any more (Bug#15382).
18029
18030 2013-09-15 Glenn Morris <rgm@gnu.org>
18031
18032 * eshell/em-unix.el (eshell/rm):
18033 Make -f ignore missing files. (Bug#15373)
18034
18035 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18036 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18037 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18038
18039 2013-09-14 Glenn Morris <rgm@gnu.org>
18040
18041 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18042
18043 2013-09-13 Glenn Morris <rgm@gnu.org>
18044
18045 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18046 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18047
18048 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18049
18050 * frame.el (x-focus-frame): Mark as declared in frame.c.
18051
18052 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * ls-lisp.el: Use advice-add.
18055 (original-insert-directory): Remove.
18056 (ls-lisp--insert-directory): Rename from insert-directory; add
18057 `orig-fun' argument.
18058 (insert-directory): Advise.
18059
18060 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18061
18062 * term.el (term-emulate-terminal): Decode the command string
18063 before passing it to term-command-hook. (Bug#15337)
18064
18065 2013-09-13 Glenn Morris <rgm@gnu.org>
18066
18067 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18068
18069 * eshell/esh-ext.el (eshell-search-path): Declare.
18070
18071 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18072 Otherwise an error occurs if eshell-dirs module not loaded.
18073
18074 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18075
18076 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18077
18078 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18079 `tramp-check-proper-host'. Check for a valid method name.
18080
18081 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18082 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18083 * net/tramp-sh.el (tramp-maybe-open-connection):
18084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18085
18086 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18087 also for hash values.
18088
18089 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18090
18091 * term/ns-win.el (parameters): Don't declare as dynamic.
18092 (before-make-frame-hook): Don't add ineffective function.
18093
18094 * eshell/*.el: Use lexical-binding (bug#15231).
18095
18096 2013-09-12 Kenichi Handa <handa@gnu.org>
18097
18098 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18099
18100 2013-09-12 Glenn Morris <rgm@gnu.org>
18101
18102 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18103 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18104
18105 * subr.el (do-after-load-evaluation): Also give compiler warnings
18106 when obsolete files are used (except by obsolete files).
18107
18108 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18109 in the status output, assume `filename' is the first. (Bug#15322)
18110
18111 * vc/vc.el (vc-deduce-fileset): Doc fix.
18112
18113 * calc/calc-help.el (Info-goto-node):
18114 * progmodes/cperl-mode.el (Info-find-node):
18115 * vc/ediff.el (Info-goto-node): Update declarations.
18116
18117 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18118
18119 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18120 (vc-bzr-pull): Require vc-dispatcher.
18121 * vc/vc-git.el (vc-compilation-mode): Declare.
18122 (vc-git-pull): Require vc-dispatcher.
18123
18124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18125
18126 * progmodes/octave.el (help-button-action): Declare.
18127
18128 * shell.el (shell-directory-tracker): Output error as a message
18129 rather than just returning it as a string.
18130 (shell-process-pushd): Remove useless use of message.
18131
18132 * dframe.el (dframe-timer-fn):
18133 * files.el (dir-locals-read-from-file):
18134 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18135 (mpc-format):
18136 * reveal.el (reveal-post-command):
18137 * saveplace.el (load-save-place-alist-from-file):
18138 * shell.el (shell-resync-dirs):
18139 * w32-common-fns.el (x-get-selection-value):
18140 * emacs-lisp/copyright.el (copyright-find-copyright):
18141 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18142 * emulation/tpu-edt.el (tpu-copy-keyfile):
18143 * play/bubbles.el (bubbles--mark-neighbourhood):
18144 * progmodes/executable.el
18145 (executable-make-buffer-file-executable-if-script-p):
18146 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18147
18148 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18149
18150 Cleanup Eshell to rely less on dynamic scoping.
18151 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18152 last-value, and ext-command here. Bind `args' closer to `body'.
18153 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18154 (eshell--args): Declare new dynamic var.
18155 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18156 last-value, and ext-command. Pass `args' to `body'.
18157 (eshell-process-args): Bind eshell--args.
18158 (eshell-set-option): Use eshell--args.
18159 * eshell/eshell.el (eshell): Use derived-mode-p.
18160 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18161 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18162 (eshell-glob-function): Declare.
18163 * eshell/esh-util.el: Require cl-lib.
18164 (eshell-read-hosts-file): Avoid add-to-list.
18165 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18166 `err'.
18167 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18168 Declare.
18169 (eshell/diff): Remove unused var `err'.
18170 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18171 `killflag'.
18172 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18173 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18174 first use.
18175 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18176 Move declaration before first use.
18177 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18178 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18179 rely on cl-return.
18180
18181 2013-09-12 Glenn Morris <rgm@gnu.org>
18182
18183 * term/ns-win.el (global-map): Remove binding for ispell-next,
18184 deleted 1999-05-29. (Bug#15357)
18185
18186 2013-09-11 Glenn Morris <rgm@gnu.org>
18187
18188 * echistory.el (electric-command-history): Remove call to deleted func.
18189
18190 * play/landmark.el (landmark-mode): Fix typos.
18191
18192 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18193 Check cvs-sort-ignore-file is bound.
18194
18195 * savehist.el: No need for cl when compiling on Emacs.
18196
18197 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18200 (bug#15338).
18201 (eshell-self-insert-command, eshell-send-invisible):
18202 Remove unused argument.
18203 (eshell-handle-control-codes): Remove unused var `orig'.
18204 Avoid delete-backward-char.
18205
18206 * files.el (set-auto-mode): Simplify a bit further.
18207
18208 2013-09-11 Glenn Morris <rgm@gnu.org>
18209
18210 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18211 (set-auto-mode): Don't regexp-quote elements.
18212 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18213 * progmodes/cc-mode.el (interpreter-mode-alist):
18214 * progmodes/ruby-mode.el (interpreter-mode-alist):
18215 Revert previous change.
18216
18217 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * play/snake.el (snake-mode):
18220 * play/mpuz.el (mpuz-mode):
18221 * play/landmark.el (lm-mode):
18222 * play/blackbox.el (blackbox-mode):
18223 * play/5x5.el (5x5-mode):
18224 * obsolete/options.el (Edit-options-mode):
18225 * net/quickurl.el (quickurl-list-mode):
18226 * net/newst-treeview.el (newsticker-treeview-mode):
18227 * mail/rmailsum.el (rmail-summary-mode):
18228 * mail/mspools.el (mspools-mode):
18229 * locate.el (locate-mode):
18230 * ibuffer.el (ibuffer-mode):
18231 * emulation/ws-mode.el (wordstar-mode):
18232 * emacs-lisp/debug.el (debugger-mode):
18233 * array.el (array-mode):
18234 * net/eudc.el (eudc-mode): Use define-derived-mode.
18235 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18236 Move initialization into declaration.
18237 (mairix-searches-mode): Use define-derived-mode.
18238 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18239 (eudc-edit-hotlist): Use dolist.
18240 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18241 (Man-mode): Use define-derived-mode.
18242 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18243 (Info-edit-mode): Use define-derived-mode.
18244 (Info-cease-edit): Use Info-mode.
18245 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18246 into declaration.
18247 (eshell-mode): Use define-derived-mode.
18248 * chistory.el (command-history-mode-map): Rename from
18249 command-history-map.
18250 (command-history-mode): Use define-derived-mode.
18251 (Command-history-setup): Remove function.
18252 * calc/calc.el (calc-trail-mode-map): New var.
18253 (calc-trail-mode): Use define-derived-mode.
18254 (calc-trail-buffer): Set calc-main-buffer manually.
18255 * bookmark.el (bookmark-insert-annotation): New function.
18256 (bookmark-edit-annotation): Use it.
18257 (bookmark-edit-annotation-mode): Make it a proper major mode.
18258 (bookmark-send-edited-annotation): Use derived-mode-p.
18259 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18260 closer to its ideal place. Use \' to match EOS.
18261
18262 * profiler.el (profiler-calltree-find): Use function-equal.
18263
18264 2013-09-10 Glenn Morris <rgm@gnu.org>
18265
18266 * files.el (interpreter-mode-alist): Convert to regexps.
18267 (set-auto-mode): Adapt for this. (Bug#15306)
18268 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18269 Comment out unused variable.
18270 * progmodes/cc-mode.el (interpreter-mode-alist):
18271 * progmodes/python.el (interpreter-mode-alist):
18272 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18273 * progmodes/sh-script.el (sh-set-shell):
18274 No longer use interpreter-mode-alist to get list of shells.
18275
18276 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18277
18278 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18279
18280 * simple.el: Use set-temporary-overlay-map for universal-argument.
18281 (universal-argument-map): Don't use default-bindings (bug#15317).
18282 Bind switch-frame explicitly. Replace universal-argument-minus with
18283 a conditional binding.
18284 (universal-argument-num-events, saved-overriding-map): Remove.
18285 (restore-overriding-map): Remove.
18286 (universal-argument--mode): Rename from save&set-overriding-map,
18287 and rewrite.
18288 (universal-argument, universal-argument-more, negative-argument)
18289 (digit-argument): Adjust accordingly.
18290 (universal-argument-minus): Remove.
18291 (universal-argument-other-key): Remove.
18292
18293 * subr.el (with-demoted-errors): Add `format' argument.
18294
18295 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18296
18297 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18298 `tramp-cleanup-connection'.
18299
18300 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18301 parameters KEEP-DEBUG and KEEP-PASSWORD.
18302
18303 * net/tramp.el (tramp-file-name-handler):
18304 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18305 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18306 (tramp-maybe-open-connection):
18307 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18308 Use `tramp-cleanup-connection'.
18309
18310 * net/tramp-sh.el (tramp-maybe-open-connection):
18311 Catch 'uname-changed inside the progress reporter.
18312
18313 2013-09-10 Glenn Morris <rgm@gnu.org>
18314
18315 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18316
18317 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18318 returns "alternate access method" in mode (eg "-rw-r--r--.").
18319
18320 2013-09-08 Glenn Morris <rgm@gnu.org>
18321
18322 * saveplace.el (load-save-place-alist-from-file):
18323 Demote errors. (Bug#15305)
18324
18325 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18326
18327 Improve compatibility with older Emacsen, and XEmacs.
18328
18329 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18330 only if it is bound. It isn't for XEmacs.
18331 (with-tramp-progress-reporter): Do not let-bind `result'.
18332 This yields to scoping errors in XEmacs.
18333 (tramp-handle-make-auto-save-file-name): New function, moved from
18334 tramp-sh.el.
18335
18336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18337 for `make-auto-save-file-name'.
18338 (tramp-adb--gnu-switches-to-ash):
18339 Use `tramp-compat-replace-regexp-in-string'.
18340
18341 * net/tramp-cache.el (tramp-cache-print): Call
18342 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18343
18344 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18345 bound. It isn't for XEmacs.
18346
18347 * net/tramp-compat.el (tramp-compat-copy-file):
18348 Catch `wrong-number-of-arguments' error.
18349 (tramp-compat-replace-regexp-in-string): New defun.
18350
18351 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18352 for `make-auto-save-file-name'.
18353 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18354 `copy-file'.
18355 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18356 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18357 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18358
18359 * net/tramp-gw.el (tramp-gw-open-network-stream):
18360 Use `tramp-compat-replace-regexp-in-string'.
18361
18362 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18363 Call `tramp-handle-make-auto-save-file-name'.
18364 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18365 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18366 (tramp-sh-file-inotifywait-process-filter):
18367 Use `tramp-compat-replace-regexp-in-string'.
18368 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18369
18370 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18371 for `make-auto-save-file-name'.
18372 (tramp-smb-handle-copy-directory):
18373 Call `tramp-compat-replace-regexp-in-string'.
18374 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18375 (tramp-smb-handle-copy-file): Improve error message.
18376 (tramp-smb-handle-rename-file): Rename directly only in case
18377 `newname' does not exist yet. This is a restriction of smbclient.
18378 (tramp-smb-maybe-open-connection): Rerun the function only when
18379 `auth-sources' is non-nil.
18380
18381 2013-09-08 Kenichi Handa <handa@gnu.org>
18382
18383 * international/characters.el: Set category "^" (Combining) for
18384 more characters.
18385
18386 2013-09-07 Alan Mackenzie <acm@muc.de>
18387
18388 Correctly fontify Java class constructors.
18389 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18390 in Java Mode.
18391 (c-recognize-typeless-decls): Set the Java value to t.
18392 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18393 While handling a "(", add a check for, effectively, Java, and handle a
18394 "typeless" declaration there.
18395
18396 2013-09-07 Roland Winkler <winkler@gnu.org>
18397
18398 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18399 field subtitle for entry type book.
18400
18401 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * minibuffer.el: Make minibuffer-complete call completion-in-region
18404 rather than other way around.
18405 (completion--some, completion-pcm--find-all-completions):
18406 Don't delay signals when debugging.
18407 (minibuffer-completion-contents): Beware fields within the
18408 minibuffer contents.
18409 (completion-all-sorted-completions): Use defvar-local.
18410 (completion--do-completion, completion--cache-all-sorted-completions)
18411 (completion-all-sorted-completions, minibuffer-force-complete):
18412 Add args `beg' and `end'.
18413 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18414 (minibuffer-complete): Use completion-in-region.
18415 (completion-complete-and-exit): New fun, extracted from
18416 minibuffer-complete-and-exit.
18417 (minibuffer-complete-and-exit): Use it.
18418 (completion--complete-and-exit): Rename from
18419 minibuffer--complete-and-exit.
18420 (completion-in-region--single-word): New function, extracted from
18421 minibuffer-complete-word.
18422 (minibuffer-complete-word): Use it.
18423 (display-completion-list): Make `common-substring' argument obsolete.
18424 (completion--in-region): Call completion--in-region-1 instead of
18425 minibuffer-complete.
18426 (completion-help-at-point): Pass boundaries to
18427 minibuffer-completion-help as args rather than via an overlay.
18428 (completion-pcm--string->pattern): Use `any-delim'.
18429 (completion-pcm--optimize-pattern): New function.
18430 (completion-pcm--pattern->regex): Handle `any-delim'.
18431 * icomplete.el (icomplete-forward-completions)
18432 (icomplete-backward-completions, icomplete-completions):
18433 Adjust calls to completion-all-sorted-completions and
18434 completion--cache-all-sorted-completions.
18435 (icomplete-with-completion-tables): Default to t.
18436 * emacs-lisp/crm.el (crm--current-element): Rename from
18437 crm--select-current-element. Don't put an overlay but return the
18438 boundaries instead.
18439 (crm--completion-command): Take two new args to bind to the boundaries.
18440 (crm-completion-help): Adjust accordingly.
18441 (crm-complete): Use completion-in-region.
18442 (crm-complete-word): Use completion-in-region--single-word.
18443 (crm-complete-and-exit): Use completion-complete-and-exit.
18444
18445 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18448 than dynamically.
18449
18450 2013-09-06 Juri Linkov <juri@jurta.org>
18451
18452 * info.el (Info-display-images-node): When image file doesn't exist
18453 display text version of the image if it's provided in the Info file.
18454 Otherwise, display the location of missing image from SRC attribute.
18455 Add help-echo text property from ALT attribute. (Bug#15279)
18456
18457 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18460 (edit-abbrevs-mode): Use define-derived-mode.
18461
18462 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18463 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18464 that it's defined.
18465 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18466 Use define-derived-mode.
18467
18468 * epg.el (epg-start-encrypt): Minor CSE simplification.
18469
18470 2013-09-06 William Xu <william.xwl@gmail.com>
18471
18472 * arc-mode.el: Add support for 7za (bug#15264).
18473 (archive-7z-program): New var.
18474 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18475 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18476 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18477
18478 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18479
18480 Remove URL syntax.
18481
18482 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18483 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18484 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18485 (tramp-postfix-host-format, tramp-file-name-regexp)
18486 (tramp-completion-file-name-regexp)
18487 (tramp-completion-dissect-file-name)
18488 (tramp-handle-substitute-in-file-name): Remove 'url case.
18489 (tramp-file-name-regexp-url)
18490 (tramp-completion-file-name-regexp-url): Remove constants.
18491
18492 2013-09-06 Glenn Morris <rgm@gnu.org>
18493
18494 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18495
18496 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18497
18498 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18499 keywords" below "here-doc beginnings" (Bug#15270).
18500
18501 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * subr.el (pop): Use `car-safe'.
18504 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18505 to detect unused `pop' return value.
18506
18507 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18508 var `block-regexp'.
18509 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18510 (python-fill-string): Remove unused var `marker'.
18511 (python-skeleton-add-menu-items): Remove unused var `items'.
18512
18513 * international/mule-cmds.el: Require CL.
18514 (find-coding-systems-for-charsets): Avoid add-to-list.
18515 (sanitize-coding-system-list): New function, extracted from
18516 select-safe-coding-system-interactively.
18517 (select-safe-coding-system-interactively): Use it.
18518 (read-input-method-name): Accept symbols for `default'.
18519
18520 * emacs-lisp/advice.el (defadvice): Add indent rule.
18521
18522 2013-09-05 Daniel Hackney <dan@haxney.org>
18523
18524 * dired-x.el:
18525 * net/ange-ftp.el:
18526 * net/browse-url.el:
18527 * net/dbus.el:
18528 * net/eudc.el:
18529 * net/eudcb-ldap.el:
18530 * net/eww.el:
18531 * net/imap.el:
18532 * printing.el:
18533 * vc/ediff-diff.el:
18534 * vc/ediff-init.el:
18535 * vc/ediff-merg.el:
18536 * vc/ediff-mult.el:
18537 * vc/ediff-util.el:
18538 * vc/ediff-wind.el:
18539 * vc/ediff.el:
18540 * vc/emerge.el:
18541 * vc/pcvs.el:
18542 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18543 byte compiler. Remove some unused let-bound variables.
18544
18545 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18546
18547 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18548 a "ref-cell", since it gets better optimized (bug#14883).
18549
18550 2013-09-05 Glenn Morris <rgm@gnu.org>
18551
18552 * progmodes/cc-awk.el (c-forward-sws): Declare.
18553
18554 2013-09-04 Glenn Morris <rgm@gnu.org>
18555
18556 * generic-x.el [rul-generic-mode]: Require cc-mode.
18557 (c++-mode-syntax-table): Declare.
18558 (rul-generic-mode-syntax-table): Init in the defvar.
18559
18560 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18561
18562 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18563 (vc-do-command, vc-set-async-update):
18564 * vc/vc-mtn.el (vc-mtn-dir-status):
18565 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18566 (vc-hg-pull, vc-hg-merge-branch):
18567 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18568 (vc-git-merge-branch):
18569 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18570 (vc-cvs-dir-status-files):
18571 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18572 (vc-bzr-dir-status-files):
18573 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18574 * vc/vc-annotate.el: Use lexical-binding.
18575 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18576 (vc-sentinel-movepoint): Declare.
18577 (vc-annotate): Don't use `goto-line'.
18578 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18579 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18580 (vc-sentinel-movepoint): Declare.
18581 * vc/vc-svn.el: Use lexical-binding.
18582 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18583 * vc/vc-sccs.el:
18584 * vc/vc-rcs.el: Use lexical-binding.
18585
18586 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18587 `deleted'. Don't drop errors silently.
18588
18589 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18590
18591 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18592
18593 * vc/vc.el (vc-ignore): Rewrite.
18594 (vc-default-ignore): New function.
18595 (vc-default-ignore-completion-table): Use find-ignore-file.
18596
18597 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18598 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18599 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18600 Remove. Most code moved to vc.el.
18601
18602 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18605 * net/tramp-smb.el (tramp-smb-get-file-entries):
18606 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18607 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18608
18609 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18610 Update call to it.
18611 (eww-change-select): Remove unused var `properties'.
18612 (eww-make-unique-file-name): Remove unused var `base'.
18613
18614 * finder.el (finder-compile-keywords): Don't mess with windows.
18615
18616 * calculator.el (calculator-funcall): Fix typo in last change.
18617
18618 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18619
18620 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18621 <pkg>-autoloads.el file stop us.
18622
18623 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18624 warnings, and factor out common code.
18625
18626 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18627
18628 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18629 two-character operators and whether the character preceding them
18630 changes their meaning (Bug#15208).
18631
18632 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18633
18634 Format code sent to Python shell for robustness.
18635 * progmodes/python.el (python-shell-buffer-substring):
18636 New function.
18637 (python-shell-send-region, python-shell-send-buffer): Use it.
18638
18639 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18640
18641 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18642 * net/tramp.el (tramp-user-error): ... here.
18643 (tramp-find-method, tramp-check-proper-host)
18644 (tramp-dissect-file-name, tramp-debug-message)
18645 (tramp-handle-shell-command):
18646 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18648
18649 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18650
18651 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18652
18653 * avoid.el (mouse-avoidance-point-position)
18654 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18655 returns nil.
18656
18657 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18658
18659 * progmodes/python.el (python-shell-completion-get-completions):
18660 Drop use of deleted `comint-last-prompt-overlay'.
18661 (python-nav-if-name-main): New command.
18662
18663 2013-09-01 Glenn Morris <rgm@gnu.org>
18664
18665 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18666 Avoid leading space in $wins. Otherwise the sed command used by
18667 eg compile-main ends up containing "/*.el". (Bug#15170)
18668
18669 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18670
18671 2013-08-30 Glenn Morris <rgm@gnu.org>
18672
18673 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18674 Fix is-this-a-directory logic. (Bug#15220)
18675
18676 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18677
18678 * textmodes/css-mode.el: Use SMIE.
18679 (css-smie-grammar): New var.
18680 (css-smie--forward-token, css-smie--backward-token)
18681 (css-smie-rules): New functions.
18682 (css-mode): Use them.
18683 (css-navigation-syntax-table): Remove var.
18684 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18685 (css-indent-calculate, css-indent-line): Remove functions.
18686
18687 Misc changes to reduce use of `(lambda...); and other cleanups.
18688 * cus-edit.el: Use lexical-binding.
18689 (customize-push-and-save, customize-apropos)
18690 (custom-buffer-create-internal): Use closures.
18691 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18692 * progmodes/ada-xref.el: Use setq.
18693 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18694 * dframe.el: Use lexical-binding.
18695 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18696 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18697 * descr-text.el: Use lexical-binding.
18698 (describe-text-widget, describe-text-sexp, describe-property-list):
18699 Use closures.
18700 * comint.el (comint-history-isearch-push-state): Use a closure.
18701 * calculator.el: Use lexical-binding.
18702 (calculator-number-to-string): Make it work with lexical-binding.
18703 (calculator-funcall): Same and use cl-letf.
18704
18705 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18706 (lisp--company-doc-string, lisp--company-location): New functions.
18707 (lisp-completion-at-point): Use them to improve Company support.
18708
18709 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18710 params of lambda expressions.
18711 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18712 (ruby-smie--opening-pipe-p): New function.
18713 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18714 symbols and matched |...| for formal params.
18715 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18716 from being treated as hanging. Handle "rescue".
18717
18718 2013-08-29 Glenn Morris <rgm@gnu.org>
18719
18720 * progmodes/cc-engine.el (c-pull-open-brace):
18721 Move definition before use.
18722
18723 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18724
18725 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18726 are immutable. Don't use `unsafe' any more.
18727 (cl--defsubst-expand): Don't substitute at the same time as keeping
18728 a residual unused let-binding. Don't use `unsafe' any more.
18729
18730 2013-08-29 Glenn Morris <rgm@gnu.org>
18731
18732 * calendar/cal-china.el (calendar-chinese-year-cache):
18733 Recenter on 2015.
18734
18735 * nxml/nxml-util.el (nxml-debug-clear-inside):
18736 Use cl-loop rather than loop.
18737
18738 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18739
18740 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18741
18742 2013-08-28 Glenn Morris <rgm@gnu.org>
18743
18744 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18745
18746 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18747
18748 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18749
18750 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18751
18752 * simple.el (repeat-complex-command--called-interactively-skip):
18753 New function.
18754 (repeat-complex-command): Use it (bug#14136).
18755
18756 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18757 (c-define-abbrev-table): Add `doc' argument.
18758 (c-mode-abbrev-table, c++-mode-abbrev-table)
18759 (objc-mode-abbrev-table, java-mode-abbrev-table)
18760 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18761 (awk-mode-abbrev-table): Use it.
18762 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18763 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18764 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18765 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18766 Move initialization into the declaration; and remove any
18767 autoload cookie.
18768
18769 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18770 and dynamic let binding.
18771
18772 * vc/smerge-mode.el: Remove redundant :group args.
18773
18774 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18775 to load-path.
18776
18777 2013-08-28 Juri Linkov <juri@jurta.org>
18778
18779 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18780 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18781 (isearch-other-meta-char): Handle an undefined shifted printing
18782 character by downshifting it. (Bug#15200)
18783
18784 2013-08-28 Juri Linkov <juri@jurta.org>
18785
18786 * isearch.el (isearch-search): Change regexp error message for
18787 non-regexp searches. (Bug#15166)
18788
18789 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18790
18791 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18792 for portability to hosts where /bin/sh has problems.
18793
18794 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18795
18796 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18797
18798 2013-08-27 Juri Linkov <juri@jurta.org>
18799
18800 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18801 in the keyboard macro. (Bug#15126)
18802
18803 2013-08-27 Juri Linkov <juri@jurta.org>
18804
18805 * isearch.el (isearch-quote-char): Comment out converting unibyte
18806 to multibyte, thus syncing with its `quoted-insert' counterpart.
18807 (Bug#15166)
18808
18809 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18810
18811 * window.el (display-buffer-use-some-window): Add missing
18812 argument in call of get-largest-window (Bug#15185).
18813 Reported by Stephen Leake.
18814
18815 2013-08-27 Glenn Morris <rgm@gnu.org>
18816
18817 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18818
18819 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18822 from a matcher-function unless there's no more matches (bug#15161).
18823
18824 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18825
18826 * minibuffer.el: Revert change from 2013-08-20.
18827
18828 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18829 with text property `tramp-default', if appropriate.
18830 (tramp-check-proper-host): New defun.
18831 (tramp-dissect-file-name): Do not check hostname. Revert change
18832 of 2013-03-18.
18833 (tramp-backtrace): Make VEC-OR-PROC optional.
18834
18835 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18836 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18837 * net/tramp-sh.el (tramp-maybe-open-connection):
18838 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18839 Apply `tramp-check-proper-host'.
18840
18841 2013-08-26 Tassilo Horn <tsdh@gnu.org>
18842
18843 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18844 lambda expression in order to have `describe-variable' display it.
18845
18846 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18847
18848 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18849 BUF can be optional. (Bug#15186)
18850
18851 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
18852
18853 * progmodes/flymake.el (flymake-get-real-file-name-function):
18854 Fix broken customization. (Bug#15184)
18855
18856 2013-08-25 Alan Mackenzie <acm@muc.de>
18857
18858 Improve indentation of bracelists defined by macros (without "=").
18859
18860 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18861 expansion begins with "{", regard it as bracelist when it doesn't
18862 contain a ";".
18863
18864 Parse C++ inher-intro when there's a template split over 2 lines.
18865
18866 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18867 rigorously the search for "class" etc. followed by ":".
18868
18869 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18870 random languages a regexp which never matches rather than nil.
18871
18872 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18873
18874 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18875 (c-awk-regexp-one-line-possibly-open-char-list-re)
18876 (c-awk-one-line-possibly-open-regexp-re)
18877 (c-awk-one-line-non-syn-ws*-re): Remove.
18878 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18879 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18880 (c-awk-space*-unclosed-regexp-/-re): New constants.
18881 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18882 aren't regexp delimiters.
18883
18884 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18885 handling for a rare situation in AWK Mode involving unterminated
18886 strings/regexps.
18887
18888 2013-08-23 Glenn Morris <rgm@gnu.org>
18889
18890 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18891
18892 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18893
18894 * files.el (create-file-buffer): If the result would begin with
18895 spaces, prepend a "|" instead of removing them. (Bug#15162)
18896
18897 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18898
18899 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18900 text-properties (bug#15155).
18901
18902 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18903 exist any more.
18904 (calc-keypad-redraw): Remove unused var `pad'.
18905 (calc-keypad-press): Remove unused var `menu'.
18906
18907 2013-08-23 Martin Rudalics <rudalics@gmx.at>
18908
18909 * window.el (display-buffer-pop-up-frame):
18910 Call pop-up-frame-function with BUFFER current so `make-frame' will
18911 use it as the new frame's buffer (Bug#15133).
18912
18913 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18914
18915 * calendar/timeclock.el: Minor cleanups.
18916 (timeclock-ask-before-exiting, timeclock-use-display-time):
18917 Use `symbol'.
18918 (timeclock-modeline-display): Define as alias before the
18919 actual definition.
18920 (timeclock-mode-line-display): Use define-minor-mode.
18921 (timeclock-day-list-template): Make it a function, add an argument.
18922 (timeclock-day-list-required, timeclock-day-list-length)
18923 (timeclock-day-list-debt, timeclock-day-list-span)
18924 (timeclock-day-list-break): Adjust calls accordingly.
18925
18926 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18929 Use read--expression so that completion works again.
18930
18931 2013-08-21 Sam Steingold <sds@gnu.org>
18932
18933 Add rudimentary inferior shell interaction
18934 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18935 (sh-set-shell): Reset it.
18936 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18937 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18938
18939 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
18940
18941 * align.el: Use lexical-binding.
18942 (align-region): Simplify accordingly.
18943
18944 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
18945
18946 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18947
18948 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18949 `non-essential' up.
18950
18951 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
18952
18953 * net/tramp.el:
18954 * net/tramp-adb.el:
18955 * net/tramp-cmds.el:
18956 * net/tramp-ftp.el:
18957 * net/tramp-gvfs.el:
18958 * net/tramp-gw.el:
18959 * net/tramp-sh.el: Don't wrap external variable declarations by
18960 `eval-when-compile'.
18961
18962 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18963
18964 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18965 now that Emacs supports ImageMagick animations.
18966
18967 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
18968
18969 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18970 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18971
18972 2013-08-16 Martin Rudalics <rudalics@gmx.at>
18973
18974 * window.el (mouse-autoselect-window-select): Do autoselect when
18975 mouse pointer is on margin.
18976
18977 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
18978
18979 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
18980
18981 2013-08-16 Glenn Morris <rgm@gnu.org>
18982
18983 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18984 Handle "Remote Directory" response of some clients. (Bug#15058)
18985
18986 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18987 Tweak warning. (Bug#14926)
18988
18989 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18990 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
18991
18992 * image-mode.el (image-mode-map): Add menu items to reverse,
18993 increase, decrease, reset animation speed.
18994 (image--set-speed, image-increase-speed, image-decrease-speed)
18995 (image-reverse-speed, image-reset-speed): New functions.
18996 (image-mode-map): Add bindings for speed commands.
18997
18998 * image.el (image-animate-get-speed, image-animate-set-speed):
18999 New functions.
19000 (image-animate-timeout): Respect image :speed property.
19001
19002 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19003
19004 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19005 previous line (bug#15101).
19006 (debugger-eval-expression, debugger-record-expression):
19007 Use read--expression (bug#15102).
19008
19009 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19010
19011 Remove byte compiler warnings, visible when compiling with
19012 `byte-compile-force-lexical-warnings' set to t.
19013
19014 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19015 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19016 (tramp-handle-unhandled-file-name-directory)
19017 (tramp-handle-file-notify-add-watch, tramp-action-login)
19018 (tramp-action-succeed, tramp-action-permission-denied)
19019 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19020 arguments with "_".
19021
19022 * net/tramp-adb.el (tramp-adb-parse-device-names)
19023 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19024 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19025 (tramp-adb-handle-file-truename): Remove unused arguments.
19026
19027 * net/tramp-cache.el (tramp-flush-directory-property)
19028 (tramp-flush-connection-property, tramp-list-connections)
19029 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19030
19031 * net/tramp-compat.el (tramp-compat-make-temp-file):
19032 Rename FILENAME to F.
19033
19034 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19035 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19036 (tramp-zeroconf-parse-workstation-device-names)
19037 (tramp-zeroconf-parse-webdav-device-names)
19038 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19039
19040 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19041 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19042
19043 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19044 arguments.
19045 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19046 (tramp-sh-handle-insert-file-contents-literally)
19047 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19048 with "_".
19049 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19050 Remove unused variables.
19051
19052 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19053 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19054 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19055
19056 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19057 Make them a defconst.
19058 (tramp-uuencode-region): Remove unused variable.
19059
19060 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19061
19062 * frameset.el (frameset--prop-setter): New function.
19063 (frameset-prop): Add gv-setter declaration.
19064 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19065 parameter was already set in FILTERED. Doc fix.
19066 (frameset--record-minibuffer-relationships): Allow saving a
19067 minibufferless frame without its corresponding minibuffer frame.
19068 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19069 frame, if the frame id matches.
19070 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19071 frames before orphaned ones.
19072 (frameset-restore): Warn about orphaned windows, instead of error out.
19073
19074 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19075
19076 * window.el (window-make-atom): Don't overwrite parameter
19077 already present.
19078 (display-buffer-in-atom-window): Handle special case where we
19079 split an already atomic window.
19080 (window--major-non-side-window, display-buffer-in-side-window)
19081 (window--side-check): Ignore minibuffer window when walking
19082 window tree.
19083 (window-deletable-p): Return 'frame only if no other frame uses
19084 our minibuffer window.
19085 (record-window-buffer): Run buffer-list-update-hook.
19086 (split-window): Make sure window--check-frame won't destroy an
19087 existing atomic window in case the new window gets nested
19088 inside.
19089 (display-buffer-at-bottom): Ignore minibuffer window when
19090 walking window tree. Don't split a side window.
19091 (pop-to-buffer): Don't set-buffer here, the select-window call
19092 should do that.
19093 (mouse-autoselect-window-select): Autoselect only if we are in the
19094 text portion of the window.
19095
19096 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19097
19098 * net/shr.el (shr-parse-image-data): New function to grab both the
19099 data itself and the Content-Type.
19100 (shr-put-image): Use it.
19101
19102 * net/eww.el (eww-display-image): Ditto.
19103
19104 * image.el (image-content-type-suffixes): New variable.
19105
19106 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19107
19108 * progmodes/python.el (python-imenu--build-tree)
19109 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19110
19111 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19112
19113 * simple.el (backward-word): Mention the optional argument.
19114
19115 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19116
19117 * frameset.el (frameset--make): Rename constructor from make-frameset.
19118 (frameset-p, frameset-valid-p): Don't autoload.
19119 (frameset-valid-p): Use normal accessors.
19120
19121 2013-08-13 Glenn Morris <rgm@gnu.org>
19122
19123 * progmodes/compile.el (compile-command): Tweak example in doc.
19124 * obsolete/scribe.el (scribe-mode):
19125 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19126
19127 * mail/feedmail.el (feedmail-confirm-outgoing)
19128 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19129
19130 * cus-start.el (truncate-partial-width-windows): Fix type.
19131
19132 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19133
19134 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19135
19136 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19137
19138 * emacs-lisp/timer.el (timer--time-setter): New function.
19139 (timer--time): Use it as gv-setter.
19140
19141 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19142 setter is not a symbol.
19143
19144 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19145
19146 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19147 if sending fails. This makes debugging easier.
19148
19149 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19150
19151 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19152 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19153 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19154
19155 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19156
19157 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19158
19159 2013-08-12 Glenn Morris <rgm@gnu.org>
19160
19161 * format.el (format-annotate-function):
19162 Handle read-only text properties in the source. (Bug#14887)
19163
19164 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19165
19166 * net/eww.el (eww-display-html): Ignore coding system errors.
19167 One web site uses "utf-8lias" as the coding system.
19168
19169 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19170
19171 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19172
19173 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19174
19175 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19176 (tutorial--detailed-help): Remove unused local variables.
19177 (tutorial--save-tutorial-to): Use ignore-errors.
19178 (help-with-tutorial): Use looking-at-p.
19179
19180 * view.el (view-buffer-other-window, view-buffer-other-frame):
19181 Mark unused arguments.
19182
19183 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19184 (woman-select-symbol-fonts, woman, woman-find-file)
19185 (woman-insert-file-contents, woman-non-underline-faces):
19186 Use string-match-p.
19187 (woman1-unquote): Move declaration.
19188
19189 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19190 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19191 argument. Remove unused local variable.
19192 (xml-parse-elem-type): Use string-match-p.
19193 (xml-substitute-numeric-entities): Use ignore-errors.
19194
19195 * calculator.el (calculator): Mark unused argument.
19196 (calculator-paste, calculator-quit, calculator-integer-p):
19197 Use ignore-errors.
19198 (calculator-string-to-number, calculator-decimal, calculator-exp)
19199 (calculator-op-or-exp): Use string-match-p.
19200
19201 * dired.el (dired-buffer-more-recently-used-p): Declare.
19202 (dired-insert-set-properties, dired-insert-old-subdirs):
19203 Use ignore-errors.
19204
19205 * dired-aux.el (dired-compress): Use ignore-errors.
19206 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19207 (dired-do-async-shell-command, dired-do-shell-command)
19208 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19209 (dired-insert-subdir-validate): Use string-match-p.
19210 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19211 (dired-add-entry): Use string-match-p, looking-at-p.
19212 (dired-insert-subdir-newpos): Remove unused local variable.
19213
19214 * filenotify.el (file-notify-callback): Remove unused local variable.
19215
19216 * filesets.el (filesets-error): Mark unused argument.
19217 (filesets-which-command-p, filesets-filter-dir-names)
19218 (filesets-directory-files, filesets-get-external-viewer)
19219 (filesets-ingroup-get-data): Use string-match-p.
19220
19221 * find-file.el (ff-other-file-name, ff-other-file-name)
19222 (ff-find-the-other-file, ff-cc-hh-converter):
19223 Remove unused local variables.
19224 (ff-get-file-name): Use string-match-p.
19225 (ff-all-dirs-under): Use ignore-errors.
19226
19227 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19228 (follow-select-if-visible): Remove unused local variable.
19229
19230 * forms.el (read-file-filter): Move declaration.
19231 (forms--make-format, forms--make-parser, forms-insert-record):
19232 Quote function with #'.
19233 (forms--update): Use string-match-p. Quote function with #'.
19234
19235 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19236 (help-make-xrefs): Use looking-at-p.
19237 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19238
19239 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19240 (ibuffer-confirm-operation-on): Use string-match-p.
19241
19242 * msb.el (msb-item-handler, msb-dired-item-handler):
19243 Mark unused arguments.
19244
19245 * ses.el (ses-decode-cell-symbol)
19246 (ses-kill-override): Remove unused local variable.
19247 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19248 (ses-load): Use ignore-errors, looking-at-p.
19249 (ses-jump-safe): Use ignore-errors.
19250 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19251
19252 * tabify.el (untabify, tabify): Mark unused arguments.
19253
19254 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19255 Mark unused argument.
19256 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19257 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19258
19259 * emacs-lisp/timer.el (timer--time): Define setter with
19260 gv-define-setter to avoid deprecation warning.
19261
19262 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19263 (*record-cmpl-statistics-p*): Remove (was commented out).
19264 (cmpl-statistics-block): Remove (body was commented out).
19265 All callers changed.
19266 (add-completions-from-buffer, load-completions-from-file):
19267 Remove unused variables.
19268
19269 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * filecache.el (file-cache-delete-file-list):
19272 Print message only when told so.
19273 (file-cache-files-matching): Use #' in mapconcat argument.
19274
19275 * ffap.el (ffap-url-at-point): Fix reference to variable
19276 thing-at-point-default-mail-uri-scheme.
19277
19278 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19279
19280 * subr.el (define-error): New function.
19281 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19282 error-file-not-found and define with define-error.
19283 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19284 and define with define-error.
19285 * userlock.el (file-locked, file-supersession):
19286 * simple.el (mark-inactive):
19287 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19288 * progmodes/ada-mode.el (ada-mode-errors):
19289 * play/life.el (life-extinct):
19290 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19291 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19292 * nxml/rng-util.el (rng-error):
19293 * nxml/rng-uri.el (rng-uri-error):
19294 * nxml/rng-match.el (rng-compile-error):
19295 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19296 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19297 * nxml/nxml-rap.el (nxml-scan-error):
19298 * nxml/nxml-outln.el (nxml-outline-error):
19299 * net/soap-client.el (soap-error):
19300 * net/gnutls.el (gnutls-error):
19301 * net/ange-ftp.el (ftp-error):
19302 * mpc.el (mpc-proc-error):
19303 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19304 (json-number-format, json-string-escape, json-string-format)
19305 (json-key-format, json-object-format):
19306 * jka-compr.el (compression-error):
19307 * international/quail.el (quail-error):
19308 * international/kkc.el (kkc-error):
19309 * emacs-lisp/ert.el (ert-test-failed):
19310 * calc/calc.el (calc-error, inexact-result, math-overflow)
19311 (math-underflow):
19312 * bookmark.el (bookmark-error-no-filename):
19313 * epg.el (epg-error): Define with define-error.
19314
19315 * time.el (display-time-event-handler)
19316 (display-time-next-load-average): Don't call sit-for since it seems
19317 unnecessary (bug#15045).
19318
19319 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19320 Use #' instead of ' to quote functions.
19321 (checkdoc-output-mode): Use setq-local.
19322 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19323 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19324 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19325 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19326 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19327 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19328 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19329 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19330
19331 * ido.el (ido-completion-help): Fix up compiler warning.
19332
19333 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19334
19335 * frameset.el (frameset-p): Add autoload cookie.
19336 (frameset--jump-to-register): New function, based on code moved from
19337 register.el.
19338 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19339
19340 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19341 (frameset-restore, frameset-save, frameset-session-filter-alist):
19342 Remove declarations.
19343 (register-alist): Doc fix.
19344 (frameset-to-register): Move to frameset.el.
19345 (jump-to-register, describe-register-1): Remove frameset-specific code.
19346
19347 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19348
19349 * allout-widgets.el (allout-widgets-pre-command-business)
19350 (allout-widgets-post-command-business)
19351 (allout-widgets-after-change-handler)
19352 (allout-decorate-item-and-context, allout-set-boundary-marker)
19353 (allout-body-modification-handler)
19354 (allout-graphics-modification-handler): Mark ignored arguments.
19355 (allout-widgets-post-command-business)
19356 (allout-widgets-exposure-change-processor)
19357 (allout-widgets-exposure-undo-processor)
19358 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19359 (allout-parse-item-at-point, allout-decorate-item-guides)
19360 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19361 * allout.el (epa-passphrase-callback-function): Declare.
19362 (allout-overlay-insert-in-front-handler)
19363 (allout-overlay-interior-modification-handler)
19364 (allout-isearch-end-handler, allout-chart-siblings)
19365 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19366 (allout-yank-processing, allout-process-exposed)
19367 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19368 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19369 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19370 (lisp-indent-defform): Mark ignored arguments.
19371 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19372 (calculate-lisp-indent): Remove unused variables.
19373 * international/characters.el (indian-2-column, arabic-2-column)
19374 (tibetan): Mark ignored arguments.
19375 (use-cjk-char-width-table): Mark ignored arguments.
19376 Remove unused variables.
19377 * international/fontset.el (build-default-fontset-data)
19378 (x-compose-font-name, create-fontset-from-fontset-spec):
19379 Mark ignored arguments.
19380 (fontset-plain-name): Remove unused variables.
19381 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19382 (keyboard-coding-system): Mark ignored arguments.
19383 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19384 * help.el (resize-temp-buffer-window):
19385 * window.el (display-buffer-in-major-side-window)
19386 (display-buffer-in-side-window, display-buffer-in-previous-window):
19387 Remove unused variables.
19388 * isearch.el (isearch-forward-symbol):
19389 * version.el (emacs-bzr-version-bzr):
19390 * international/mule-cmds.el (current-language-environment):
19391 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19392 (x-handle-display):
19393 * term/pc-win.el (x-list-fonts, x-display-planes)
19394 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19395 (x-server-version, x-display-screens, x-display-mm-height)
19396 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19397 (x-selection-owner-p, x-own-selection-internal)
19398 (x-disown-selection-internal, x-get-selection-internal)
19399 (msdos-initialize-window-system):
19400 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19401 * term/x-win.el (x-handle-no-bitmap-icon):
19402 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19403 (vc-default-find-file-hook, vc-default-extra-menu):
19404 Mark ignored arguments.
19405
19406 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19409 break-condition in the context of the debugged code (bug#12685).
19410
19411 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19412
19413 * comint.el:
19414 Do not use an overlay to highlight the last prompt. (Bug#14744)
19415 (comint-mode): Make comint-last-prompt buffer local.
19416 (comint-last-prompt): New variable.
19417 (comint-last-prompt-overlay): Remove. Superseded by
19418 comint-last-prompt.
19419 (comint-snapshot-last-prompt, comint-output-filter):
19420 Use comint-last-prompt.
19421
19422 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19423
19424 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19425 (frameset-save): Check validity of the resulting frameset.
19426
19427 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19428
19429 * ido.el (ido-record-command): Add doc string.
19430
19431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19432
19433 * frameset.el (frameset): Do not disable creation of the default
19434 frameset-p predicate. Doc fix.
19435 (frameset-valid-p): New function, copied from the old predicate-p.
19436 Add additional checks.
19437 (frameset-restore): Check with frameset-valid-p.
19438 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19439 (frameset-name, frameset-description, frameset-properties)
19440 (frameset-states): Add docstring.
19441 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19442 (frameset-filter-alist): Doc fixes.
19443
19444 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19445
19446 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19447
19448 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19449
19450 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19451 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19452 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19453 (byte-compile-normal-call): Remove obsolescence check.
19454
19455 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * frameset.el (frameset-restore): Doc fix.
19458
19459 * register.el (frameset-frame-id, frameset-frame-with-id)
19460 (frameset-p, frameset-restore, frameset-save): Declare.
19461 (register-alist): Document framesets.
19462 (frameset-session-filter-alist): Declare.
19463 (frameset-to-register): New function.
19464 (jump-to-register): Implement jumping to framesets. Doc fix.
19465 (describe-register-1): Describe framesets.
19466
19467 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19468
19469 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19470
19471 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19472 Use lexical-binding.
19473
19474 * frameset.el (frameset): Use type vector, not list (incompatible
19475 change). Do not declare a new constructor, use the default one.
19476 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19477 `name' and `description', respectively, and add read-only slot
19478 `timestamp'. Doc fixes.
19479 (frameset-copy, frameset-persistent-filter-alist)
19480 (frameset-filter-alist, frameset-switch-to-gui-p)
19481 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19482 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19483 (frameset-filter-iconified, frameset-keep-original-display-p):
19484 Doc fixes.
19485 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19486 Rename from frameset-filter-(save|restore)-param. All callers changed.
19487 Doc fix.
19488 (frameset-p): Adapt to change to vector and be more thorough.
19489 Change arg name to OBJECT. Doc fix.
19490 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19491 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19492 All callers changed.
19493 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19494 All callers changed.
19495 (frameset--record-minibuffer-relationships): Rename from
19496 frameset--process-minibuffer-frames. All callers changed.
19497 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19498 Use new default constructor (again). Doc fix.
19499 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19500 All callers changed.
19501 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19502 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19503 Doc fix.
19504 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19505 PARAMETERS and WINDOW-STATE, respectively.
19506 (frameset-restore): Add new keyword argument PREDICATE.
19507 Reset frameset--target-display to nil. Doc fix.
19508
19509 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19510
19511 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19512 (bat-mode): Use it.
19513 (bat-mode-syntax-table): Mark \n as end-of-comment.
19514 (bat-font-lock-keywords): Remove comment rule.
19515
19516 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19517 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19518
19519 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19520 (byte-compile-callargs-warn): Use `push'.
19521 (byte-compile-arglist-warn): Ignore higher-order "calls".
19522 (byte-compile-file-form-autoload): Use `pcase'.
19523 (byte-compile-function-form): If quoting a symbol, check that it exists.
19524
19525 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19526
19527 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19528 and add a few popular commands found in batch files.
19529 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19530 (dos-mode): Doc fixes.
19531
19532 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19533
19534 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19535 (dos-mode): Use setq-local. Add space after "rem".
19536 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19537 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19538
19539 2013-08-07 Arni Magnusson <arnima@hafro.is>
19540
19541 * progmodes/dos.el: New file.
19542 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19543 dos-mode.
19544
19545 2013-08-06 Glenn Morris <rgm@gnu.org>
19546
19547 * calendar/calendar.el: Add new faces, and day-header-array.
19548 (calendar-weekday-header, calendar-weekend-header)
19549 (calendar-month-header): New faces.
19550 (calendar-day-header-construct): New function.
19551 (calendar-day-header-width): Also :set calendar-day-header-array.
19552 (calendar-american-month-header, calendar-european-month-header)
19553 (calendar-iso-month-header): Use calendar- faces.
19554 (calendar-generate-month):
19555 Use calendar-day-header-array for day headers; apply faces to them.
19556 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19557 (calendar-abbrev-construct): Add optional maxlen argument.
19558 (calendar-day-name-array): Doc fix.
19559 (calendar-day-name-array, calendar-abbrev-length)
19560 (calendar-day-abbrev-array):
19561 Also :set calendar-day-header-array, and maybe redraw.
19562 (calendar-day-header-array): New option. (Bug#15007)
19563 (calendar-font-lock-keywords): Set to nil and make obsolete.
19564 (calendar-day-name): Add option to use header array.
19565
19566 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19567
19568 * net/shr.el (shr-render-td): Remove debugging.
19569 (shr-render-td): Make width computation consistent by defaulting
19570 all zero-width columns to 10 characters. This may not be optimal,
19571 but it's at least consistent.
19572 (shr-make-table-1): Redo last change to fix the real problem in
19573 colspan handling.
19574
19575 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19576
19577 * files.el (cache-long-line-scans):
19578 Make obsolete alias to `cache-long-scans'.
19579
19580 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19581
19582 * frameset.el (frameset, frameset-filter-alist)
19583 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19584 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19585 (frameset-compute-pos): Rename from frameset--compute-pos,
19586 and add docstring.
19587 (frameset-move-onscreen): Use frameset-compute-pos.
19588 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19589
19590 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19591 Fix typos in docstrings.
19592
19593 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19594
19595 * frame.el (get-other-frame): Tiny cleanup.
19596
19597 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19598
19599 * vc/vc.el (vc-default-ignore-completion-table):
19600 Silence byte-compiler warning.
19601
19602 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19603 slot, which can indeed be nil.
19604 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19605 Move entry for `left' from persistent to live filter alist.
19606 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19607 Doc fixes.
19608 (frameset-filter-params): When restoring a frame, copy items added to
19609 `filtered', to avoid unwittingly modifying the original parameters.
19610 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19611 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19612
19613 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19614 to use looking-at-p instead of looking-at. (Bug#15028)
19615
19616 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19617
19618 Revert introduction of isearch-filter-predicates (bug#14714).
19619 Rely on add-function instead.
19620 * isearch.el (isearch-filter-predicates): Rename it back to
19621 isearch-filter-predicate.
19622 (isearch-message-prefix): Use advice-function-mapc and advice
19623 properties to get the isearch-message-prefix.
19624 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19625 instead of run-hook-with-args-until-failure.
19626 (isearch-filter-visible): Not obsolete any more.
19627 * loadup.el: Preload nadvice.
19628 * replace.el (perform-replace): Revert to funcall
19629 instead of run-hook-with-args-until-failure.
19630 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19631 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19632 dired-isearch-filenames-toggle; make it into a proper minor mode.
19633 Use add/remove-function.
19634 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19635 Call the minor-mode rather than add/remove-hook.
19636 (dired-isearch-filter-filenames):
19637 Remove isearch-message-prefix property.
19638 * info.el (Info--search-loop): New function, extracted from Info-search.
19639 Funcall isearch-filter-predicate instead of
19640 run-hook-with-args-until-failure isearch-filter-predicates.
19641 (Info-search): Use it.
19642 (Info-mode): Use isearch-filter-predicate instead of
19643 isearch-filter-predicates.
19644
19645 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19646
19647 Do not call to `selected-window' where it is assumed by default.
19648 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19649 `window-hscroll', `window-width', `window-height', `window-buffer',
19650 `window-frame', `window-start', `window-point', `next-window'
19651 and `window-display-table'.
19652 * abbrev.el (abbrev--default-expand):
19653 * bs.el (bs--show-with-configuration):
19654 * buff-menu.el (Buffer-menu-mouse-select):
19655 * calc/calc.el (calc):
19656 * calendar/calendar.el (calendar-generate-window):
19657 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19658 (diary-make-entry):
19659 * comint.el (send-invisible, comint-dynamic-complete-filename)
19660 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19661 * completion.el (complete):
19662 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19663 * disp-table.el (describe-current-display-table):
19664 * doc-view.el (doc-view-insert-image):
19665 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19666 * ehelp.el (with-electric-help):
19667 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19668 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19669 * emacs-lisp/helper.el (Helper-help-scroller):
19670 * emulation/cua-base.el (cua--post-command-handler-1):
19671 * eshell/esh-mode.el (eshell-output-filter):
19672 * ffap.el (ffap-gnus-wrapper):
19673 * help-macro.el (make-help-screen):
19674 * hilit-chg.el (highlight-compare-buffers):
19675 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19676 * hl-line.el (global-hl-line-highlight):
19677 * icomplete.el (icomplete-simple-completing-p):
19678 * isearch.el (isearch-done):
19679 * jit-lock.el (jit-lock-stealth-fontify):
19680 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19681 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19682 * mpc.el (mpc-tagbrowser, mpc):
19683 * net/rcirc.el (rcirc-any-buffer):
19684 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19685 * play/landmark.el (landmark-max-width, landmark-max-height):
19686 * play/zone.el (zone):
19687 * progmodes/compile.el (compilation-goto-locus):
19688 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19689 * progmodes/etags.el (find-tag-other-window):
19690 * progmodes/fortran.el (fortran-column-ruler):
19691 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19692 * progmodes/verilog-mode.el (verilog-point-text):
19693 * reposition.el (reposition-window):
19694 * rot13.el (toggle-rot13-mode):
19695 * server.el (server-switch-buffer):
19696 * shell.el (shell-dynamic-complete-command)
19697 (shell-dynamic-complete-environment-variable):
19698 * simple.el (insert-buffer, set-selective-display)
19699 (delete-completion-window):
19700 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19701 (speedbar-recenter):
19702 * startup.el (fancy-splash-head):
19703 * textmodes/ispell.el (ispell-command-loop):
19704 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19705 * tutorial.el (help-with-tutorial):
19706 * vc/add-log.el (add-change-log-entry):
19707 * vc/compare-w.el (compare-windows):
19708 * vc/ediff-help.el (ediff-indent-help-message):
19709 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19710 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19711 (ediff-setup-control-frame):
19712 * vc/emerge.el (emerge-position-region):
19713 * vc/pcvs-util.el (cvs-bury-buffer):
19714 * window.el (walk-windows, mouse-autoselect-window-select):
19715 * winner.el (winner-set-conf, winner-undo): Related users changed.
19716
19717 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19718
19719 * frameset.el (frameset--set-id): Doc fix.
19720 (frameset-frame-id, frameset-frame-id-equal-p)
19721 (frameset-locate-frame-id): New functions.
19722 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19723 (frameset-restore): Use them.
19724
19725 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19726
19727 Do not call to `selected-frame' where it is assumed by default.
19728 Affected functions are `raise-frame', `redraw-frame',
19729 `frame-first-window', `frame-terminal' and `delete-frame'.
19730 * calendar/appt.el (appt-disp-window):
19731 * epg.el (epg-wait-for-completion):
19732 * follow.el (follow-delete-other-windows-and-split)
19733 (follow-avoid-tail-recenter):
19734 * international/mule.el (set-terminal-coding-system):
19735 * mail/rmail.el (rmail-mail-return):
19736 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19737 * progmodes/f90.el (f90-add-imenu-menu):
19738 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19739 * server.el (server-switch-buffer):
19740 * simple.el (delete-completion-window):
19741 * talk.el (talk):
19742 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19743 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19744 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19745 * vc/ediff.el (ediff-documentation): Related users changed.
19746 * frame.el (selected-terminal): Remove the leftover.
19747
19748 2013-08-05 Glenn Morris <rgm@gnu.org>
19749
19750 * calendar/calendar.el (calendar-generate-month):
19751 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19752 (calendar-generate-month, calendar-font-lock-keywords):
19753 Fix for calendar-day-header-width > length of any day name.
19754
19755 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19756
19757 * desktop.el (desktop-clear): Use new name of sort predicate.
19758
19759 * frameset.el (frameset): Add docstring. Move :version property to its
19760 own `version' slot.
19761 (frameset-copy): Rename from copy-frameset.
19762 (frameset-p): Check more thoroughly.
19763 (frameset-prop): Do not check for :version, which is no longer a prop.
19764 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19765 Use new :never value instead of t.
19766 (frameset-filter-alist): Expand and clarify docstring.
19767 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19768 (frameset-filter-minibuffer, frameset-filter-save-param)
19769 (frameset-filter-restore-param, frameset-filter-iconified):
19770 Add pointer to docstring of frameset-filter-alist.
19771 (frameset-filter-params): Rename filter values to be more meaningful:
19772 :never instead of t, and reverse the meanings of :save and :restore.
19773 (frameset--process-minibuffer-frames): Clarify error message.
19774 (frameset-save): Avoid unnecessary and confusing call to framep.
19775 Use new BOA constructor for framesets.
19776 (frameset--reuse-list): Doc fix.
19777 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19778 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19779 (frameset-minibufferless-first-p): Doc fix.
19780 Rename from frameset-sort-frames-for-deletion.
19781 (frameset-restore): Doc fixes. Use new function names.
19782 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19783
19784 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19785
19786 * desktop.el (desktop-restore-forces-onscreen)
19787 (desktop-restore-reuses-frames): Document :keyword constant values.
19788 (desktop-filter-parameters-alist): Remove, now identical to
19789 frameset-filter-alist.
19790 (desktop--filter-tty*): Remove, moved to frameset.el.
19791 (desktop-save-frameset, desktop-restore-frameset):
19792 Do not pass :filters argument.
19793
19794 * frameset.el (frameset-live-filter-alist)
19795 (frameset-persistent-filter-alist): New variables.
19796 (frameset-filter-alist): Use them. Add autoload cookie.
19797 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19798 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19799 `frameset--id' (it's supposed to be internal to frameset.el).
19800 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19801 (frameset--initial-params): New function.
19802 (frameset--get-frame): Use it. Doc fix.
19803 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19804 Accept :all, not 'all.
19805 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19806 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19807 with fbound symbols. Fix frame id matching, and remove matching ids if
19808 the frame being restored is deleted. Obey :delete.
19809
19810 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19811
19812 * subr.el (macrop): New function.
19813 (text-clone--maintaining): New var.
19814 (text-clone--maintain): Rename from text-clone-maintain. Use it
19815 instead of inhibit-modification-hooks.
19816
19817 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19818 a proxy, so as handle autoloads and redefinitions of the target.
19819 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19820
19821 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19822 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19823 (pcase--mutually-exclusive-p): New function.
19824 (pcase--split-consp): Use it.
19825 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
19826 mutually exclusive with the current predicate.
19827
19828 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19829 (edebug-macrop): Remove. Use `macrop' instead.
19830 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
19831 (ad-macro-p):
19832 * eshell/esh-cmd.el (eshell-macrop):
19833 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
19834
19835 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19836
19837 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19838 (advice-mapc): New function, using it.
19839 (advice-function-member-p): New function.
19840 (advice--normalize): Store the cdr in advice--saved-rewrite since
19841 that's the part that will be changed.
19842 (advice--symbol-function): New function.
19843 (advice-remove): Handle removal before the function is defined.
19844 Adjust to new advice--saved-rewrite.
19845 (advice-member-p): Use advice-function-member-p and
19846 advice--symbol-function.
19847
19848 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19849
19850 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19851 (frameset-filter-minibuffer): Doc fix.
19852 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
19853 (frameset--set-id, frameset--process-minibuffer-frames)
19854 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19855 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19856
19857 * desktop.el (desktop-clear): Only delete frames when called
19858 interactively and desktop-restore-frames is non-nil. Doc fix.
19859 (desktop-read): Set desktop-saved-frameset to nil.
19860
19861 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
19862
19863 * vc/vc.el (vc-ignore): Rewrite.
19864 (vc-default-ignore-completion-table, vc--read-lines)
19865 (vc--add-line, vc--remove-regexp): New functions.
19866
19867 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19868 (vc-svn-ignore-completion-table): New function.
19869
19870 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19871 (vc-hg-ignore-completion-table)
19872 (vc-hg-find-ignore-file): New functions.
19873
19874 * vc/vc-git.el (vc-git-ignore): Rewrite.
19875 (vc-git-ignore-completion-table)
19876 (vc-git-find-ignore-file): New functions.
19877
19878 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19879
19880 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19881 (vc-bzr-ignore-completion-table)
19882 (vc-bzr-find-ignore-file): New functions.
19883
19884 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
19885
19886 * frameset.el (frameset-prop): New function and setter.
19887 (frameset-save): Do not modify frame list passed by the caller.
19888
19889 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19890
19891 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19892
19893 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
19894
19895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19896 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19897
19898 * custom.el (custom-initialize-default, custom-initialize-set)
19899 (custom-initialize-reset, custom-initialize-changed): Affect the
19900 toplevel-default-value (bug#6275, bug#14586).
19901 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19902 for bug#6275.
19903
19904 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19905
19906 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19907 Add cl-def* expressions.
19908
19909 * frameset.el (frameset-filter-params): Fix order of arguments.
19910
19911 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19912
19913 Move code related to saving frames to frameset.el.
19914 * desktop.el: Require frameset.
19915 (desktop-restore-frames): Doc fix.
19916 (desktop-restore-reuses-frames): Rename from
19917 desktop-restoring-reuses-frames.
19918 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19919 (desktop-clear): Clear frames too.
19920 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19921 (desktop--filter-tty*, desktop-save, desktop-read):
19922 Use frameset functions.
19923 (desktop-before-saving-frames-functions, desktop--filter-*-color)
19924 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19925 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19926 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19927 (desktop--process-minibuffer-frames, desktop-save-frames)
19928 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19929 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19930 (desktop--sort-states, desktop-restoring-frames-p)
19931 (desktop-restore-frames): Remove. Most code moved to frameset.el.
19932 (desktop-restoring-frameset-p, desktop-restore-frameset)
19933 (desktop--check-dont-save, desktop-save-frameset): New functions.
19934 (desktop--app-id): New constant.
19935 (desktop-first-buffer, desktop-buffer-ok-count)
19936 (desktop-buffer-fail-count): Move before first use.
19937 * frameset.el: New file.
19938
19939 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19940
19941 * files.el: Use lexical-binding.
19942 (dir-locals-read-from-file): Remove unused `err' variable.
19943 (hack-dir-local-variables--warned-coding): New var.
19944 (hack-dir-local-variables): Use it to avoid repeated warnings.
19945 (make-backup-file-name--default-function): New function.
19946 (make-backup-file-name-function): Use it as default.
19947 (buffer-stale--default-function): New function.
19948 (buffer-stale-function): Use it as default.
19949 (revert-buffer-insert-file-contents--default-function): New function.
19950 (revert-buffer-insert-file-contents-function): Use it as default.
19951 (insert-directory): Avoid add-to-list.
19952
19953 * autorevert.el (auto-revert-handler): Simplify.
19954 Use buffer-stale--default-function.
19955
19956 2013-08-01 Tassilo Horn <tsdh@gnu.org>
19957
19958 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19959
19960 * whitespace.el (whitespace-ensure-local-variables): New function.
19961 (whitespace-cleanup-region): Call it.
19962 (whitespace-turn-on): Call it.
19963
19964 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
19965
19966 Complete file name handlers.
19967
19968 * net/tramp.el (tramp-handle-set-visited-file-modtime)
19969 (tramp-handle-verify-visited-file-modtime)
19970 (tramp-handle-file-notify-rm-watch): New functions.
19971 (tramp-call-process): Do not bind `default-directory'.
19972
19973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19974 Order alphabetically.
19975 <access-file, add-name-to-file, dired-call-process>:
19976 <dired-compress-file, file-acl, file-notify-rm-watch>:
19977 <file-ownership-preserved-p, file-selinux-context>:
19978 <make-directory-internal, make-symbolic-link, set-file-acl>:
19979 <set-file-selinux-context, set-visited-file-modtime>:
19980 <verify-visited-file-modtime>: Add handler.
19981 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19982
19983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19984 <file-notify-add-watch, file-notify-rm-watch>:
19985 <set-file-times, set-visited-file-modtime>:
19986 <verify-visited-file-modtime>: Add handler.
19987 (with-tramp-gvfs-error-message)
19988 (tramp-gvfs-handle-set-visited-file-modtime)
19989 (tramp-gvfs-fuse-file-name): Remove.
19990 (tramp-gvfs-handle-file-notify-add-watch)
19991 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19992 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19993
19994 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19995 Order alphabetically.
19996 <file-notify-rm-watch>: Use default Tramp handler.
19997 <executable-find>: Remove private handler.
19998 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19999 `default-directory'.
20000 (tramp-sh-handle-executable-find)
20001 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20003 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20004 Do not use `format' in `tramp-message'.
20005
20006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20007 <file-notify-rm-watch, set-visited-file-modtime>:
20008 <verify-visited-file-modtime>: Add handler.
20009 (tramp-smb-call-winexe): Do not bind `default-directory'.
20010
20011 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20012
20013 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20014
20015 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20016
20017 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20018 use it.
20019 (log-view-diff-changeset): Same.
20020 (log-view-diff-common): Call backend command `previous-revision'
20021 to find out the previous revision, in both cases. Swap the
20022 variables `to' and `fr', so that `fr' usually refers to the
20023 earlier revision (Bug#14989).
20024
20025 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20026
20027 * ibuf-ext.el (ibuffer-filter-by-filename):
20028 Make it work with dired buffers too.
20029
20030 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20031
20032 * emacs-lisp/re-builder.el (reb-color-display-p):
20033 * files.el (save-buffers-kill-terminal):
20034 * net/browse-url.el (browse-url):
20035 * server.el (server-save-buffers-kill-terminal):
20036 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20037 Prefer nil to selected-frame for the first arg of frame-parameter.
20038
20039 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20040
20041 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20042
20043 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20044
20045 * minibuffer.el (completion--twq-all): Try and preserve each
20046 completion's case choice (bug#14907).
20047
20048 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20049
20050 * net/network-stream.el (open-network-stream): Mention the new
20051 :nogreeting parameter.
20052 (network-stream-open-starttls): Use the :nogreeting parameter
20053 (bug#14938).
20054
20055 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20056
20057 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20058 more natural than popping.
20059
20060 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20061 (shr-urlify): Highlight under mouse.
20062
20063 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20064
20065 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20066
20067 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20068
20069 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20070 buffer for output.
20071
20072 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20073 point-min==1. Fix search string. Fix parentheses missing.
20074
20075 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20076 assume point-min==1. Fix search string. Fix parentheses missing.
20077
20078 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20079
20080 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20081 buffer for output.
20082
20083 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20084
20085 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20086 initial frame is minibuffer-less. (Bug#14841)
20087
20088 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20089
20090 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20091 option.
20092
20093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20094 (tramp-maybe-open-connection): Use it.
20095
20096 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20097
20098 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20099 minimal set of parameters passed when creating a frame, because
20100 the minibuffer status of a frame cannot be changed later.
20101
20102 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20103
20104 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20105 replace-regexp-in-string and inadvertent omissions in previous change.
20106 (todo-filter-items): Ensure only file names are comma-separated in
20107 name of filtered items buffer.
20108
20109 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20110
20111 * desktop.el: Optionally force offscreen frames back onscreen.
20112 (desktop-restoring-reuses-frames): New option.
20113 (desktop--compute-pos, desktop--move-onscreen): New functions.
20114 (desktop--make-frame): Use desktop--move-onscreen.
20115
20116 2013-07-27 Alan Mackenzie <acm@muc.de>
20117
20118 Fontify a Java generic method as a function.
20119 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20120 value to t.
20121
20122 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20123
20124 * calendar/todo-mode.el: Add command to rename todo files.
20125 (todo-rename-file): New command.
20126 (todo-key-bindings-t): Add key binding for it. Change the
20127 bindings of todo-filter-regexp-items(-multifile) to use `x'
20128 instead of `r', since the latter is better suited to the new
20129 renaming command.
20130
20131 2013-07-27 Alan Mackenzie <acm@muc.de>
20132
20133 Make Java try-with-resources statement parse properly.
20134 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20135 (c-block-stmt-1-2-key): New language constants/variables.
20136 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20137 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20138 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20139 with c-block-stmt-1-2-key.
20140
20141 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20142
20143 * desktop.el (desktop--make-frame): Apply most frame parameters after
20144 creating the frame to force (partially or totally) offscreen frames to
20145 be restored as such.
20146
20147 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20148
20149 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20150 (Bug#14948)
20151
20152 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20153
20154 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20155 `base' arg of backtrace-frame.
20156
20157 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20158
20159 * simple.el (list-processes): Doc fix.
20160
20161 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20162
20163 * desktop.el (desktop--select-frame):
20164 Try harder to reuse existing frames.
20165
20166 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20167
20168 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20169 (edebug-eval): Use backtrace-eval.
20170 (edebug--display, edebug--recursive-edit): Don't let-bind the
20171 edebug-outer-* vars that keep track of variables we locally let-bind.
20172 (edebug-outside-excursion): Don't restore outside values of locally
20173 let-bound vars.
20174 (edebug--display): Use user-error.
20175 (cl-lexical-debug, cl-debug-env): Remove.
20176
20177 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20178
20179 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20180 are restored to be sure that they are visible before deleting any
20181 remaining ones.
20182
20183 2013-07-26 Matthias Meulien <orontee@gmail.com>
20184
20185 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20186 vc-print-root-log. (Bug#14948)
20187
20188 2013-07-26 Richard Stallman <rms@gnu.org>
20189
20190 Add aliases for encrypting mail.
20191 * epa.el (epa-mail-aliases): New option.
20192 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20193 Bind inhibit-read-only so read-only text doesn't ruin everything.
20194 (epa-mail-default-recipients): New subroutine broken out.
20195 Handle epa-mail-aliases.
20196
20197 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20198
20199 Add support for lexical variables to the debugger's `e' command.
20200 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20201 vars, except for debugger-outer-match-data.
20202 (debugger-frame-number): Move check for "on a function call" from
20203 callers into it. Add `skip-base' argument.
20204 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20205 (debugger-env-macro): Only reset the state stored in non-variables,
20206 i.e. current-buffer and match-data.
20207 (debugger-eval-expression): Rewrite using backtrace-eval.
20208 * subr.el (internal--called-interactively-p--get-frame): Remove.
20209 (called-interactively-p):
20210 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20211 `base' arg of backtrace-frame instead.
20212
20213 2013-07-26 Glenn Morris <rgm@gnu.org>
20214
20215 * align.el (align-regexp): Doc fix. (Bug#14857)
20216 (align-region): Explicit error if subexpression missing/does not match.
20217
20218 * simple.el (global-visual-line-mode):
20219 Do not duplicate the mode lighter. (Bug#14858)
20220
20221 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20222
20223 * window.el (display-buffer): In display-buffer bind
20224 split-window-keep-point to t, bug#14829.
20225
20226 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20227
20228 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20229 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20230 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20231 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20232 Change accordingly.
20233 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20234 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20235
20236 2013-07-25 Glenn Morris <rgm@gnu.org>
20237
20238 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20239
20240 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20241
20242 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20243 parameter to modify-frame-parameters if the value has not changed;
20244 this is a workaround for bug#14949.
20245 (desktop--make-frame): On cl-delete-if call, check parameter name,
20246 not full parameter.
20247
20248 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20249
20250 * vc/vc.el (vc-ignore): New function.
20251
20252 * vc/vc-svn.el (vc-svn-ignore): New function.
20253
20254 * vc/vc-hg.el (vc-hg-ignore): New function.
20255
20256 * vc/vc-git.el (vc-git-ignore): New function.
20257
20258 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20259 (vc-dir-ignore): New function.
20260
20261 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20262 (cvs-append-to-ignore): Move here from pcvs.el.
20263
20264 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20265
20266 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20267
20268 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20269
20270 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20271 (desktop-restore-frames): Warn when deleting an existing frame failed.
20272
20273 2013-07-24 Glenn Morris <rgm@gnu.org>
20274
20275 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20276
20277 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20278
20279 * filenotify.el (file-notify-supported-p):
20280 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20281 Remove functions.
20282
20283 * autorevert.el (auto-revert-use-notify)
20284 (auto-revert-notify-add-watch):
20285 * net/tramp.el (tramp-file-name-for-operation):
20286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20290 Remove `file-notify-supported-p' entry.
20291
20292 2013-07-24 Glenn Morris <rgm@gnu.org>
20293
20294 * printing.el: Replace all uses of deleted ps-windows-system,
20295 ps-lp-system, ps-flatten-list with lpr- versions.
20296
20297 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20300 checked with memq (bug#14935).
20301
20302 * files.el (revert-buffer-function): Use a non-nil default.
20303 (revert-buffer-preserve-modes): Declare var to
20304 provide access to the `preserve-modes' argument.
20305 (revert-buffer): Let-bind it.
20306 (revert-buffer--default): New function, extracted from revert-buffer.
20307
20308 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20309
20310 * lpr.el: Signal print errors more prominently.
20311 (print-region-function): Don't default to nil.
20312 (lpr-print-region): New function, extracted from print-region-1.
20313 Check lpr's return value and signal an error in case of problem.
20314 (print-region-1): Use it.
20315 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20316 versions instead.
20317 (ps-printer-name): Default to nil.
20318 (ps-printer-name-option): Default to lpr-printer-switch.
20319 (ps-print-region-function): Don't default to nil.
20320 (ps-postscript-code-directory): Simplify default.
20321 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20322 (ps-string-list, ps-eval-switch, ps-flatten-list)
20323 (ps-flatten-list-1): Remove.
20324 (ps-multibyte-buffer): Avoid setq.
20325 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20326 (print-region-function, ps-print-region-function): Don't set them here.
20327
20328 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20329
20330 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20331 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20332 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20333 (ido-decorations): Doc fix.
20334
20335 * ansi-color.el: Fix old URL.
20336
20337 2013-07-23 Michael R. Mauger <michael@mauger.com>
20338
20339 * progmodes/sql.el: Version 3.3
20340 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20341 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20342 (sql-interactive-remove-continuation-prompt): Rewrite, use
20343 functions above. Fix continuation prompt and complete output line
20344 handling.
20345 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20346 redirected output buffer.
20347 (sql-mode): Restore deleted code (Bug#13591).
20348
20349 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20350
20351 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20352
20353 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20354
20355 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20356
20357 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20358 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20359 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20360
20361 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20362
20363 * desktop.el (desktop-clear): Simplify; remove useless checks
20364 against invalid buffer names.
20365 (desktop-list*): Use cl-list*.
20366 (desktop-buffer-info, desktop-create-buffer): Simplify.
20367
20368 2013-07-23 Leo Liu <sdl.web@gmail.com>
20369
20370 * bookmark.el (bookmark-make-record): Restore NAME as a default
20371 value. (Bug#14933)
20372
20373 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20374
20375 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20376 extracted from autoload--insert-text.
20377 (autoload--insert-text): Remove.
20378 (autoload--print-cookie-text): New function, extracted from
20379 autoload--insert-cookie-text.
20380 (autoload--insert-cookie-text): Remove.
20381 (autoload-generate-file-autoloads): Adjust calls accordingly.
20382
20383 * winner.el (winner-hook-installed-p): Remove.
20384 (winner-mode): Simplify accordingly.
20385
20386 * subr.el (add-to-list): Fix compiler-macro when `append' is
20387 not constant. Don't use `cl-member' for the base case.
20388
20389 * progmodes/subword.el: Fix boundary case (bug#13758).
20390 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20391 own group.
20392 (subword-backward-regexp): Make it a constant.
20393 (subword-forward-internal): Don't treat a trailing capital as the
20394 beginning of a word.
20395
20396 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20397
20398 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20399 global value of tabulated-list-revert-hook (bug#14930).
20400
20401 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20402
20403 * desktop.el: Require 'cl-lib.
20404 (desktop-before-saving-frames-functions): New hook.
20405 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20406 for frames being saved. Rename from desktop--save-minibuffer-frames.
20407 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20408 Do not save frames with non-nil `desktop-dont-save' parameter.
20409 Filter out deleted frames.
20410 (desktop--find-frame): Use cl-find-if.
20411 (desktop--select-frame): Use cl-(first|second|third) to access values
20412 of desktop-mini.
20413 (desktop--make-frame): Use cl-delete-if.
20414 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20415 (desktop-restore-frames): Use cl-(first|second|third) to access values
20416 of desktop-mini. Look for visible frame at the end, not while
20417 restoring frames.
20418
20419 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20420 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20421 Use string-match-p, looking-at-p (bug#14927).
20422
20423 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20424
20425 * desktop.el (desktop-saved-frame-states):
20426 Rename from desktop--saved-states; all users changed.
20427 (desktop-save-frames): Rename from desktop--save-frames.
20428 Do not save state to desktop file.
20429 (desktop-save): Save desktop-saved-frame-states to desktop file
20430 and reset to nil.
20431 (desktop-restoring-frames-p): New function.
20432 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20433 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20434 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20435
20436 * desktop.el: Correctly restore iconified frames.
20437 (desktop--filter-iconified-position): New function.
20438 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20439
20440 2013-07-20 Glenn Morris <rgm@gnu.org>
20441
20442 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20443 Let `message' do the formatting.
20444 (def-gdb-preempt-display-buffer): Add explicit format.
20445
20446 * image-dired.el (image-dired-track-original-file):
20447 Use with-current-buffer.
20448 (image-dired-track-thumbnail): Use with-current-buffer.
20449 Avoid changing point of wrong window.
20450
20451 * image-dired.el (image-dired-track-original-file):
20452 Avoid changing point of wrong window. (Bug#14909)
20453
20454 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20455
20456 * progmodes/gdb-mi.el (gdb-done-or-error):
20457 Guard against "%" in gdb output. (Bug#14127)
20458
20459 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20460
20461 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20462 (Bug#14826)
20463
20464 * international/mule.el (coding-system-iso-2022-flags): Fix last
20465 change.
20466
20467 2013-07-20 Kenichi Handa <handa@gnu.org>
20468
20469 * international/mule.el (coding-system-iso-2022-flags):
20470 Add `8-bit-level-4'. (Bug#8522)
20471
20472 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20473
20474 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20475 (bug#14815).
20476
20477 * net/eww.el (eww-process-text-input): Allow inputting when the
20478 point is at the start of the line, as the properties aren't
20479 front-sticky.
20480
20481 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20482 degenerate widths.
20483
20484 2013-07-19 Richard Stallman <rms@gnu.org>
20485
20486 * epa.el (epa-popup-info-window): Doc fix.
20487
20488 * subr.el (split-string): New arg TRIM.
20489
20490 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20491
20492 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20493 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20494
20495 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20496
20497 * filenotify.el (file-notify--library): Rename from
20498 `file-notify-support'. Do not autoload. Adapt all uses.
20499 (file-notify-supported-p): New defun.
20500
20501 * autorevert.el (auto-revert-use-notify):
20502 Use `file-notify-supported-p' instead of `file-notify-support'.
20503 Adapt docstring.
20504 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20505
20506 * net/tramp.el (tramp-file-name-for-operation):
20507 Add `file-notify-supported-p'.
20508
20509 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20510 New defun.
20511 (tramp-sh-file-name-handler-alist): Add it as handler for
20512 `file-notify-supported-p '.
20513
20514 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20515 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20516 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20517 Add `ignore' as handler for `file-notify-*' functions.
20518
20519 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20520
20521 * simple.el (line-move-partial, line-move): Don't start vscroll or
20522 scroll-up if the current line is not taller than the window.
20523 (Bug#14881)
20524
20525 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20526
20527 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20528 highlight question marks in the method names as strings.
20529 (ruby-block-beg-keywords): Inline.
20530 (ruby-font-lock-keyword-beg-re): Extract from
20531 `ruby-font-lock-keywords'.
20532
20533 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20534
20535 * frame.el (blink-cursor-blinks): New defcustom.
20536 (blink-cursor-blinks-done): New defvar.
20537 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20538 (blink-cursor-timer-function): Check if number of blinks has been
20539 done on X and NS.
20540 (blink-cursor-suspend, blink-cursor-check): New defuns.
20541
20542 2013-07-15 Glenn Morris <rgm@gnu.org>
20543
20544 * edmacro.el (edmacro-format-keys): Fix previous change.
20545
20546 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20547
20548 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20549 The hack didn't work outside English locales anyway.
20550
20551 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20552
20553 * simple.el (define-alternatives): Rename from alternatives-define,
20554 per RMS' suggestion.
20555
20556 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20557
20558 * desktop.el (desktop-restore-frames): Change default to t.
20559 (desktop-restore-in-current-display): Now offer more options.
20560 (desktop-restoring-reuses-frames): New customization option.
20561 (desktop--saved-states): Doc fix.
20562 (desktop-filter-parameters-alist): New variable, renamed and expanded
20563 from desktop--excluded-frame-parameters.
20564 (desktop--target-display): New variable.
20565 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20566 (desktop--filter-tty*, desktop--filter-*-color)
20567 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20568 (desktop--filter-save-desktop-parm)
20569 (desktop-restore-in-original-display-p): New functions.
20570 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20571 (desktop--save-minibuffer-frames): New function, inspired by a similar
20572 function from Martin Rudalics.
20573 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20574 (desktop--restore-in-this-display-p): Remove.
20575 (desktop--find-frame): Rename from desktop--find-frame-in-display
20576 and add predicate argument.
20577 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20578 (desktop--reuse-list): New variable.
20579 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20580 New functions.
20581 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20582
20583 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20584
20585 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20586
20587 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20588
20589 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20590 Highlight conversion methods on Kernel.
20591
20592 2013-07-13 Alan Mackenzie <acm@muc.de>
20593
20594 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20595 and comment it out. This out-commenting enables certain C++
20596 declarations to be parsed correctly.
20597
20598 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20599
20600 * international/mule.el (define-coding-system): Doc fix.
20601
20602 * simple.el (default-font-height): Don't call font-info if the
20603 frame's default font didn't change since the frame was created.
20604 (Bug#14838)
20605
20606 2013-07-13 Leo Liu <sdl.web@gmail.com>
20607
20608 * ido.el (ido-read-file-name): Guard against non-symbol value.
20609
20610 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20611
20612 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20613 in nested defuns.
20614
20615 2013-07-13 Leo Liu <sdl.web@gmail.com>
20616
20617 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20618 ido-set-matches call. (Bug#6852)
20619
20620 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20621
20622 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20623 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20624 Ruby 2.0.
20625 (ruby-font-lock-keywords): Distinguish calls to functions with
20626 module-like names from module references. Highlight character
20627 literals.
20628
20629 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20630
20631 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20632 (gdb-send): Handle continued commands. (Bug#14847)
20633
20634 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20635
20636 * desktop.el (desktop--v2s): Remove unused local variable.
20637 (desktop-save-buffer): Make defvar-local; adjust docstring.
20638 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20639 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20640
20641 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20642
20643 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20644
20645 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20646
20647 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20648 (Bug#14842)
20649
20650 2013-07-12 Glenn Morris <rgm@gnu.org>
20651
20652 * doc-view.el: Require cl-lib at runtime too.
20653 (doc-view-remove-if): Remove.
20654 (doc-view-search-next-match, doc-view-search-previous-match):
20655 Use cl-remove-if.
20656
20657 * edmacro.el: Require cl-lib at runtime too.
20658 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20659 (edmacro-mismatch, edmacro-subseq): Remove.
20660
20661 * shadowfile.el: Require cl-lib.
20662 (shadow-remove-if): Remove.
20663 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20664 Use cl-remove-if.
20665
20666 * wid-edit.el: Require cl-lib.
20667 (widget-choose): Use cl-remove-if.
20668 (widget-remove-if): Remove.
20669
20670 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20671 (ebrowse-delete-if-not): Remove.
20672 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20673 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20674 Use cl-delete-if-not.
20675
20676 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20677
20678 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20679 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20680
20681 2013-07-12 Leo Liu <sdl.web@gmail.com>
20682
20683 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20684
20685 2013-07-11 Glenn Morris <rgm@gnu.org>
20686
20687 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20688 (edebug-gensym-index, edebug-gensym):
20689 Remove reimplementation of cl-gensym.
20690 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20691
20692 * thumbs.el: Require cl-lib at run-time too.
20693 (thumbs-gensym-counter, thumbs-gensym):
20694 Remove reimplementation of cl-gensym.
20695 (thumbs-temp-file): Use cl-gensym.
20696
20697 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20698 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20699 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20700 (ert--union, ert--gensym-counter, ert--gensym-counter)
20701 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20702 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20703 (ert-make-test-unbound, ert--expand-should-1)
20704 (ert--expand-should, ert--should-error-handle-error)
20705 (should-error, ert--explain-equal-rec)
20706 (ert--plist-difference-explanation, ert-select-tests)
20707 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20708 Use cl-lib functions rather than reimplementations.
20709
20710 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20711
20712 * net/tramp.el (tramp-methods): Extend docstring.
20713 (tramp-connection-timeout): New defcustom.
20714 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20715 (with-tramp-progress-reporter): Simplify.
20716 (tramp-process-actions): Improve messages.
20717
20718 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20719 * net/tramp-sh.el (tramp-maybe-open-connection):
20720 Use `tramp-connection-timeout'.
20721 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20722 (Bug#14808)
20723
20724 2013-07-11 Leo Liu <sdl.web@gmail.com>
20725
20726 * ido.el (ido-read-file-name): Conform to the requirements of
20727 read-file-name. (Bug#11861)
20728 (ido-read-directory-name): Conform to the requirements of
20729 read-directory-name.
20730
20731 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20732
20733 * subr.el (delay-warning): New function.
20734
20735 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20736
20737 * simple.el (default-line-height): New function.
20738 (line-move-partial, line-move): Use it instead of computing the
20739 line height inline.
20740 (line-move-partial): Always compute ROWH. If the last line is
20741 partially-visible, but its text is completely visible, allow
20742 cursor to enter such a partially-visible line.
20743
20744 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20745
20746 Improve error messages. (Bug#14808)
20747
20748 * net/tramp.el (tramp-current-connection): New defvar, moved from
20749 tramp-sh.el.
20750 (tramp-message-show-progress-reporter-message): Remove, not
20751 needed anymore.
20752 (tramp-error-with-buffer): Show message in minibuffer.
20753 Discard input before waiting. Reset connection timestamp.
20754 (with-tramp-progress-reporter): Improve messages.
20755 (tramp-process-actions): Use progress reporter. Delete process in
20756 case of error. Improve messages.
20757
20758 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20759 Call `tramp-error-with-buffer' with vector and buffer.
20760 (tramp-current-connection): Remove.
20761 (tramp-maybe-open-connection): The car of
20762 `tramp-current-connection' are the first 3 slots of the vector.
20763
20764 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20765
20766 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20767 inside continued strings.
20768
20769 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20770
20771 Timestamp fixes for undo (Bug#14824).
20772 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20773
20774 2013-07-10 Leo Liu <sdl.web@gmail.com>
20775
20776 * files.el (require-final-newline): Allow safe local value.
20777 (Bug#14834)
20778
20779 2013-07-09 Leo Liu <sdl.web@gmail.com>
20780
20781 * ido.el (ido-read-directory-name): Handle fallback.
20782 (ido-read-file-name): Update DIR to ido-current-directory.
20783 (Bug#1516)
20784 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20785
20786 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20787
20788 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20789 "autoload". Remove "warn lower camel case" section, previously
20790 commented out. Highlight negation char. Do not highlight the
20791 target in singleton method definitions.
20792
20793 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20794
20795 * faces.el (tty-setup-hook): Declare the hook.
20796
20797 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20798 and detect when a guard/pred depends on local vars (bug#14773).
20799 (pcase--u1): Adjust caller.
20800
20801 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20802
20803 * simple.el (line-move-partial, line-move): Account for
20804 line-spacing.
20805 (line-move-partial): Avoid setting vscroll when the last
20806 partially-visible line in window is of default height.
20807
20808 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20809
20810 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20811 been used a while.
20812
20813 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20814
20815 * subr.el (read-quoted-char): Remove unused local variable `char'.
20816
20817 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20818
20819 * vc/ediff.el (ediff-version): Version update.
20820 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20821 (ediff-merge-with-ancestor-command, ediff-directories-command)
20822 (ediff-directories3-command, ediff-merge-directories-command)
20823 (ediff-merge-directories-with-ancestor-command): New functions.
20824 All are command-line interfaces to ediff: to facilitate calling
20825 Emacs with the appropriate ediff functions invoked.
20826
20827 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20828 New function.
20829 (viper-save-kill-buffer): Check if buffer is modified.
20830
20831 * emulation/viper.el (viper-version): Version update.
20832 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20833
20834 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20835
20836 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20837 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20838 (viper-intercept-ESC-key): Simplify.
20839 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20840 don't use kbd.
20841 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20842 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20843 (viper-setup-ESC-to-escape): New functions.
20844 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20845 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
20846
20847 2013-07-07 Eli Zaretskii <eliz@gnu.org>
20848
20849 * simple.el (default-font-height, window-screen-lines):
20850 New functions.
20851 (line-move, line-move-partial): Use them instead of
20852 frame-char-height and window-text-height. This makes scrolling
20853 text smoother when the buffer's default face uses a font that is
20854 different from the frame's default font.
20855
20856 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
20857
20858 * files.el (write-file): Do not display confirm dialog for NS,
20859 it does its own dialog, which can't be canceled (Bug#14578).
20860
20861 2013-07-06 Eli Zaretskii <eliz@gnu.org>
20862
20863 * simple.el (line-move-partial): Adjust the row returned by
20864 posn-at-point for the current window-vscroll. (Bug#14567)
20865
20866 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
20867
20868 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20869 (tramp-sh-file-inotifywait-process-filter): Handle file names with
20870 spaces.
20871
20872 2013-07-06 Martin Rudalics <rudalics@gmx.at>
20873
20874 * window.el (window-state-put-stale-windows): New variable.
20875 (window--state-put-2): Save list of windows without matching buffer.
20876 (window-state-put): Remove "bufferless" windows if possible.
20877
20878 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20879
20880 * simple.el (alternatives-define): Remove leftover :group keyword.
20881 Tweak docstring.
20882
20883 2013-07-06 Leo Liu <sdl.web@gmail.com>
20884
20885 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20886 (ido-enable-virtual-buffers): New variable.
20887 (ido-buffer-internal, ido-toggle-virtual-buffers)
20888 (ido-make-buffer-list): Use it.
20889 (ido-exhibit): Support turning on and off virtual buffers
20890 automatically.
20891
20892 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * simple.el (alternatives-define): New macro.
20895
20896 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20897
20898 * subr.el (read-quoted-char): Use read-key.
20899 (sit-for): Let read-event decode tty input (bug#14782).
20900
20901 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
20902
20903 * calendar/todo-mode.el: Add handling of file deletion, both by
20904 mode command and externally. Fix various related bugs.
20905 Clarify Commentary and improve some documentation strings and code.
20906 (todo-delete-file): New command.
20907 (todo-check-file): New function.
20908 (todo-show): Handle external deletion of the file we're trying to
20909 show (bug#14688). Replace called-interactively-p by an optional
20910 prefix argument to avoid problematic interaction with catch form
20911 when byte compiled (bug#14702).
20912 (todo-quit): Handle external deletion of the archive's todo file.
20913 Make sure the buffer that was visiting the archive file is still
20914 live before trying to bury it.
20915 (todo-category-completions): Handle external deletion of any
20916 category completion files.
20917 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20918 of todo files, in case of external deletion.
20919 (todo-add-file): Replace unnecessary setq by let-binding.
20920 (todo-find-archive): Check whether there are any archives.
20921 Replace unnecessary setq by let-binding.
20922 (todo-archive-done-item): Use find-file-noselect to get the
20923 archive buffer whether or not the archive already exists.
20924 Remove superfluous code. Use file size instead of buffer-file-name to
20925 check if the archive is new; if it is, update list of archives.
20926 (todo-default-todo-file): Allow nil to be a valid value for when
20927 there are no todo files.
20928 (todo-reevaluate-default-file-defcustom): Use corrected definition
20929 of todo-default-todo-file.
20930 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20931 (todo-delete-category, todo-show-categories-table)
20932 (todo-category-number): Clarify comment.
20933 (todo-filter-items): Clarify documentation string.
20934 (todo-show-current-file, todo-display-as-todo-file)
20935 (todo-reset-and-enable-done-separator): Tweak documentation string.
20936 (todo-done-separator): Make separator length window-width, since
20937 bug#2749 is now fixed.
20938
20939 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
20940
20941 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20942 Support both "gvfs-monitor-dir" and "inotifywait".
20943 (tramp-sh-file-inotifywait-process-filter): Rename from
20944 `tramp-sh-file-notify-process-filter'.
20945 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20946 (tramp-get-remote-gvfs-monitor-dir): New defuns.
20947
20948 2013-07-05 Leo Liu <sdl.web@gmail.com>
20949
20950 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20951
20952 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20953
20954 * frame.el (display-pixel-height, display-pixel-width)
20955 (display-mm-height, display-mm-width): Mention behavior on
20956 multi-monitor setups in docstrings.
20957 (w32-display-monitor-attributes-list): Declare function.
20958 (display-monitor-attributes-list): Use it.
20959
20960 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
20961
20962 * filenotify.el: New package.
20963
20964 * autorevert.el (top): Require filenotify.el.
20965 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
20966 instead.
20967 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20968 (auto-revert-notify-handler): Use `file-notify-*' functions.
20969
20970 * subr.el (file-notify-handle-event): Move function to filenotify.el.
20971
20972 * net/tramp.el (tramp-file-name-for-operation):
20973 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20974
20975 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20976 for `file-notify-add-watch' and `file-notify-rm-watch'.
20977 (tramp-process-sentinel): Improve trace.
20978 (tramp-sh-handle-file-notify-add-watch)
20979 (tramp-sh-file-notify-process-filter)
20980 (tramp-sh-handle-file-notify-rm-watch)
20981 (tramp-get-remote-inotifywait): New defuns.
20982
20983 2013-07-03 Juri Linkov <juri@jurta.org>
20984
20985 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20986 call of `occur-read-primary-args' to interactive spec.
20987
20988 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20989 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
20990
20991 2013-07-03 Matthias Meulien <orontee@gmail.com>
20992
20993 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20994 `Buffer-menu-multi-occur'. Add it to the menu.
20995 (Buffer-menu-mode): Document it in docstring.
20996 (Buffer-menu-multi-occur): New command. (Bug#14673)
20997
20998 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20999
21000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21001 keywords and built-ins.
21002
21003 2013-07-03 Glenn Morris <rgm@gnu.org>
21004
21005 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21006
21007 Make info-xref checks case-sensitive by default
21008 * info.el (Info-find-node, Info-find-in-tag-table)
21009 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21010 Add option for exact case matching of nodes.
21011 * info-xref.el (info-xref): New custom group.
21012 (info-xref-case-fold): New option.
21013 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21014
21015 2013-07-03 Leo Liu <sdl.web@gmail.com>
21016
21017 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21018
21019 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21020
21021 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21022 middle of block statement initially, lower the depth. Remove
21023 FIXME comment, not longer valid. Remove middle of block statement
21024 detection, no need to do that anymore since we've been using
21025 `ruby-parse-region' here.
21026
21027 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21028
21029 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21030
21031 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21032
21033 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21034
21035 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21036
21037 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21038 (desktop-restore-in-current-display): New customization option.
21039 (desktop--excluded-frame-parameters): Add `font'.
21040 (desktop--save-frames): Rename from desktop--save-windows.
21041 (desktop--restore-in-this-display-p): New function.
21042 (desktop--make-full-frame): Remove unwanted width/height from
21043 full(width|height) frames.
21044 (desktop--restore-frames): Rename from desktop--restore-windows.
21045 Obey desktop-restore-current-display. Do not delete old frames or
21046 select a new frame unless we were able to restore at least one frame.
21047
21048 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21049
21050 * files.el (find-file-noselect): Simplify conditional expression.
21051
21052 * textmodes/remember.el (remember-append-to-file):
21053 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21054
21055 Add `remember-notes' function to store random notes across Emacs
21056 restarts.
21057 * textmodes/remember.el (remember-data-file): Add :set callback to
21058 affect notes buffer (if any).
21059 (remember-notes): New command.
21060 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21061 New defcustoms for the `remember-notes' function.
21062 (remember-notes-save-and-bury-buffer): New command.
21063 (remember-notes-mode-map): New variable.
21064 (remember-mode): New minor mode.
21065 (remember-notes--kill-buffer-query): New function.
21066 * startup.el (initial-buffer-choice): Add notes to custom type.
21067
21068 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21069
21070 * bindings.el (right-char, left-char): Don't call sit-for, this is
21071 no longer needed. Use arithmetic comparison only for numerical
21072 arguments.
21073
21074 * international/mule-cmds.el (select-safe-coding-system):
21075 Handle the case of FROM being a string correctly. (Bug#14755)
21076
21077 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21078
21079 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21080 progression on degenerate tables.
21081 (shr-rescale-image): ImageMagick animated images currently don't work.
21082
21083 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21084
21085 Some fixes and improvements for desktop frame restoration.
21086 It is still experimental and disabled by default.
21087 * desktop.el (desktop--save-windows): Put the selected frame at
21088 the head of the list.
21089 (desktop--make-full-frame): New function.
21090 (desktop--restore-windows): Try to re-select the frame that was
21091 selected upon saving. Do not abort if some frames fail to restore,
21092 just show an error message and continue. Set up maximized frames
21093 so they have default non-maximized dimensions.
21094
21095 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21096
21097 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21098 Don't start heredoc inside a string or comment.
21099
21100 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21101
21102 * bindings.el (visual-order-cursor-movement): New defcustom.
21103 (right-char, left-char): Provide visual-order cursor motion by
21104 calling move-point-visually. Update the doc strings.
21105
21106 2013-06-28 Kenichi Handa <handa@gnu.org>
21107
21108 * international/mule.el (define-coding-system): New coding system
21109 properties :inhibit-null-byte-detection,
21110 :inhibit-iso-escape-detection, and :prefer-utf-8.
21111 (set-buffer-file-coding-system): If :charset-list property of
21112 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21113 appropriate for setting.
21114
21115 * international/mule-cmds.el (select-safe-coding-system):
21116 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21117 multibyte characters, return utf-8 (or one of its siblings).
21118
21119 * international/mule-conf.el (prefer-utf-8): New coding system.
21120 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21121 files.
21122
21123 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21124
21125 * net/shr.el (shr-render-region): New function.
21126
21127 * net/eww.el: Autoload `eww-browse-url'.
21128
21129 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21130
21131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21132 Adapt to `package-desc-version' being a list.
21133 Use `package--ac-desc-version' to retrieve version from a package
21134 archive element.
21135
21136 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21137
21138 New experimental feature to save&restore window and frame setup.
21139 * desktop.el (desktop-save-windows): New defcustom.
21140 (desktop--saved-states): New var.
21141 (desktop--excluded-frame-parameters): New defconst.
21142 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21143 (desktop--restore-windows, desktop--save-windows): New functions.
21144 (desktop-save): Call `desktop--save-windows'.
21145 (desktop-read): Call `desktop--restore-windows'.
21146
21147 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21148
21149 * net/shr.el (add-face-text-property): Remove compat definition.
21150
21151 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21152
21153 * info.el (Info-try-follow-nearest-node): Move search for footnote
21154 above search for node name to prevent missing a footnote (bug#14717).
21155
21156 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21157
21158 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21159
21160 2013-06-27 Leo Liu <sdl.web@gmail.com>
21161
21162 * net/eww.el (eww-read-bookmarks): Check file size.
21163
21164 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21165
21166 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21167 advice--pending if newdef is nil or an autoload (bug#13820).
21168 (advice-mapc): New function.
21169
21170 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21171
21172 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21173 probably.
21174 (eww-mode-map): Add a menu bar.
21175 (eww-add-bookmark): New command.
21176 (eww-bookmark-mode): New mode and commands.
21177 (eww-add-bookmark): Remove newlines from the title.
21178 (eww-bookmark-browse): Don't bug out if it's the only window.
21179
21180 2013-06-26 Glenn Morris <rgm@gnu.org>
21181
21182 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21183 (hfy-size): Handle ttys. (Bug#14668)
21184
21185 * info-xref.el: Update for Texinfo 5 change in *note format.
21186 (info-xref-node-re, info-xref-note-re): New constants.
21187 (info-xref-check-buffer): Use info-xref-note-re.
21188
21189 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21192
21193 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21194 nil terminate the loop (bug#14718).
21195
21196 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21197
21198 * net/eww.el: Rework history traversal. When going forward/back,
21199 put these actions into the history, too, so that they can be
21200 replayed.
21201 (eww-render): Move the history reset to the correct buffer.
21202
21203 2013-06-25 Juri Linkov <juri@jurta.org>
21204
21205 * files-x.el (modify-dir-local-variable): Change the header comment
21206 in the file with directory local variables. (Bug#14692)
21207
21208 * files-x.el (read-file-local-variable-value): Add `default'.
21209 (Bug#14710)
21210
21211 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21212
21213 * net/eww.el (eww-make-unique-file-name): Create a unique file
21214 name before saving to entering `y' accidentally asynchronously.
21215
21216 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21217
21218 * net/eww.el (eww-download): New command and keystroke.
21219
21220 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21221
21222 * net/eww.el (eww-copy-page-url): Change name of command.
21223
21224 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21225 be more consistent with Info and dired.
21226
21227 * net/eww.el (eww-mode-map): Ditto.
21228
21229 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21230
21231 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21232 packages from archives.
21233 (package-archive-contents): Change format; include obsolete packages.
21234 (package-desc): Use `dir' to mark builtin packages.
21235 (package--from-builtin): Set the `dir' field to `builtin'.
21236 (generated-autoload-file, version-control): Declare.
21237 (package-compute-transaction): Change first arg and return value to be
21238 lists of package-descs. Adjust to new package-archive-contents format.
21239 (package--add-to-archive-contents): Adjust to new
21240 package-archive-contents format.
21241 (package-download-transaction): Arg is now a list of package-descs.
21242 (package-install): If `pkg' is a package name, pass it as
21243 a requirement, so it is subject to the usual (e.g. disabled) checks.
21244 (describe-package): Accept package-desc as well.
21245 (describe-package-1): Describe a specific package-desc. Add links to
21246 other package-descs for the same package name.
21247 (package-menu-describe-package): Pass the actual package-desc.
21248 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21249 works correctly.
21250 (package-desc-status): New function.
21251 (package-menu--refresh): New function, extracted
21252 from package-menu--generate.
21253 (package-menu--generate): Use it.
21254 (package-delete): Update package-alist.
21255 (package-menu-execute): Don't call package-initialize.
21256
21257 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21258 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21259 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21260 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21261 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21262 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21263
21264 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21265
21266 * window.el (window--state-get-1): Workaround for bug#14527.
21267 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21268
21269 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21270
21271 * net/eww.el (eww-back-url): Implement the history by stashing all
21272 the data into a list.
21273 (eww-forward-url): Allow going forward in the history, too.
21274
21275 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21276
21277 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21278 for values and use read--expression for expressions (bug#14710).
21279 (read-file-local-variable): Avoid setq.
21280 (read-file-local-variable-mode): Use minor-mode-list.
21281
21282 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21283
21284 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21285 for DOI URLs.
21286
21287 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21288
21289 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21290 Update imenu-support when dialect changes.
21291
21292 2013-06-25 Leo Liu <sdl.web@gmail.com>
21293
21294 * ido.el (ido-read-internal): Allow forward slash on windows.
21295
21296 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21297
21298 * net/eww.el (eww): Start of strings is \\`, not ^.
21299
21300 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21301
21302 * net/shr.el (shr-browse-url): Fix interactive spec.
21303
21304 * net/eww.el (eww): Add a trailing slash to domain names.
21305
21306 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21307
21308 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21309
21310 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21311
21312 * net/shr.el (shr-browse-url): Use an external browser if given a
21313 prefix.
21314
21315 * net/eww.el (eww-external-browser): Move to shr.
21316
21317 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21318
21319 * net/eww.el (eww): Work more correctly for file: URLs.
21320 (eww-detect-charset): Allow quoted charsets.
21321 (eww-yank-page-url): New command and keystroke.
21322
21323 2013-06-24 Daiki Ueno <ueno@gnu.org>
21324
21325 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21326 file name of gpg executable.
21327 (epg-context-program): New function.
21328 (epg-context-home-directory): New function.
21329 (epg-context-set-program): New function.
21330 (epg-context-set-home-directory): New function.
21331 (epg--start): Use `epg-context-program' instead of
21332 'epg-gpg-program'.
21333 (epg--list-keys-1): Likewise.
21334
21335 2013-06-24 Leo Liu <sdl.web@gmail.com>
21336
21337 * ido.el (ido-read-internal): Fix bug#14620.
21338
21339 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21340
21341 * faces.el (face-documentation): Simplify.
21342 (read-face-attribute, tty-find-type, x-resolve-font-name):
21343 Use `string-match-p'.
21344 (list-faces-display): Use `string-match-p'. Simplify.
21345 (face-spec-recalc): Check face to avoid face alias loops.
21346 (read-color): Use `string-match-p' and non-capturing parenthesis.
21347
21348 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21349
21350 * net/shr.el (shr-rescale-image): Use the new
21351 :max-width/:max-height functionality.
21352
21353 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21354
21355 * net/eww.el (eww-search-prefix): New variable.
21356 (eww): Use it.
21357 (eww-external-browser): New variable.
21358 (eww-mode-map): New keystroke.
21359 (eww-browse-with-external-browser): New command.
21360
21361 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21362
21363 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21364
21365 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21366 Don't skip aligning the next header field when padding is 0;
21367 otherwise, field width is not respected unless the title is as
21368 wide as the field.
21369
21370 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21371
21372 * emacs-lisp/package.el (package-el-version): Remove.
21373 (package-process-define-package): Fix inf-loop.
21374 (package-install): Allow symbols as arguments again.
21375
21376 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21377
21378 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21379 add some more keyword-like methods.
21380 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21381
21382 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21383
21384 * bs.el (bs-buffer-show-mark): Make defvar-local.
21385 (bs-mode): Use setq-local.
21386
21387 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21388 (emacs-lock--try-unlocking): Make defvar-local.
21389
21390 2013-06-22 Glenn Morris <rgm@gnu.org>
21391
21392 * play/cookie1.el (cookie-apropos): Minor simplification.
21393
21394 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21395
21396 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21397
21398 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21399 `regexp-opt', it breaks the build during dumping.
21400
21401 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21402
21403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21404 Highlight keyword-like methods on Kernel and Module with
21405 font-lock-builtin-face.
21406 (auto-mode-alist): Consolidate different entries into one regexp
21407 and add more *file-s.
21408
21409 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21410
21411 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21412
21413 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21414 (diary-entry): Use it in the action of this button type instead of
21415 diary-goto-entry.
21416
21417 * calendar/todo-mode.el: New version.
21418 (todo-add-category): Append new category to end of file and give
21419 it the highest number, instead of putting it at the beginning and
21420 giving it 0. Incorporate noninteractive functionality.
21421 (todo-forward-category): Adapt to 1-based category numbering.
21422 Allow skipping over archived categories.
21423 (todo-backward-category): Derive from todo-forward-category.
21424 (todo-backward-item, todo-forward-item): Make noninteractive and
21425 delegate interactive part to new commands. Make sensitive to done items.
21426 (todo-categories): Make value an alist of category names and
21427 vectors of item counts.
21428 (todo-category-beg): Make a defconst.
21429 (todo-category-number): Use 1 instead of 0 as initial value.
21430 (todo-category-select): Make sensitive to overlays, optional item
21431 highlighting and done items.
21432 (todo-delete-item): Make sensitive to overlays and marked and done items.
21433 (todo-edit-item): Make sensitive to overlays and editing of
21434 date/time header optional. Add format checks.
21435 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21436 no-op if point is not on an item. Advertise using todo-edit-quit.
21437 (todo-edit-mode): Make sensitive to new format, font-locking, and
21438 multiple todo files.
21439 (todo-insert-item, todo-insert-item-here): Derive from
21440 todo-basic-insert-item and extend functionality.
21441 (todo-item-end, todo-item-start): Make sensitive to done items.
21442 (todo-item-string): Don't return text properties. Restore point.
21443 (todo-jump-to-category): Make sensitive to multiple todo files and
21444 todo archives. Use extended category completion.
21445 (todo-lower-item, todo-raise-item): Rename to *-priority and
21446 derive from todo-set-item-priority.
21447 (todo-mode): Derive from special-mode. Make sensitive to new
21448 format, font-locking and multiple todo files. Make read-only.
21449 (todo-mode-map): Don't suppress digit keys, so they can supply
21450 prefix arguments. Add many new key bindings.
21451 (todo-prefix): Insert as an overlay instead of file text.
21452 Change semantics from diary date expression to purely visual mark.
21453 (todo-print): Rename to todo-print-buffer. Make buffer display
21454 features printable. Remove option to restrict number of items
21455 printed. Add option to print to file.
21456 (todo-print-function): Rename to todo-print-buffer-function.
21457 (todo-quit): Extend to handle exiting new todo modes.
21458 (todo-remove-item): Make sensitive to overlays.
21459 (todo-save): Extend to buffers of filtered items.
21460 (todo-show): Make sensitive to done items, multiple todo files and
21461 new todo modes. Offer to convert legacy todo file before creating
21462 first new todo file.
21463 (todo-show-priorities): Rename to todo-top-priorities.
21464 Change semantics of value 0.
21465 (todo-top-priorities): Rename to todo-filter-top-priorities,
21466 derive from todo-filter-items and extend functionality.
21467 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21468 and extend functionality to other types of filtered items.
21469 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21470 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21471 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21472 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21473 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21474 (todo-edit-mode-hook, todo-entry-prefix-function)
21475 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21476 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21477 (todo-initials, todo-insert-threshold, todo-item-string-start)
21478 (todo-line-string, todo-menu, todo-mode-hook)
21479 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21480 (todo-print-priorities, todo-remove-separator)
21481 (todo-save-top-priorities-too, todo-string-count-lines)
21482 (todo-string-multiline-p, todo-time-string-format)
21483 (todo-tmp-buffer-name): Remove.
21484 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21485 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21486 (todo-edit-category-diary-inclusion)
21487 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21488 (todo-edit-file, todo-edit-item-date-day)
21489 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21490 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21491 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21492 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21493 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21494 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21495 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21496 (todo-filter-top-priorities-multifile, todo-find-archive)
21497 (todo-find-filtered-items-file, todo-go-to-source-item)
21498 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21499 (todo-jump-to-archive-category, todo-lower-category)
21500 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21501 (todo-move-category, todo-move-item, todo-next-button)
21502 (todo-next-item, todo-padded-string, todo-powerset)
21503 (todo-previous-button, todo-previous-item)
21504 (todo-print-buffer-to-file, todo-raise-category)
21505 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21506 (todo-set-category-number, todo-set-item-priority)
21507 (todo-set-top-priorities-in-category)
21508 (todo-set-top-priorities-in-file, todo-show-categories-table)
21509 (todo-sort-categories-alphabetically-or-numerically)
21510 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21511 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21512 (todo-toggle-item-header, todo-toggle-item-highlighting)
21513 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21514 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21515 (todo-unarchive-items, todo-unmark-category): New commands.
21516 (todo-absolute-file-name, todo-add-to-buffer-list)
21517 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21518 (todo-basic-insert-item, todo-category-completions)
21519 (todo-category-number, todo-category-string-matcher-1)
21520 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21521 (todo-check-format, todo-clear-matches)
21522 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21523 (todo-current-category, todo-date-string-matcher)
21524 (todo-define-insertion-command, todo-diary-expired-matcher)
21525 (todo-diary-goto-entry, todo-diary-item-p)
21526 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21527 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21528 (todo-done-item-section-p, todo-done-separator)
21529 (todo-done-string-matcher, todo-files, todo-filter-items)
21530 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21531 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21532 (todo-insert-category-line, todo-insert-item-from-calendar)
21533 (todo-insert-sort-button, todo-insert-with-overlays)
21534 (todo-insertion-command-name, todo-insertion-key-bindings)
21535 (todo-label-to-key, todo-longest-category-name-length)
21536 (todo-make-categories-list, todo-mode-external-set)
21537 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21538 (todo-modes-set-3, todo-multiple-filter-files)
21539 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21540 (todo-read-category, todo-read-date, todo-read-dayname)
21541 (todo-read-file-name, todo-read-time)
21542 (todo-reevaluate-category-completions-files-defcustom)
21543 (todo-reevaluate-default-file-defcustom)
21544 (todo-reevaluate-filelist-defcustoms)
21545 (todo-reevaluate-filter-files-defcustom)
21546 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21547 (todo-reset-done-separator, todo-reset-done-separator-string)
21548 (todo-reset-done-string, todo-reset-global-current-todo-file)
21549 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21550 (todo-reset-prefix, todo-set-categories)
21551 (todo-set-date-from-calendar, todo-set-show-current-file)
21552 (todo-set-top-priorities, todo-short-file-name)
21553 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21554 (todo-total-item-counts, todo-update-buffer-list)
21555 (todo-update-categories-display, todo-update-categories-sexp)
21556 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21557 New functions.
21558 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21559 New major modes.
21560 (todo-categories, todo-display, todo-edit, todo-faces)
21561 (todo-filtered): New defgroups.
21562 (todo-archived-only, todo-button, todo-category-string, todo-date)
21563 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21564 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21565 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21566 (todo-add-item-if-new-category, todo-always-add-time-string)
21567 (todo-categories-align, todo-categories-archived-label)
21568 (todo-categories-category-label, todo-categories-diary-label)
21569 (todo-categories-done-label, todo-categories-number-separator)
21570 (todo-categories-todo-label, todo-categories-totals-label)
21571 (todo-category-completions-files, todo-completion-ignore-case)
21572 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21573 (todo-done-separator-string, todo-done-string)
21574 (todo-files-function, todo-filter-done-items, todo-filter-files)
21575 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21576 (todo-initial-category, todo-initial-file, todo-item-mark)
21577 (todo-legacy-date-time-regexp, todo-mode-line-function)
21578 (todo-nondiary-marker, todo-number-prefix)
21579 (todo-print-buffer-function, todo-show-current-file)
21580 (todo-show-done-only, todo-show-first, todo-show-with-done)
21581 (todo-skip-archived-categories, todo-top-priorities-overrides)
21582 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21583 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21584 New defcustoms.
21585 (todo-category-done, todo-date-pattern, todo-date-string-start)
21586 (todo-diary-items-buffer, todo-done-string-start)
21587 (todo-filtered-items-buffer, todo-item-start)
21588 (todo-month-abbrev-array, todo-month-name-array)
21589 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21590 (todo-top-priorities-buffer): New defconsts.
21591 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21592 (todo-categories-with-marks, todo-category-string-face)
21593 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21594 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21595 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21596 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21597 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21598 (todo-font-lock-keywords, todo-global-current-todo-file)
21599 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21600 (todo-insertion-commands-args)
21601 (todo-insertion-commands-args-genlist)
21602 (todo-insertion-commands-names, todo-insertion-map)
21603 (todo-key-bindings-t, todo-key-bindings-t+a)
21604 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21605 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21606 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21607 (todo-visited): New variables.
21608
21609 2013-06-21 Glenn Morris <rgm@gnu.org>
21610
21611 * play/cookie1.el (cookie-apropos): Add optional display argument.
21612 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21613 (psychoanalyze-pinhead): Use cookie-doctor.
21614
21615 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21616
21617 * emacs-lisp/package.el (tar-get-file-descriptor)
21618 (tar--extract): Declare.
21619
21620 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21621
21622 Extend flymake's warning predicate to be a function (bug#14217).
21623 * progmodes/flymake.el (flymake-warning-predicate): New.
21624 (flymake-parse-line): Use it.
21625 (flymake-warning-re): Make obsolete alias to
21626 `flymake-warning-predicate'.
21627
21628 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21629
21630 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21631 (package-obsolete-list): Remove.
21632 (package-activate): Remove min-version argument. Add `force' argument.
21633 Adjust to new package-alist format.
21634 (package-mark-obsolete): Remove.
21635 (package-unpack): Force reload of the package's autoloads.
21636 (package-installed-p): Check builtins if the installed package is not
21637 recent enough.
21638 (package-initialize): Don't reset package-obsolete-list.
21639 Don't specify which package version to activate.
21640 (package-process-define-package, describe-package-1)
21641 (package-menu--generate): Adjust to new package-alist format.
21642
21643 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21644
21645 * allout-widgets.el (allout-widgets-mode-off)
21646 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21647 (allout-widgets-post-command-business)
21648 (allout-widgets-after-copy-or-kill-function)
21649 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21650 (allout-decorate-item-and-context)
21651 (allout-graphics-modification-handler): Fix typos in docstrings.
21652 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21653
21654 * cmuscheme.el (scheme-start-file): Doc fix.
21655 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21656 (scheme-input-filter): Use `string-match-p'.
21657
21658 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21659
21660 * dired-x.el: Use Dired consistently in docstrings.
21661
21662 * dired.el: Use Dired consistently in docstrings.
21663 (dired-readin, dired-mode): Use `setq-local'.
21664 (dired-switches-alist): Make defvar-local.
21665 (dired-buffers-for-dir): Use `zerop'.
21666 (dired-safe-switches-p, dired-switches-escape-p)
21667 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21668 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21669 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21670 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21671 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21672 (dired-toggle-marks, dired-mark-files-containing-regexp)
21673 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21674 (dired-flag-auto-save-files, dired-flag-backup-files):
21675 Use `looking-at-p'.
21676 (dired-mark-files-regexp, dired-build-subdir-alist):
21677 Use `string-match-p', `looking-at-p'.
21678
21679 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21680 (direct-print-region-helper): Use `string-match-p'.
21681
21682 2013-06-21 Leo Liu <sdl.web@gmail.com>
21683
21684 * comint.el (comint-redirect-results-list-from-process):
21685 Fix infinite loop.
21686
21687 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * net/eww.el (eww-update-header-line-format): Quote % characters.
21690
21691 2013-06-21 Glenn Morris <rgm@gnu.org>
21692
21693 * play/cookie1.el (cookie): New custom group.
21694 (cookie-file): New option.
21695 (cookie-check-file): New function.
21696 (cookie): Make it interactive. Make start and end messages optional.
21697 Interactively, display the result. Default to cookie-file.
21698 (cookie-insert): Default to cookie-file.
21699 (cookie-snarf): Make start and end messages optional.
21700 Default to cookie-file. Use with-temp-buffer.
21701 (cookie-read): Rename from read-cookie.
21702 Make start and end messages optional. Default to cookie-file.
21703 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21704 Do not autoload it.
21705 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21706 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21707
21708 2013-06-21 Leo Liu <sdl.web@gmail.com>
21709
21710 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21711
21712 2013-06-21 Glenn Morris <rgm@gnu.org>
21713
21714 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21715
21716 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21717 Daniel Hackney <dan@haxney.org>
21718
21719 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21720 Consolidate the single-file vs tarball code.
21721 (package-desc-suffix): New function.
21722 (package-desc-full-name): Don't bother inlining it.
21723 (package-load-descriptor): Return the new package-desc.
21724 (package-mark-obsolete): Remove unused arg `package'.
21725 (package-unpack): Make it work for single files as well.
21726 Make it update package-alist.
21727 (package--make-autoloads-and-stuff): Rename from
21728 package--make-autoloads-and-compile. Don't compile any more.
21729 (package--compile): New function.
21730 (package-generate-description-file): New function, extracted from
21731 package-unpack-single.
21732 (package-unpack-single): Remove.
21733 (package--with-work-buffer): Add indentation and debugging info.
21734 (package-download-single): Remove.
21735 (package-install-from-archive): Rename from package-download-tar, make
21736 it take a pkg-desc, and make it work for single files as well.
21737 (package-download-transaction): Simplify.
21738 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21739 external tar program.
21740 (package-install-from-buffer): Remove `pkg-desc' argument.
21741 Use package-tar-file-info for tar-mode buffers.
21742 (package-install-file): Simplify accordingly.
21743 (package-archive-base): Change to take a pkg-desc.
21744 * tar-mode.el (tar--check-descriptor): New function, extracted from
21745 tar-get-descriptor.
21746 (tar-get-descriptor): Use it.
21747 (tar-get-file-descriptor): New function.
21748 (tar--extract): New function, extracted from tar-extract.
21749 (tar--extract): Use it.
21750 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21751 case the summary uses non-ascii. Adjust to new calling convention of
21752 package-tar-file-info.
21753
21754 2013-06-21 Leo Liu <sdl.web@gmail.com>
21755
21756 * comint.el (comint-redirect-results-list-from-process):
21757 Fix random delay. (Bug#14681)
21758
21759 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21760
21761 * profiler.el (profiler-format-number): Use log, not log10.
21762
21763 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21764
21765 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21766
21767 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21768
21769 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21770 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21771 yet available.
21772 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21773 (AUTOGENEL): ... here.
21774 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21775 (cl--defsubst-expand): Use it.
21776
21777 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21778
21779 * subr.el (log10): Move here from C code, and declare as obsolete.
21780 All uses of (log10 X) replaced with (log X 10).
21781
21782 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21783
21784 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21785 Declare with `defvar-local'.
21786 (tabulated-list-use-header-line, tabulated-list-entries)
21787 (tabulated-list-padding, tabulated-list-printer)
21788 (tabulated-list-sort-key): Declare with `defvar-local'.
21789 (tabulated-list-init-header, tabulated-list-print-fake-header):
21790 Use `setq-local'.
21791
21792 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21793
21794 * arc-mode.el (archive-mode): Add `archive-write-file' to
21795 `write-contents-functions' also for remote files. (Bug#14652)
21796
21797 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21798
21799 * cus-edit.el (custom-commands): Fix typos.
21800 (custom-display): Fix tooltip text.
21801 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21802 Fix typos in docstrings.
21803 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21804 (custom-unlispify-menu-entry, custom-magic-value-create)
21805 (custom-add-see-also, custom-group-value-create): Use ?\s.
21806 (custom-guess-type, customize-apropos, editable-field)
21807 (custom-face-value-create): Use `string-match-p'.
21808 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21809
21810 * custom.el (custom-load-symbol): Use `string-match-p'.
21811
21812 * ansi-color.el: Convert to lexical binding.
21813 (ansi-colors): Fix URL.
21814 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21815 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21816 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21817
21818 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21819
21820 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21821
21822 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21823
21824 2013-06-19 Tom Tromey <tromey@redhat.com>
21825
21826 * net/eww.el (eww-top-url): Remove.
21827 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21828 (eww-render): Set new variables. Don't set eww-top-url.
21829 (eww-handle-link): Handle "prev", "home", and "contents".
21830 Downcase the rel text.
21831 (eww-top-url): Choose best top URL.
21832
21833 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21834
21835 * net/eww.el: Rewrite to implement form elements "by hand" instead of
21836 relying in widget.el. Using widget.el leads to too many
21837 user interface inconsistencies.
21838 (eww-self-insert): Implement entering commands in text fields.
21839 (eww-process-text-input): New function to make text input field editing
21840 work.
21841 (eww-submit): Rewrite to use the new-style form methods.
21842 (eww-select-display): Display the correct selected item.
21843 (eww-change-select): Implement changing the select value.
21844 (eww-toggle-checkbox): Implement radio/checkboxes.
21845 (eww-update-field): Fix compilation error.
21846 (eww-tag-textarea): Implement <textarea>.
21847
21848 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21849 we don't shadow mode-specific bindings.
21850
21851 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21852 nothing to push.
21853
21854 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21855
21856 2013-06-19 Glenn Morris <rgm@gnu.org>
21857
21858 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21859
21860 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21861
21862 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21863 not needed.
21864
21865 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21866
21867 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21868
21869 * net/browse-url.el (browse-url-browser-function):
21870 `eww-browse-url' has the right calling signature, `eww' does not.
21871
21872 2013-06-19 Glenn Morris <rgm@gnu.org>
21873
21874 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21875 Only eval autoloaded macros.
21876 (byte-compile-autoload): Only give the macro warning for macros.
21877
21878 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21879 (ps-underlined-faces): Declare.
21880
21881 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21882 (speedbar-add-supported-extension): Declare.
21883
21884 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21885 Don't include a date stamp in the header of the generated file;
21886 it leads to needless differences between output files.
21887
21888 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21889
21890 * net/secrets.el (secrets-struct-secret-content-type):
21891 Replace check of introspection data by a test call of "CreateItem".
21892 Some servers do not offer introspection.
21893
21894 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21895
21896 * electric.el (electric-pair-mode): Improve interaction with
21897 electric-layout-mode.
21898 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21899 (electric-pair-syntax): Use text-mode-syntax-table in comments
21900 and strings.
21901 (electric-pair--insert): New function.
21902 (electric-pair-post-self-insert-function): Use it and
21903 electric--after-char-pos.
21904
21905 2013-06-19 Leo Liu <sdl.web@gmail.com>
21906
21907 * progmodes/octave.el (octave-help): Fix regexp.
21908
21909 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21910
21911 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21912 (shr-table-horizontal-line): Allow nil as a value, and change the
21913 default.
21914 (shr-insert-table-ruler): Respect the nil value.
21915
21916 2013-06-18 Tom Tromey <tromey@barimba>
21917
21918 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21919 New defvars.
21920 (eww-open-file): New defun.
21921 (eww-render): Initialize new variables.
21922 (eww-display-html): Handle "link" and "a".
21923 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21924 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
21925 (eww-back-url): Rename from eww-previous-url.
21926 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21927 New defuns.
21928
21929 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
21930
21931 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21932 Distinguish ternary operator tokens from slash symbol and slash
21933 char literal.
21934
21935 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21936
21937 Convert symbol prettification into minor mode and global minor mode.
21938
21939 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21940 `prog-prettify-symbols', and make a local defvar instead of defcustom.
21941 (prettify-symbols--keywords): Rename from
21942 `prog-prettify-symbols-alist' and make a local defvar.
21943 (prettify-symbols--compose-symbol): Rename from
21944 `prog--prettify-font-lock-compose-symbol'.
21945 (prettify-symbols--make-keywords): Rename from
21946 `prog-prettify-font-lock-symbols-keywords' and simplify.
21947 (prog-prettify-install): Remove.
21948 (prettify-symbols-mode): New minor mode, based on
21949 `prog-prettify-install'.
21950 (turn-on-prettify-symbols-mode): New function.
21951 (global-prettify-symbols-mode): New globalized minor mode.
21952
21953 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21954 * progmodes/cfengine.el (cfengine3-mode):
21955 * progmodes/perl-mode.el (perl-mode): Don't call
21956 `prog-prettify-install'; set `prettify-symbols-alist' instead.
21957
21958 2013-06-18 Juri Linkov <juri@jurta.org>
21959
21960 * files-x.el (modify-file-local-variable-message): New function.
21961 (modify-file-local-variable)
21962 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21963 and call `modify-file-local-variable-message' when it's non-nil.
21964 (add-file-local-variable, delete-file-local-variable)
21965 (add-file-local-variable-prop-line)
21966 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21967 and use it. (Bug#9820)
21968
21969 2013-06-18 Juri Linkov <juri@jurta.org>
21970
21971 * emulation/vi.el (vi-shell-op):
21972 * emulation/vip.el (vip-execute-com, ex-command):
21973 * emulation/viper-cmd.el (viper-exec-bang):
21974 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21975 the call of `shell-command-on-region'. (Bug#14637)
21976
21977 * simple.el (shell-command-on-region): Doc fix.
21978
21979 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21980
21981 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21982 (bug#14633).
21983
21984 2013-06-18 Glenn Morris <rgm@gnu.org>
21985
21986 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21987
21988 * newcomment.el (comment-search-forward, comment-search-backward):
21989 Doc fix. (Bug#14376)
21990
21991 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21992
21993 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21994 (buffer-face-mode-invoke): Doc fix.
21995
21996 2013-06-18 Matthias Meulien <orontee@gmail.com>
21997
21998 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21999 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22000
22001 2013-06-18 Glenn Morris <rgm@gnu.org>
22002
22003 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22004 Replace obsolete function generic-make-keywords with its expansion.
22005
22006 * progmodes/python.el (ffap-alist): Declare.
22007
22008 * textmodes/reftex.el (bibtex-mode-map): Declare.
22009
22010 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22011
22012 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22013 (package-unpack, package-unpack-single): Return the pkg-dir.
22014 (package-download-transaction): Use it to update package-alist.
22015
22016 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22017
22018 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22019 possible choice.
22020
22021 2013-06-17 Juri Linkov <juri@jurta.org>
22022
22023 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22024
22025 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22026
22027 * emacs-lisp/package.el (package-load-descriptor):
22028 Remove `with-syntax-table' call, `read' doesn't need it.
22029 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22030
22031 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22032
22033 * startup.el (command-line): Expand package name returned by
22034 `package--description-file' (bug#14639).
22035
22036 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22037
22038 * emacs-lisp/package.el (package-load-descriptor): Do not call
22039 `emacs-lisp-mode', just use its syntax table.
22040
22041 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22042
22043 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22044 `font-lock-extra-managed-props' if any prettifying keyword is added.
22045 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22046 (prog-mode): Use `setq-local'.
22047
22048 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22049
22050 * international/characters.el (standard-case-table): Set syntax of ?»
22051 and ?« to punctuation.
22052
22053 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22054
22055 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22056 Save relevant match data before calling `syntax-ppss' (bug#14595).
22057
22058 2013-06-15 Juri Linkov <juri@jurta.org>
22059
22060 * files-x.el (modify-file-local-variable-prop-line): Add local
22061 variables to the end of the existing comment on the first line.
22062 Use `file-auto-mode-skip' to skip interpreter magic line,
22063 and also skip XML declaration.
22064
22065 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22066
22067 * startup.el (package--builtin-versions): New var.
22068 (package-subdirectory-regexp): Remove.
22069 (package--description-file): Hard code its value instead.
22070
22071 * emacs-lisp/package.el: Don't activate packages older than builtin.
22072 (package-obsolete-list): Rename from package-obsolete-alist, and make
22073 it into a simple list of package-desc.
22074 (package-strip-version): Remove.
22075 (package-built-in-p): Use package--builtin-versions.
22076 (package-mark-obsolete): Simplify.
22077 (package-process-define-package): Mark it obsolete if older than the
22078 builtin version.
22079 (package-handle-response): Use line-end-position.
22080 (package-read-archive-contents, package--download-one-archive):
22081 Simplify.
22082 (package--add-to-archive-contents): Skip if older than the builtin or
22083 installed version.
22084 (package-menu-describe-package): Fix last change.
22085 (package-list-unversioned): New var.
22086 (package-menu--generate): Use it.
22087
22088 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22089 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22090 (autoload-builtin-package-versions): New variable.
22091 (autoload-generate-file-autoloads): Use them.
22092 Remove the list of autoloaded functions/macros from the
22093 (autoload...) comments.
22094
22095 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22096
22097 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22098
22099 * simple.el (line-move-partial): Don't jump to the next screen
22100 line as soon as it becomes visible. Instead, continue enlarging
22101 the vscroll until the portion of a tall screen line that's left on
22102 display is about the height of the frame's default font.
22103 (Bug#14567)
22104
22105 2013-06-15 Glenn Morris <rgm@gnu.org>
22106
22107 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22108 compilation-error-regexp-alist void, or local while let-bound.
22109
22110 * progmodes/make-mode.el (makefile-mode-syntax-table):
22111 Treat "=" as punctuation. (Bug#14614)
22112
22113 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22114
22115 * help-fns.el (describe-variable):
22116 Add extra line for permanent-local variables.
22117
22118 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22119
22120 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22121 Add export, import, library. (Bug#9164)
22122 (library): Set indent function.
22123
22124 2013-06-14 Glenn Morris <rgm@gnu.org>
22125
22126 * term/xterm.el (xterm--query):
22127 Stop after first matching handler. (Bug#14615)
22128
22129 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22130
22131 Add support for dired in saveplace.
22132 * dired.el (dired-initial-position-hook): New variable.
22133 (dired-initial-position): Call hook to place cursor position.
22134 * saveplace.el (save-place-to-alist): Add dired position.
22135 (save-place-dired-hook): New function.
22136
22137 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22138
22139 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22140 through a symbol rather than letrec.
22141
22142 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22143 (package-desc): Add `dir' field.
22144 (package-desc-full-name): New function.
22145 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22146 (package-maybe-load-descriptor): Remove.
22147 (package-load-all-descriptors): Just call package-load-descriptor.
22148 (package--disabled-p): New function.
22149 (package-desc-vers, package-desc-doc): Remove aliases.
22150 (package--dir): Remove function.
22151 (package-activate): Check if a package is disabled.
22152 (package-process-define-package): New function, extracted from
22153 define-package.
22154 (define-package): Turn into a place holder.
22155 (package-unpack-single, package-tar-file-info):
22156 Use package--description-file.
22157 (package-compute-transaction): Use package--disabled-p.
22158 (package-download-transaction): Don't call
22159 package-maybe-load-descriptor since they're all loaded anyway.
22160 (package-install): Change argument to be a pkg-desc.
22161 (package-delete): Use a single pkg-desc argument.
22162 (describe-package-1): Use package-desc-dir instead of package--dir.
22163 Use package-desc property instead of package-symbol.
22164 (package-install-button-action): Adjust accordingly.
22165 (package--push): Rewrite.
22166 (package-menu--print-info): Adjust accordingly. Change the ID format
22167 to be a pkg-desc.
22168 (package-menu-describe-package, package-menu-get-status)
22169 (package-menu--find-upgrades, package-menu-mark-upgrades)
22170 (package-menu-execute, package-menu--name-predicate):
22171 Adjust accordingly.
22172 * startup.el (package--description-file): New function.
22173 (command-line): Use it.
22174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22175 Use package-desc-version.
22176
22177 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22178 (byte-compile-preprocess): Use it.
22179 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22180 can't quite recognize.
22181 (byte-compile-add-to-list): Remove.
22182 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22183 (cconv-closure-convert): Add assertion.
22184
22185 * emacs-lisp/map-ynp.el: Use lexical-binding.
22186 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22187 Factor out some repeated code.
22188
22189 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22190
22191 * subr.el (with-eval-after-load): New macro.
22192 (eval-after-load): Allow form to be a function.
22193 take advantage of lexical-binding.
22194 (do-after-load-evaluation): Use dolist and adjust to new format.
22195 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22196
22197 2013-06-13 Juri Linkov <juri@jurta.org>
22198
22199 * replace.el (perform-replace): Display "symbol " and other search
22200 modes from `isearch-message-prefix' in the *Help* buffer.
22201
22202 * isearch.el (isearch-query-replace): Add " symbol" and other
22203 possible search modes from `isearch-message-prefix' to the prompt.
22204 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22205 when reading a regexp to collect.
22206
22207 2013-06-13 Juri Linkov <juri@jurta.org>
22208
22209 * isearch.el (word-search-regexp): Match whitespace if the search
22210 string begins or ends in whitespace. The LAX arg is applied to
22211 both ends of the search string. Use `regexp-quote' and explicit
22212 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22213 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22214 boundaries are replaced with symbol boundaries, and characters
22215 between symbols match non-word non-symbol syntax. (Bug#14602)
22216
22217 2013-06-13 Juri Linkov <juri@jurta.org>
22218
22219 * isearch.el (isearch-del-char): Don't exceed the length of
22220 `isearch-string' by the prefix arg. (Bug#14563)
22221
22222 2013-06-13 Juri Linkov <juri@jurta.org>
22223
22224 * isearch.el (isearch-yank-word, isearch-yank-line)
22225 (isearch-char-by-name, isearch-quote-char)
22226 (isearch-printing-char, isearch-process-search-char):
22227 Add optional count prefix arg. (Bug#14563)
22228
22229 * international/isearch-x.el
22230 (isearch-process-search-multibyte-characters):
22231 Add optional count prefix arg.
22232
22233 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22234
22235 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22236 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22237 lexical-binding.
22238
22239 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22240
22241 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22242
22243 2013-06-13 Glenn Morris <rgm@gnu.org>
22244
22245 * startup.el (tty-handle-args):
22246 Don't just discard "--" and anything after. (Bug#14608)
22247
22248 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22249
22250 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22251
22252 Implement changes in Secret Service API. Make it backward compatible.
22253 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22254 (secrets-create-item): Use it. Prefix properties with interface.
22255
22256 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22257
22258 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22259 (term-emulate-terminal): Respect term-suppress-hard-newline.
22260
22261 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22262
22263 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22264 Only remove a `thumb-file' overlay. (Bug#14548)
22265
22266 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22267
22268 * mail/reporter.el (reporter-submit-bug-report):
22269 Handle missing package-name. (Bug#14600)
22270
22271 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22272
22273 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22274 (reftex-citation-prompt, reftex-default-bibliography)
22275 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22276 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22277 (reftex-bib-sort-author, reftex-bib-sort-year)
22278 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22279 (reftex-extract-bib-entries-from-thebibliography)
22280 (reftex-get-bibkey-default, reftex-get-bib-names)
22281 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22282 (reftex-format-bib-entry, reftex-parse-bibitem)
22283 (reftex-format-bibitem, reftex-do-citation)
22284 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22285 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22286 (reftex-insert-bib-matches, reftex-format-citation)
22287 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22288 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22289 existing comments into docstrings.
22290
22291 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22292
22293 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22294
22295 2013-06-12 Andreas Schwab <schwab@suse.de>
22296
22297 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22298 for auto-save files.
22299
22300 2013-06-12 Glenn Morris <rgm@gnu.org>
22301
22302 * ido.el (ido-delete-ignored-files): Remove.
22303 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22304 Go back to calling ido-ignore-item-p directly.
22305
22306 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22307
22308 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22309
22310 * ido.el (ido-delete-ignored-files): New function,
22311 split from ido-make-file-list-1.
22312 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22313 (ido-make-file-list-1): Use ido-delete-ignored-files.
22314
22315 2013-06-12 Leo Liu <sdl.web@gmail.com>
22316
22317 * progmodes/octave.el (inferior-octave-startup)
22318 (inferior-octave-completion-table)
22319 (inferior-octave-track-window-width-change)
22320 (octave-eldoc-function-signatures, octave-help)
22321 (octave-find-definition): Use single quoted strings.
22322 (inferior-octave-startup-args): Change default value.
22323 (inferior-octave-startup): Do not hard code "-i" and
22324 "--no-line-editing".
22325 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22326 (inferior-octave-directory-tracker): Use it.
22327 (octave-goto-function-definition): Robustify.
22328 (octave-help): Support highlighting operators in 'See also'.
22329 (octave-find-definition): Find subfunctions only in Octave mode.
22330
22331 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22332
22333 * help-fns.el (help-fns--compiler-macro): If the handler function is
22334 named, then put a link to it.
22335 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22336 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22337 (cl-typep): Use it.
22338 (cl-eval-when): Simplify debug spec.
22339 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22340 compiler-macro function instead of setting `compiler-macro-file'.
22341
22342 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22343
22344 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22345 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22346
22347 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22348 Daniel Hackney <dan@haxney.org>
22349
22350 First part of Daniel Hackney's patch to package.el.
22351 * emacs-lisp/package.el: Use defstruct.
22352 (package-desc): New, main struct.
22353 (package--bi-desc, package--ac-desc): New structs, used to describe the
22354 format in external files.
22355 (package-desc-vers): Replace with package-desc-version accessor.
22356 (package-desc-doc): Replace with package-desc-summary accessor.
22357 (package-activate-1): Remove `package' arg since the pkg-vec now
22358 includes the name.
22359 (define-package): Use package-desc-from-define.
22360 (package-unpack-single): Change file-name arg to be a symbol.
22361 (package--add-to-archive-contents): Use package-desc-create and new
22362 accessor functions to package--ac-desc.
22363 (package-buffer-info, package-tar-file-info): Return a package-desc.
22364 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22365 arg to be a package-desc.
22366 (package-install-file): Adjust accordingly. Use \' to match EOS.
22367 (package--from-builtin): New function.
22368 (describe-package-1, package-menu--generate): Use it.
22369 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22370 (package-generate-autoloads): Idem and return the name of the file.
22371 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22372 Change pkg-info arg to be a package-desc.
22373 Use package-make-ac-desc.
22374 (package-upload-file): Use \' to match EOS.
22375 * finder.el (finder-compile-keywords): Use package-make-builtin.
22376
22377 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22378
22379 * vc/vc.el (vc-deduce-fileset): Change error message.
22380 (vc-read-backend): New function.
22381 (vc-next-action): Use it.
22382
22383 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22384
22385 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22386 (prolog-font-lock-keywords): Use regexp-opt instead.
22387 Don't manually highlight strings.
22388 (prolog-mode-variables): Simplify comment-start-skip.
22389 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22390
22391 * emacs-lisp/generic.el (generic--normalise-comments)
22392 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22393 (generic-mode-set-comments): Use them.
22394 (generic-bracket-support): Use setq-local.
22395 (generic-make-keywords-list): Declare obsolete.
22396
22397 2013-06-11 Glenn Morris <rgm@gnu.org>
22398
22399 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22400 Prettify after setting font-lock-defaults. (Bug#14574)
22401
22402 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22403
22404 * replace.el (query-replace, occur-read-regexp-defaults-function)
22405 (replace-search):
22406 * subr.el (declare-function, number-sequence, local-set-key)
22407 (substitute-key-definition, locate-user-emacs-file)
22408 (with-silent-modifications, split-string, eval-after-load):
22409 Fix typos, remove unneeded backslashes and reflow some docstrings.
22410
22411 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22412
22413 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22414 default for Elisp files.
22415
22416 2013-06-11 Glenn Morris <rgm@gnu.org>
22417
22418 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22419 although define-derived-mode was doing this anyway. (Bug#14583)
22420
22421 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22422
22423 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22424 Fix make-variable-buffer-local call to refer to the correct variable.
22425
22426 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22427
22428 * eshell/em-term.el (eshell-visual-commands)
22429 (eshell-visual-subcommands, eshell-visual-options):
22430 Add summary line to docstrings. Add cross-references.
22431
22432 2013-06-10 Glenn Morris <rgm@gnu.org>
22433
22434 * epa.el (epa-read-file-name): New function. (Bug#14510)
22435 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22436
22437 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22438
22439 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22440 output redirection to be ignored with visual commands.
22441
22442 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22443
22444 * eshell/em-term.el (eshell-visual-command-p): New function.
22445 (eshell-term-initialize): Move long lambda to separate function
22446 eshell-visual-command-p.
22447 * eshell/em-dirs.el (eshell-dirs-initialize):
22448 * eshell/em-script.el (eshell-script-initialize):
22449 Add missing #' to lambda.
22450
22451 2013-06-08 Leo Liu <sdl.web@gmail.com>
22452
22453 * progmodes/octave.el (octave-add-log-current-defun): New function.
22454 (octave-mode): Set add-log-current-defun-function.
22455 (octave-goto-function-definition): Do not move point if not found.
22456 (octave-find-definition): Enhance to try subfunctions first.
22457
22458 2013-06-08 Glenn Morris <rgm@gnu.org>
22459
22460 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22461 (byte-compile-backward-char, byte-compile-backward-word):
22462 Improve previous change, to handle non-explicit nil.
22463
22464 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22465
22466 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22467 (smie--opener/closer-at-point): New function.
22468 (smie--matching-block-data): Use it. Don't match from right after an
22469 opener or right before a closer. Obey smie-blink-matching-inners.
22470 Don't signal a mismatch for repeated inners like "switch..case..case".
22471
22472 2013-06-07 Leo Liu <sdl.web@gmail.com>
22473
22474 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22475 to t. (Bug#14303)
22476 (octave-function-header-regexp): Fix. (Bug#14570)
22477 (octave-help-mode-finish-hook, octave-help-mode-finish):
22478 Remove. Just use temp-buffer-show-hook.
22479
22480 * newcomment.el (comment-search-backward): Revert last change.
22481 (Bug#14434)
22482
22483 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22484
22485 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22486
22487 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22488 through xargs, to avoid failure due to MS-Windows limitations on
22489 command-line length.
22490
22491 2013-06-06 Glenn Morris <rgm@gnu.org>
22492
22493 * font-lock.el (lisp-font-lock-keywords-2):
22494 Treat user-error like error.
22495
22496 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22497 (byte-compile-backward-char, byte-compile-backward-word):
22498 Handle explicit nil arguments. (Bug#14565)
22499
22500 2013-06-05 Alan Mackenzie <acm@muc.de>
22501
22502 * isearch.el (isearch-allow-prefix): New user option.
22503 (isearch-other-meta-char): Don't exit isearch when a prefix
22504 argument is typed whilst `isearch-allow-prefix' is non-nil.
22505 (Bug#9706)
22506
22507 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22508
22509 * autorevert.el (auto-revert-notify-handler): Use memq.
22510 Hide assertion failure.
22511
22512 * skeleton.el: Use cl-lib.
22513 (skeleton-further-elements): Use defvar-local.
22514 (skeleton-insert): Use cl-progv.
22515
22516 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22517
22518 * progmodes/prog-mode.el (prog-prettify-symbols)
22519 (prog-prettify-install): Update docstrings.
22520
22521 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22522
22523 * simple.el: Move all the prog-mode code to prog-mode.el.
22524 * progmodes/prog-mode.el: New file.
22525 * loadup.el: Add prog-mode.el.
22526
22527 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22528
22529 * simple.el (prog-prettify-symbols): Add version.
22530 (prog-prettify-install): Add convenience function to prettify symbols.
22531
22532 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22533 (perl--augmented-font-lock-keywords-1)
22534 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22535 variables and use it.
22536
22537 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22538 (cfengine3-mode): Remove unneeded variable and use it.
22539
22540 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22541 (lisp--augmented-font-lock-keywords-1)
22542 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22543 Remove unneeded variables and use it.
22544
22545 2013-06-05 João Távora <joaotavora@gmail.com>
22546
22547 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22548 to point when opening the connection. (Bug#14380)
22549
22550 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22551
22552 * subr.el (load-history-regexp, load-history-filename-element)
22553 (eval-after-load, after-load-functions, do-after-load-evaluation)
22554 (eval-next-after-load, display-delayed-warnings)
22555 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22556 definition of save-match-data.
22557 (overriding-local-map): Remove accidental obsolescence declaration.
22558
22559 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22560
22561 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22562
22563 Generalize symbol prettify support to prog-mode and implement it
22564 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22565 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22566 (prog--prettify-font-lock-compose-symbol)
22567 (prog-prettify-font-lock-symbols-keywords): New variables and
22568 functions to support symbol prettification.
22569 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22570 (lisp--augmented-font-lock-keywords-1)
22571 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22572 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22573 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22574 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22575 Implement prettify of -> => :: strings.
22576 * progmodes/perl-mode.el (perl-prettify-symbols)
22577 (perl--font-lock-compose-symbol)
22578 (perl--font-lock-symbols-keywords): Move to prog-mode.
22579 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22580 (perl-font-lock-keywords-1)
22581 (perl-font-lock-keywords-2): Remove explicit prettify support.
22582 (perl--augmented-font-lock-keywords)
22583 (perl--augmented-font-lock-keywords-1)
22584 (perl--augmented-font-lock-keywords-2, perl-mode):
22585 Implement prettify support.
22586
22587 2013-06-05 Leo Liu <sdl.web@gmail.com>
22588
22589 Re-implement SMIE matching block highlight using
22590 show-paren-data-function. (Bug#14395)
22591 * emacs-lisp/smie.el (smie-matching-block-highlight)
22592 (smie--highlight-matching-block-overlay)
22593 (smie--highlight-matching-block-lastpos)
22594 (smie-highlight-matching-block)
22595 (smie-highlight-matching-block-mode): Remove.
22596 (smie--matching-block-data-cache): New variable.
22597 (smie--matching-block-data): New function.
22598 (smie-setup): Use smie--matching-block-data for
22599 show-paren-data-function.
22600
22601 * progmodes/octave.el (octave-mode-menu): Fix.
22602 (octave-find-definition): Skip garbage lines.
22603
22604 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22605
22606 Fix compilation error with simultaneous dynamic+lexical scoping.
22607 Add warning when a defvar appears after the first let-binding.
22608 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22609 (byte-compile-close-variables): Initialize it.
22610 (byte-compile--declare-var): New function.
22611 (byte-compile-file-form-defvar)
22612 (byte-compile-file-form-define-abbrev-table)
22613 (byte-compile-file-form-custom-declare-variable): Use it.
22614 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22615 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22616 (byte-compile-bind): Handle dynamic bindings that shadow
22617 lexical bindings.
22618 (byte-compile-unbind): Make arg non-optional.
22619 (byte-compile-let): Simplify.
22620 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22621 (cconv--analyse-function, cconv-analyse-form): Populate it.
22622 Protect byte-compile-bound-variables to limit the scope of defvars.
22623 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22624 Remove unneeded rule for `declare'.
22625
22626 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22627 so as to avoid depending on cl-adjoin at run-time.
22628 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22629
22630 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22631 (macroexp--warn-and-return): Use it.
22632
22633 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22634
22635 * subr.el: Convert to lexical binding.
22636 (overriding-local-map): Make obsolete.
22637 (add-to-list): Doc fix. Add compiler macro.
22638 (read-key): Swap values of local maps.
22639
22640 2013-06-05 Leo Liu <sdl.web@gmail.com>
22641
22642 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22643
22644 2013-06-04 Leo Liu <sdl.web@gmail.com>
22645
22646 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22647 (compilation-auto-jump): Suppress the "Mark set" message to give
22648 way to exit message.
22649
22650 2013-06-04 Alan Mackenzie <acm@muc.de>
22651
22652 Remove faulty optimization from indentation calculation.
22653 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22654 search limit based on 2000 characters back from indent-point.
22655
22656 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22657
22658 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22659
22660 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22661
22662 * emacs-lisp/lisp.el: Use lexical-binding.
22663 (lisp--local-variables-1, lisp--local-variables): New functions.
22664 (lisp--local-variables-completion-table): New var.
22665 (lisp-completion-at-point): Use it complete let-bound vars.
22666
22667 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22668 eagerly (bug#14422).
22669
22670 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22671
22672 * autorevert.el (auto-revert-notify-enabled)
22673 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22674 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22675 (auto-revert-notify-handler): Handle also gfilenotify.
22676
22677 * subr.el (file-notify-handle-event): New defun. Replacing ...
22678 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22679 Remove.
22680
22681 2013-06-03 Juri Linkov <juri@jurta.org>
22682
22683 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22684 `M-s h .'. (Bug#14427)
22685
22686 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22687 command `hi-lock-face-symbol-at-point'.
22688 (hi-lock-face-symbol-at-point): New command.
22689 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22690 (hi-lock-menu): Add `highlight-symbol-at-point'.
22691 (hi-lock-mode): Doc fix.
22692
22693 * isearch.el (isearch-forward-symbol-at-point): New command.
22694 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22695 (isearch-highlight-regexp): Add a regexp which matches
22696 words/symbols for word/symbol mode.
22697
22698 * subr.el (find-tag-default-bounds): New function with the body
22699 mostly moved from `find-tag-default'.
22700 (find-tag-default): Move most code to `find-tag-default-bounds',
22701 call it and apply `buffer-substring-no-properties' afterwards.
22702
22703 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22704
22705 * eshell/em-term.el (eshell-term-initialize):
22706 Use `cl-intersection' rather than `intersection'.
22707
22708 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22709
22710 * vc/log-view.el: Doc fix.
22711 (log-view-mode-map): Copy keymap from `special-mode-map'.
22712
22713 2013-06-02 Eric Ludlam <zappo@gnu.org>
22714
22715 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22716 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22717 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22718 (eieio-unbound, eieio-default-superclass)
22719 (eieio--define-field-accessors, method-static, method-before)
22720 (method-primary, method-after, method-num-lists)
22721 (method-generic-before, method-generic-primary)
22722 (method-generic-after, method-num-slots)
22723 (eieio-specialized-key-to-generic-key)
22724 (eieio--check-type, class-v, class-p)
22725 (eieio-class-name, define-obsolete-function-alias)
22726 (eieio-class-parents-fast, eieio-class-children-fast)
22727 (same-class-fast-p, class-constructor, generic-p)
22728 (generic-primary-only-p, generic-primary-only-one-p)
22729 (class-option-assoc, class-option, eieio-object-p)
22730 (class-abstract-p, class-method-invocation-order)
22731 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22732 (eieio-class-un-autoload, eieio-defclass)
22733 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22734 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22735 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22736 (eieio-defgeneric-reset-generic-form)
22737 (eieio-defgeneric-form-primary-only)
22738 (eieio-defgeneric-reset-generic-form-primary-only)
22739 (eieio-defgeneric-form-primary-only-one)
22740 (eieio-defgeneric-reset-generic-form-primary-only-one)
22741 (eieio-unbind-method-implementations)
22742 (eieio--defmethod, eieio--typep)
22743 (eieio-perform-slot-validation, eieio-validate-slot-value)
22744 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22745 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22746 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22747 (eieio-slot-name-index, eieio-class-slot-name-index)
22748 (eieio-set-defaults, eieio-initarg-to-attribute)
22749 (eieio-attribute-to-initarg, eieio-c3-candidate)
22750 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22751 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22752 (eieio-class-precedence-list, eieio-generic-call-methodname)
22753 (eieio-generic-call-arglst, eieio-generic-call-key)
22754 (eieio-generic-call-next-method-list)
22755 (eieio-pre-method-execution-functions, eieio-generic-call)
22756 (eieio-generic-call-primary-only, eieiomt-method-list)
22757 (eieiomt-optimizing-obarray, eieiomt-install)
22758 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22759 (eieio-generic-form, eieio-defmethod, make-obsolete)
22760 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22761 (defclass): Remove `eval-and-compile' from macro.
22762 (call-next-method, shared-initialize): Instead of using
22763 `scoped-class' variable, use new eieio--scoped-class, and
22764 eieio--with-scoped-class.
22765 (initialize-instance): Rename local variable 'scoped-class' to
22766 'this-class' to remove ambiguitity from old global.
22767
22768 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22769 eieio.el.
22770 (eieio--scoped-class-stack): New variable.
22771 (eieio--scoped-class): New fcn.
22772 (eieio--with-scoped-class): New scoping macro.
22773 (eieio-defclass): Use pushnew instead of add-to-list.
22774 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22775 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22776 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22777 `scoped-class' variable, use new eieio--scoped-class, and
22778 eieio--with-scoped-class.
22779
22780 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22781
22782 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22783
22784 * eshell/esh-ext.el (eshell-external-command): Pass args to
22785 `eshell-find-interpreter'.
22786 (eshell-find-interpreter): Add new second parameter ARGS.
22787
22788 * eshell/em-script.el (eshell-script-initialize): Add second arg
22789 to the function added as MATCH to `eshell-interpreter-alist'.
22790
22791 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22792 the function added as MATCH to `eshell-interpreter-alist'.
22793
22794 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22795 (eshell-visual-options): New defcustom.
22796 (eshell-escape-control-x): Adapt docstring.
22797 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22798 `eshell-visual-options' in addition to `eshell-visual-commands'.
22799 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22800
22801 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22802
22803 * progmodes/python.el (python-indent-block-enders): Add break,
22804 continue and raise keywords.
22805
22806 2013-06-01 Glenn Morris <rgm@gnu.org>
22807
22808 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22809
22810 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22811 * progmodes/cc-cmds.el (delete-forward-p):
22812 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22813 * progmodes/cc-engine.el (buffer-syntactic-context):
22814 * progmodes/cc-fonts.el (face-property-instance):
22815 * progmodes/cc-mode.el (set-keymap-parents):
22816 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22817 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22818 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22819 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22820 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22821
22822 * progmodes/cc-vars.el (other): Emacs has this widget since
22823 at least 21.1, so don't (re)define it.
22824
22825 * eshell/em-cmpl.el (eshell-cmpl-initialize):
22826 Replace the obsolete alias pcomplete-arg-quote-list.
22827
22828 2013-06-01 Leo Liu <sdl.web@gmail.com>
22829
22830 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22831 punctuation syntax.
22832 (inferior-octave-minimal-columns)
22833 (inferior-octave-last-column-width): New variables.
22834 (inferior-octave-track-window-width-change): New function.
22835 (inferior-octave-mode): Adjust column width so that Octave output,
22836 for example from 'ls', can fit into the window nicely.
22837
22838 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22839
22840 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22841 Highlight expansions inside regexp literals.
22842
22843 2013-05-31 Glenn Morris <rgm@gnu.org>
22844
22845 * obsolete/sym-comp.el (symbol-complete):
22846 Replace obsolete completion-annotate-function.
22847
22848 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22849
22850 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22851
22852 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22853 New function, checks if point is inside a literal that allows
22854 expression expansion.
22855 (ruby-syntax-propertize-expansion): Use it.
22856 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22857 around the body.
22858
22859 2013-05-30 Juri Linkov <juri@jurta.org>
22860
22861 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22862 to "\M-si".
22863 (isearch-invisible): New variable.
22864 (isearch-forward): Doc fix.
22865 (isearch-mode): Set `isearch-invisible'
22866 to the value of `search-invisible'.
22867 (isearch-toggle-case-fold): Doc fix.
22868 (isearch-toggle-invisible): New command.
22869 (isearch-query-replace): Let-bind `search-invisible'
22870 to the value of `isearch-invisible'.
22871 (isearch-search): Use `isearch-invisible' instead of
22872 `search-invisible'. Let-bind `search-invisible'
22873 to the value of `isearch-invisible'. (Bug#11378)
22874
22875 2013-05-30 Juri Linkov <juri@jurta.org>
22876
22877 * replace.el (perform-replace): Avoid `isearch-range-invisible'
22878 call when `query-flag' is nil and `search-invisible' is non-nil.
22879 (Bug#11746)
22880
22881 2013-05-30 Glenn Morris <rgm@gnu.org>
22882
22883 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22884
22885 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22886 (cc-require): Suppress spurious "noruntime" warnings.
22887 (cc-require-when-compile): Use fboundp, for sake of compiler.
22888
22889 * progmodes/cc-mode.el: Move load of cc-vars before that of
22890 cc-langs (which in turn loads cc-vars), to quieten compiler.
22891
22892 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22893
22894 * paren.el: Simplify the code.
22895 (show-paren-mode): Always start the timer.
22896 (show-paren--idle-timer): Rename from show-paren-idle-timer.
22897 (show-paren--overlay, show-paren--overlay-1): Rename from
22898 show-paren-overlay and show-paren-overlay-1, and initialize to an
22899 overlay rather than to nil.
22900 (show-paren-function): Misc cleanup and simplifications.
22901
22902 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22903
22904 * paren.el (show-paren-data-function): New hook.
22905 (show-paren--default): New function, extracted from show-paren-function.
22906 (show-paren-function): Use show-paren-data-function.
22907
22908 2013-05-30 Glenn Morris <rgm@gnu.org>
22909
22910 * ielm.el (ielm-map, ielm-complete-symbol):
22911 Use completion-at-point rather than obsolete functions.
22912 (inferior-emacs-lisp-mode): Doc fix.
22913 Set completion-at-point-functions, rather than
22914 comint-dynamic-complete-functions.
22915
22916 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22917 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22918 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22919
22920 * image.el (image-animated-p): Tweak definition.
22921
22922 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22923 (rlogin-process-connection-type): Tweak default. Add set-after.
22924 (rlogin-host): Doc fix.
22925 (rlogin): Tweak prompt.
22926 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22927
22928 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22929 * progmodes/tcl.el (inferior-tcl-mode-map):
22930 Use completion-at-point rather than obsolete alias.
22931
22932 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22933
22934 * minibuffer.el (read-file-name-completion-ignore-case):
22935 Move before completion--in-region, for eager macro expansion.
22936
22937 2013-05-29 Juri Linkov <juri@jurta.org>
22938
22939 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22940 for total count of matching lines. Add `global-matches' for total
22941 count of matches. Rename `matches' to `lines' for count of
22942 matching lines. Add `matches' for count of matches.
22943 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
22944 to `prev-line' for line number of prev match endpt.
22945 Increment `matches' for every match. Print the number of
22946 matching lines in the header.
22947 (occur-context-lines): Rename `lines' to `curr-line'.
22948 Rename `prev-lines' to `prev-line'. (Bug#14017)
22949
22950 2013-05-29 Juri Linkov <juri@jurta.org>
22951
22952 * replace.el (perform-replace): Add `skip-read-only-count',
22953 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22954 Increment them for corresponding conditions and report the number
22955 of skipped occurrences in the final message. (Bug#11746)
22956 (query-replace, query-replace-regexp, query-replace-regexp-eval)
22957 (replace-string, replace-regexp): Doc fix.
22958
22959 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22960
22961 * emacs-lisp/trace.el (trace--read-args): Provide a default.
22962
22963 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22964 prog-mode-map (bug#14504).
22965
22966 2013-05-29 Leo Liu <sdl.web@gmail.com>
22967
22968 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22969 (octave-help): Small simplification.
22970
22971 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22972 off the highlight first.
22973
22974 2013-05-29 Glenn Morris <rgm@gnu.org>
22975
22976 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22977 Handle idlwave-last-system-routine-info-cons-cell being nil.
22978
22979 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22980 (idlwave-write-paths): Simplify via with-temp-buffer.
22981
22982 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22983 * emulation/cua-rect.el: Also load cua-base at run time.
22984
22985 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22986 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22987 (cperl-imenu-on-info): Require imenu.
22988
22989 2013-05-28 Alan Mackenzie <acm@muc.de>
22990
22991 Handle "capitalised keywords" correctly.
22992 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22993
22994 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
22995
22996 * eshell/em-unix.el: Add -r option to cp.
22997
22998 2013-05-28 Glenn Morris <rgm@gnu.org>
22999
23000 * vc/vc-arch.el (vc-exec-after): Declare.
23001 (vc-switches): Autoload.
23002 * vc/vc-bzr.el: No need to require vc when compiling.
23003 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23004 (vc-resynch-buffer, vc-dir-refresh): Declare.
23005 (vc-setup-buffer, vc-switches): Autoload.
23006 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23007 (vc-resynch-buffer): Declare.
23008 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23009 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23010 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23011 (grep-read-regexp, grep-read-files, grep-expand-template)
23012 (vc-dir-refresh): Declare.
23013 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23014 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23015 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23016 * vc/vc-mtn.el (vc-exec-after): Declare.
23017 (vc-switches): Autoload.
23018 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23019 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23020 (vc-file-tree-walk): Declare.
23021 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23022 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23023 (vc-tag-precondition, vc-rename-master): Autoload.
23024 * vc/vc-svn.el (vc-exec-after): Declare.
23025 (vc-switches, vc-setup-buffer): Autoload.
23026 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23027 Autoload.
23028 (vc-resynch-buffer): Declare.
23029
23030 * obsolete/fast-lock.el (byte-compile-warnings):
23031 Don't warn about obsolete features in this obsolete file.
23032
23033 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23034 Move definition before use.
23035
23036 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23037 (dun-unix-verbs): Remove dun-zippy.
23038 (dun-zippy): Remove function.
23039
23040 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23041
23042 2013-05-27 Juri Linkov <juri@jurta.org>
23043
23044 * replace.el (replace-search): New function with code moved out
23045 from `perform-replace'.
23046 (replace-highlight, replace-dehighlight): Move function definitions
23047 up closer to `replace-search'. (Bug#11746)
23048
23049 2013-05-27 Juri Linkov <juri@jurta.org>
23050
23051 * replace.el (perform-replace): Ignore invisible matches.
23052 In addition to checking `query-replace-skip-read-only', also
23053 filter out matches by calling `run-hook-with-args-until-failure'
23054 on `isearch-filter-predicates', and also check `search-invisible'
23055 for t or call `isearch-range-invisible'.
23056 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23057
23058 2013-05-27 Juri Linkov <juri@jurta.org>
23059
23060 * isearch.el (isearch-filter-predicates): Rename from
23061 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23062 (isearch-message-prefix): Display text from the property
23063 `isearch-message-prefix' of the currently active filters.
23064 (isearch-search): Don't compare `isearch-filter-predicate' with
23065 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23066 on `isearch-filter-predicates'. Also check `search-invisible' for t
23067 or call `isearch-range-invisible'.
23068 (isearch-filter-visible): Make obsolete.
23069 (isearch-lazy-highlight-search):
23070 Call `run-hook-with-args-until-failure' on
23071 `isearch-filter-predicates' and use `isearch-range-invisible'.
23072
23073 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23074 `isearch-filter-predicates' instead of `funcall'ing
23075 `isearch-filter-predicate'.
23076 (Info-mode): Set `Info-isearch-filter' to
23077 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23078
23079 * dired-aux.el (dired-isearch-filter-predicate-orig):
23080 Remove variable.
23081 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23082 (dired-isearch-filenames-end): Add and remove
23083 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23084 instead of changing the value of `isearch-filter-predicate'.
23085 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23086 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23087 Put property `isearch-message-prefix' to "filename " on
23088 `dired-isearch-filter-filenames'.
23089
23090 * wdired.el (wdired-change-to-wdired-mode):
23091 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23092 locally instead of changing `isearch-filter-predicate'.
23093 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23094
23095 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23096
23097 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23098 return the commit hash (Bug#14459). Also set the
23099 `vc-git-detached' property.
23100 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23101 (vc-git-mode-line-string): Use the same help-echo format whether
23102 in detached mode or not, because we know the actual revision now.
23103 When in detached mode, shorten the revision to 7 chars.
23104
23105 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23106
23107 * emacs-lisp/easy-mmode.el (define-minor-mode):
23108 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23109 mode hook and provide a docstring.
23110
23111 2013-05-27 Alan Mackenzie <acm@muc.de>
23112
23113 Remove spurious syntax-table text properties inserted by C-y.
23114 * progmodes/cc-mode.el (c-after-change): Also clear hard
23115 syntax-table property with value nil.
23116
23117 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23118
23119 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23120 when reading the events; the buffer layout shall not be changed.
23121
23122 2013-05-27 Leo Liu <sdl.web@gmail.com>
23123
23124 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23125 New variable.
23126 (inferior-octave-directory-tracker): Automatically re-sync
23127 default-directory.
23128 (octave-help): Improve handling of 'See also'.
23129
23130 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23131
23132 * doc-view.el: Minor naming convention tweaks.
23133 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23134
23135 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23136 even if there's no `display' property yet (bug#14435).
23137
23138 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23139
23140 * subr.el (unmsys--file-name): Rename from reveal-filename.
23141
23142 * Makefile.in (custom-deps, finder-data, autoloads)
23143 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23144 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23145 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23146
23147 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23148
23149 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23150 error-completion on the first 2 args of condition-case (bug#14446).
23151 Don't burp at EOB.
23152
23153 2013-05-25 Leo Liu <sdl.web@gmail.com>
23154
23155 * comint.el (comint-previous-matching-input): Do not flood the
23156 *Messages* buffer with trivial messages.
23157
23158 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23159
23160 * progmodes/flymake.el (flymake-nop): Don't return a string.
23161 (flymake-set-at): Fix typo.
23162
23163 * simple.el (read--expression): New function, extracted from
23164 eval-expression. Set completion-at-point-functions (bug#14465).
23165 (eval-expression, eval-minibuffer): Use it.
23166
23167 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23168
23169 * progmodes/flymake.el (flymake-save-buffer-in-file)
23170 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23171 (flymake-selected-frame, flymake-log, flymake-ins-after)
23172 (flymake-set-at, flymake-get-buildfile-from-cache)
23173 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23174 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23175 Refine the doc string.
23176 (flymake-get-file-name-mode-and-masks): Reformat.
23177 (flymake-get-real-file-name-function): Fix a minor bug.
23178
23179 2013-05-24 Juri Linkov <juri@jurta.org>
23180
23181 * progmodes/grep.el (grep-mode-font-lock-keywords):
23182 Support =linenumber= format used by git-grep for lines with
23183 function names. (Bug#13549)
23184
23185 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23186
23187 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23188 0 after a semi-colon; it works better for smie-auto-fill.
23189 (octave--indent-new-comment-line): New function.
23190 (octave-indent-new-comment-line): Use it (indirectly).
23191 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23192 modify comment-line-break-function.
23193
23194 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23195 (smie-setup): Use add-function to set it.
23196
23197 2013-05-24 Sam Steingold <sds@gnu.org>
23198
23199 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23200 argument (before the `interactive' argument).
23201
23202 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23203
23204 * image-mode.el (image-mode-winprops): Add winprops to
23205 image-mode-winprops-alist before running
23206 image-mode-new-window-functions.
23207 * doc-view.el (doc-view-new-window-function): Don't delay
23208 doc-view-goto-page via timers (bug#14435).
23209
23210 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23211
23212 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23213 (doc-view-desktop-save-buffer): New function.
23214 (doc-view-restore-desktop-buffer): New function.
23215 (desktop-buffer-mode-handlers):
23216 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23217 handler.
23218 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23219 `desktop-save-buffer' function.
23220
23221 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23222
23223 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23224 (tramp-gvfs-file-name-handler): Raise a user error when
23225 `tramp-gvfs-enabled' is nil.
23226 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23227 Do not raise a user error when loading package. (Bug#14447)
23228
23229 * net/xesam.el: Move to obsolete/.
23230
23231 2013-05-24 Glenn Morris <rgm@gnu.org>
23232
23233 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23234
23235 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23236
23237 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23238 (Info-find-node, Man-getpage-in-background): Declare.
23239
23240 * mail/unrmail.el (unrmail):
23241 Replace obsolete detect-coding-with-priority.
23242
23243 * net/socks.el (socks-split-string): Use this rather than split-string.
23244 (socks-nslookup-host): Update for above change.
23245 (dynamic-choice, s5-dynamic-choice-match)
23246 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23247 Comment out unused code.
23248
23249 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23250 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23251 (gud-tooltip-echo-area): Make obsolete.
23252 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23253
23254 * progmodes/js.el (js--optimize-arglist): Declare.
23255
23256 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23257
23258 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23259 (ediff-window-C): Declare.
23260
23261 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23262 Tweak requires to silence compiler.
23263
23264 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23265 (he-search-string, he-tried-table, he-expand-list)
23266 (he-init-string, he-string-member, he-substitute-string)
23267 (he-reset-string): Declare.
23268
23269 * obsolete/options.el (list-options): Use custom-variable-p,
23270 rather than obsolete alias.
23271
23272 2013-05-23 Sam Steingold <sds@gnu.org>
23273
23274 * simple.el (shell-command-on-region): Pass the `replace' argument
23275 down to `call-process-region' to comply with the doc as reported on
23276 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23277
23278 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23279
23280 * emacs-lisp/smie.el (smie-indent-forward-token)
23281 (smie-indent-backward-token): Handle string tokens (bug#14381).
23282
23283 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23284
23285 * ielm.el (ielm-menu): New menu.
23286 (inferior-emacs-lisp-mode): Set comment-start.
23287
23288 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23289
23290 * textmodes/reftex.el (reftex-ref-style-toggle):
23291 Fix deactivate action.
23292
23293 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23294 Add cleveref macros.
23295
23296 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23297 Accept options for bibliography commands.
23298 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23299 Add addbibresource. Basic Biblatex support.
23300
23301 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23302
23303 * net/tramp-gvfs.el (top):
23304 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23305 when loading package. (Bug#14447)
23306
23307 2013-05-23 Glenn Morris <rgm@gnu.org>
23308
23309 * progmodes/js.el: No need to load comint when compiling.
23310 (ring-insert, comint-send-string, comint-send-input)
23311 (comint-last-input-end, ido-chop): Declare.
23312
23313 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23314 * vc/ediff-mult.el: Adjust requires.
23315 (ediff-directories-internal, ediff-directory-revisions-internal)
23316 (ediff-patch-file-internal): Declare.
23317 * vc/ediff-ptch.el: Adjust requires.
23318 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23319 (ediff-find-file): Autoload.
23320 * vc/ediff-util.el: No need to load ediff when compiling.
23321 (ediff-regions-internal): Declare.
23322 * vc/ediff-wind.el: Adjust requires.
23323 (ediff-compute-toolbar-width): Define when compiling.
23324 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23325 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23326 (dired-get-filename, dired-get-marked-files)
23327 (ediff-last-dir-patch, ediff-patch-default-directory)
23328 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23329 (ediff-patch-buffer-internal): Declare.
23330
23331 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23332 (ispell-process, ispell-buffer-local-words, lm-summary)
23333 (lm-section-start, lm-section-end): Declare.
23334 (checkdoc-ispell-init): Simplify.
23335
23336 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23337 (he-string-member, he-reset-string, he-substitute-string): Declare.
23338
23339 * eshell/em-ls.el: Adjust requires.
23340 (eshell-glob-regexp): Declare.
23341 * eshell/em-tramp.el: Adjust requires.
23342 (eshell-parse-command): Autoload.
23343 * eshell/em-xtra.el: Adjust requires.
23344 (eshell-parse-command): Autoload.
23345 * eshell/esh-ext.el: Adjust requires.
23346 (eshell-parse-command, eshell-close-handles): Autoload.
23347 * eshell/esh-io.el: Adjust requires.
23348 (eshell-output-filter): Autoload.
23349 * eshell/esh-util.el: No need to load tramp when compiling.
23350 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23351 Declare.
23352 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23353 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23354 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23355 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23356 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23357 * eshell/esh-opt.el, eshell/esh-proc.el:
23358 * eshell/esh-var.el: Adjust requires.
23359 * eshell/eshell.el: Do not require esh-util twice.
23360 (eshell-add-input-to-history): Declare.
23361 (eshell-command): Check history module is active before using it.
23362
23363 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23364
23365 2013-05-22 Leo Liu <sdl.web@gmail.com>
23366
23367 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23368
23369 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23370
23371 * autorevert.el (auto-revert-notify-add-watch)
23372 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23373 it indicates changes in file modification time.
23374
23375 2013-05-22 Glenn Morris <rgm@gnu.org>
23376
23377 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23378 Always delete the autoloaded function from the noruntime and
23379 unresolved functions lists.
23380
23381 * allout.el: No need to load epa, epg, overlay when compiling.
23382 (epg-context-set-passphrase-callback, epg-list-keys)
23383 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23384 (epg-key-user-id-list): Declare.
23385
23386 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23387 (viper-set-parsing-style-toggling-macro)
23388 (viper-set-emacs-state-searchstyle-macros):
23389 Use called-interactively-p on Emacs.
23390 (viper-looking-back): Make it an obsolete alias. Update callers.
23391 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23392 Use looking-back rather than viper-looking-back.
23393 (viper-tmp-insert-at-eob, viper-enlarge-region)
23394 (viper-read-string-with-history, viper-register-to-point)
23395 (viper-append-to-register, viper-change-state-to-vi)
23396 (viper-backward-char-carefully, viper-forward-char-carefully)
23397 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23398 (viper-change-state-to-emacs): Declare.
23399 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23400 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23401 * emulation/viper-mous.el: Do not load viper-cmd.
23402 (viper-backward-char-carefully, viper-forward-char-carefully)
23403 (viper-forward-word, viper-adjust-window): Declare.
23404
23405 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23406
23407 * progmodes/idlw-help.el (idlwave-help-fontify):
23408 Use called-interactively-p.
23409
23410 * term/w32console.el (w32-get-console-codepage)
23411 (w32-get-console-output-codepage): Declare.
23412
23413 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23414 Remove unnecessary declarations.
23415 (dframe-message): Doc fix.
23416
23417 * info.el (dframe-select-attached-frame, dframe-current-frame):
23418 Declare.
23419
23420 * speedbar.el (speedbar-message): Make it an obsolete alias.
23421 Update all callers.
23422 (speedbar-with-attached-buffer)
23423 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23424 (speedbar-with-writable): Use backquote.
23425 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23426 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23427 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23428 rather than speedbar- aliases.
23429 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23430 (speedbar-make-specialized-keymap, speedbar-insert-button)
23431 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23432 (speedbar-do-function-pointer): Declare.
23433 (rmail-speedbar-button, rmail-speedbar-find-file)
23434 (rmail-speedbar-move-message):
23435 Use dframe-with-attached-buffer rather than speedbar- alias.
23436 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23437 (dframe-message, speedbar-make-specialized-keymap)
23438 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23439 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23440 (speedbar-insert-button, dframe-select-attached-frame)
23441 (dframe-maybee-jump-to-attached-frame)
23442 (speedbar-change-initial-expansion-list)
23443 (speedbar-previously-used-expansion-list-name): Declare.
23444 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23445 Use dframe-message, dframe-with-attached-buffer rather than
23446 speedbar- aliases.
23447 (gud-sentinel): Silence compiler.
23448 * progmodes/vhdl-mode.el (speedbar-refresh)
23449 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23450 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23451 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23452 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23453 (speedbar-file-lists, speedbar-make-tag-line)
23454 (speedbar-line-directory, speedbar-goto-this-file)
23455 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23456 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23457 (speedbar-make-button, speedbar-reset-scanners)
23458 (speedbar-files-item-info, speedbar-line-text)
23459 (speedbar-find-file-in-frame, speedbar-set-timer)
23460 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23461 (speedbar-with-writable): Do not (re)define it.
23462 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23463 rather than speedbar- alias.
23464
23465 2013-05-21 Leo Liu <sdl.web@gmail.com>
23466
23467 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23468 menu items.
23469 (octave-mode): Tweak fill-nobreak-predicate.
23470 (inferior-octave-startup): Check process to avoid infinite loop.
23471 (inferior-octave): Pop to buffer first to show abornmal process
23472 exit information.
23473
23474 2013-05-21 Glenn Morris <rgm@gnu.org>
23475
23476 * printing.el (pr-menu-bar): Define when compiling.
23477
23478 2013-05-21 Leo Liu <sdl.web@gmail.com>
23479
23480 * progmodes/octave.el (octave-auto-fill): Remove.
23481 (octave-indent-new-comment-line): Improve.
23482 (octave-mode): Use auto fill mode through
23483 comment-line-break-function and fill-nobreak-predicate.
23484 (octave-goto-function-definition): Support DEFUN_DLD.
23485 (octave-beginning-of-defun): Small tweak.
23486 (octave-help): Show parent directory.
23487
23488 2013-05-21 Glenn Morris <rgm@gnu.org>
23489
23490 * files.el (dired-unmark):
23491 * progmodes/gud.el (gdb-input): Update declarations.
23492
23493 * calculator.el (electric, ehelp): No need to load when compiling.
23494 (Electric-command-loop, electric-describe-mode): Declare.
23495
23496 * doc-view.el (doc-view-current-converter-processes): Move before use.
23497
23498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23499 Move MODE-set-explicitly definition before use.
23500
23501 * international/mule-diag.el (mule-diag):
23502 Don't use obsolete window-system-version.
23503
23504 * mail/feedmail.el (smtpmail): No need to load when compiling.
23505 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23506
23507 * mail/mail-utils.el (rfc822): No need to load when compiling.
23508 (rfc822-addresses): Autoload it.
23509 (mail-strip-quoted-names): Trivial simplification.
23510
23511 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23512 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23513
23514 * net/snmp-mode.el (tempo): Don't duplicate requires.
23515
23516 * progmodes/prolog.el (info): No need to load when compiling.
23517 (comint): Require before shell requires it.
23518 (Info-goto-node): Autoload it.
23519 (Info-follow-nearest-node): Declare.
23520 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23521
23522 * textmodes/artist.el (picture-mode-exit): Declare.
23523
23524 * textmodes/reftex-parse.el (reftex-parse-from-file):
23525 Trivial rewrite so the compiler can parse it better.
23526
23527 2013-05-20 Leo Liu <sdl.web@gmail.com>
23528
23529 * progmodes/octave.el (octave-help-mode-map)
23530 (octave-help-mode-finish-hook): New variables.
23531 (octave-help-mode, octave-help-mode-finish): New functions.
23532 (octave-help): Use octave-help-mode.
23533
23534 2013-05-20 Glenn Morris <rgm@gnu.org>
23535
23536 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23537
23538 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23539
23540 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23541 start at point, so that expansion starting right after opening
23542 slash in a regexp is recognized.
23543 (ruby-syntax-before-regexp-re): New defvar, extracted from
23544 ruby-syntax-propertize-function. Since the value of this regexp
23545 is looked up at runtime now, we should be able to turn
23546 `ruby-syntax-methods-before-regexp' into a defcustom later.
23547 (ruby-syntax-propertize-function): Split regexp matching into two
23548 parts, for opening and closing slashes. That allows us to skip
23549 over string interpolations and support multiline regexps.
23550 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23551 for them, which calls `ruby-syntax-propertize-expansion'.
23552 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23553 call to `ruby-syntax-propertize-function'.
23554 (ruby-syntax-propertize-expansion): Extracted from
23555 `ruby-syntax-propertize-expansions'. Handles one expansion.
23556 (ruby-syntax-propertize-percent-literal): Leave point right after
23557 the percent symbol, so that the expression expansion rule can
23558 propertize the contents.
23559 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23560 heredoc openers.
23561 (ruby-syntax-propertize-expansions): Remove.
23562
23563 2013-05-18 Juri Linkov <juri@jurta.org>
23564
23565 * man.el (Man-default-man-entry): Remove `-' from the end
23566 of the default value. (Bug#14400)
23567
23568 2013-05-18 Glenn Morris <rgm@gnu.org>
23569
23570 * comint.el (comint-password-prompt-regexp):
23571 Allow "password for XXX" where XXX contains colons (eg https://...).
23572
23573 2013-05-18 Leo Liu <sdl.web@gmail.com>
23574
23575 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23576 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23577 (octave-source-directories): Don't check process.
23578 (octave-source-directories, octave-find-definition): Doc fix.
23579
23580 2013-05-18 Glenn Morris <rgm@gnu.org>
23581
23582 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23583 Remove backspace/delete bindings. (Bug#14392)
23584
23585 * cus-dep.el (custom-make-dependencies): Sort the output.
23586 (custom-versions-load-alist): Convert comment to doc.
23587
23588 2013-05-17 Leo Liu <sdl.web@gmail.com>
23589
23590 * newcomment.el (comment-search-backward): Stricter in finding
23591 comment start. (Bug#14303)
23592
23593 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23594 (octave-comment-start-skip): Properly anchored.
23595
23596 2013-05-17 Leo Liu <sdl.web@gmail.com>
23597
23598 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23599 Clean up when turned off. (Bug#14395)
23600 (smie--highlight-matching-block-overlay): No longer buffer-local.
23601 (smie-highlight-matching-block): Adjust.
23602
23603 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23604
23605 Doc string fix for "nanoseconds" (Bug#14406).
23606 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23607 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23608
23609 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23610
23611 * calc/calc-units.el (math-extract-units): Preserve powers
23612 of units.
23613
23614 2013-05-17 Leo Liu <sdl.web@gmail.com>
23615
23616 * subr.el (delete-consecutive-dups): New function.
23617 * ido.el (ido-set-matches-1): Use it.
23618 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23619 * ido.el (ido-remove-consecutive-dups): Remove.
23620
23621 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23622
23623 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23624 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23625 regexp-opt's `words'.
23626
23627 2013-05-16 Leo Liu <sdl.web@gmail.com>
23628
23629 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23630 (smie--highlight-matching-block-overlay)
23631 (smie--highlight-matching-block-lastpos)
23632 (smie--highlight-matching-block-timer): New variables.
23633 (smie-highlight-matching-block): New function.
23634 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23635 (smie-setup): Conditionally enable smie-blink-matching-open.
23636
23637 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23638
23639 Sync with upstream verilog-mode r840.
23640 * progmodes/verilog-mode.el (verilog-mode-version)
23641 (verilog-mode-release-date): Update.
23642 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23643 (verilog-sig-tieoff): Fix string error on
23644 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23645 (verilog-read-decls): Fix parameters confusing
23646 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23647
23648 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23649
23650 * subr.el (reveal-filename): New function.
23651
23652 * loadup.el: Compute Emacs executable versions on MS-Windows,
23653 where executables have the .exe extension. Add a hard link
23654 emacs-XX.YY.ZZ.exe on MS-Windows.
23655
23656 * Makefile.in (XARGS_LIMIT): New variable.
23657 (custom-deps, finder-data, autoloads)
23658 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23659 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23660 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23661 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23662
23663 2013-05-16 Leo Liu <sdl.web@gmail.com>
23664
23665 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23666 (octave-mode-menu, octave-mode-map): Remove its uses.
23667
23668 2013-05-16 Reto Zimmermann <reto@gnu.org>
23669
23670 Sync with upstream vhdl mode v3.34.2.
23671 * progmodes/vhdl-mode.el: Use `push' throughout.
23672 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23673 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23674 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23675 (vhdl-actual-generic-name): New option to derive actual generic name.
23676 (vhdl-port-paste-signals): Replace formal by actual generics.
23677 (vhdl-beautify): New name for old group vhdl-align. Update users.
23678 (vhdl-beautify-options): New option.
23679 (vhdl-last-input-event): New compat alias. Use throughout.
23680 (vhdl-goto-line): Replace user level function `goto-line'.
23681 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23682 vhdl-fix-statement-buffer.
23683 (vhdl-create-mode-menu): Add some entries.
23684 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23685 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23686 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23687 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23688 to force statements on one line.
23689 (vhdl-remove-trailing-spaces-region):
23690 New, split from vhdl-remove-trailing-spaces.
23691 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23692 Respect vhdl-beautify-options.
23693 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23694 (vhdl-update-sensitivity-list): Not add with index if exists without.
23695 Not include array index with signal. Ignore keywords in comments.
23696 (vhdl-get-visible-signals): Regexp tweaks.
23697 (vhdl-template-component-inst): Handle empty library.
23698 (vhdl-template-type): Add template for 'enum' type.
23699 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23700 Use vhdl-replace-string.
23701 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23702 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23703 (vhdl-speedbar-initialize): Update for above name change.
23704 (vhdl-compose-wire-components): Fix in handling of constants.
23705 (vhdl-error-regexp-emacs-alist): New variable.
23706 (vhdl-error-regexp-add-emacs): New function;
23707 adds support for new compile.el (Emacs 22+)
23708 (vhdl-generate-makefile-1): Change target order for single lib. units.
23709 Allow use of absolute file names.
23710
23711 2013-05-16 Leo Liu <sdl.web@gmail.com>
23712
23713 * simple.el (prog-indent-sexp): Indent enclosing defun.
23714
23715 2013-05-15 Glenn Morris <rgm@gnu.org>
23716
23717 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23718 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23719 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23720 (whitespace-highlight): Move to whitespace group.
23721
23722 * comint.el (comint-source):
23723 * pcmpl-linux.el (pcmpl-linux):
23724 * shell.el (shell-faces):
23725 * eshell/esh-opt.el (eshell-opt):
23726 * international/ccl.el (ccl): Remove empty custom groups.
23727
23728 * completion.el (dynamic-completion-mode):
23729 * jit-lock.el (jit-lock-debug-mode):
23730 * minibuffer.el (completion-in-region-mode):
23731 * type-break.el (type-break-mode-line-message-mode)
23732 (type-break-query-mode):
23733 * emulation/tpu-edt.el (tpu-edt-mode):
23734 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23735 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23736 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23737
23738 * term/xterm.el (xterm): Change parent group to terminals.
23739
23740 * master.el (master): Remove empty custom group.
23741 (master-mode): Remove unused :group argument.
23742 * textmodes/refill.el (refill): Remove empty custom group.
23743 (refill-mode): Remove unused :group argument.
23744
23745 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23746
23747 * cus-dep.el: Provide a feature.
23748 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23749 Don't mistakenly ignore files whose basenames match a basename
23750 from preloaded-file-list (eg cedet/ede/simple.el).
23751 Add a fallback method for getting :group.
23752
23753 2013-05-15 Juri Linkov <juri@jurta.org>
23754
23755 * isearch.el (isearch-char-by-name): Rename from
23756 `isearch-insert-char-by-name'. Doc fix.
23757 (isearch-forward): Mention `isearch-char-by-name' in
23758 the docstring. (Bug#13348)
23759
23760 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23761 `exit-minibuffer' instead of
23762 `isearch-nonincremental-exit-minibuffer'.
23763 (isearch-edit-string): Remove mention of
23764 `isearch-nonincremental-exit-minibuffer' from docstring.
23765 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23766 (isearch-forward-exit-minibuffer)
23767 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23768
23769 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * loadup.el: Just use unversioned DOC.
23772
23773 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23774 literals as extending to EOB.
23775 (nxml-last-fontify-end): Remove unused variable.
23776 (nxml-after-change1): Use with-silent-modifications.
23777 (nxml-extend-after-change-region): Simplify.
23778 (nxml-extend-after-change-region1): Remove function.
23779 (nxml-after-change1): Don't adjust for dependent regions.
23780 (nxml-fontify-matcher): Simplify.
23781 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23782 (xmltok-add-dependent): Remove function.
23783 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23784 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23785 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23786 unclosed <[[, <?, comment, and other literals as extending to EOB.
23787 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23788 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23789 Remove functions.
23790 (rng-do-some-validation-1): Don't mark dependent regions.
23791 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23792 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23793 (nxml-clear-dependent-regions): Remove functions.
23794 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23795 (nxml-ensure-scan-up-to-date):
23796 Don't clear&mark dependent regions.
23797
23798 2013-05-15 Leo Liu <sdl.web@gmail.com>
23799
23800 * progmodes/octave.el (octave-goto-function-definition):
23801 Improve and fix callers.
23802
23803 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23804
23805 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23806 the setter (bug#14387).
23807
23808 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23809 surrounding group (bug#14402).
23810
23811 2013-05-14 Juri Linkov <juri@jurta.org>
23812
23813 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23814 (Bug#14390)
23815
23816 2013-05-14 Glenn Morris <rgm@gnu.org>
23817
23818 * progmodes/f90.el (f90-imenu-generic-expression):
23819 Fix typo in 2013-05-08 change. (Bug#14402)
23820
23821 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23822
23823 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23824 Remove signals for which replies are never received.
23825
23826 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23827
23828 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23829 (gdb-handler-alist, gdb-handler-number): Remove variables.
23830 (gdb-handler-list): New variable.
23831 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23832 (gdb-pending-handler-p, gdb-handle-reply)
23833 (gdb-remove-all-pending-triggers): New functions.
23834 (gdb-discard-unordered-replies): New defcustom.
23835 (gdb-handler): New defstruct.
23836 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
23837 instead of gdb-pending-triggers. Update docstring.
23838 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
23839 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23840 (gdb-var-update-handler, def-gdb-auto-update-trigger)
23841 (def-gdb-auto-update-handler, gdb-get-changed-registers)
23842 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23843 (gdb-frame-handler): Pending triggers are now automatically managed.
23844 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23845 Remove argument.
23846 (gdb-input): Automatically handles pending triggers. Update docstring.
23847 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23848 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23849 Update comments.
23850 (gdb-done-or-error): Now use gdb-handle-reply.
23851
23852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23853
23854 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23855 gdb-debug-log.
23856
23857 2013-05-14 Glenn Morris <rgm@gnu.org>
23858
23859 * subr.el (user-emacs-directory-warning): New option.
23860 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
23861
23862 2013-05-14 Leo Liu <sdl.web@gmail.com>
23863
23864 * progmodes/octave.el (octave-font-lock-keywords): Fix error
23865 during redisplay.
23866 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23867 (octave-font-lock-texinfo-comment): Fix invalid search bound
23868 error: wrong side of point.
23869
23870 2013-05-14 Glenn Morris <rgm@gnu.org>
23871
23872 * progmodes/flymake.el (flymake-xml-program): New option.
23873 (flymake-xml-init): Use it.
23874
23875 * term/xterm.el: Provide a feature.
23876
23877 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
23878
23879 2013-05-13 Glenn Morris <rgm@gnu.org>
23880
23881 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23882 Add compat aliases as a hack workaround. (Bug#14384)
23883
23884 2013-05-13 Leo Liu <sdl.web@gmail.com>
23885
23886 * progmodes/octave.el (octave-indent-comment): Fix indentation for
23887 ###, and %!.
23888 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23889 C-M-q.
23890 (octave-comment-start-skip): Include %!.
23891 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23892
23893 2013-05-12 Leo Liu <sdl.web@gmail.com>
23894
23895 * progmodes/octave.el (inferior-octave-startup): Store the value
23896 of __octave_srcdir__ for octave-source-directories.
23897 (inferior-octave-check-process): New function refactored out of
23898 inferior-octave-send-list-and-digest.
23899 (octave-source-directories)
23900 (octave-find-definition-filename-function): New variables.
23901 (octave-source-directories)
23902 (octave-find-definition-default-filename): New functions.
23903 (octave-find-definition): Improve to find functions implemented in C++.
23904
23905 2013-05-12 Glenn Morris <rgm@gnu.org>
23906
23907 * calendar/diary-lib.el (diary-outlook-format-1):
23908 Don't include dayname in the output. (Bug#14349)
23909
23910 2013-05-11 Glenn Morris <rgm@gnu.org>
23911
23912 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23913
23914 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23915 Treat cc-provide like provide.
23916
23917 2013-05-11 Kevin Ryde <user42@zip.com.au>
23918
23919 * cus-dep.el (custom-make-dependencies):
23920 Use generated-autoload-load-name for the sake of files such
23921 such cedet/semantic/bovine/c.el, where the base file name
23922 is not in load-path. (Bug#5277)
23923
23924 2013-05-11 Glenn Morris <rgm@gnu.org>
23925
23926 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23927 Provide features.
23928
23929 2013-05-11 Leo Liu <sdl.web@gmail.com>
23930
23931 * progmodes/octave.el (octave-indent-comment): Improve.
23932 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23933 (octave-eldoc-function-signatures, octave-eldoc-function):
23934 New functions.
23935 (octave-mode, inferior-octave-mode): Add eldoc support.
23936
23937 2013-05-11 Richard Stallman <rms@gnu.org>
23938
23939 * epa.el (epa-decrypt-file): Take output file name as argument
23940 and read it using `interactive'.
23941
23942 2013-05-11 Leo Liu <sdl.web@gmail.com>
23943
23944 * progmodes/octave.el (octave-beginning-of-line)
23945 (octave-end-of-line): Check before using up-list because it jumps
23946 out of more syntactic contructs since moving to smie.
23947 (octave-indent-comment): New function.
23948 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
23949 (octave-begin-keywords, octave-end-keywords)
23950 (octave-reserved-words, octave-smie-bnf-table)
23951 (octave-smie-rules): Add new keywords from Octave 3.6.4.
23952
23953 2013-05-11 Glenn Morris <rgm@gnu.org>
23954
23955 * faces.el (internal-face-x-get-resource):
23956 * frame.el (ns-display-monitor-attributes-list):
23957 * calc/calc-aent.el (math-to-radians-2):
23958 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23959 Fix declarations.
23960
23961 * calc/calc-menu.el: Make it loadable in isolation.
23962
23963 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23964 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23965 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23966 (eudc-bbdb-query-internal): Require 'bbdb.
23967
23968 * lpr.el (lpr-headers-switches):
23969 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23970
23971 * progmodes/sql.el (sql-login-params): Fix and improve :type.
23972
23973 * emulation/edt-mapper.el: In batch mode, error rather than hang.
23974
23975 * term.el (term-set-escape-char): Make it idempotent.
23976
23977 2013-05-10 Leo Liu <sdl.web@gmail.com>
23978
23979 * progmodes/octave.el (inferior-octave-completion-table):
23980 No longer a function and all uses changed. Use cache to speed up
23981 completion due to bug#11906.
23982 (octave-beginning-of-defun): Re-write to be more general.
23983
23984 2013-05-10 Glenn Morris <rgm@gnu.org>
23985
23986 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23987
23988 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
23989
23990 * comint.el (comint-redirect-send-command-to-process): Use :around
23991 rather than :override for comint-redirect-filter.
23992 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23993 Call it instead of comint-redirect-original-filter-function (which
23994 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
23995
23996 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
23997
23998 * frame.el (display-monitor-attributes-list): Add NS case.
23999 (ns-display-monitor-attributes-list): Declare.
24000
24001 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24002
24003 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24004
24005 2013-05-09 Glenn Morris <rgm@gnu.org>
24006
24007 * international/fontset.el (vertical-centering-font-regexp):
24008 Set standard-value.
24009
24010 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24011
24012 * bookmark.el (bookmark-search-delay):
24013 * cus-start.el (vertical-centering-font-regexp):
24014 * ps-mule.el (ps-mule-font-info-database-default):
24015 * ps-print.el (ps-default-fg, ps-default-bg):
24016 * type-break.el (type-break-good-break-interval):
24017 * whitespace.el (whitespace-indentation-regexp)
24018 (whitespace-space-after-tab-regexp):
24019 * emacs-lisp/testcover.el (testcover-1value-functions)
24020 (testcover-noreturn-functions, testcover-progn-functions)
24021 (testcover-prog1-functions):
24022 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24023 * eshell/em-glob.el (eshell-glob-translate-alist):
24024 * play/tetris.el (tetris-tty-colors):
24025 * progmodes/cpp.el (cpp-face-default-list):
24026 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24027 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24028 (idlwave-help-browser-generic-args):
24029 * progmodes/make-mode.el (makefile-special-targets-list):
24030 * progmodes/python.el (python-shell-virtualenv-path):
24031 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24032 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24033 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24034 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24035 * textmodes/reftex-vars.el (reftex-format-label-function):
24036 * textmodes/remember.el (remember-diary-file): Fix custom types.
24037
24038 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24039 Add :version.
24040
24041 2013-05-09 Leo Liu <sdl.web@gmail.com>
24042
24043 * progmodes/octave.el (inferior-octave-completion-at-point):
24044 Restore file completion. (Bug#14300)
24045 (inferior-octave-startup): Fix incorrect highlighting for the
24046 first prompt.
24047
24048 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24049
24050 * progmodes/ruby-mode.el: First cut at SMIE support.
24051 (ruby-use-smie): New var.
24052 (ruby-smie-grammar): New constant.
24053 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24054 (ruby-smie--forward-token, ruby-smie--backward-token)
24055 (ruby-smie-rules): New functions.
24056 (ruby-mode-variables): Setup SMIE if applicable.
24057
24058 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24059
24060 * simple.el (line-move-visual): Signal beginning/end of buffer
24061 only if vertical-motion moved less than it was requested. Avoids
24062 silly incorrect error messages when there are display strings with
24063 multiple newlines at EOL.
24064
24065 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24066
24067 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24068 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24069 (prolog-char-quote-workaround):
24070 * progmodes/cperl-mode.el (cperl-under-as-char):
24071 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24072 Mark as obsolete.
24073 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24074 their declaration.
24075 (vhdl-mode-syntax-table-init): Remove.
24076
24077 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24078 last change.
24079
24080 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24081 syntax for "_".
24082 (ld-script-font-lock-keywords):
24083 Change regexps to use things like \_< and \_>.
24084
24085 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24086 Change all regexps to use things like \_< and \_>.
24087
24088 * progmodes/autoconf.el (autoconf-definition-regexp)
24089 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24090 Handle a _ with symbol syntax.
24091 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24092
24093 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24094 Consolidate declaration.
24095 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24096 the declaration.
24097 (ada-create-syntax-table): Remove.
24098 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24099 already has the right syntax nowadays.
24100 (ada-goto-next-word): Don't change the syntax of "_".
24101
24102 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24103 with-wrapper-hook.
24104
24105 2013-05-08 Sam Steingold <sds@gnu.org>
24106
24107 * thingatpt.el (thing-at-point): Accept optional second argument
24108 NO-PROPERTIES to strip the text properties from the return value.
24109 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24110 to `thing-at-point' instead of stripping the properties ourselves.
24111 Also, when `thing-at-point' fails to find a url, prepend "http://"
24112 to the filename at point on the assumption that the user is
24113 pointing at something like gnu.org/gnu.
24114
24115 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24116
24117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24118 * faces.el (crm-separator):
24119 Silence byte-compiler.
24120
24121 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24122 (tool-bar-map): Remove unneeded defvars.
24123
24124 2013-05-08 Leo Liu <sdl.web@gmail.com>
24125
24126 Re-work a fix for bug#10994 based on Le Wang's patch.
24127 * ido.el (ido-remove-consecutive-dups): New helper.
24128 (ido-completing-read): Use it.
24129 (ido-chop): Revert fix for bug#10994.
24130
24131 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24132
24133 * cus-edit.el (custom-save-variables):
24134 Pretty-print long values. (Bug#14187)
24135
24136 2013-05-08 Glenn Morris <rgm@gnu.org>
24137
24138 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24139 (m4-mode-syntax-table): Init in the defvar.
24140 (m4-mode-abbrev-table): Let define-derived-mode define it.
24141
24142 2013-05-08 Tom Tromey <tromey@redhat.com>
24143
24144 * progmodes/m4-mode.el (m4-mode-syntax-table):
24145 Do not treat "_" as word constituent. (Bug#14167)
24146
24147 2013-05-07 Glenn Morris <rgm@gnu.org>
24148
24149 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24150 Remove explicit eshell-isearch-cancel-map.
24151
24152 * progmodes/f90.el (f90-smart-end-names): New option.
24153 (f90-smart-end): Doc fix.
24154 (f90-end-block-optional-name): New constant.
24155 (f90-block-match): Respect f90-smart-end-names.
24156
24157 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24158
24159 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24160 about implicit semi-colons (bug#14218).
24161
24162 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24163
24164 * frame.el (display-monitor-attributes-list)
24165 (frame-monitor-attributes): New functions.
24166
24167 2013-05-06 Leo Liu <sdl.web@gmail.com>
24168
24169 * progmodes/octave.el (octave-syntax-propertize-function): Change
24170 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24171 (octave-font-lock-keywords): Use octave-operator-regexp.
24172 (octave-completion-at-point): Rename from
24173 octave-completion-at-point-function.
24174 (inferior-octave-directory-tracker): Robustify.
24175 (octave-text-functions): Remove and fix its uses. No such things
24176 any more.
24177
24178 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24179
24180 * emacs-lisp/trace.el (trace--display-buffer): New function.
24181 (trace-make-advice): Use it.
24182
24183 2013-05-06 Juri Linkov <juri@jurta.org>
24184
24185 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24186 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24187 Doc fix.
24188 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24189 in the help string. (Bug#12985)
24190
24191 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24192
24193 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24194
24195 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24196
24197 * progmodes/perl-mode.el: Add support for here documents.
24198 (perl-syntax-propertize-function): Match here-doc markers.
24199 (perl-syntax-propertize-special-constructs): Find their end.
24200 (perl-imenu-generic-expression): Use [:alnum:].
24201
24202 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24203 (advice--add-function): Refresh the advice if already present
24204 (bug#14317).
24205
24206 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24207
24208 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24209
24210 2013-05-06 Glenn Morris <rgm@gnu.org>
24211
24212 * w32-fns.el (w32-charset-info-alist): Declare.
24213
24214 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24215 of its defcustom properties.
24216 (eshell-cmpl-initialize): No need to load pcomplete.
24217
24218 * generic-x.el: No need to require comint when compiling.
24219
24220 * net/eudc-export.el: Make it loadable without bbdb.
24221 (top-level): Use require rather than load-library.
24222 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24223 (eudc-batch-export-records-to-bbdb)
24224 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24225 Require bbdb.
24226
24227 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24228
24229 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24230 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24231 some tweaks, instead.
24232
24233 2013-05-05 Leo Liu <sdl.web@gmail.com>
24234
24235 * progmodes/octave.el (octave-font-lock-keywords)
24236 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24237 (inferior-octave-send-list-and-digest): Improve error message.
24238 (octave-mode, inferior-octave-mode): Use setq-local.
24239 (octave-help): Set info-lookup-mode.
24240
24241 2013-05-05 Richard Stallman <rms@gnu.org>
24242
24243 * vc/compare-w.el (compare-windows-whitespace):
24244 Treat no-break space as whitespace.
24245
24246 * mail/rmailsum.el (rmail-summary-rmail-update):
24247 Detect empty summary and don't change selected message.
24248 (rmail-summary-goto-msg): Likewise.
24249
24250 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24251 Doc fixes, rename args.
24252
24253 2013-05-05 Alan Mackenzie <acm@muc.de>
24254
24255 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24256
24257 2013-05-05 Juri Linkov <juri@jurta.org>
24258
24259 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24260 to not add the length of the summary segment to the return value.
24261 (Bug#14125)
24262
24263 2013-05-05 Leo Liu <sdl.web@gmail.com>
24264
24265 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24266 (inferior-octave-output-filter): Remove.
24267 (octave-send-region, inferior-octave-startup): Fix callers.
24268 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24269 (octave-binary-file-extensions): New user variable.
24270 (octave-find-definition): Confirm if opening binary files.
24271 (octave-help-file): Use octave-find-definition to get the binary
24272 confirmation.
24273 (octave-help): Adjust for octave-help-file change.
24274
24275 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24276
24277 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24278 Merge the two entries that handle function definitions.
24279 (pascal--syntax-propertize): New const.
24280 (pascal-mode): Use it. Use setq-local.
24281
24282 2013-05-04 Glenn Morris <rgm@gnu.org>
24283
24284 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24285 (diary-from-outlook): Respect diary-from-outlook-function.
24286
24287 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24288
24289 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24290 Move the declaration from C.
24291 (read-minibuffer, eval-minibuffer): Move from C.
24292 (completion-setup-function): Avoid minibuffer-completion-contents.
24293
24294 2013-05-03 Leo Liu <sdl.web@gmail.com>
24295
24296 * progmodes/octave.el (octave-font-lock-keywords): Do not
24297 dehighlight 'end' in comments or strings.
24298 (octave-completing-read, octave-goto-function-definition):
24299 New helpers.
24300 (octave-help-buffer): New user variable.
24301 (octave-help-file, octave-help-function): New button types.
24302 (octave-help): New command and bind it to C-h ;.
24303 (octave-find-definition): New command and bind it to M-.
24304 (user-error): Alias to error if not defined.
24305
24306 2013-05-02 Leo Liu <sdl.web@gmail.com>
24307
24308 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24309 for \. (bug#14332)
24310 (octave-font-lock-keywords): Include [ and {.
24311
24312 2013-05-02 Leo Liu <sdl.web@gmail.com>
24313
24314 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24315 (inferior-octave): Remove calling comint-mode and return the buffer.
24316 (inferior-octave-startup): Cosmetic changes.
24317
24318 2013-05-02 Leo Liu <sdl.web@gmail.com>
24319
24320 * progmodes/octave.el (octave-syntax-propertize-function):
24321 Include the case when ' is at line beginning. (Bug#14336)
24322
24323 2013-05-02 Glenn Morris <rgm@gnu.org>
24324
24325 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24326 * desktop.el (vc-dir-mode): Just autoload it here.
24327
24328 2013-05-02 Alan Mackenzie <acm@muc.de>
24329
24330 Eliminate variable c-standard-font-lock-fontify-region-function.
24331 * progmodes/cc-mode.el
24332 (c-standard-font-lock-fontify-region-function): Remove.
24333 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24334
24335 2013-05-01 Leo Liu <sdl.web@gmail.com>
24336
24337 * progmodes/octave.el: Compatible with older emacs-24 releases.
24338 (inferior-octave-has-built-in-variables): Remove. Built-in
24339 variables were removed from Octave in 2007.
24340 (inferior-octave-startup): Fix uses.
24341 (comint-line-beginning-position): Remove compatibility code for
24342 emacs 21.
24343
24344 2013-05-01 Juri Linkov <juri@jurta.org>
24345
24346 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24347
24348 2013-05-01 Juri Linkov <juri@jurta.org>
24349
24350 * comint.el (comint-previous-matching-input): Don't print message
24351 "History item: %d" when `isearch-mode' is active.
24352 (comint-history-isearch-message): Print message "History item: %d"
24353 when `comint-input-ring-index' is not empty and this function is
24354 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24355
24356 2013-05-01 Leo Liu <sdl.web@gmail.com>
24357
24358 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24359 definitions. Use completion-at-point to insert keywords.
24360 (octave-abbrev-start): Remove.
24361 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24362
24363 2013-04-30 Leo Liu <sdl.web@gmail.com>
24364
24365 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24366 change.
24367
24368 2013-04-30 Alan Mackenzie <acm@muc.de>
24369
24370 Handle arbitrarily long C++ member initialization lists.
24371 * progmodes/cc-engine.el (c-back-over-member-initializers):
24372 new function.
24373 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24374 (most) member init lists.
24375
24376 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24377
24378 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24379 variable.
24380
24381 2013-04-30 Leo Liu <sdl.web@gmail.com>
24382
24383 * progmodes/octave.el (octave-variables): Remove. No builtin
24384 variables any more. All converted to functions.
24385 (octave-font-lock-keywords, octave-completion-at-point-function):
24386 Fix uses.
24387 (octave-font-lock-texinfo-comment): New user variable.
24388 (octave-texinfo-font-lock-keywords): New variable for texinfo
24389 comment block.
24390 (octave-function-comment-block): New face.
24391 (octave-font-lock-texinfo-comment): New function.
24392 (octave-mode): Font lock texinfo comment block.
24393
24394 2013-04-29 Leo Liu <sdl.web@gmail.com>
24395
24396 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24397 indexing expression.
24398 (octave-continuation-string): Do not use \.
24399 (inferior-octave-complete-impossible): Remove.
24400 (inferior-octave-completion-table)
24401 (inferior-octave-completion-at-point): Remove its uses.
24402 (inferior-octave-startup): completion_matches was introduced to
24403 Octave in 1996 so safe to assume it.
24404 (octave-function-file-comment): Improve to follow how Octave does it.
24405 (octave-update-function-file-comment): Tweak.
24406
24407 2013-04-29 Leo Liu <sdl.web@gmail.com>
24408
24409 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24410 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24411 (octave-function-file-comment): Fix typo.
24412 (octave-sync-function-file-names): Use read-char-choice.
24413
24414 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24415
24416 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24417 to t for the less important warnings.
24418
24419 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24420
24421 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24422
24423 2013-04-27 Glenn Morris <rgm@gnu.org>
24424
24425 * vc/log-view.el (log-view-current-entry):
24426 Treat "---" separator lines as part of the following rev. (Bug#14169)
24427
24428 2013-04-27 Juri Linkov <juri@jurta.org>
24429
24430 * subr.el (read-number): Doc fix about using it by interactive
24431 code letter `n'. (Bug#14254)
24432
24433 2013-04-27 Juri Linkov <juri@jurta.org>
24434
24435 * desktop.el (desktop-auto-save-timeout): New option.
24436 (desktop-file-checksum): New variable.
24437 (desktop-save): Add optional arg `auto-save' and don't auto-save
24438 if nothing changed.
24439 (desktop-auto-save-timer): New variable.
24440 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24441 (after-init-hook): Call `desktop-auto-save-set-timer'.
24442 Suggested by Reuben Thomas <rrt@sc3d.org> in
24443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24444
24445 2013-04-27 Leo Liu <sdl.web@gmail.com>
24446
24447 * progmodes/octave.el (octave-function-file-p)
24448 (octave-skip-comment-forward, octave-function-file-comment)
24449 (octave-update-function-file-comment): New functions.
24450 (octave-mode-map): Bind C-c ; to
24451 octave-update-function-file-comment.
24452 (octave-mode-menu): Add octave-update-function-file-comment.
24453 (octave-mode, inferior-octave-mode): Fix doc-string.
24454 (octave-insert-defun): Conform to Octave's coding convention.
24455 (Bug#14285)
24456
24457 * files.el (basic-save-buffer): Don't let errors in
24458 before-save-hook prevent saving buffer.
24459
24460 2013-04-20 Roland Winkler <winkler@gnu.org>
24461
24462 * faces.el (read-face-name): Use completing-read if arg multiple
24463 is nil.
24464
24465 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24466
24467 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24468 displayed, move point to after the totals line.
24469 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24470 for the details.
24471
24472 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24473
24474 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24475 Add current dir to the load-path.
24476 (package-generate-autoloads): Don't rely on
24477 autoload-ensure-default-file.
24478
24479 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24480
24481 * textmodes/remember.el (remember-store-in-files): Document that
24482 the file name format is passed to `format-time-string'.
24483
24484 2013-04-26 Leo Liu <sdl.web@gmail.com>
24485
24486 * progmodes/octave.el (octave-sync-function-file-names): New function.
24487 (octave-mode): Use it in before-save-hook.
24488
24489 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24490
24491 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24492 (bug#14274).
24493
24494 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24495 \n and comment, even if it's not an implicit ; (bug#14218).
24496
24497 2013-04-26 Glenn Morris <rgm@gnu.org>
24498
24499 * subr.el (read-number): Once more use `read' rather than
24500 `string-to-number', to trap non-numeric input. (Bug#14254)
24501
24502 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24503
24504 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24505 Use `syntax-multiline' text property consistently instead of
24506 `font-lock-multiline'. (Bug#14237)
24507
24508 2013-04-26 Glenn Morris <rgm@gnu.org>
24509
24510 * emacs-lisp/shadow.el (list-load-path-shadows):
24511 No longer necessary to check for duplicate simple.el, since
24512 2012-07-07 change to init_lread to not include installation lisp
24513 directories in load-path when running uninstalled. (Bug#14270)
24514
24515 2013-04-26 Leo Liu <sdl.web@gmail.com>
24516
24517 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24518 (octave-mode, inferior-octave-mode): Use setq-local.
24519 (octave-not-in-string-or-comment-p): Rename to
24520 octave-in-string-or-comment-p.
24521 (octave-in-comment-p, octave-in-string-p)
24522 (octave-in-string-or-comment-p): Replace defsubst with defun.
24523
24524 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24525
24526 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24527
24528 2013-04-25 Bastien Guerry <bzg@gnu.org>
24529
24530 * textmodes/remember.el (remember-data-directory)
24531 (remember-directory-file-name-format): Fix custom types.
24532
24533 2013-04-25 Leo Liu <sdl.web@gmail.com>
24534
24535 * progmodes/octave.el (octave-completion-at-point-function):
24536 Make use of inferior octave process.
24537 (octave-initialize-completions): Remove.
24538 (inferior-octave-completion-table): New function.
24539 (inferior-octave-completion-at-point): Use it.
24540 (octave-completion-alist): Remove.
24541
24542 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24543
24544 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24545 (opascal-mode-syntax-table): New var.
24546 (opascal-literal-kind, opascal-is-literal-end)
24547 (opascal-literal-token-at): Rewrite.
24548 (opascal--literal-start-re, opascal-font-lock-keywords)
24549 (opascal--syntax-propertize): New constants.
24550 (opascal-font-lock-defaults): Adjust.
24551 (opascal-mode): Use them. Set comment-<foo> variables as well.
24552 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24553 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24554 (delphi-other-face, opascal-other-face): Remove face variables.
24555 (opascal-save-state): Remove macro.
24556 (opascal-fontifying-progress-step): Remove constant.
24557 (opascal--ignore-changes): Remove var.
24558 (opascal-set-token-property, opascal-parse-next-literal)
24559 (opascal-is-stable-literal, opascal-complete-literal)
24560 (opascal-is-literal-start, opascal-face-of)
24561 (opascal-parse-region, opascal-parse-region-until-stable)
24562 (opascal-fontify-region, opascal-after-change)
24563 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24564 (opascal-debug-parse-region, opascal-debug-parse-window)
24565 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24566 (opascal-debug-fontify-buffer): Remove.
24567 (opascal-debug-mode-map): Adjust accordingly.
24568
24569 2013-04-25 Leo Liu <sdl.web@gmail.com>
24570
24571 Merge octave-mod.el and octave-inf.el into octave.el with some
24572 cleanups.
24573 * progmodes/octave.el: New file renamed from octave-mod.el.
24574 * progmodes/octave-inf.el: Merged into octave.el.
24575 * progmodes/octave-mod.el: Renamed to octave.el.
24576
24577 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24578
24579 * textmodes/reftex-vars.el
24580 (reftex-label-ignored-macros-and-environments): New defcustom.
24581
24582 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24583
24584 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24585
24586 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24587 (smie-indent-keyword): Improve the check to ensure that the next
24588 comment is really on the same line.
24589 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24590
24591 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24592 semi-colons if the line is not otherwise empty (bug#14218).
24593
24594 2013-04-25 Glenn Morris <rgm@gnu.org>
24595
24596 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24597
24598 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24599
24600 * progmodes/opascal.el (opascal-set-token-property): Rename from
24601 opascal-set-text-properties and only set `token' (bug#14134).
24602 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24603 (opascal-literal-text-properties): Remove.
24604 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24605 Adjust callers.
24606
24607 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24608
24609 * textmodes/remember.el (remember-handler-functions): Add an
24610 option for a new handler `remember-store-in-files'.
24611 (remember-data-directory, remember-directory-file-name-format):
24612 New options.
24613 (remember-store-in-files): New function to store remember notes
24614 as separate files within a directory.
24615
24616 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24617
24618 * progmodes/compile.el (compilation-next-error-function):
24619 Pass "formats" to compilation-find-file (bug#11777).
24620
24621 2013-04-24 Glenn Morris <rgm@gnu.org>
24622
24623 * vc/vc-bzr.el (vc-bzr-print-log):
24624 * vc/vc-hg.el (vc-hg-print-log):
24625 * vc/vc-svn.el (vc-svn-print-log):
24626 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24627
24628 * vc/vc-bzr.el (vc-bzr-print-log):
24629 * vc/vc-cvs.el (vc-cvs-print-log):
24630 * vc/vc-git.el (vc-git-print-log):
24631 * vc/vc-hg.el (vc-hg-print-log):
24632 * vc/vc-mtn.el (vc-mtn-print-log):
24633 * vc/vc-rcs.el (vc-rcs-print-log):
24634 * vc/vc-sccs.el (vc-sccs-print-log):
24635 * vc/vc-svn.el (vc-svn-print-log):
24636 * vc/vc.el (vc-print-log-internal): Doc fixes.
24637
24638 2013-04-23 Glenn Morris <rgm@gnu.org>
24639
24640 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24641 Remove venerable code attempting to avoid substitute-command-keys.
24642
24643 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24644
24645 * textmodes/reftex-vars.el (reftex-label-regexps):
24646 Call `reftex-compile-variables' after changes to this variable.
24647
24648 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24649
24650 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24651 Use lexical-binding.
24652 (jit-lock-force-redisplay): Use markers, check buffer's continued
24653 existence and beware narrowed buffers.
24654 (jit-lock-fontify-now): Adjust call accordingly.
24655
24656 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24657
24658 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24659 to avoid misleading the user.
24660
24661 2013-04-22 Leo Liu <sdl.web@gmail.com>
24662
24663 * info-look.el: Prefer latex2e.info. (Bug#14240)
24664
24665 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24666
24667 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24668
24669 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24670 * net/tramp.el (tramp-call-process): ... here.
24671 (tramp-set-completion-function, tramp-parse-putty):
24672 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24673 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24675 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24676 (tramp-call-local-coding-command): Use `tramp-call-process'
24677 instead of `tramp-compat-call-process'.
24678
24679 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24680 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24681 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24682 (tramp-find-inline-compress): Improve traces.
24683 (tramp-maybe-send-script): Check for Perl binary.
24684 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24685
24686 2013-04-22 Daiki Ueno <ueno@gnu.org>
24687
24688 * epg.el (epg-context-pinentry-mode): New function.
24689 (epg-context-set-pinentry-mode): New function.
24690 (epg--start): Pass --pinentry-mode option to gpg command.
24691
24692 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24693
24694 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24695 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24696 `completion-at-point'. (Bug#13774)
24697
24698 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24699 default key binding for `describe-distribution' has been moved to
24700 `C-h C-o'. (Bug#13970)
24701
24702 2013-04-21 Glenn Morris <rgm@gnu.org>
24703
24704 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24705 Add doc strings.
24706 (vc-print-log): Clarify interactive prompt.
24707
24708 2013-04-20 Glenn Morris <rgm@gnu.org>
24709
24710 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24711 No longer include timestamp etc information.
24712
24713 2013-04-20 Roland Winkler <winkler@gnu.org>
24714
24715 * faces.el (read-face-name): Bug fix, return just one face if arg
24716 multiple is nil. (Bug#14209)
24717
24718 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24719
24720 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24721 (remove-function): Autoload.
24722
24723 * comint.el (comint-redirect-original-filter-function): Remove.
24724 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24725 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24726 (vc-cvs-annotate-command):
24727 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24728 * progmodes/prolog.el (prolog-consult-compile):
24729 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24730 Use add/remove-function instead.
24731 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24732 (gud-tooltip-process-output, gud-tooltip-tips):
24733 Use add/remove-function instead.
24734 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24735 (scheme-interaction-mode, exit-scheme-interaction-mode):
24736 Use add/remove-function instead.
24737
24738 * vc/vc-dispatcher.el: Use lexical-binding.
24739 (vc--process-sentinel): Rename from vc-process-sentinel.
24740 Change last arg to be the code to run. Don't use vc-previous-sentinel
24741 and vc-sentinel-commands any more.
24742 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24743 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24744
24745 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24746
24747 * progmodes/sh-script.el (sh-imenu-generic-expression):
24748 Handle function names with a single character. (Bug#14111)
24749
24750 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24751
24752 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24753 for subroutines defined in an eval (bug#14182).
24754
24755 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24756
24757 * bookmark.el (bookmark-completing-read): Improve handling of empty
24758 string (bug#14176).
24759
24760 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24761
24762 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24763
24764 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24765
24766 New faster Imenu implementation (bug#14058).
24767 * progmodes/python.el (python-imenu-prev-index-position)
24768 (python-imenu-format-item-label-function)
24769 (python-imenu-format-parent-item-label-function)
24770 (python-imenu-format-parent-item-jump-label-function):
24771 New vars.
24772 (python-imenu-format-item-label)
24773 (python-imenu-format-parent-item-label)
24774 (python-imenu-format-parent-item-jump-label)
24775 (python-imenu--put-parent, python-imenu--build-tree)
24776 (python-imenu-create-index, python-imenu-create-flat-index)
24777 (python-util-popn): New functions.
24778 (python-mode): Set imenu-create-index-function to
24779 python-imenu-create-index.
24780
24781 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24782
24783 * winner.el (winner-active-region): Use region-active-p, activate-mark
24784 and deactivate-mark (bug#14225).
24785
24786 * simple.el (deactivate-mark): Don't inline it.
24787
24788 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24789
24790 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24791
24792 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24793
24794 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24795 file extensions from the archive-mode entry in order to prefer
24796 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24797
24798 2013-04-18 Leo Liu <sdl.web@gmail.com>
24799
24800 * bindings.el (help-event-list): Add ?\?.
24801
24802 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24803
24804 * subr.el (with-wrapper-hook): Declare obsolete.
24805 * simple.el (filter-buffer-substring-function): New hook.
24806 (filter-buffer-substring): Use it.
24807 (filter-buffer-substring-functions): Mark obsolete.
24808 * minibuffer.el (completion-in-region-function): New hook.
24809 (completion-in-region): Use it.
24810 (completion-in-region-functions): Mark obsolete.
24811 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24812 * abbrev.el (abbrev-expand-function): New hook.
24813 (expand-abbrev): Use it.
24814 (abbrev-expand-functions): Mark obsolete.
24815 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24816 and :filter-return.
24817
24818 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24819
24820 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24821 and do not care about match data.
24822
24823 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24824
24825 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24826 completion tables when completing error conditions and
24827 `declare' arguments.
24828 (lisp-complete-symbol, field-complete): Mark as obsolete.
24829 (check-parens): Unmatched parens are user errors.
24830 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24831
24832 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
24833
24834 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24835 command changed buffer (ie. `flyspell-pre-buffer' is not current
24836 buffer), which prevents making decisions based on invalid value of
24837 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
24838 cause an error when `flyspell-pre-point' was nil after switching
24839 buffers.
24840 (flyspell-post-command-hook): No longer needs to change buffers when
24841 checking pre-word. While at it remove unnecessary progn.
24842
24843 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
24844
24845 * textmodes/ispell.el (ispell-add-per-file-word-list):
24846 Fix `flyspell-correct-word-before-point' error when accepting
24847 words and `coment-padding' is an integer by using
24848 `comment-normalize-vars' (Bug #14214).
24849
24850 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24851
24852 New defun movement commands.
24853 * progmodes/python.el (python-nav--syntactically)
24854 (python-nav--forward-defun, python-nav-backward-defun)
24855 (python-nav-forward-defun): New functions.
24856
24857 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24858
24859 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24860 (python-syntax-context): Use named compiler-macro for backwards
24861 compatibility with Emacs 24.x.
24862
24863 2013-04-17 Leo Liu <sdl.web@gmail.com>
24864
24865 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24866 octave-hide-process-buffer.
24867
24868 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24869
24870 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24871 (bug#14216).
24872
24873 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
24874
24875 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24876 Fix adjustment of offset when receiving incomplete responses from GDB
24877 (bug#14129).
24878
24879 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24880
24881 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24882 python-mode-abbrev-table.
24883 (python-skeleton-define): Adjust accordingly.
24884 (python-mode-abbrev-table): New table that inherits from it so that
24885 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24886
24887 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24888 (abbrev-symbol): Use it.
24889 (abbrev--before-point): Use it since we already handle inheritance.
24890
24891 2013-04-16 Leo Liu <sdl.web@gmail.com>
24892
24893 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24894 binding to info-lookup-symbol.
24895
24896 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
24897
24898 * minibuffer.el (completion--twq-all):
24899 * term/ns-win.el (ns-initialize-window-system):
24900 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24901
24902 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24903
24904 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24905 global bindings.
24906
24907 * doc-view.el (doc-view-start-process): Handle url-handler directories.
24908
24909 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
24910
24911 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24912 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24913 to nil.
24914 (ruby-end-of-defun): Remove the unused arg, change the docstring
24915 to reflect that this function is only used as the value of
24916 `end-of-defun-function'.
24917 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24918 to reflect an earlier change that beginning/end-of-defun functions
24919 jump between methods in a class definition, as well as top-level
24920 functions.
24921
24922 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24923
24924 * minibuffer.el (minibuffer-complete): Don't just scroll
24925 a *Completions* that's been iconified.
24926 (minibuffer-force-complete): Make sure repetitions do cycle when going
24927 through completion-in-region -> minibuffer-complete.
24928
24929 2013-04-15 Alan Mackenzie <acm@muc.de>
24930
24931 Correct the placement of c-cpp-delimiters when there're #s not at
24932 col 0.
24933
24934 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24935 place a submatch around the #.
24936 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24937 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
24938 on the #, not BOL.
24939
24940 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24941
24942 * emacs-lisp/nadvice.el: Properly test names when adding advice.
24943 (advice--member-p): New arg `name'.
24944 (advice--add-function, advice-member-p): Use it (bug#14202).
24945
24946 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
24947
24948 Reformulate java imenu-generic-expression.
24949 The old expression contained ill formed regexps.
24950
24951 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24952 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24953 (cc-imenu-java-method-arg-regexp): New defconsts.
24954 (cc-imenu-java-build-type-args-regex): New defun.
24955 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24956 handling of spaces in the regexp.
24957
24958 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24959
24960 * textmodes/ispell.el (ispell-command-loop): Remove
24961 flyspell highlight of a word when ispell accepts it (bug #14178).
24962
24963 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
24964
24965 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24966 uses code from the previous `ange-ftp-run-real-handler'.
24967 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24968 only in case that function exist. This is needed for proper
24969 unloading of Tramp.
24970
24971 2013-04-15 Tassilo Horn <tsdh@gnu.org>
24972
24973 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24974
24975 * textmodes/reftex.el (reftex-compile-variables): Use it.
24976
24977 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24978
24979 * files.el (normal-mode): Only use default major-mode if no other mode
24980 was specified.
24981
24982 * emacs-lisp/trace.el (trace-values): New function.
24983
24984 * files.el: Allow : in local variables (bug#14089).
24985 (hack-local-variable-regexp): New var.
24986 (hack-local-variables-prop-line, hack-local-variables): Use it.
24987
24988 2013-04-13 Roland Winkler <winkler@gnu.org>
24989
24990 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
24991 data before it gets modified by bibtex-beginning-of-entry.
24992
24993 2013-04-13 Roland Winkler <winkler@gnu.org>
24994
24995 * textmodes/bibtex.el (bibtex-url): Doc fix.
24996
24997 2013-04-13 Roland Winkler <winkler@gnu.org>
24998
24999 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25000 does not visit a BibTeX file, exclude it from the list of buffers
25001 returned by bibtex-initialize.
25002
25003 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25004
25005 * window.el (split-window): Remove interactive form, since as a
25006 command this function is a special case of split-window-below.
25007 Correct doc string.
25008
25009 2013-04-12 Roland Winkler <winkler@gnu.org>
25010
25011 * faces.el (read-face-name): Do not override value of arg default.
25012 Allow single faces and strings as default values. Remove those
25013 elements from return value that are not faces.
25014 (describe-face): Simplify.
25015 (face-at-point): New optional args thing and multiple so that this
25016 function can provide the same functionality previously provided by
25017 read-face-name.
25018 (make-face-bold, make-face-unbold, make-face-italic)
25019 (make-face-unitalic, make-face-bold-italic, invert-face)
25020 (modify-face, read-face-and-attribute): Use face-at-point.
25021
25022 * cus-edit.el (customize-face, customize-face-other-window)
25023 * cus-theme.el (custom-theme-add-face)
25024 * face-remap.el (buffer-face-set)
25025 * facemenu.el (facemenu-set-face): Use face-at-point.
25026
25027 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25028
25029 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25030
25031 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25032
25033 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25034 off leading { and trailing } from field values.
25035
25036 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25037
25038 * emacs-lisp/timer.el (timer--check): New function.
25039 (timer--time, timer-set-function, timer-event-handler): Use it.
25040 (timer-set-idle-time): Simplify.
25041 (timer--activate): CSE.
25042 (timer-event-handler): Give more info in error message.
25043 (internal-timer-start-idle): New function, moved from C.
25044
25045 * mpc.el (mpc-proc): Add `restart' argument.
25046 (mpc-proc-cmd): Use it.
25047 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25048 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25049 less often.
25050
25051 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25052
25053 * progmodes/sh-script.el: Implement `sh-mode' own
25054 `add-log-current-defun-function' (bug#14112).
25055 (sh-current-defun-name): New function.
25056 (sh-mode): Use the function.
25057
25058 2013-04-09 Bastien Guerry <bzg@gnu.org>
25059
25060 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25061
25062 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25063
25064 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25065
25066 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25067 timer (bug#14156).
25068
25069 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25070
25071 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25072 declaration.
25073
25074 2013-04-07 Leo Liu <sdl.web@gmail.com>
25075
25076 * pcmpl-x.el: New file.
25077
25078 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25079
25080 Do not set x-display-name until X connection is established.
25081 This is needed to prevent from weird situation described at
25082 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25083 * frame.el (make-frame): Set x-display-name after call to
25084 window system initialization function, not before.
25085 * term/x-win.el (x-initialize-window-system): Add optional
25086 display argument and use it.
25087 * term/w32-win.el (w32-initialize-window-system):
25088 * term/ns-win.el (ns-initialize-window-system):
25089 * term/pc-win.el (msdos-initialize-window-system):
25090 Add compatible optional display argument.
25091
25092 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25093
25094 * files.el (normal-backup-enable-predicate): On MS-Windows and
25095 MS-DOS compare truenames of temporary-file-directory and of the
25096 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25097 don't fail comparison by compare-strings. Also, compare file
25098 names case-insensitively on MS-Windows and MS-DOS.
25099
25100 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25101
25102 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25103 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25104
25105 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25106
25107 * whitespace.el (whitespace-color-on, whitespace-color-off):
25108 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25109
25110 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25111
25112 * ispell.el (ispell-set-spellchecker-params):
25113 Really set `ispell-args' for all equivs.
25114
25115 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25116
25117 * ido.el (ido-completions): Use extra elements of ido-decorations
25118 (bug#14143).
25119 (ido-decorations): Update docstring.
25120
25121 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25122
25123 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25124 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25125 nil during initialization, in order not to miss changes since the
25126 file was opened. (Bug#14140)
25127
25128 2013-04-05 Leo Liu <sdl.web@gmail.com>
25129
25130 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25131
25132 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25133
25134 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25135
25136 2013-04-04 Glenn Morris <rgm@gnu.org>
25137
25138 * electric.el (electric-pair-inhibit-predicate): Add :version.
25139
25140 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25141
25142 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25143 when a package is required several times (bug#14082).
25144
25145 2013-04-04 Roland Winkler <winkler@gnu.org>
25146
25147 * faces.el (read-face-name): Behave as promised by the docstring.
25148 Assume that arg default is a list of faces.
25149 (describe-face): Call read-face-name with list of default faces.
25150
25151 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25152
25153 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25154 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25155 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25156 the header.
25157 (bookmark-exit-hook-internal): Save even if list is empty.
25158
25159 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25160
25161 * emacs-lisp/package.el (package-pinned-packages): New var.
25162 (package--add-to-archive-contents): Obey it (bug#14118).
25163
25164 2013-04-03 Alan Mackenzie <acm@muc.de>
25165
25166 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25167 Also adapt to the new values of element 7 of a parse state.
25168
25169 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25170 parameter `not-in-delimiter'. Handle being inside comment opener.
25171 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25172 character in case we're typing a '*' after a '/'.
25173 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25174 instead by passing the parameter to c-state-pp-to-literal.
25175
25176 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25177 for elt. 7 of a parse state.
25178
25179 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25180
25181 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25182 * international/latin1-disp.el, international/mule-util.el:
25183 * language/cyril-util.el, language/european.el, language/ind-util.el:
25184 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25185 * language/tibetan.el, language/viet-util.el:
25186 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25187
25188 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25189
25190 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25191 (electric-pair-post-self-insert-function): Use it.
25192 (electric-pair-default-inhibit): New function, extracted from
25193 electric-pair-post-self-insert-function.
25194
25195 2013-03-31 Roland Winkler <winkler@gnu.org>
25196
25197 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25198
25199 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25200
25201 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25202
25203 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25204
25205 Un-indent after "pass" and "return" statements (Bug#13888)
25206 * progmodes/python.el (python-indent-block-enders): New var.
25207 (python-indent-calculate-indentation): Use it.
25208
25209 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25210
25211 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25212 defun. Defining it as defalias could introduce too eager
25213 byte-compiler optimization. (Bug#14030)
25214
25215 2013-03-30 Chong Yidong <cyd@gnu.org>
25216
25217 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25218
25219 2013-03-30 Leo Liu <sdl.web@gmail.com>
25220
25221 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25222 (kmacro-execute-from-register): Pass the keyboard macro to
25223 kmacro-call-macro or repeating won't work correctly.
25224
25225 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25226
25227 * progmodes/subword.el: Back to using `forward-symbol'.
25228
25229 * subr.el (forward-whitespace, forward-symbol)
25230 (forward-same-syntax): Move from thingatpt.el.
25231
25232 2013-03-29 Leo Liu <sdl.web@gmail.com>
25233
25234 * kmacro.el (kmacro-to-register): New command.
25235 (kmacro-execute-from-register): New function.
25236 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25237
25238 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25239
25240 * mpc.el: Use defvar-local and setq-local.
25241 (mpc--proc-connect): Connection failures are not bugs.
25242 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25243 (mpc-volume-map): Bind to the up-events.
25244
25245 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25246
25247 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25248 instead of `forward-symbol'.
25249
25250 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25251
25252 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25253 (edebug--recursive-edit): Use it.
25254 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25255 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25256
25257 2013-03-28 Leo Liu <sdl.web@gmail.com>
25258
25259 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25260
25261 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25262
25263 * facemenu.el (list-colors-callback): New defvar.
25264 (list-colors-redisplay): New function.
25265 (list-colors-display): Install list-colors-redisplay as the
25266 revert-buffer-function. (Bug#14063)
25267
25268 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25269
25270 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25271 and suffixes don't overlap (bug#14061).
25272
25273 * case-table.el: Use lexical-binding.
25274 (case-table-get-table): New function.
25275 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25276
25277 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25278
25279 * progmodes/subword.el: Add `superword-mode' to do word motion
25280 over symbol_words (parallels and leverages `subword-mode' which
25281 does word motion inside MixedCaseWords).
25282
25283 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25284
25285 * eshell/em-unix.el: Move su and sudo to...
25286 * eshell/em-tramp.el: ...Eshell tramp module.
25287
25288 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25289
25290 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25291 Change return value to be a sexp. Delay `get-buffer' to after
25292 restoring the desktop (bug#13951).
25293
25294 2013-03-26 Leo Liu <sdl.web@gmail.com>
25295
25296 * register.el: Move semantic tag handling back to
25297 cedet/semantic/senator.el. (Bug#14052)
25298
25299 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25300
25301 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25302 into the prompt either (bug#13963).
25303
25304 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25305
25306 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25307 part of "(error-foo)".
25308
25309 2013-03-24 Juri Linkov <juri@jurta.org>
25310
25311 * replace.el (list-matching-lines-prefix-face): New defcustom.
25312 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25313 `occur-engine' if `face-differs-from-default-p' returns t.
25314 (occur-engine): Add `,' inside backquote construct to evaluate
25315 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25316 Pass `prefix-face' to the functions `occur-context-lines' and
25317 `occur-engine-add-prefix'.
25318 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25319 `prefix-face' and propertize the prefix with `prefix-face'.
25320 (Bug#14017)
25321
25322 2013-03-24 Leo Liu <sdl.web@gmail.com>
25323
25324 * nxml/rng-valid.el (rng-validate-while-idle)
25325 (rng-validate-quick-while-idle): Guard against deleted buffer.
25326 (Bug#13999)
25327
25328 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25329 is the last entry in kill-buffer-hook.
25330
25331 * files.el (kill-buffer-hook): Doc fix.
25332
25333 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25334
25335 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25336 Make it safe-local.
25337
25338 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25339
25340 2013-03-23 Leo Liu <sdl.web@gmail.com>
25341
25342 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25343 Remove.
25344
25345 * nxml/rng-valid.el (rng-validate-mode)
25346 (rng-after-change-function, rng-do-some-validation):
25347 * nxml/rng-maint.el (rng-validate-buffer):
25348 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25349 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25350 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25351 (nxml-extend-after-change-region): Use with-silent-modifications.
25352
25353 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25354 timer-idle-list.
25355
25356 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25357 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25358 timer-idle-list. (Bug#13999)
25359
25360 2013-03-23 Juri Linkov <juri@jurta.org>
25361
25362 * info.el (info-index-match): New face.
25363 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25364 main pattern and add text properties with the new face to matches
25365 in index entries relative to the beginning of the index entry.
25366 (Bug#14015)
25367
25368 2013-03-21 Eric Ludlam <zappo@gnu.org>
25369
25370 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25371 Inhibit read only while inserting objects.
25372
25373 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25374
25375 * progmodes/cfengine.el: Update docs to mention
25376 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25377 symbol motion. Remove "_" from the word syntax.
25378
25379 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25380
25381 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25382 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25383
25384 2013-03-20 Juri Linkov <juri@jurta.org>
25385
25386 * info.el (Info-next-reference-or-link)
25387 (Info-prev-reference-or-link): New functions.
25388 (Info-next-reference, Info-prev-reference): Use them.
25389 (Info-try-follow-nearest-node): Handle footnote navigation.
25390 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25391
25392 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25393
25394 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25395 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25396
25397 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25398
25399 Suppress unnecessary non-ASCII chatter during build process.
25400 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25401 (batch-skkdic-convert): Suppress most of the chatter.
25402 It's not needed so much now that machines are faster,
25403 and its non-ASCII component was confusing; see Dmitry Gutov in
25404 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25405
25406 2013-03-20 Leo Liu <sdl.web@gmail.com>
25407
25408 * ido.el (ido-chop): Fix bug#10994.
25409
25410 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25411
25412 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25413 Remove vars.
25414 (whitespace-color-on, whitespace-color-off):
25415 Use `font-lock-fontify-buffer' (Bug#13817).
25416
25417 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25418
25419 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25420 remapping in mode-line.
25421 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25422
25423 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25424
25425 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25426 value for `whitespace-line' face (Bug#13875).
25427 (whitespace-font-lock-keywords): Change description.
25428 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25429 the constructed keywords instead.
25430 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25431
25432 2013-03-19 Leo Liu <sdl.web@gmail.com>
25433
25434 * progmodes/compile.el (compilation-display-error): New command.
25435 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25436 C-o. (Bug#13992)
25437
25438 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25439
25440 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25441
25442 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25443
25444 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25445
25446 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25447
25448 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25449
25450 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25451 * net/tramp-gvfs.el (top):
25452 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25453 (tramp-handle-shell-command): Use it.
25454 (tramp-dissect-file-name): Raise an error when hostname is a
25455 method name, and neither method nor user is specified.
25456
25457 * net/trampver.el: Update release number.
25458
25459 2013-03-18 Leo Liu <sdl.web@gmail.com>
25460
25461 Make sure eldoc can be turned off properly.
25462 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25463 eldoc-mode.
25464 (eldoc-display-message-p): Revert last change.
25465 (eldoc-display-message-no-interference-p)
25466 (eldoc-print-current-symbol-info): Tweak.
25467
25468 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25469
25470 * doc-view.el (doc-view-new-window-function): Check the new window
25471 overlay's display property instead the char property of the
25472 buffer's first char. Use `with-selected-window' instead of
25473 `save-window-excursion' with `select-window'.
25474 (doc-view-document->bitmap): Check the current doc-view overlay's
25475 display property instead the char property of the buffer's first char.
25476
25477 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25478
25479 Automate the build of ja-dic.el (Bug#13984).
25480 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25481 from the input, rather than assume that it's been done for us by the
25482 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25483 the current date into a ja-dic.el comment, as that complicates
25484 regression testing.
25485
25486 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25487
25488 * whitespace.el: Fix double evaluation.
25489 (whitespace-space, whitespace-hspace, whitespace-tab)
25490 (whitespace-newline, whitespace-trailing, whitespace-line)
25491 (whitespace-space-before-tab, whitespace-indentation)
25492 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25493 obsolete defvars.
25494 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25495 (whitespace-color-on): Use a single font-lock-add-keywords call.
25496 Fix double-evaluation of face variables.
25497
25498 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25499
25500 * net/tramp-adb.el (tramp-adb-parse-device-names):
25501 Use `start-process' instead of `call-process'. Otherwise, the
25502 function might be blocked under MS Windows. (Bug#13299)
25503
25504 2013-03-17 Leo Liu <sdl.web@gmail.com>
25505
25506 Extend eldoc to display info in the mode-line. (Bug#13978)
25507 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25508 (eldoc-mode-line-string): New variable.
25509 (eldoc-minibuffer-message): New function.
25510 (eldoc-message-function): New variable.
25511 (eldoc-message): Use it.
25512 (eldoc-display-message-p)
25513 (eldoc-display-message-no-interference-p):
25514 Support eldoc-post-insert-mode.
25515
25516 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25517 (eval-expression): Run it.
25518
25519 2013-03-17 Roland Winkler <winkler@gnu.org>
25520
25521 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25522 strings in the list of return values.
25523
25524 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25525
25526 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25527 radix before checking for HMS forms.
25528
25529 2013-03-16 Leo Liu <sdl.web@gmail.com>
25530
25531 * progmodes/scheme.el: Add indentation and font-locking for λ.
25532 (Bug#13975)
25533
25534 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25535
25536 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25537 token before point (bug#13942).
25538
25539 2013-03-16 Leo Liu <sdl.web@gmail.com>
25540
25541 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25542
25543 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25544
25545 * startup.el (command-line-normalize-file-name): Fix handling of
25546 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25547 <xfq.free@gmail.com> in
25548 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25549
25550 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25551
25552 Sync with Tramp 2.2.7.
25553
25554 * net/trampver.el: Update release number.
25555
25556 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25557
25558 * doc-view.el: Fix bug#13887.
25559 (doc-view-insert-image): Don't modify overlay associated to
25560 non-live windows, and implement horizontal centering of image in
25561 case it's smaller than the window.
25562 (doc-view-new-window-function): Force redisplay of new windows on
25563 doc-view buffers.
25564
25565 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25566
25567 * saveplace.el (save-place-alist-to-file): Don't sort
25568 `save-place-alist', just pretty-print it (bug#13882).
25569
25570 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25571
25572 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25573 Check whether `default-file-name-coding-system' is bound.
25574 It isn't in XEmacs.
25575
25576 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25577
25578 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25579 backquotes for `obsolete' (bug#13929).
25580
25581 * international/mule.el (find-auto-coding): Include file name in
25582 obsolescence warning (bug#13922).
25583
25584 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25585
25586 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25587 for CFEngine 3-specific indentation.
25588 (cfengine3-indent-line): Use it. Fix up category regex.
25589 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25590
25591 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25592
25593 * type-break.el (type-break-file-name):
25594 * textmodes/remember.el (remember-data-file):
25595 * strokes.el (strokes-file):
25596 * shadowfile.el (shadow-initialize):
25597 * saveplace.el (save-place-file):
25598 * ps-bdf.el (bdf-cache-file):
25599 * progmodes/idlwave.el (idlwave-config-directory):
25600 * net/quickurl.el (quickurl-url-file):
25601 * international/kkc.el (kkc-init-file-name):
25602 * ido.el (ido-save-directory-list-file):
25603 * emulation/viper.el (viper-custom-file-name):
25604 * emulation/vip.el (vip-startup-file):
25605 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25606 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25607
25608 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25609
25610 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25611 * language/thai-word.el: Switch to UTF-8.
25612
25613 See ChangeLog.16 for earlier changes.
25614
25615 ;; Local Variables:
25616 ;; coding: utf-8
25617 ;; End:
25618
25619 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25620
25621 This file is part of GNU Emacs.
25622
25623 GNU Emacs is free software: you can redistribute it and/or modify
25624 it under the terms of the GNU General Public License as published by
25625 the Free Software Foundation, either version 3 of the License, or
25626 (at your option) any later version.
25627
25628 GNU Emacs is distributed in the hope that it will be useful,
25629 but WITHOUT ANY WARRANTY; without even the implied warranty of
25630 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25631 GNU General Public License for more details.
25632
25633 You should have received a copy of the GNU General Public License
25634 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.