]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Revert "Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master."
[gnu-emacs] / lisp / ChangeLog
1 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * battery.el (battery-echo-area-format): Simplify default.
4 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
5 for AC adapter.
6
7 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
8 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
9 do it.
10
11 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
12
13 * net/browse-url.el (browse-url-firefox): Remove outdated
14 MS-Windows limitations.
15
16 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
17
18 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
19 obsolete.
20 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
21 Don't clean up postal addresses if ldap-ignore-attribute-codings
22 is set. Combine mail addresses into one field. (Bug#17720)
23 (eudc-ldap-simple-query-internal):
24 Call eudc-ldap-cleanup-record-filtering-addresses instead of
25 eudc-ldap-cleanup-record-simple.
26 (eudc-ldap-get-field-list): Likewise.
27
28 2015-03-05 Ivan Shmakov <ivan@siamics.net>
29
30 * net/eww.el (eww-html-p): New function (bug#20009).
31 (eww-render): Use it.
32
33 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
34
35 * desktop.el (desktop-buffer-info): Write docstring.
36 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
37 unquote lamda.
38
39 * emacs-lisp/package.el (package-refresh-contents): Update doc.
40
41 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
42
43 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
44
45 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 Replace *-function vars with generic functions in cl-generic.
48 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
49 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
50 (cl--generic-t-generalizer): New const.
51 (cl--generic-make-method): Rename from `cl--generic-method-make'.
52 (cl--generic-make): Change calling convention.
53 (cl--generic): Add `options' field.
54 (cl-generic-function-options): New function.
55 (cl-defgeneric): Rewrite handling of options. Add support for :method
56 options and allow the use of a default body.
57 (cl-generic-define): Save options in the corresponding new field.
58 (cl-defmethod): Fix ordering of qualifiers.
59 (cl-generic-define-method): Use cl-generic-generalizers.
60 (cl--generic-get-dispatcher): Change calling convention, and change
61 calling convention of the returned function as well so as to take the
62 list of methods separately from the generic function object, so that it
63 can receive the original generic function object.
64 (cl--generic-make-next-function): New function, extracted from
65 cl--generic-make-function.
66 (cl--generic-make-function): Use it.
67 (cl-generic-method-combination-function): Remove.
68 (cl--generic-cyclic-definition): New error.
69 (cl-generic-call-method): Take a generic function object rather than
70 its name.
71 (cl-method-qualifiers): New alias.
72 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
73 don't segregate by qualifiers here any more.
74 (cl--generic-standard-method-combination): Segregate by qualifiers
75 here instead. Add support for the `:extra' qualifier.
76 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
77 (cl-generic-generalizers, cl-generic-combine-methods):
78 New generic functions.
79 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
80 Use the new "default method in defgeneric" functionality, change
81 calling convention to receive a generic function object.
82 (cl--generic-head-used): New var.
83 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
84 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
85 New consts.
86 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
87 (eieio--generic-subclass-generalizer): New consts.
88 (cl-generic-generalizers): New methods.
89 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
90 (eieio--generic-static-object-generalizer): New consts.
91 (cl-generic-generalizers) <(head eieio--static)>: New method.
92 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
93 Unfold closures like lambdas.
94
95 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
96
97 * autorevert.el (auto-revert-notify-add-watch):
98 Fix handler installation. (Bug#20000)
99
100 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
101
102 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
103 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
104 (eww): Do not end error messages with a period.
105
106 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
107
108 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
109 New user option.
110 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
111 names starting with a space.
112 (tramp-methods): Add `tramp-default-port' for "adb".
113 (tramp-adb-parse-device-names): Add traces. Return device names
114 with port, if present.
115 (tramp-adb-handle-directory-files-and-attributes): Quote all
116 remote file names.
117 (tramp-adb-get-device): New defun.
118 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
119 Use it.
120 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
121 variables. Remove checks for listed devices.
122
123 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
124
125 * net/tramp.el (tramp): Add :link property.
126 (tramp-login-prompt-regexp): Allow also "user", as required by
127 Fritz!Box telnet.
128 (tramp-autoload-file-name-handler): Use "/".
129 (tramp-handle-unhandled-file-name-directory): Return nil when
130 required by the spec.
131
132 * net/tramp-cache.el (tramp-dump-connection-properties):
133 Use `with-temp-file'.
134
135 * net/tramp-sh.el (tramp-perl-file-attributes)
136 (tramp-perl-directory-files-and-attributes): Escape apostrophs in
137 file names.
138 (tramp-do-file-attributes-with-stat): Quote file name.
139 (tramp-sh-handle-directory-files-and-attributes): Fall back to
140 `tramp-handle-directory-files-and-attributes' in case of problems.
141 (tramp-do-directory-files-and-attributes-with-stat)
142 (tramp-sh-handle-file-name-all-completions)
143 (tramp-sh-handle-delete-directory)
144 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
145 Normalize use of "cd".
146 (tramp-do-directory-files-and-attributes-with-stat): Use the
147 `quoting-style' arg of `ls' if possible. Make it also working for
148 file names with apostrophs.
149 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
150 in proper order.
151 (tramp-do-copy-or-rename-file-via-buffer)
152 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
153 (tramp-get-remote-locale): Accept also \r in output.
154 (tramp-get-ls-command-with-quoting-style): New defun.
155 (tramp-get-inline-coding): Set `default-directory' to a local
156 directory. Sporadically, `call-process-region' does not handle a
157 remote default directory properly.
158
159 * net/trampver.el: Update release number.
160
161 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
162
163 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
164 .dat files for aspell dicts are also searched for in location
165 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
166 variable.
167
168 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
169
170 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
171 (ispell-hunspell-fill-dictionary-entry)
172 (ispell-find-hunspell-dictionaries)
173 (ispell-set-spellchecker-params): New generic name for
174 `ispell-hunspell-dictionary-equivs-alist'.
175 (ispell-aspell-add-aliases): Also use
176 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
177 standard dict names.
178
179 2015-03-03 Glenn Morris <rgm@gnu.org>
180
181 * net/browse-url.el (browse-url-firefox-startup-arguments):
182 Make obsolete.
183 (browse-url-firefox): Doc fix. Remove -remote, which no longer
184 exists in Firefox 36. (Bug#19921)
185 (browse-url-firefox-sentinel): Remove function.
186
187 2015-03-03 Eli Zaretskii <eliz@gnu.org>
188
189 * frame.el (blink-cursor-timer-function): Don't increment
190 blink-cursor-blinks-done counter when a menu is active on a w32
191 frame. (Bug#19925)
192
193 2015-03-03 Juri Linkov <juri@linkov.net>
194
195 * comint.el (comint-line-beginning-position): Revert searching for
196 the prompt when comint-use-prompt-regexp is non-nil because it
197 doesn't distinguish input from output. Check the field property
198 `output' for the case when comint-use-prompt-regexp is nil.
199 (Bug#19710)
200
201 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
202
203 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
204 with PAGER=cat. (Bug#19870)
205
206 2015-03-03 Glenn Morris <rgm@gnu.org>
207
208 * textmodes/flyspell.el (flyspell-duplicate-distance):
209 Bump :version.
210
211 2015-03-03 Eli Zaretskii <eliz@gnu.org>
212
213 * textmodes/text-mode.el (text-mode-syntax-table): Make some
214 punctuation character behave as word-constituent, for more
215 compatibility with Unicode.
216
217 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
218
219 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
220
221 Improve string search in `flyspell-word-search-*`. (Bug#16800)
222 * flyspell.el (flyspell-duplicate-distance): Limit default search
223 distance for duplicated words to 40000.
224 (flyspell-word-search-backward, flyspell-word-search-forward):
225 Search as full word with defined casechars, not as substring.
226
227 2015-03-03 Juri Linkov <juri@linkov.net>
228
229 Better support for the case of typing RET on the prompt in comint.
230 * comint.el (comint-get-old-input-default): Go to the field end
231 when comint-use-prompt-regexp is nil.
232 (comint-line-beginning-position): Check if point is already
233 on the prompt before searching for the prompt when
234 comint-use-prompt-regexp is non-nil. (Bug#19710)
235
236 2015-03-03 Eli Zaretskii <eliz@gnu.org>
237
238 * frame.el (frame-notice-user-settings): Refresh the value of
239 frame parameters after calling tty-handle-reverse-video.
240 Call face-set-after-frame-default with the actual parameters, to avoid
241 resetting colors back to unspecified.
242 (set-background-color, set-foreground-color): Pass the foreground
243 and background colors to face-set-after-frame-default. (Bug#19802)
244
245 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
246
247 * net/network-stream.el (network-stream-open-tls): Respect the
248 :end-of-capability setting.
249
250 2015-03-03 Juri Linkov <juri@linkov.net>
251
252 Revert the previous change of comint-line-beginning-position callers,
253 and modify comint-line-beginning-position instead.
254
255 * comint.el (comint-history-isearch-search)
256 (comint-history-isearch-message, comint-history-isearch-wrap):
257 Use comint-line-beginning-position instead of field-beginning.
258 (comint-send-input): Use either end-of-line or field-end
259 depending on comint-use-prompt-regexp.
260 (comint-line-beginning-position): Search backward
261 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
262 Use field-beginning instead of line-beginning-position
263 if comint-use-prompt-regexp is nil. (Bug#19710)
264
265 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
266
267 * calendar/todo-mode.el (todo-item-done): When done items are
268 hidden, restore point to its location prior to invoking this
269 command. (Bug#19727)
270
271 2015-03-03 Eli Zaretskii <eliz@gnu.org>
272
273 * textmodes/artist.el (artist-ellipse-compute-fill-info):
274 Use mapcar, not mapc, to create the other half of fill-info.
275 (Bug#19763)
276
277 2015-03-03 Nicolas Petton <nicolas@petton.fr>
278
279 * emacs-lisp/authors.el (authors-ignored-files)
280 (authors-renamed-files-alist): Additions.
281
282 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
285 tempfile for ControlPath. (Bug#19702)
286
287 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
288
289 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
290 ControlPath if possible. (Bug#19702)
291
292 2015-03-03 Glenn Morris <rgm@gnu.org>
293
294 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
295 (authors-valid-file-names, authors-renamed-files-alist): Additions.
296
297 2015-03-03 Alan Mackenzie <acm@muc.de>
298
299 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
300 * progmodes/cc-mode.el (c-font-lock-init):
301 Set font-lock-extend-region-functions to nil.
302
303 2015-03-03 Daniel Colascione <dancol@dancol.org>
304
305 * emacs-lisp/generator.el: Make globals conform to elisp
306 style throughout. Use more efficient font-lock patterns.
307 (cps-inhibit-atomic-optimization): Rename from
308 `cps-disable-atomic-optimization'.
309 (cps--gensym): New macro; replaces `cl-gensym' throughout.
310 (cps-generate-evaluator): Move the `iter-yield' local macro
311 definition here
312 (iter-defun, iter-lambda): from here.
313
314 (iter-defun): Use `macroexp-parse-body'.
315
316 2015-03-03 Daniel Colascione <dancol@dancol.org>
317
318 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * progmodes/gud.el: Use lexical-binding (bug#19966).
321
322 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
323
324 2015-03-03 Daniel Colascione <dancol@dancol.org>
325
326 * emacs-lisp/generator.el: Make globals conform to elisp
327 style throughout. Use more efficient font-lock patterns.
328 (cps-inhibit-atomic-optimization): Rename from
329 `cps-disable-atomic-optimization'.
330 (cps--gensym): New macro; replaces `cl-gensym' throughout.
331 (cps-generate-evaluator): Move the `iter-yield' local macro
332 definition here...
333 (iter-defun, iter-lambda): ...from here.
334
335 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
336
337 * emacs-lisp/package.el (package-autoremove): Fix if logic.
338
339 2015-03-03 Martin Rudalics <rudalics@gmx.at>
340
341 * window.el (window--dump-frame): For pixel height return total
342 number of frame's lines.
343
344 2015-03-03 Daniel Colascione <dancol@dancol.org>
345
346 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
347
348 * emacs-lisp/generator.el (iter-defun): Correctly propagate
349 docstrings and declarations to underlying function.
350
351 2015-03-02 Daniel Colascione <dancol@dancol.org>
352
353 * emacs-lisp/generator.el: New file.
354
355 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
356 `vc-responsible-backend'.
357
358 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
359
360 * vc/vc-hooks.el (vc-state, vc-working-revision):
361 Use `vc-responsible-backend' in order to support unregistered files.
362
363 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
364
365 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
366 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
367 master name.
368
369 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
370
371 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
372
373 * net/shr.el (shr-insert): Remove soft hyphens.
374 (shr-insert): Also remove soft hypens from non-folded text.
375
376 2015-02-28 Eli Zaretskii <eliz@gnu.org>
377
378 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
379 when the charset is only given by the HTML <head>, and allow to
380 specify the encoding with "C-x RET c".
381
382 2015-02-27 Mark Laws <mdl@60hz.org>
383
384 Support daemon mode on MS-Windows (bug#19688)
385 * server.el (server-process-filter): Force GUI frames on
386 MS-Windows in daemon mode, even if a TTY frame was requested.
387
388 * frameset.el (frameset-keep-original-display-p): Don't assume
389 windows-nt cannot be in daemon mode.
390
391 * frame.el (window-system-for-display): Don't assume windows-nt
392 cannot be in daemon mode.
393
394 2015-02-26 Ivan Shmakov <ivan@siamics.net>
395
396 * faces.el (face-list-p): Split from face-at-point.
397 (face-at-point): Use it.
398 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
399
400 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
401
402 * vc/vc.el (vc-annotate-switches): New defcustom.
403 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
404 (vc-bzr-annotate-command): Use vc-switches.
405 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
406 (vc-cvs-annotate-command): Use vc-switches.
407 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
408 (vc-git-annotate-command): Use vc-switches.
409 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
410 (vc-hg-annotate-command): Use vc-switches.
411 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
412 (vc-mtn-annotate-command): Use vc-switches.
413 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
414 (vc-svn-annotate-command): Use vc-switches.
415
416 2015-02-26 Alan Mackenzie <acm@muc.de>
417
418 Handle "#" operator properly inside macro. Fix coding bug.
419
420 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
421 On finding a "#" which looks like the start of a macro, check it
422 isn't already inside a macro.
423
424 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
425 "safe" position into the list of them when this is beyond our
426 current position.
427
428 2015-02-26 Martin Rudalics <rudalics@gmx.at>
429
430 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
431 the menu frame is dead. (Bug#19728)
432
433 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
434
435 python.el: Handle tabs in python-indent-dedent-line.
436 * progmodes/python.el (python-indent-dedent-line): Fixes for
437 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
438
439 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
440
441 * progmodes/python.el (python-indent-context): Respect user
442 indentation after comment.
443
444 2015-02-26 Tassilo Horn <tsdh@gnu.org>
445
446 * textmodes/reftex-vars.el (featurep): Conditionalize value of
447 reftex-label-regexps in order to stay compatible with XEmacs 21.5
448 which has no explicitly numbered groups in regexps (bug#19714).
449
450 2015-02-26 Daiki Ueno <ueno@gnu.org>
451
452 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
453 integer before comparison.
454
455 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
456
457 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
458
459 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
460
461 * emacs-lisp/check-declare.el (check-declare-warn):
462 Use compilation-style warnings.
463 (check-declare-files): Make sure that
464 `check-declare-warning-buffer' is in `compilation-mode'.
465
466 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
467
468 * emacs-lisp/check-declare.el (check-declare-ext-errors):
469 New defcustom.
470 (check-declare): New defgroup.
471 (check-declare-verify): When `check-declare-ext-errors' is
472 non-nil, warn about an unfound function, instead of saying
473 "skipping external file".
474
475 2015-02-25 Tassilo Horn <tsdh@gnu.org>
476
477 * textmodes/reftex-vars.el (reftex-include-file-commands):
478 Call reftex-set-dirty on changes.
479
480 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
483 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
484 save-excursion.
485
486 2015-02-24 Glenn Morris <rgm@gnu.org>
487
488 * mail/rmailsum.el (rmail-summary-previous-all)
489 (rmail-summary-previous-msg): Simplify.
490
491 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
492
493 * simple.el (region-active-p): Fix doc to say non-nil.
494
495 2015-02-24 Samer Masterson <nosefrog@gmail.com>
496
497 * eshell/em-hist.el (eshell-hist-parse-word-designator):
498 Return args joined with " ".
499 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
500 (eshell-hist-parse-modifier): Pass mod a list instead of a string
501 (bug#18960).
502
503 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
504
505 * comint.el (comint-mode-map): Fix obvious typo.
506
507 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
508
509 * filecache.el (file-cache-filter-regexps):
510 Add lock files. (Bug#19516)
511
512 2015-02-24 Glenn Morris <rgm@gnu.org>
513
514 * mail/rmailsum.el (rmail-summary-next-all)
515 (rmail-summary-previous-all, rmail-summary-next-msg):
516 Fix handling of optional argument. (Bug#19916)
517
518 * progmodes/f90.el (f90-beginning-of-subprogram)
519 (f90-end-of-subprogram, f90-match-end):
520 Handle continued strings where the continuation does not start
521 with "&" and happens to match our regexp. (Bug#19809)
522
523 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
524
525 * comint.el (comint-clear-buffer): New command.
526 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
527
528 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
529
530 Use ${EXEEXT} more uniformly in makefiles
531 * Makefile.in (EMACS): Append ${EXEEXT}.
532
533 2015-02-23 Sam Steingold <sds@gnu.org>
534
535 * files.el (recover-session): Handle `auto-save-list-file-prefix'
536 being a directory (empty non-directory part).
537
538 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
539
540 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
541 instead of sasl-scram-sha-1, as the former is the name that can be
542 required.
543
544 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
545 (sasl-scram-sha-1-client-final-message)
546 (sasl-scram-sha-1-authenticate-server): Move to end of file.
547
548 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
549
550 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
551 (Bug#19826)
552
553 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
556 and :documentation. Change return value format accordingly.
557 * emacs-lisp/cl-generic.el (cl--generic-lambda):
558 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
559 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
560
561 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
562
563 Introduce `xref-etags-mode'.
564 * progmodes/xref.el (xref-etags-mode--saved): New variable.
565 (xref-etags-mode): New minor mode. (Bug#19466)
566
567 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
568
569 * dom.el (dom-previous-sibling): New function.
570
571 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
572
573 * bindings.el (ctl-x-map): There is no 'C-;'.
574 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
575 Perhaps some other binding should be chosen. (Bug#19826)
576
577 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
578
579 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
580
581 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
582
583 * autorevert.el (auto-revert-notify-add-watch)
584 (auto-revert-notify-handler, auto-revert-buffers): Handle also
585 buffers without an associated file, like dired buffers. (Bug#16112)
586
587 2015-02-21 Dima Kogan <dima@secretsauce.net>
588
589 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
590 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
591 wrappers. Call (auto-revert-buffers) consequently in order to
592 install handlers.
593
594 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
595
596 Sync with upstream verilog-mode revision 0d6420b.
597 * progmodes/verilog-mode.el (verilog-mode-version): Update.
598 (vector-skip-list): Remove.
599 (verilog-auto-inst-port, verilog-auto-inst-port-list)
600 (verilog-auto-inst, verilog-auto-inst-param):
601 Use arguments rather than vector-skip.
602 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
603 modport if signal attachment is itself a modport.
604 Reported by Matthew Lovell.
605
606 2015-02-21 Reto Zimmermann <reto@gnu.org>
607
608 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
609 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
610 (vhdl-doc-release-notes): Update.
611 (vhdl-standard): Add VHDL'08 option.
612 (vhdl-sensitivity-list-all): New option.
613 (vhdl-directive-keywords): Add psl.
614 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
615 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
616 (vhdl-imenu-generic-expression): Add context, directive.
617 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
618 (vhdl-template-map-init): Add vhdl-template-context.
619 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
620 (vhdl-create-mode-menu): Add some entries.
621 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
622 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
623 New constants.
624 (vhdl-directives): New variable.
625 (vhdl-words-init, vhdl-template-process)
626 (vhdl-template-replace-header-keywords): Support VHDL'08.
627 (vhdl-abbrev-list-init): Add vhdl-directives.
628 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
629 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
630 (vhdl-lineup-comment): Handle block comments and directives.
631 (vhdl-beginning-of-directive, vhdl-template-context)
632 (vhdl-template-context-hook): New functions.
633 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
634 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
635 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
636 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
637 (vhdl-scan-context-clause): Add context.
638
639 2015-02-20 Glenn Morris <rgm@gnu.org>
640
641 * calendar/solar.el (solar-sunrise-sunset-string):
642 Shorten message a little.
643 (sunrise-sunset): Use message rather than a window. (Bug#19859)
644
645 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
646 (f90-font-lock-keywords-2): Some F2008 additions.
647
648 2015-02-19 Dima Kogan <dima@secretsauce.net>
649
650 * autorevert.el (auto-revert-buffers-counter)
651 (auto-revert-buffers-counter-lockedout): New variables.
652 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
653 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
654 suppressed by lockout. (Bug#18958)
655
656 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
659 returns classes, not class names (bug#19891).
660
661 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
662
663 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
664
665 2015-02-18 Kelly Dean <kelly@prtime.org>
666
667 * register.el (jump-to-register):
668 * emacs-lisp/lisp.el (check-parens):
669 Push mark before goto-char so user doesn't lose his previous place.
670
671 2015-02-18 Kelly Dean <kelly@prtime.org>
672
673 * rect.el (rectangle-mark-mode):
674 Suppress superfluous "Mark set" message from push-mark.
675
676 2015-02-18 Kelly Dean <kelly@prtime.org>
677
678 * help-mode.el (help-go-back, help-go-forward, help-follow):
679 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
680 * winner.el (winner-redo):
681 * windmove.el (windmove-do-window-select):
682 * register.el (jump-to-register, increment-register, insert-register)
683 (append-to-register, prepend-to-register):
684 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
685 (set-visited-file-name):
686 * emacs-lisp/lisp.el (kill-backward-up-list):
687 Use user-error instead of error. (Bug#14480)
688
689 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
692 assumptions about window ordering.
693
694 2015-02-16 Kelly Dean <kelly@prtime.org>
695
696 * files.el (insert-file-contents-literally): Fix docstring typo.
697
698 2015-02-16 Kelly Dean <kelly@prtime.org>
699
700 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
701 arguments correctly. (Bug#19685)
702 (define-minor-mode): Clarify docstring.
703 Clarify mode switch messages for minor modes. (Bug#19690)
704
705 2015-02-16 Kelly Dean <kelly@prtime.org>
706
707 * emacs-lisp/package-x.el (package-upload-buffer-internal):
708 Create valid tar files. (Bug#19536)
709
710 2015-02-16 Kelly Dean <kelly@prtime.org>
711
712 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
713 (Bug#19059)
714
715 2015-02-16 Kelly Dean <kelly@prtime.org>
716
717 * help-mode.el (help-do-xref): Prevent duplicated display of Info
718 buffer, and prevent interference with existing buffer. (Bug#13190)
719
720 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
721
722 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
723
724 * progmodes/python.el (python-shell-font-lock-post-command-hook):
725 Do not deactivate mark on fontification.
726
727 2015-02-16 Ivan Shmakov <ivan@siamics.net>
728
729 * net/eww.el: Fix desktop support. (Bug#19226)
730 (eww-mode): Add autoload cookie.
731 (eww-restore-desktop): Use inhibit-read-only.
732
733 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
734 add-hook works correctly even if the file is not yet loaded.
735
736 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
739 eieio-constructor.
740 (set-slot-value): Mark as obsolete.
741 (eieio-object-class-name): Improve call to eieio-class-name.
742 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
743 (object-slots): Use it. Declare obsolete.
744 (eieio-constructor): Merge it with `make-instance'.
745 (initialize-instance): Use `dolist'.
746 (eieio-override-prin1, eieio-edebug-prin1-to-string):
747 Use eieio--class-print-name.
748
749 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
750 (eieio-class-name): Make it do what the docstring claims.
751 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
752 (eieio--slot-name-index): Simplify accordingly.
753 (eieio-barf-if-slot-unbound): Pass the class object rather than its
754 name to `slot-unbound'.
755
756 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
757 than on eieio-constructor.
758
759 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
762 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
763 about relationship between `type', `named', and `slots'.
764 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
765 value of `cl-struct-type' property.
766
767 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
768
769 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
770 with PAGER=cat. (Bug#19870)
771
772 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
773
774 * emacs-lisp/package.el (package-read-all-archive-contents):
775 Don't build the compatibility table.
776 (package-refresh-contents, package-initialize): Do build the
777 compatibility table.
778 (package--build-compatibility-table): New function.
779 (describe-package-1): Describe why a package is incompatible.
780
781 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
784 of the parent.
785 (cl--assertion-failed): New function.
786 (cl-assertion-failed): Move in from cl-lib.el.
787
788 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
789 as children of its parents.
790 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
791 (cl-typep): Reimplement using define-inline.
792 (cl-assert): Use cl--assertion-failed.
793 (cl-struct-slot-value): Use define-inline.
794
795 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
796
797 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
798 (flyspell-generic-check-word-p): Mark as obsolete.
799
800 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
801
802 * emacs-lisp/package.el (package--compatibility-table): New var.
803 (package--add-to-compatibility-table): New function.
804 (package-read-all-archive-contents): Populate compatibility table.
805 (package--incompatible-p): Also look in dependencies.
806 (describe-package-1): Fix "incompat" handling.
807
808 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
809
810 * net/rfc2104.el: Moved here from lisp/gnus.
811
812 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
813
814 * net/sasl-scram-rfc.el: New file.
815
816 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
817 Add SCRAM-SHA-1 first.
818 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
819 entry (bug#17636).
820
821 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
822
823 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
824 <ul>.
825
826 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
827
828 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
829 (gdb-inferior-filter): Don't pop up the buried output buffer when
830 `gdb-display-io-nopopup' is non-nil.
831
832 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
833
834 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
835
836 * progmodes/python.el (python-shell-font-lock-kill-buffer):
837 Don't require a running process.
838 (python-shell-font-lock-post-command-hook): Fontify only if the
839 shell process is running.
840
841 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * hi-lock.el (hi-lock-unface-buffer): Don't call
844 font-lock-remove-keywords if not needed (bug#19796).
845
846 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
847
848 * emacs-lisp/package.el (package-install): Invert the second
849 argument, for better backwards compatibility.
850 (package-install-button-action, package-reinstall)
851 (package-menu-execute): Account for the change.
852
853 2015-02-11 Nicolas Petton <nicolas@petton.fr>
854
855 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
856 version of seq-reverse that works on sequences in Emacs 24.
857 Bump seq.el version to 1.2.
858
859 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
860
861 * emacs-lisp/package.el (package--incompatible-p): New function.
862 Return non-nil if PKG has no chance of being installable.
863 (package--emacs-version-list): New variable.
864 (describe-package-1, package-desc-status)
865 (package-menu--print-info, package-menu--status-predicate):
866 Account for the "incompat" status.
867
868 2015-02-11 Martin Rudalics <rudalics@gmx.at>
869
870 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
871 Rename frame parameter `maximized' to `fullscreen-restore'.
872 Restore fullwidth/-height after fullboth state. Update doc-strings.
873
874 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
875
876 * net/shr.el (shr-insert): Make sure the space inserted has the
877 right font (for width).
878 (shr-fill-line): Preserve background colours when indenting/folding.
879 (shr-ensure-paragraph): Don't insert a new paragraph as the first
880 item in a <li>.
881
882 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
883
884 * net/shr.el (shr-use-fonts): New variable.
885 (shr-fill-text): Rename from "fold".
886 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
887 New functions.
888 (shr-insert): Just insert, don't fill the text. Filling is now
889 done afterwards per display unit.
890 (shr-fill-lines, shr-fill-line): New functions to fill text on a
891 per-unit base.
892 (shr-find-fill-point): Take a "beginning" parameter.
893 (shr-indent): Indent using the :width display parameter when using
894 fonts.
895 (shr-parse-style): Ignore "inherit" values, since we already do that.
896 (shr-tag-img): Remove the insertion states.
897 (shr-tag-blockquote): New-style filling.
898 (shr-tag-dd): Ditto.
899 (shr-tag-li): Ditto.
900 (shr-mark-fill): New function to mark lines that need filling.
901 (shr-tag-h1): Use a larger font.
902 (shr-tag-table-1): Get the natural and suggested widths in one
903 rendering.
904 (shr-tag-table): Create the "fixed" version of the table only once
905 so that we can cache data in the table.
906 (shr-insert-table): Get colspan calculations right by having
907 zero-width columns after colspan ones.
908 (shr-expand-alignments): New function to make :align-to specs work
909 right when rendered in one buffer and displayed in another one.
910 (shr-insert-table-ruler): Use :align-to to get the widths right.
911 (shr-make-table): Cache more.
912 (shr-make-table-1): Use the new <td> data layout.
913 (shr-pixel-buffer-width): New function.
914 (shr-render-td): Add a caching layer.
915 (shr-dom-max-natural-width): New function.
916 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
917 (shr-tag-tt): New function.
918 (shr-tag-hr): Compute the right length when using fonts.
919 (shr-table-widths): Off-by-one error in width computation.
920 (shr-expand-newlines): Remove dead code.
921 (shr-insert-table): Extend background colors to the end of the column.
922 (shr-insert-table): Only copy the background, not underline and
923 the like.
924 (shr-face-background): New function.
925
926 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
927
928 python.el: Improved shell font lock respecting markers. (Bug#19650)
929
930 * progmodes/python.el
931 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
932 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
933 (python-shell-font-lock-post-command-hook): Fontify by copying text
934 properties from fontified buffer to shell, keeping markers unchanged.
935 (python-shell-font-lock-turn-off): Fix typo.
936 (python-util-text-properties-replace-name): Delete function.
937
938 2015-02-09 Nicolas Petton <nicolas@petton.fr>
939
940 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
941 return sequence elements in correct order.
942
943 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
944
945 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
946
947 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
950
951 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
952 case where the default value would be re-interpreted as a form!
953
954 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
955
956 * help-fns.el (help-fns--signature): Keep doc for keymap.
957
958 2015-02-09 Kelly Dean <kelly@prtime.org>
959
960 * desktop.el: Save mark-ring less verbosely.
961 (desktop-var-serdes-funs): New var.
962 (desktop-buffer-info, desktop-create-buffer): Use it.
963 (desktop-file-version): Update to 208.
964
965 2015-02-09 Leo Liu <sdl.web@gmail.com>
966
967 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
968
969 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
970
971 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
972
973 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
974
975 Port to platforms lacking test -a and -o
976 * Makefile.in (compile-clean):
977 * net/tramp-sh.el (tramp-find-executable):
978 Prefer '&&' and '||' to 'test -a' and 'test -o'.
979
980 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
981
982 * newcomment.el (comment-line): Fix missing paren.
983
984 2015-02-08 Ulrich Müller <ulm@gentoo.org>
985
986 * play/gamegrid.el: Update comment to reflect that the
987 'update-game-score' helper program is now setgid by default.
988
989 2015-02-08 David Kastrup <dak@gnu.org>
990
991 * subr.el (apply-partially): Use lexical binding here.
992
993 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
994
995 * newcomment.el (comment-line): New command.
996
997 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
998
999 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1000
1001 * outline.el (outline-show-entry): Fix one invisible char for the
1002 file's last outline. (Bug#19493)
1003
1004 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * subr.el (indirect-function): Change advertised calling convention.
1007
1008 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1009
1010 python.el: Fix completion-at-point. (Bug#19667)
1011
1012 * progmodes/python.el
1013 (python-shell-completion-native-get-completions): Force process buffer.
1014 (python-shell-completion-at-point): Handle case where call is not
1015 in a shell buffer.
1016
1017 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1018
1019 python.el: Fix shell font-lock multiline input. (Bug#19744)
1020
1021 * progmodes/python.el
1022 (python-shell-font-lock-post-command-hook): Handle multiline input.
1023
1024 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1025
1026 python.el: Make shell font-lock respect markers. (Bug#19650)
1027
1028 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1029 Use `erase-buffer`.
1030 (python-shell-font-lock-comint-output-filter-function):
1031 Handle newlines.
1032 (python-shell-font-lock-post-command-hook): Respect markers on
1033 text fontification.
1034
1035 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1036
1037 python.el: Keep eldoc visible while typing args. (Bug#19637)
1038 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1039 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1040 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1041
1042 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1043
1044 Fix hideshow integration. (Bug#19761)
1045 * progmodes/python.el
1046 (python-hideshow-forward-sexp-function): New function based on
1047 Carlos Pita <carlosjosepita@gmail.com> patch.
1048 (python-mode): Make `hs-special-modes-alist` use it and initialize
1049 the end regexp with the empty string to avoid skipping parens.
1050
1051 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1052
1053 * progmodes/python.el (python-check-custom-command): Do not use
1054 defvar-local for compat with Emacs<24.3.
1055
1056 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1057
1058 * frame.el (frame-notice-user-settings):
1059 Update `frame-size-history'.
1060 (make-frame): Update `frame-size-history'.
1061 Call `frame-after-make-frame'.
1062 * faces.el (face-set-after-frame-default): Remove call to
1063 frame-can-run-window-configuration-change-hook.
1064
1065 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1068 `vc-cvs-command' (bug#19732).
1069
1070 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1071
1072 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1073 New functions.
1074 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1075 (seq--drop-list, seq--take-list, seq--take-while-list):
1076 Better docstring.
1077
1078 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1079
1080 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1081 `image-kill-buffer' instead.
1082
1083 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1084
1085 * net/ldap.el (ldap-search-internal): Fix docstring.
1086
1087 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1088
1089 * subr.el (define-error): The error conditions may be constant
1090 lists, so use `append' to concatenate them.
1091
1092 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1093
1094 * net/network-stream.el (network-stream-open-tls): Respect the
1095 :end-of-capability setting.
1096
1097 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1098
1099 * emacs-lisp/package.el (package--sort-by-dependence):
1100 New function. Return PACKAGE-LIST sorted by dependencies.
1101 (package-menu-execute): Use it to delete packages in order.
1102 (package--sort-deps-in-alist): New function.
1103 (package-menu-mark-install): Can mark dependencies.
1104 (package--newest-p): New function.
1105 (package-delete): Don't deselect when deleting an older version of
1106 an upgraded package.
1107
1108 * emacs-lisp/package.el: Add missing (require 'subr-x)
1109
1110 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1113 hyphenated (bug#19263).
1114
1115 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1116 of variable interpolation (bug#19751).
1117
1118 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1119
1120 * json.el (json-end-of-file): New error (bug#19768).
1121 (json-pop, json-read): Use it.
1122
1123 2015-02-05 Kelly Dean <kelly@prtime.org>
1124
1125 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1126 `describe-variable'.
1127
1128 * help-fns.el (describe-function-or-variable): New function.
1129
1130 * help.el (help-map): Bind `describe-function-or-variable' to o.
1131 (help-for-help-internal): Document o key.
1132
1133 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1136 special (:documentation ...) feature.
1137 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1138 (eieio-make-child-predicate): Same.
1139 (eieio-copy-parents-into-subclass): Remove unused arg.
1140 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1141 `pname' var.
1142 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1143 callers accordingly.
1144
1145 * emacs-lisp/cconv.el (cconv--convert-function):
1146 Add `docstring' argument.
1147 (cconv-convert): Use it to handle the new (:documentation ...) form.
1148 (cconv-analyze-form): Handle the new (:documentation ...) form.
1149
1150 * emacs-lisp/bytecomp.el:
1151 (byte-compile-initial-macro-environment): Use macroexp-progn.
1152 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1153 (byte-compile-file-form-defvar-function): Rename from
1154 byte-compile-file-form-define-abbrev-table.
1155 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1156 (byte-compile): Use byte-compile-top-level rather than
1157 byte-compile-lambda so we can compile non-values.
1158 (byte-compile-form): Add warnings for failed uses of lexical vars via
1159 quoted symbols.
1160 (byte-compile-unfold-bcf): Improve message for failed inlining.
1161 (byte-compile-make-closure): Handle new format of internal-make-closure
1162 for dynamically-generated docstrings.
1163
1164 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1165 (open-line): Delete like all other commands, instead of killing.
1166 (delete-active-region): Don't define any return any value.
1167
1168 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1169 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1170 default.
1171
1172 2015-02-04 Sam Steingold <sds@gnu.org>
1173
1174 * progmodes/python.el (python-indent-calculate-indentation):
1175 Avoid the error when computing top-level indentation.
1176
1177 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1180
1181 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1182 (mail-mode-flyspell-verify): Fix last change.
1183 (flyspell-external-point-words, flyspell-large-region):
1184 Avoid add-to-list on local vars.
1185
1186 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1187
1188 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1189 void-variable error.
1190
1191 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1192
1193 * image-mode.el (image-kill-buffer): New command.
1194 (image-mode-map): Bind it to k.
1195
1196 * emacs-lisp/package.el (package-delete): Remove package from
1197 `package-selected-packages' even if it can't be deleted.
1198 (package-installed-p): Accept package-desc objects.
1199 (package-install): Can be used to mark dependencies as
1200 selected. When given a package-desc object which is already
1201 installed, the package is not downloaded again, but it is marked
1202 as selected (if it wasn't already).
1203 (package-reinstall): Accept package-desc objects.
1204
1205 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1206
1207 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1208 (package--get-deps): delete-dups when ONLY is nil.
1209 (package-autoremove): Warn the user if `package-selected-packages'
1210 is empty.
1211
1212 (package--user-selected-p): New function.
1213 (package-delete, package-install, package-install-from-buffer):
1214 Use it
1215 (package-selected-packages): Mention it.
1216
1217 (package-initialize): Don't populate `package-selected-packages'.
1218 (package-install-user-selected-packages, package-autoremove):
1219 Special handling for empty `package-selected-packages'.
1220 (package-install): Fix when PKG is a package-desc.
1221
1222 (package-desc-status): Add "dependency" status to the Package
1223 Menu.
1224 (package-menu--status-predicate, package-menu--print-info)
1225 (package-menu-mark-delete, package-menu--find-upgrades)
1226 (package-menu--status-predicate, describe-package-1): Use it
1227
1228 (package--removable-packages): New function.
1229 (package-autoremove): Use it.
1230 (package-menu-execute): Offer to remove unneeded packages.
1231
1232 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1233 tar-desc.
1234
1235 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1236
1237 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1238 (package-delete): New NOSAVE argument.
1239
1240 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1243 (tramp-open-shell, tramp-maybe-open-connection): Set also
1244 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1245
1246 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1247
1248 * emacs-lisp/package.el (package--find-non-dependencies):
1249 New function.
1250 (package-initialize): Use it to populate `package-selected-packages'.
1251 (package-menu-execute): Clean unnecessary `and'.
1252 (package--get-deps): Fix returning duplicates.
1253
1254 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1255
1256 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1257 Use it as default.
1258 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1259 (Bug#19731)
1260
1261 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1262
1263 * emacs-lisp/package.el (package-delete): Remove package from
1264 package-selected-packages.
1265 (package-autoremove): Remove unneeded variable.
1266
1267 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1268
1269 * emacs-lisp/package.el (package-selected-packages): Fix :type
1270 (package-install): Rename ARG to MARK-SELECTED.
1271 (package--get-deps): Fix for indirect dependencies.
1272 (package-used-elsewhere-p): Rename to
1273 (package--used-elsewhere-p): New function.
1274 (package-reinstall, package-user-selected-packages-install)
1275 (package-autoremove): Use sharp-quote.
1276 (package-user-selected-packages-install): Reindent and rename to
1277 (package-install-user-selected-packages): New function.
1278
1279 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1280
1281 * emacs-lisp/package.el: Don't allow deleting dependencies.
1282
1283 (package-used-elsewhere-p): New function.
1284 (package-delete): Use it, return now an error when trying to
1285 delete a package used as dependency by another package.
1286
1287 Add a reinstall package command.
1288 (package-reinstall): New function.
1289
1290 Add a package-autoremove command.
1291 (package-selected-packages): New user var.
1292 (package-install): Add an optional arg to notify interactive use.
1293 Fix docstring. Save installed package to
1294 packages-installed-directly.
1295 (package-install-from-buffer): Same.
1296 (package-user-selected-packages-install): Allow installing all
1297 packages in packages-installed-directly at once.
1298 (package--get-deps): New function.
1299 (package-autoremove): New function.
1300 (package-install-button-action): Call package-install with
1301 interactive arg.
1302 (package-menu-execute): Same but only for only for not installed
1303 packages.
1304
1305 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1308 and eieio-make-child-predicate.
1309 (eieio-class-parents): Use eieio--class-object.
1310 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1311 (slot-exists-p): Use find-class.
1312
1313 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1314 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1315 convention for eieio-class-def.
1316 (eieio-build-class-list): Remove function, unused.
1317 (eieio-method-def): Remove button type, unused.
1318 (eieio-class-def): Inherit from help-function-def.
1319 (eieio--defclass-regexp): New constant.
1320 (find-function-regexp-alist): Use it.
1321 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1322 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1323 Remove functions.
1324
1325 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1326 Use cl-check-type everywhere instead.
1327 (eieio-class-object): Remove, use find-class instead when needed.
1328 (class-p): Don't inline.
1329 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1330 such as eieio classes, as objects. Don't inline.
1331 (object-p): Mark as obsolete.
1332 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1333 (eieio--generic-tagcode): Avoid `class-p'.
1334 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1335 (eieio-defclass-internal): Use current-load-list rather than
1336 `class-location'.
1337
1338 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1339
1340 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1343 since it may be "equivalent" in some sense, yet different (bug#19734).
1344
1345 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1346
1347 * outline.el (outline-font-lock-face): Add docstring.
1348 (outline-invisible-p): Improve docstring.
1349 (outline-invent-heading): Add docstring.
1350 (outline-promote): Improve docstring.
1351 (outline-demote): Improve docstring.
1352 (outline-head-from-level): Improve docstring.
1353 (outline-end-of-heading): Add docstring.
1354 (outline-next-visible-heading): Improve docstring.
1355 (outline-previous-visible-heading): Improve docstring.
1356 (outline-hide-region-body): Improve docstring.
1357 (outline-flag-subtree): Add docstring.
1358 (outline-end-of-subtree): Add docstring.
1359 (outline-headers-as-kill): Improve docstring.
1360
1361 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1362
1363 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1364 (hide-entry): Declare as obsolete.
1365 (outline-show-entry): Rename from `show-entry'.
1366 (show-entry): Declare as obsolete.
1367 (outline-hide-body): Rename from `hide-body'.
1368 (hide-body): Declare as obsolete.
1369 (outline-hide-region-body): Rename from `hide-region-body'.
1370 (hide-region-body): Declare as obsolete.
1371 (outline-show-all): Rename from `show-all'.
1372 (show-all): Declare as obsolete.
1373 (outline-hide-subtree): Rename from `hide-subtree'.
1374 (hide-subtree): Declare as obsolete.
1375 (outline-hide-leaves): Rename from `hide-leaves'.
1376 (hide-leaves): Declare as obsolete.
1377 (outline-show-subtree): Rename from `show-subtree'.
1378 (show-subtree): Declare as obsolete.
1379 (outline-hide-sublevels): Rename from `hide-sublevels'.
1380 (hide-sublevels): Declare as obsolete.
1381 (outline-hide-other): Rename from `hide-other'.
1382 (hide-other): Declare as obsolete.
1383 (outline-show-children): Rename from `show-children'.
1384 (show-children): Declare as obsolete.
1385 (outline-show-branches): Rename from `show-branches'.
1386 (show-branches): Declare as obsolete.
1387
1388 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1389
1390 * outline.el (outline-mode): Clean up docstring.
1391 (font-lock-warning-face): Remove obsolete declaration.
1392 (outline-font-lock-face): Remove obsolete comment.
1393
1394 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1395
1396 * lisp/custom.el (defface): Set `indent' to 1.
1397
1398 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1399
1400 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1401
1402 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1403
1404 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1405 is set, but user has just been asked whether they really want to
1406 kill Emacs (for example with a ‘Modified buffers exist; exit
1407 anyway?’ prompt), do not ask them for another confirmation.
1408
1409 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1410
1411 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1412 (calc-convert-units): Check for missing units.
1413 (math-consistent-units-p): Strengthen the test for consistent units.
1414
1415 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
1416 `calc-convert-exact-units' and assign it a keybinding.
1417
1418 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1419 "un" keybinding.
1420
1421 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1424
1425 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1426
1427 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1428 punctuation syntax since to allow bibtex fields with values such
1429 as {Test 1) and 2)} (bug#19205, bug#19707).
1430 (reftex--prepare-syntax-tables): New function.
1431 (reftex-mode): Use it.
1432
1433 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1434
1435 python.el: New non-global state dependent indentation engine.
1436 (Bug#18319, Bug#19595)
1437 * progmodes/python.el (python-syntax-comment-or-string-p):
1438 Accept PPSS as argument.
1439 (python-syntax-closing-paren-p): New function.
1440 (python-indent-current-level)
1441 (python-indent-levels): Mark obsolete.
1442 (python-indent-context): Return more context cases.
1443 (python-indent--calculate-indentation)
1444 (python-indent--calculate-levels): New functions.
1445 (python-indent-calculate-levels): Use them.
1446 (python-indent-calculate-indentation, python-indent-line):
1447 (python-indent-line-function): Rewritten to use new API.
1448 (python-indent-dedent-line): Simplify logic.
1449 (python-indent-dedent-line-backspace): Use `unless`.
1450 (python-indent-toggle-levels): Delete function.
1451
1452 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1453
1454 * subr.el (posnp): Correct docstring of `posnp'.
1455 (posn-col-row): Make it work with all mouse position objects.
1456 * textmodes/artist.el (artist-mouse-draw-continously):
1457 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1458
1459 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1460
1461 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1462
1463 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1464
1465 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1466 Adapt docstring.
1467 (file-notify--descriptor): New defun.
1468 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1469 Adapt docstring. Handle multiple values for
1470 `file-notify-descriptors' entries. (Bug#18880)
1471
1472 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1473 `file-notify-descriptors', the implementation has been changed.
1474
1475 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1476
1477 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1478 On MS-Windows, bind coding-system-for-read to the console output
1479 codepage. (Bug#19458)
1480
1481 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1482
1483 Unbreak `mouse-action' property in text buttons.
1484 * button.el (push-button): Fix regression from 2012-12-06.
1485
1486 2015-01-28 Glenn Morris <rgm@gnu.org>
1487
1488 * progmodes/sh-script.el (sh-mode): Doc fix.
1489 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1490
1491 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1492
1493 Fix dired quoting bug with "Hit`N`Hide".
1494 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1495
1496 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 Tighten up the tagcode used for eieio and cl-struct objects.
1499 * loadup.el: Load cl-preloaded.
1500 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1501 slot of the tag symbol to :quick-object-witness-check.
1502 (eieio-object-p): Use :quick-object-witness-check.
1503 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1504 * emacs-lisp/cl-preloaded.el: New file.
1505 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1506 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1507 (cl--make-usage-args): Strip away &aux args.
1508 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1509 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1510 (cl-defstruct): Use `declare' and cl-struct-define.
1511 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1512 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1513
1514 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1515
1516 * emacs-lisp/cl.el (cl--function-convert):
1517 Merge cache that cl--labels-convert adds (bug#19699).
1518
1519 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1520
1521 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1522 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1523 (tar-header-serialize): New functions.
1524 (tar-current-position): Split from tar-current-descriptor.
1525 (tar-current-descriptor): Use it.
1526 (tar-new-entry): New command.
1527 (tar-mode-map): Bind it.
1528
1529 2015-01-27 Sam Steingold <sds@gnu.org>
1530
1531 * progmodes/python.el (python-check-custom-command): Buffer local
1532 because it usually includes the buffer name.
1533 (python-check-command): Set to epylint when pyflakes is not available.
1534
1535 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1536
1537 * isearch.el (isearch-process-search-char): Add docstring.
1538
1539 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1540
1541 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1542
1543 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1544
1545 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1546 for the case cl-flet or cl-labels form is wrapped with lexical-let
1547 (bug#19613).
1548
1549 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1552 (cl--generic): The method-table is now a (list-of cl--generic-method).
1553 (cl--generic-member-method): New function.
1554 (cl-generic-define-method): Use it.
1555 (cl--generic-build-combined-method, cl--generic-cache-miss):
1556 Adapt to new method-table.
1557 (cl--generic-no-next-method-function): Add `method' argument.
1558 (cl-generic-call-method): Adapt to new method representation.
1559 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1560 (cl-find-method, cl-method-qualifiers): New functions.
1561 (cl--generic-method-info): Adapt to new method representation.
1562 Return a string for the qualifiers.
1563 (cl--generic-describe):
1564 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1565 (eieio-all-generic-functions, eieio-method-documentation):
1566 Adjust to new method representation.
1567
1568 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1569
1570 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1573 (cl-generic-method-combination-function): New var.
1574 (cl--generic-lambda): Remove `with-cnm' arg.
1575 (cl-defmethod): Change accordingly.
1576 (cl-generic-define-method): Don't check qualifiers validity.
1577 Preserve all qualifiers in `method-table'.
1578 (cl-generic-call-method): New function.
1579 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1580 (cl--generic-build-combined-method): Adjust to new format of method-table
1581 and use cl-generic-method-combination-function.
1582 (cl--generic-standard-method-combination): New function, extracted from
1583 cl--generic-build-combined-method.
1584 (cl--generic-cnm-sample): Adjust to new format of method-table.
1585
1586 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1587 instead of :primary.
1588
1589 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1590 Remove obsolete function.
1591
1592 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1593
1594 * net/shr.el (shr-make-table-1): Fix colspan typo.
1595 (shr-make-table-1): Add comments.
1596 (shr-make-table-1): Make colspan display more sensibly.
1597
1598 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1599 slightly.
1600
1601 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1604 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1605 (bug#19672).
1606 (cl--generic-typeof-types): Add support for `sequence'.
1607 (cl-defmethod): Add non-keywords in the qualifiers.
1608
1609 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1610
1611 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1612 `defgroup' (regression from the previous change here).
1613
1614 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1615
1616 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1617 credentials error message.
1618
1619 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1620
1621 * net/ldap.el (ldap-password-read): Validate password before
1622 caching it.
1623 (ldap-search-internal): Handle ldapsearch error conditions.
1624
1625 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1626
1627 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1628
1629 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1630
1631 * net/eudc.el (eudc-expand-inline): Always restore former server
1632 and protocol.
1633
1634 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1635
1636 * net/eudcb-ldap.el: Don't nag the user in case a default base is
1637 provided by the LDAP system configuration file.
1638
1639 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1640
1641 * net/eudc.el (eudc-format-query): Preserve the
1642 eudc-inline-query-format ordering of attributes in the returned list.
1643 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1644 Append the LDAP wildcard character to the last attribute value.
1645
1646 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1647
1648 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1649 Downcase field names of LDAP results.
1650 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1651
1652 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1653
1654 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1655 (ldap-search-internal): Send password to ldapsearch through a pipe
1656 instead of via the command line.
1657
1658 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1659
1660 * net/ldap.el: Require password-cache.
1661 (ldap-password-read): New function.
1662 (ldap-search-internal): Call ldap-password-read when it is
1663 configured to be called.
1664
1665 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1666
1667 * net/eudc-vars.el (eudc-expansion-overwrites-query):
1668 Change default to nil.
1669
1670 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1671
1672 * net/eudc.el (eudc-expand-inline): Ignore text properties of
1673 string-to-expand.
1674
1675 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1676
1677 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1678 format that includes first name and surname.
1679
1680 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1681
1682 * net/eudc-vars.el (eudc-inline-query-format): Change default to
1683 query email and first name instead of surname.
1684
1685 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1686
1687 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1688
1689 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1690
1691 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1692 eudc-server-hotlist.
1693 (eudc-server-hotlist): Move from eudc.el and make defcustom.
1694 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1695 (eudc-set-server): Allow setting protocol to nil.
1696 (eudc-expand-inline): Support hotlist-only expansions when server
1697 is not set.
1698
1699 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1702 (cl--generic-build-combined-method): Use it.
1703
1704 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
1705
1706 Don't downcase system diagnostics' first letters
1707 * emacs-lisp/bytecomp.el (byte-compile-file):
1708 * ffap.el (find-file-at-point):
1709 * files.el (insert-file-1):
1710 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1711 (ange-ftp-copy-file-internal):
1712 * progmodes/etags.el (visit-tags-table):
1713 Keep diagnostics consistent with system's.
1714 * ffap.el (ffap-machine-p):
1715 Ignore case while comparing diagnostics.
1716
1717 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1720 arg (bug#19645).
1721 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1722 body with a docstring.
1723
1724 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
1725
1726 * progmodes/xref.el (xref-location-marker, xref-location-group):
1727 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1728 counterparts.
1729
1730 * progmodes/etags.el (xref-location-marker): Same.
1731
1732 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1733 (xref--inhibit-mark-current): Rename from
1734 `xref--inhibit-mark-selected'. Update the usages.
1735 (xref-quit): Reword the docstring. Kill buffers after quitting
1736 windows instead of before.
1737 (xref--insert-xrefs): Tweak help-echo.
1738 (xref--read-identifier-history, xref--read-pattern-history):
1739 New variables.
1740 (xref--read-identifier, xref-find-apropos): Use them.
1741
1742 2015-01-21 Ulrich Müller <ulm@gentoo.org>
1743
1744 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1745 Allow the 'update-game-score' helper program to run suid or sgid.
1746
1747 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/eieio.el: Use cl-defmethod.
1750 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1751 (eieio-object-name-string): Declare as obsolete.
1752
1753 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1754 (eieio--specializers-apply-to-class-p): New function.
1755 (eieio-all-generic-functions): Use it.
1756 (eieio-method-documentation): Use it as well as cl--generic-method-info.
1757 Change format of return value.
1758 (eieio-help-class): Adapt accordingly.
1759
1760 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1761 errors when there's a `before' but no `primary' (bug#19645).
1762 (next-method-p): Return nil rather than signal an error.
1763 (eieio-defgeneric): Remove bogus (fboundp 'method).
1764
1765 * emacs-lisp/eieio-speedbar.el:
1766 * emacs-lisp/eieio-datadebug.el:
1767 * emacs-lisp/eieio-custom.el:
1768 * emacs-lisp/eieio-base.el: Use cl-defmethod.
1769
1770 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1771 (cl--generic-setf-rewrite): Setup the setf expander right away.
1772 (cl-defmethod): Make sure the setf expander is setup before we expand
1773 the body.
1774 (cl-defmethod): Silence byte-compiler warnings.
1775 (cl-generic-define-method): Shuffle code to change return value.
1776 (cl--generic-method-info): New function, extracted from
1777 cl--generic-describe.
1778 (cl--generic-describe): Use it.
1779
1780 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
1781
1782 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1783 the major mode. Remap `quit-window' to `xref-quit'.
1784 (xref--xref-buffer-mode): Inherit from special-mode.
1785
1786 xref: Keep track of temporary buffers (bug#19466).
1787 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1788 (xref--inhibit-mark-selected): New variables.
1789 (xref--mark-selected): New function.
1790 (xref--show-location): Maybe add the buffer to
1791 `xref--temporary-buffers', add `xref--mark-selected' to
1792 `buffer-list-update-hook' there.
1793 (xref--window): Add docstring.
1794 (xref-quit): Rename from `xref--quit'. Update both references.
1795 Add KILL argument. When it's non-nil, kill the temporary buffers
1796 that haven't been selected by the user.
1797 (xref--show-xref-buffer): Change the second argument to alist,
1798 extract the values for `xref--window' and
1799 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
1800 `buffer-list-update-hook' to each buffer in the list.
1801 (xref--show-xrefs): Move the logic of calling `xref-find-function'
1802 here. Save the difference between buffer lists before and after
1803 it's called as "temporary buffers", and `pass it to
1804 `xref-show-xrefs-function'.
1805 (xref--find-definitions, xref-find-references)
1806 (xref-find-apropos): Update accordingly.
1807
1808 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
1809
1810 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1811
1812 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/eieio-generic.el: Remove.
1815 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
1816 * emacs-lisp/eieio-compat.el: New file.
1817 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1818 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1819 Remove unused function.
1820 (eieio-defclass): Move to eieio-compat.el.
1821 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1822 (macroexp--expand-all): Use it.
1823 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1824
1825 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1826
1827 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1828 major modes should use `add-function' to alter value of the variable.
1829 * hexl.el (hexl-mode):
1830 * ielm.el (inferior-emacs-lisp-mode):
1831 * progmodes/cfengine.el (cfengine3-mode):
1832 * progmodes/elisp-mode (emacs-lisp-mode):
1833 * progmodes/octave.el (octave-mode):
1834 * progmodes/python.el (python-mode):
1835 * simple.el (read--expression): Set `eldoc-documentation-function'
1836 using `add-function' so the default value is always used.
1837
1838 * descr-text.el (describe-char-eldoc): New function returning
1839 basic Unicode codepoint information (e.g. name) about character
1840 at point. It is meant to be used as a default value of the
1841 `eldoc-documentation-function' variable.
1842 (describe-char-eldoc--format, describe-char-eldoc--truncate):
1843 New helper functions for `describe-char-eldoc' function.
1844
1845 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1846
1847 * textmodes/paragraphs.el (sentence-end-base): Include an
1848 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1849 and a closing single quote (’) as an end of a quote.
1850
1851 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1852
1853 * textmodes/tildify.el (tildify-double-space-undos): A new
1854 variable specifying whether pressing space in `tildify-mode' after
1855 a space has been replaced with hard space undos the substitution.
1856 (tildify-space): Add code branch for handling `tildify-doule-space'.
1857
1858 * textmodes/tildify.el (tildify-space): A new function
1859 which can be used as a `post-self-insert-hook' to automatically
1860 convert spaces into hard spaces.
1861 (tildify-space-pattern): A new variable specifying pattern where
1862 `tildify-space' should take effect.
1863 (tildify-space-predicates): A new variable specifying list of
1864 predicate functions that all must return non-nil for
1865 `tildify-space' to take effect.
1866 (tildify-space-region-predicate): A new functions meant to be
1867 used as a predicate in `tildify-space-predicates' list.
1868 (tildify-mode): A new minor mode enabling `tildify-space' as a
1869 `post-self-insert-hook'
1870
1871 2015-01-20 Daniel Colascione <dancol@dancol.org>
1872
1873 * vc/vc-dir.el (vc-dir): Default to repository root, not
1874 default-directory.
1875
1876 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * progmodes/etags.el (xref-etags-location): New class.
1879 (xref-make-etags-location): New function.
1880 (etags--xref-find-definitions): Use it.
1881 (xref-location-marker): New method implementation.
1882
1883 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1884 (xref--insert-xrefs): Expand help-echo string.
1885
1886 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1887
1888 * ido.el: Update Customization instructions.
1889
1890 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1891
1892 Define Ido keymaps once (bug#17000).
1893 * ido.el (ido-common-completion-map)
1894 (ido-file-dir-completion-map)
1895 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1896 bindings when each variable is defined.
1897 (ido-completion-map): Move definition.
1898 (ido-init-completion-maps): Noop.
1899 (ido-common-initialization): Don't call it.
1900 (ido-setup-completion-map): Improve doc-string, cleanup.
1901
1902 2015-01-19 Ivan Shmakov <ivan@siamics.net>
1903
1904 * cus-dep.el (custom-make-dependencies): Ensure that
1905 default-directory is interpreted as a directory (see bug#19140.)
1906
1907 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1908
1909 * progmodes/xref.el (xref--display-position):
1910 Set `other-window-scroll-buffer'.
1911 (xref-goto-xref): Use `user-error'.
1912
1913 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/xref.el (xref--display-history): New variable.
1916 (xref--window-configuration): Remove.
1917 (xref--save-to-history): New function.
1918 (xref--display-position): Use it. Add new argument.
1919 (xref--restore-window-configuration): Remove.
1920 (xref--show-location, xref-show-location-at-point):
1921 Update accordingly.
1922 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1923 (xref--quit): New command.
1924 (xref-goto-xref): Use it.
1925 (xref--xref-buffer-mode-map): Bind `q' to it.
1926
1927 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
1928
1929 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1930 indentation or at eol.
1931
1932 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1935 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1936 New functions.
1937 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1938
1939 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1940 `newname' argument.
1941
1942 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1943 introduction of a new dispatch argument.
1944 (cl--generic-cache-miss): Handle dispatch on an argument which was not
1945 considered as dispatchable for this method.
1946 (cl-defmethod): Warn when adding a method to an obsolete generic function.
1947 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1948
1949 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1950
1951 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
1952
1953 * emacs-lisp/package.el (package--append-to-alist): Rename from
1954 `package--add-to-alist'
1955 Updated docstring due to new name.
1956
1957 2015-01-18 Leo Liu <sdl.web@gmail.com>
1958
1959 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1960 multiple evaluation. (Bug#19519)
1961
1962 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1963 error. (Bug#19434)
1964
1965 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1968 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1969 New functions.
1970 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1971
1972 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1973 or print is nil.
1974 (cl-struct-type-p): New function.
1975
1976 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1977 (cl-defmethod): Add edebug spec.
1978 (cl--generic-build-combined-method): Fix call to
1979 cl-no-applicable-method.
1980 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1981 (cl--generic-isnot-nnm-p): New function.
1982 (cl--generic-lambda): Use it to add support for cl-next-method-p.
1983 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1984 (cl-next-method-p): New function.
1985
1986 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1987
1988 * version.el (emacs-repository-get-version): Update docstring.
1989
1990 2015-01-17 Ivan Shmakov <ivan@siamics.net>
1991
1992 * files.el (find-file-other-window, find-file-other-frame):
1993 Use mapc instead of mapcar. (Bug#18175)
1994
1995 * files.el (dir-locals-collect-variables): Use default-directory
1996 in place of the file name while working on non-file buffers, just
1997 like hack-dir-local-variables already does. (Bug#19140)
1998
1999 * textmodes/enriched.el (enriched-encode):
2000 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2001 (Bug#18246)
2002
2003 * desktop.el (desktop-read): Do not call desktop-clear when no
2004 desktop file is found. (Bug#18371)
2005
2006 * misearch.el (multi-isearch-unload-function): New function.
2007 (misearch-unload-function): New alias. (Bug#19566)
2008
2009 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2012 class-constructor, and make it an alias for `identity'.
2013 Update all callers.
2014
2015 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2016 argument here (bug#19620)...
2017 (defclass): ...instead of in the constructor here.
2018
2019 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2020
2021 * emacs-lisp/package.el (package-archive-priorities):
2022 Specify correct type.
2023
2024 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2025
2026 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2027 Remove.
2028 (emacs-repository-get-version): Discard the Bazaar case.
2029 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2030 emacs-bzr-version-dirstate and move from version.el to here.
2031 (vc-bzr-working-revision): Use it.
2032
2033 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2036 eieio--scoped-class any more.
2037
2038 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2039 (eieio--scoped-class): Remove function.
2040 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2041 (eieio--slot-name-index): Don't check the :protection anymore.
2042 (eieio-initializing-object): Remove var.
2043 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2044
2045 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 Improve handling of doc-strings and describe-function for cl-generic.
2048
2049 * help-mode.el (help-function-def): Add optional arg `type'.
2050
2051 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2052 as it's a symbol.
2053 (help-fns-short-filename): New function.
2054 (describe-function-1): Use it. Use autoload-do-load.
2055
2056 * emacs-lisp/find-func.el: Use lexical-binding.
2057 (find-function-regexp): Don't rule out `defgeneric'.
2058 (find-function-regexp-alist): Document new possibility of including
2059 a function instead of a regexp.
2060 (find-function-search-for-symbol): Implement that new possibility.
2061 (find-function-library): Don't assume that `function' is a symbol.
2062 (find-function-do-it): Remove unused var `orig-buf'.
2063
2064 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2065 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2066 (eieio--method-optimize-primary): Don't mess with the docstring.
2067 (defgeneric): Keep the `args' in the docstring.
2068 (defmethod): Don't use the method's docstring for the generic
2069 function's docstring.
2070
2071 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2072 (eieio-defclass-autoload): Don't record the superclasses any more.
2073 (eieio-defclass-internal): Reuse the old class object if it was just an
2074 autoload stub.
2075 (eieio--class-precedence-list): Load the class if it's autoloaded.
2076
2077 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2078 override an autoload.
2079 (cl-generic-current-method-specializers): Replace dyn-bind variable
2080 with a lexically-scoped macro.
2081 (cl--generic-lambda): Update accordingly.
2082 (cl-generic-define-method): Record manually in the load-history with
2083 type `cl-defmethod'.
2084 (cl--generic-get-dispatcher): Minor optimization.
2085 (cl--generic-search-method): New function.
2086 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2087 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2088 specializers and the function's arguments.
2089
2090 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2091
2092 * emacs-lisp/package.el (package--read-pkg-desc):
2093 New function. Read a `define-package' form in current buffer.
2094 Return the pkg-desc, with desc-kind set to KIND.
2095 (package-dir-info): New function. Find package information for a
2096 directory. The return result is a `package-desc'.
2097 (package-install-from-buffer): Install packages from dired buffer.
2098 (package-install-file): Install packages from directory.
2099 (package-desc-suffix)
2100 (package-install-from-archive)
2101 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2102 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2103 value.
2104
2105 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2106
2107 * emacs-lisp/package.el: Provide repository priorities.
2108 (package-archive-priorities): New variable.
2109 (package--add-to-alist): New function.
2110 (package--add-to-archive-contents): Use it.
2111 (package-menu--find-upgrades): Use it as well. Small clean up to
2112 make the use of the package name here explicit.
2113 (package-archive-priority): New function.
2114 (package-desc-priority-version): New function.
2115
2116 2015-01-16 Daniel Colascione <dancol@dancol.org>
2117
2118 * cus-start.el (all): Make `ring-bell-function' customizable.
2119
2120 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2121
2122 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2123 vc-svn-after-dir-status's second argument. (Bug#19429)
2124
2125 2015-01-16 Samer Masterson <samer@samertm.com>
2126
2127 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2128 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2129
2130 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2131
2132 * dom.el (dom-strings): New function.
2133
2134 * files.el (directory-files-recursively): Don't use the word
2135 "path" for a file name.
2136
2137 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2138
2139 * calc/calc-units.el (math-units-in-expr-p)
2140 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2141 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2142
2143 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2146 (cl--labels-convert): Use it to ask the macro what is its replacement
2147 in the #'f case.
2148
2149 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2150 Return the value of the primary rather than the after method.
2151
2152 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2153 (eieio--generic-tagcode): New function.
2154 (cl-generic-tagcode-function): Use it.
2155 (eieio--generic-tag-types): New function.
2156 (cl-generic-tag-types-function): Use it.
2157 (eieio-object-p): Tighten up the test.
2158
2159 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2160
2161 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/cl-generic.el: New file.
2164
2165 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2166 (cl-load-time-value, cl-labels): Use closures rather than
2167 backquoted lambdas.
2168 (cl-macrolet): Use `eval' to create the function value, and support CL
2169 style arguments in for the defined macros.
2170
2171 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * net/eww.el: Use lexical-binding.
2174 (eww-links-at-point): Remove unused arg.
2175 (eww-mode-map): Inherit from special-mode-map.
2176 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2177
2178 2015-01-13 Alan Mackenzie <acm@muc.de>
2179
2180 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2181 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2182 New function which walks the stack to discover whether we're compiling
2183 or loading.
2184 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2185 (cc-bytecomp-is-loading): New defsubst.
2186 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2187 Use the above defsubsts.
2188 (cc-require-when-compile, cc-bytecomp-defvar)
2189 (cc-bytecomp-defun): Simplify conditionals.
2190 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2191 "Borrow" this function from cc-bytecomp.el.
2192 (c-get-current-file): Reformulate using the above.
2193 (c-lang-defconst): Prevent duplicate entries of file names in a
2194 symbol's 'source property.
2195 (c-lang-const): Use cc-bytecomp-is-compiling.
2196 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2197 Use cc-bytecomp-is-compiling.
2198
2199 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2202 (bug#19552).
2203
2204 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2205
2206 * menu-bar.el (menu-bar-goto-menu): Before calling
2207 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2208 (Bug#19554)
2209
2210 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2211
2212 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2213 cookie (Bug#19554).
2214
2215 * frame.el (frame-notice-user-settings): Remove code dealing with
2216 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2217 only if `window-system-frame-alist' or `default-frame-alist' ask
2218 for it.
2219 (make-frame): Update frame-adjust-size-history if needed.
2220
2221 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2222
2223 Have 'make' output better GEN names
2224 * Makefile.in (PHONY_EXTRAS): New macro.
2225 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2226 relevant files' time stamps are ignored.
2227 (custom-deps, $(lisp)/cus-load.el, finder-data)
2228 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2229 (custom-deps, $(lisp)/cus-load.el, finder-data)
2230 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2231 ($(lisp)/subdirs.el, update-subdirs):
2232 Output more-accurate destination names with GEN.
2233
2234 Say "ELC foo.elc" instead of "GEN foo.elc"
2235 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2236 New macros.
2237 ($(THEFILE)c, .el.elc): Use them.
2238
2239 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * files.el (directory-files-recursively): Do not include
2242 superfluous remote file names.
2243
2244 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2245
2246 * net/eww.el (eww): Interpret anything that looks like a protocol
2247 designator as a full URL.
2248
2249 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2250
2251 * net/shr.el (shr-urlify): Don't bother the user about
2252 invalidly-encoded display strings.
2253
2254 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2255
2256 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2257 (bug#19555).
2258
2259 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2260
2261 * net/eww.el (eww): Always interpret URLs that start with https?:
2262 as plain URLs, even if they have spaces in them (bug#19556).
2263 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2264 software" as an URL.
2265 (eww): Don't interpret "org/foo" as an URL.
2266 (eww): Clear the title when loading so that we don't display
2267 misleading information.
2268
2269 2015-01-10 Daniel Colascione <dancol@dancol.org>
2270
2271 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2272 by analogy with dired.
2273
2274 2015-01-09 Daniel Colascione <dancol@dancol.org>
2275
2276 * progmodes/js.el (js--function-heading-1-re)
2277 (js--function-prologue-beginning): Parse ES6 generator function
2278 declarations. (That is, "function* name()").
2279
2280 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2283 that creates functions, and most of the sanity checks.
2284 Mark as obsolete the <class>-child-p function.
2285 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2286 (eieio--class, eieio--object): Use cl-defstruct.
2287 (eieio--object-num-slots): Define manually.
2288 (eieio-defclass-autoload): Use eieio--class-make.
2289 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2290 `(lambda...) definitions and most of the sanity checks to `defclass'.
2291 Mark as obsolete the <class>-list-p function, the <class> variable and
2292 the <initarg> variables. Use pcase-dolist.
2293 (eieio-defclass): New compatibility function.
2294 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2295 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2296
2297 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * emacs-lisp/eieio-generic.el: New file.
2300 * emacs-lisp/eieio-core.el: Move all generic function code to
2301 eieio-generic.el.
2302 (eieio--defmethod): Declare.
2303
2304 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2305 function code to eieio-generic.el.
2306 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2307 eieio-generic.el.
2308 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2309 to eieio--generic-call.
2310 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2311 <class>-child type.
2312
2313 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2316 Don't use <class> as a variable.
2317
2318 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2319 (call-next-method): Simplify.
2320 (clone): Obey eieio-backward-compatibility.
2321
2322 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2323 (eieio-read-generic): Use `generic-p' instead.
2324
2325 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2326 (eieio-defclass-autoload): Obey it.
2327 (eieio--class-object): Improve error behavior.
2328 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2329 every use site.
2330 (eieio--defgeneric-form-primary-only): Rename from
2331 eieio-defgeneric-form-primary-only; update all callers.
2332 (eieio--defgeneric-form-primary-only-one): Rename from
2333 eieio-defgeneric-form-primary-only-one; update all callers.
2334 (eieio-defgeneric-reset-generic-form)
2335 (eieio-defgeneric-reset-generic-form-primary-only)
2336 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2337 (eieio--method-optimize-primary): New function to replace them.
2338 (eieio--defmethod, eieio-defmethod): Use it.
2339 (eieio--perform-slot-validation): Rename from
2340 eieio-perform-slot-validation; update all callers.
2341 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2342 Change `class' to be a class object. Update all callers.
2343 (eieio--validate-class-slot-value): Rename from
2344 eieio-validate-class-slot-value. Change `class' to be a class object.
2345 Update all callers.
2346 (eieio-oset-default): Accept class object as well.
2347 (eieio--generic-call-primary-only): Rename from
2348 eieio-generic-call-primary-only. Update all callers.
2349
2350 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2351 Improve error messages.
2352 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2353 well as user-defined types. Emit errors for legacy types like
2354 <class>-child and <class>-list, if not eieio-backward-compatibility.
2355
2356 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2359 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2360 Change `class' arg to be a class object. Update all callers.
2361 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2362 (eieio-default-superclass): Set var to the class object.
2363 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2364 Change print behavior to affect class objects rather than
2365 class symbols.
2366
2367 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2368 (eieio-class-parents-fast): Remove macro.
2369 (eieio--class-option-assoc): Rename from class-option-assoc.
2370 Update all callers.
2371 (eieio--class-option): Rename from class-option. Change `class' arg to
2372 be a class object. Update all callers.
2373 (eieio--class-method-invocation-order): Rename from
2374 class-method-invocation-order. Change `class' arg to be a class
2375 object. Update all callers.
2376 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2377 a list of class objects rather than names.
2378 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2379 for accessors to class allocated slots.
2380 (eieio--perform-slot-validation-for-default): Rename from
2381 eieio-perform-slot-validation-for-default. Update all callers.
2382 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2383 Update all callers. Use push.
2384 (eieio-copy-parents-into-subclass): Adjust to new content of
2385 `parent' field. Use dolist.
2386 (eieio-oref): Remove support for providing a class rather than
2387 an object.
2388 (eieio-oref-default): Prefer class objects over class names.
2389 (eieio--slot-originating-class-p): Rename from
2390 eieio-slot-originating-class-p. Update all callers. Use `or'.
2391 (eieio--slot-name-index): Turn check into assertion.
2392 (eieio--class-slot-name-index): Rename from
2393 eieio-class-slot-name-index. Change `class' arg to be a class object.
2394 Update all callers.
2395 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2396 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2397 Update all callers.
2398 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2399 Update all callers.
2400 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2401 Update all callers.
2402 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2403 Update all callers.
2404 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2405 Update all callers. Adjust to new `parent' content.
2406 (eieio--class-precedence-list): Rename from -class-precedence-list.
2407 Update all callers.
2408 (eieio-generic-call): Use autoloadp and autoload-do-load.
2409 Slight simplification.
2410 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2411 return value of `eieio-generic-form'.
2412 (eieiomt-add): Index the hashtable with class objects rather than
2413 class names.
2414 (eieio-generic-form): Accept class objects as well.
2415
2416 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2417 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2418 (eieio-persistent-validate/fix-slot-value):
2419 Change `class' arg to be a class object. Update all callers.
2420
2421 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2424 additionally to class names.
2425
2426 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2427 (object): Remove first (constant) slot; rename second to `class-tag'.
2428 (eieio--object-class-object, eieio--object-class-name): New funs
2429 to replace eieio--object-class.
2430 (eieio--class-object, eieio--class-p): New functions.
2431 (same-class-fast-p): Make it a defsubst, change its implementation
2432 to check the class objects rather than their names.
2433 (eieio-object-p): Rewrite.
2434 (eieio-defclass): Adjust the object initialization according to the new
2435 object layout.
2436 (eieio--scoped-class): Declare it returns a class object (not a class
2437 name any more). Adjust calls accordingly (along with calls to
2438 eieio--with-scoped-class).
2439 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2440 its class arg to be a class object. Adjust callers accordingly.
2441 (eieio-slot-originating-class-p): Make its start-class arg a class
2442 object. Adjust all callers.
2443 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2444 Make its `class' arg a class object. Adjust all callers.
2445
2446 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2447 Use eieio--slot-name-index rather than eieio-slot-name-index.
2448
2449 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2452 name argument.
2453 (eieio-object-name): Use eieio-object-name-string.
2454 (eieio--object-names): New const.
2455 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2456 using a hashtable rather than a built-in slot.
2457 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2458 (clone): Don't mess with the object's "name".
2459
2460 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2461 (eieio-object-value-get): Use eieio-object-set-name-string.
2462
2463 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2464 (eieio--object): Remove `name' field.
2465 (eieio-defclass): Adjust to new convention where constructors don't
2466 take an "object name" any more.
2467 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2468 (eieio-validate-slot-value, eieio-oset-default)
2469 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2470 (eieio-generic-call-primary-only): Simplify.
2471
2472 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2473 Use call-next-method.
2474 (eieio-constructor): Rename from `constructor'.
2475 (eieio-persistent-convert-list-to-object): Drop objname.
2476 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2477 eieio--object-num-slots.
2478 (eieio-named): Use a normal slot.
2479 (slot-missing) <eieio-named>: Remove.
2480 (eieio-object-name-string, eieio-object-set-name-string, clone)
2481 <eieio-named>: New methods.
2482
2483 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2486 (method-*): Add a "eieio--" prefix to those constants.
2487
2488 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2489
2490 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2491
2492 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2495 `eieio-default-superclass'.
2496
2497 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2498
2499 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2500 (eieio-object-value-to-abstract): Simplify.
2501
2502 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2503 (eieio-build-class-alist): Use dolist.
2504 (eieio-all-generic-functions): Adjust to use of hashtables.
2505
2506 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2507 symbol-hashtable. It contains a hashtable instead of an obarray.
2508 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2509 `eieio-method-obarray'.
2510 (generic-primary-only-p, generic-primary-only-one-p):
2511 Slight optimization.
2512 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2513 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2514 (eieio-class-un-autoload): Use autoload-do-load.
2515 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2516 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2517 Don't hardcode the value of eieio--object-num-slots.
2518 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2519 Use a closure rather than a backquoted lambda.
2520 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2521 function-documentation property.
2522 (eieio-slot-originating-class-p, eieio-slot-name-index)
2523 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2524 (eieio-generic-form): Adjust to use of hashtables.
2525 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2526 additional class argument.
2527 (eieio-generic-call-methodname): Remove, unused.
2528
2529 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2530 Prefer \' to $.
2531
2532 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2533
2534 * simple.el (line-move-visual): When converting X pixel coordinate
2535 to temporary-goal-column, adjust the value for right-to-left
2536 screen lines. This fixes vertical-motion, next/prev-line, etc.
2537
2538 2015-01-08 Glenn Morris <rgm@gnu.org>
2539
2540 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2541
2542 2015-01-07 K. Handa <handa@gnu.org>
2543
2544 * international/ccl.el (define-ccl-program): Improve the docstring.
2545
2546 2015-01-06 Sam Steingold <sds@gnu.org>
2547
2548 * shell.el (shell-display-buffer-actions): Remove,
2549 use `display-buffer-alist' instead.
2550
2551 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2552
2553 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2554 to the references.
2555
2556 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * minibuffer.el (completion-category-defaults): New var.
2559 Set unicode-name to use substring completion.
2560 (completion-category-defaults): Set it to nil.
2561
2562 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2563
2564 Add mouse interaction to xref.
2565 * progmodes/xref.el (xref--button-map): New variable.
2566 (xref--mouse-2): New command.
2567 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2568 the inserted references.
2569
2570 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2571
2572 Less 'make' chatter for lisp dir
2573 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2574 to make it clearer that the caller must specify it.
2575 (compile-onefile): Remove, replacing by ...
2576 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2577 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2578 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2579 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2580 Use AM_V_GEN to lessen 'make' chatter.
2581 (.el.elc): Omit duplicate comment.
2582
2583 Less 'make' chatter in batch mode
2584 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2585 * emacs-lisp/bytecomp.el (byte-compile-file):
2586 * files.el (save-buffer, basic-save-buffer):
2587 * international/quail.el (quail-update-leim-list-file):
2588 Don't output messages like "Generating ..." in batch mode.
2589
2590 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2591
2592 Unbreak `mouse-action' property in text buttons.
2593 * button.el (push-button): Fix regression from 2012-12-06.
2594
2595 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2598
2599 * menu-bar.el (menu-bar-goto-menu): Use it.
2600
2601 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2602
2603 * progmodes/xref.el (xref--window-configuration): New variable.
2604 (xref-show-location-at-point): New command.
2605 (xref--restore-window-configuration): New function.
2606 (xref-next-line, xref-prev-line): Delegate to
2607 `xref-show-location-at-point'.
2608 (xref--location-at-point): Don't signal the error.
2609 (xref-goto-xref): Do that here instead.
2610 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2611 to `pre-command-hook'.
2612 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2613 `previous-line'. Additionally bind `xref-next-line' and
2614 `xref-prev-line' to `n' and `p' respectively.
2615 Bind `xref-show-location-at-point' to `C-o'.
2616
2617 2015-01-01 Eli Zaretskii <eliz@gnu.org>
2618
2619 * tool-bar.el (tool-bar-local-item)
2620 (tool-bar-local-item-from-menu): Call force-mode-line-update to
2621 make sure the tool-bar changes show on display.
2622
2623 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
2624
2625 Sync with Tramp 2.2.11.
2626
2627 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2628 Make an alias for `default-toplevel-value' if it doesn't exist.
2629
2630 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2631 Use `tramp-compat-delete-directory'.
2632
2633 * net/trampver.el: Update release number.
2634
2635 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
2636
2637 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2638 for remote files. (Bug#19449)
2639
2640 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
2641
2642 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2643
2644 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2645
2646 Less 'make' chatter in lisp directory
2647 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2648 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2649 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2650
2651 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
2652
2653 * info.el (info-display-manual): Limit the completion alternatives
2654 to currently visited manuals if prefix argument is non-nil.
2655
2656 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2657
2658 * Makefile.in (semantic): Simplify.
2659
2660 2014-12-30 Juri Linkov <juri@linkov.net>
2661
2662 * net/eww.el (eww-isearch-next-buffer): New function.
2663 (eww-mode): Set multi-isearch-next-buffer-function to it.
2664
2665 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
2666
2667 * progmodes/xref.el (xref-find-definitions): Mention "no
2668 identifier at point" case in the docstring.
2669
2670 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2671 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2672 and `separator-tag-file' items.
2673
2674 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2675
2676 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2677 This is instead of system-name, which is both wrong here and obsolete.
2678 * desktop.el (desktop-save-frameset):
2679 * dnd.el (dnd-get-local-file-uri):
2680 * nxml/rng-uri.el (rng-uri-file-name-1):
2681 Prefer (system-name) to system-name, and avoid naming
2682 locals 'system-name'.
2683 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
2684
2685 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2686
2687 * menu-bar.el (menu-bar-next-tag-other-window)
2688 (menu-bar-next-tag): Remove.
2689
2690 2014-12-29 K. Handa <handa@gnu.org>
2691
2692 * international/mule.el (make-translation-table-from-alist):
2693 Accept nil or zero-length vector for FROM and TO.
2694
2695 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2696
2697 * net/eww.el (eww-mode): Truncate overlong lines for prettier
2698 display when resizing.
2699
2700 * net/shr.el (shr-width): Default to using the window width when
2701 rendering.
2702
2703 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2704
2705 Unbreak jumping to an alias's definition.
2706 * emacs-lisp/find-func.el (find-function-library): Return a pair
2707 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2708 (find-function-noselect): Use it.
2709 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2710 `elisp--xref-identifier-location', incorporate logic from
2711 `elisp--xref-find-definitions', use the changed
2712 `find-function-library' return value.
2713
2714 2014-12-29 Juri Linkov <juri@linkov.net>
2715
2716 * comint.el (comint-history-isearch-message): Use field-beginning
2717 instead of comint-line-beginning-position - that's more fixes for
2718 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2719 (comint-history-isearch-message): Fix args of isearch-message-prefix.
2720
2721 2014-12-29 Juri Linkov <juri@linkov.net>
2722
2723 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2724 (vc-dir-mode-map): Bind it to "\C-o".
2725 (vc-dir-menu-map): Add it to menu.
2726
2727 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2728
2729 * progmodes/etags.el (find-tag-other-window)
2730 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2731 (tags-apropos): Declare obsolete.
2732
2733 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2734 with xref ones.
2735
2736 2014-12-28 Eli Zaretskii <eliz@gnu.org>
2737
2738 * international/mule.el (define-coding-system): Fix typos in the
2739 doc string.
2740
2741 2014-12-28 Kenichi Handa <handa@gnu.org>
2742
2743 * international/mule.el (define-coding-system): Improve the doc
2744 string.
2745
2746 2014-12-28 Ivan Shmakov <ivan@siamics.net>
2747
2748 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2749 elements in tables (bug#19444).
2750
2751 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2752 (bug#19445).
2753
2754 2014-12-28 Juri Linkov <juri@linkov.net>
2755
2756 * vc/compare-w.el: Require diff-mode for diff faces.
2757 (compare-windows-removed, compare-windows-added): New faces
2758 inheriting from diff faces.
2759 (compare-windows): Define obsolete face alias.
2760 (compare-windows-highlight): Replace face `compare-windows' with
2761 new faces `compare-windows-added' and `compare-windows-removed'
2762 (bug#19451).
2763 (compare-windows-get-recent-window): Signal an error when
2764 no other window is found (bug#19170).
2765
2766 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2767
2768 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2769 Skip features that have no sources.
2770
2771 * simple.el (execute-extended-command):
2772 When `suggest-key-bindings' is nil, don't.
2773
2774 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2775
2776 python.el: Native readline completion.
2777 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2778 (python-shell-completion-native-enable)
2779 (python-shell-completion-native-output-timeout): New defcustoms.
2780 (python-shell-completion-native-interpreter-disabled-p)
2781 (python-shell-completion-native-try)
2782 (python-shell-completion-native-setup)
2783 (python-shell-completion-native-turn-off)
2784 (python-shell-completion-native-turn-on)
2785 (python-shell-completion-native-turn-on-maybe)
2786 (python-shell-completion-native-turn-on-maybe-with-msg)
2787 (python-shell-completion-native-toggle): New functions.
2788 (python-shell-completion-native-get-completions): New function.
2789 (python-shell-completion-at-point): Use it.
2790
2791 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2792
2793 python.el: Enhance shell user interaction and deprecate
2794 python-shell-get-or-create-process.
2795 * progmodes/python.el (python-shell-get-process-or-error):
2796 New function.
2797 (python-shell-with-shell-buffer): Use it.
2798 (python-shell-send-string, python-shell-send-region)
2799 (python-shell-send-buffer, python-shell-send-defun)
2800 (python-shell-send-file, python-shell-switch-to-shell): Use it.
2801 Add argument MSG to display user-friendly message when no process
2802 is running.
2803 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2804 (python-shell-make-comint): Rename argument SHOW from POP.
2805 Use display-buffer instead of pop-to-buffer.
2806 (run-python): Doc fix. Return process.
2807 (python-shell-get-or-create-process): Make obsolete.
2808
2809 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2810
2811 * progmodes/python.el (python-shell-buffer-substring):
2812 Handle cornercase when region sent starts at point-min.
2813
2814 2014-12-27 Eli Zaretskii <eliz@gnu.org>
2815
2816 * language/misc-lang.el (composition-function-table): Add Syriac
2817 characters and also ZWJ/ZWNJ.
2818 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2819 for the details.
2820
2821 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2822
2823 python.el: Fix message when sending region.
2824 * progmodes/python.el (python-shell-send-region): Rename argument
2825 send-main from nomain. Fix message.
2826 (python-shell-send-buffer): Rename argument send-main from arg.
2827
2828 python.el: Cleanup temp files even with eval errors.
2829 * progmodes/python.el (python-shell-send-file): Make file-name
2830 mandatory. Fix temp file removal in the majority of cases.
2831
2832 python.el: Handle file encoding for shell.
2833 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2834 (python-shell--save-temp-file): Write file with proper encoding.
2835 (python-shell-buffer-substring): Add coding cookie for detected
2836 encoding to generated content. Fix blank lines when removing
2837 if-name-main block.
2838 (python-shell-send-file): Handle file encoding.
2839 (python-info-encoding-from-cookie)
2840 (python-info-encoding): New functions.
2841
2842 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2845 Use `tramp-rsh-end-of-line', it ought to be more robust.
2846
2847 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2850 (bug#19397).
2851
2852 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2853
2854 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2855
2856 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2857 as end-of-line delimeter for passwords, when running on MS Windows.
2858
2859 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2862 of indent-line-function (bug#19433).
2863
2864 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2865
2866 Fix line numbers on Python shell.
2867 * progmodes/python.el (python-shell--save-temp-file): Do not
2868 append coding cookie.
2869 (python-shell-send-string): Generalize for
2870 python-shell-send-region.
2871 (python--use-fake-loc): Delete var.
2872 (python-shell-buffer-substring): Cleanup fake-loc logic.
2873 (python-shell-send-region): Remove fake-loc logic, simplify.
2874
2875 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2876
2877 * progmodes/python.el (python-indent-post-self-insert-function):
2878 Make colon to re-indent only for dedenters, handling
2879 multiline-statements gracefully.
2880
2881 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2882
2883 * net/tramp.el (tramp-handle-insert-file-contents):
2884 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2885
2886 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2889 arg MARKER.
2890 (tramp-get-remote-path): Use it.
2891
2892 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * subr.el (redisplay-dont-pause): Mark as obsolete.
2895
2896 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2897
2898 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2899 (tramp-accept-process-output): Use nil as argument for
2900 `accept-process-output', when there is a gateway prepended.
2901
2902 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2903 wrong debug buffer.
2904 (tramp-gw-open-connection): Set process coding system 'binary.
2905 (tramp-gw-open-network-stream): Handle HTTP error 403.
2906
2907 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2908 wrong debug buffer.
2909 (tramp-maybe-open-connection): Set connection property "gateway".
2910
2911 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * subr.el (sit-for): Tweak docstring (bug#19381).
2914
2915 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2916
2917 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2918 stage to after `diff-index' (bug#19386).
2919
2920 2014-12-27 João Távora <joaotavora@gmail.com>
2921
2922 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2923 `electric-pair-mode' (bug#19356).
2924
2925 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 elisp-xref-find: Don't create buffers eagerly.
2928
2929 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2930 into `elisp--company-location'.
2931 (elisp--identifier-completion-table): Rename to
2932 `elisp--identifier-completion-table', and do not include just any
2933 symbols with a property list.
2934 (elisp-completion-at-point): Revert the 2014-12-25 change.
2935 (elisp--xref-identifier-file): New function.
2936 (elisp--xref-find-definitions): Use it.
2937
2938 * emacs-lisp/find-func.el (find-function-library): New function,
2939 extracted from `find-function-noselect'.
2940
2941 * progmodes/xref.el (xref-elisp-location): New class.
2942 (xref-make-elisp-location): New function.
2943 (xref-location-marker): New implementation.
2944
2945 2014-12-27 Juri Linkov <juri@linkov.net>
2946
2947 * minibuffer.el (minibuffer-completion-help):
2948 Use shrink-window-if-larger-than-buffer in window-height
2949 when temp-buffer-resize-mode is nil.
2950
2951 * window.el (with-displayed-buffer-window): Remove window-height
2952 from the action alist in the temp-buffer-window-show call
2953 when window-height is handled explicitly afterwards (bug#19355).
2954
2955 2014-12-27 Juri Linkov <juri@linkov.net>
2956
2957 Support subdirectories when saving places in dired.
2958 * saveplace.el (toggle-save-place, save-place-to-alist)
2959 (save-places-to-alist, save-place-dired-hook):
2960 Use dired-current-directory instead of dired-directory (bug#19436).
2961 (save-place-dired-hook): Add check for alist to make the new
2962 format future-proof to allow other possible formats.
2963
2964 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2965
2966 python.el: Generate clearer shell buffer names.
2967 * progmodes/python.el (python-shell-get-process-name)
2968 (python-shell-internal-get-process-name): Use `buffer-name`.
2969 (python-shell-internal-get-or-create-process): Simplify.
2970
2971 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
2972
2973 Add basic xref apropos implementation to elisp-mode.
2974
2975 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2976 Filter out nil results.
2977 (elisp--xref-find-apropos): New function.
2978 (elisp-xref-find): Use it.
2979
2980 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2981
2982 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
2983
2984 * dired-aux.el (dired-maybe-insert-subdir):
2985 Make dired-maybe-insert-subdir always skip trivial files.
2986
2987 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
2988 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 Consolidate cross-referencing commands.
2991
2992 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2993 `C-x 5 .' from etags.el to xref.el.
2994
2995 * progmodes/xref.el: New file.
2996
2997 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
2998 (elisp--identifier-location): New function, extracted from
2999 `elisp--company-location'.
3000 (elisp--company-location): Use it.
3001 (elisp--identifier-completion-table): New variable.
3002 (elisp-completion-at-point): Use it.
3003 (emacs-lisp-mode): Set the local values of `xref-find-function'
3004 and `xref-identifier-completion-table-function'.
3005 (elisp-xref-find, elisp--xref-find-definitions)
3006 (elisp--xref-identifier-completion-table): New functions.
3007
3008 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3009 favor of `xref--marker-ring'.
3010 (tags-lazy-completion-table): Autoload.
3011 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3012 (find-tag-noselect): Use `xref-push-marker-stack'.
3013 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3014 (etags--xref-limit): New constant.
3015 (etags-xref-find, etags--xref-find-definitions): New functions.
3016
3017 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3018
3019 * cus-start.el (resize-mini-windows): Make it customizable.
3020
3021 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3022
3023 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3024 to (info "(emacs)Contributing"). (Bug#19299)
3025
3026 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3027
3028 * window.el (mouse-autoselect-window-position-1): New variable.
3029 (mouse-autoselect-window-cancel)
3030 (mouse-autoselect-window-select, handle-select-window):
3031 With delayed autoselection select window only if mouse moves after
3032 selecting its frame.
3033
3034 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3037 remote file names. (Bug#18782)
3038
3039 2014-12-23 Sam Steingold <sds@gnu.org>
3040
3041 * shell.el (shell-display-buffer-actions): New user option.
3042 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3043 `pop-to-buffer-same-window'.
3044
3045 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3048 (js-syntax-propertize-regexp): Use it to recognize "slash in
3049 a character class" (bug#19397).
3050
3051 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * completion.el: Use post-self-insert-hook (bug#19400).
3054 (completion-separator-self-insert-command)
3055 (completion-separator-self-insert-autofilling): Remove.
3056 (completion-separator-chars): New var.
3057 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3058 of changing the keymap.
3059 (completion--post-self-insert): New function.
3060 (dynamic-completion-mode): Use it instead of rebinding keys.
3061 (cmpl--completion-string): Rename from completion-string.
3062 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3063
3064 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3065
3066 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3067 by leveraging `syntax-ppss'.
3068
3069 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3070
3071 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3072
3073 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3076
3077 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3078
3079 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3080
3081 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3082
3083 * let-alist.el (let-alist): Enable access to deeper alists by
3084 using dots inside the dotted symbols.
3085
3086 2014-12-19 Alan Mackenzie <acm@muc.de>
3087
3088 Make C++11 uniform init syntax work.
3089 New keywords "final" and "override".
3090 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3091 New function.
3092 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3093 new function.
3094 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3095 carefully for "are we at a declarator?" using
3096 c-back-over-member-initializers.
3097 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3098 and "override" in the C++ value.
3099
3100 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3101
3102 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3103
3104 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3105
3106 * net/nsm.el (nsm-save-host): Don't save the host name twice
3107 (bug#19269).
3108
3109 2014-12-18 Sam Steingold <sds@gnu.org>
3110
3111 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3112 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3113 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3114 * menu-bar.el (menu-bar-buffer-vector): Extract from
3115 `menu-bar-update-buffers'.
3116 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3117 (buffer-menu-open): New user command, bound globally to C-f10,
3118 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3119 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3120 convert the value returned by `mouse-buffer-menu-map' to a list
3121 acceptable to `popup-menu' for `buffer-menu-open'.
3122
3123 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3124
3125 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3126
3127 2014-12-18 Sam Steingold <sds@gnu.org>
3128
3129 * emacs-lisp/package.el: Avoid compilation warning by declaring
3130 the `find-library-name' function.
3131 (package-activate-1): Fix the `with-demoted-errors' calls:
3132 the first argument must be a string literal.
3133
3134 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3135
3136 Add code for "preserving" window sizes.
3137 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3138 `preserve-size' t.
3139 (dired-mark-pop-up): Preserve size of window showing marked files.
3140 * electric.el (Electric-pop-up-window):
3141 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3142 with `preserve-size' t.
3143 * minibuffer.el (minibuffer-completion-help):
3144 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3145 (Bug#19355). Preserve size of completions window.
3146 * register.el (register-preview): Preserve size of register
3147 preview window.
3148 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3149 with `preserve-size' t (Bug#1291).
3150 * window.el (with-displayed-buffer-window): Add calls to
3151 `window-preserve-size'.
3152 (window-min-pixel-size, window--preservable-size)
3153 (window-preserve-size, window-preserved-size)
3154 (window--preserve-size, window--min-size-ignore-p): New functions.
3155 (window-min-size, window-min-delta, window--resizable)
3156 (window--resize-this-window, split-window-below)
3157 (split-window-right): Amend doc-string.
3158 (window--min-size-1, window-sizable, window--size-fixed-1)
3159 (window-size-fixed-p, window--min-delta-1)
3160 (frame-windows-min-size, window--max-delta-1, window-resize)
3161 (window--resize-child-windows, window--resize-siblings)
3162 (enlarge-window, shrink-window, split-window): Handle preserving
3163 window sizes.
3164 (adjust-window-trailing-edge): Handle preserving window
3165 sizes. Signal user-error instead of an error when there's no
3166 window above or below.
3167 (window--state-put-2): Handle horizontal scroll bars.
3168 (window--display-buffer): Call `preserve-size' if asked for.
3169 (display-buffer): Mention `preserve-size' alist member in doc-string.
3170 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3171 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3172 scroll bar on ispell's windows. Don't count window lines and
3173 don't deal with dedicated windows.
3174 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3175 do the window handling.
3176 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3177 (ispell-display-buffer): New function to reuse, create and fit
3178 window to ispell's buffers. (Bug#3413)
3179
3180 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3181
3182 * emacs-lisp/package.el (package-activate): Do not re-activate or
3183 reload the dependencies (bug#19390).
3184
3185 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3188 (c-update-modeline):
3189 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3190 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3191 (c-mode-base-map): Use c-subword-mode.
3192
3193 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3194
3195 * international/mule-diag.el (describe-font-internal):
3196 Display additional info returned by font-info.
3197
3198 * linum.el (linum--face-width): Rename from linum--face-height,
3199 and use the new functionality of font-info.
3200 (linum-update-window): Use linum--face-width and frame-char-width,
3201 instead of approximating with height.
3202
3203 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3206 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3207
3208 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3209 and a docstring.
3210 (package-activate): Call itself on dependencies on PACKAGE with
3211 the same FORCE argument. Pass FORCE as RELOAD into
3212 `package-activate-1' (bug#19390).
3213
3214 2014-12-17 Sam Steingold <sds@gnu.org>
3215
3216 * emacs-lisp/package.el (package--list-loaded-files):
3217 Handle `(nil ...)' elements in `load-history'.
3218
3219 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3220
3221 * net/tramp-sh.el (tramp-histfile-override): New variable.
3222 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3223
3224 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3225
3226 * vc/vc.el: Improve `dir-status-files' description.
3227
3228 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3229 file-truename on load-history elements (bug#19390).
3230
3231 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3232
3233 * emacs-lisp/seq.el: New file.
3234
3235 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3238 is 0 and there is no input pending.
3239
3240 2014-12-15 Juri Linkov <juri@linkov.net>
3241
3242 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3243 only on the return value (bug#19383).
3244
3245 2014-12-15 Juri Linkov <juri@linkov.net>
3246
3247 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3248 the wrapped search by the length of the search string to be able
3249 to lazy-highlight the whole search string at point (bug#19353).
3250
3251 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3252
3253 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3254
3255 2014-12-14 Alan Mackenzie <acm@muc.de>
3256
3257 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3258
3259 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3260
3261 * let-alist.el: Add lexical binding.
3262
3263 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3264
3265 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3266 for the "Version" column, to accomodate date-and-time-based versions.
3267
3268 2014-12-14 Cameron Desautels <camdez@gmail.com>
3269
3270 * cus-edit.el (custom-unsaved-options): New function, extracted
3271 from `customize-unsaved'.
3272 (custom-unsaved): Use it.
3273 (custom-prompt-customize-unsaved-options): New function.
3274 (Bug#19328)
3275
3276 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3279
3280 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3281
3282 Move ASYNC argument to the `diff' VC command to the fifth
3283 position, for better compatibility with existing third-party code,
3284 and document it.
3285
3286 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3287 backend `diff' command in the last position.
3288
3289 * vc/vc-svn.el (vc-svn-diff):
3290 * vc/vc-src.el (vc-src-diff):
3291 * vc/vc-sccs.el (vc-sccs-diff):
3292 * vc/vc-rcs.el (vc-rcs-diff):
3293 * vc/vc-mtn.el (vc-mtn-diff):
3294 * vc/vc-hg.el (vc-hg-diff):
3295 * vc/vc-git.el (vc-git-diff):
3296 * vc/vc-dav.el (vc-dav-diff):
3297 * vc/vc-cvs.el (vc-cvs-diff):
3298 * vc/vc-bzr.el (vc-bzr-diff):
3299 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3300
3301 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3302
3303 * emacs-lisp/cconv.el (cconv--analyze-use):
3304 Rename from cconv--analyse-use.
3305 (cconv--analyze-function): Rename from cconv--analyse-function.
3306 (cconv-analyze-form): Rename from cconv-analyse-form.
3307
3308 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3309
3310 * net/shr.el (shr-next-link): Don't error out at eob.
3311
3312 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3313
3314 * isearch.el (isearch-open-necessary-overlays): Open overlay
3315 ending at point (bug#19333).
3316
3317 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3318
3319 * net/shr.el (shr-fold-text): New function.
3320 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3321 alt/title texts.
3322 (shr-fold-text): Inhibit state from being altered.
3323
3324 * files.el (directory-files-recursively): Really check whether
3325 files are symlinks.
3326 (directory-name-p): New function.
3327 (directory-files-recursively): Use it.
3328
3329 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3330
3331 * emacs-lisp/package.el (package--list-loaded-files): New function
3332 to list files in a given directory which correspond to already
3333 loaded files.
3334 (package-activate-1): Reload files given by `package--list-loaded-files'.
3335 Fix bug#10125, bug#18443, and bug#18448.
3336
3337 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3338
3339 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3340
3341 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3342
3343 * simple.el (password-word-equivalents): Add "passcode", used for
3344 numeric secrets like PINs or RSA tokens.
3345
3346 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3349 order to determine `tramp-own-remote-path'.
3350
3351 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3352
3353 * progmodes/python.el (python-shell-parse-command):
3354 Quote `python-shell-interpreter`. (Bug#19289)
3355
3356 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3359 (python-indent-levels): Document extra value.
3360 (python-indent-calculate-indentation): Return `noindent' in strings.
3361 (python-indent-post-self-insert-function)
3362 (python-indent-calculate-levels): Handle new value.
3363
3364 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3365
3366 * net/network-stream.el (network-stream-open-starttls): No need to
3367 check for the availability of `gnutls-available-p'.
3368
3369 * files.el (directory-files-recursively): Don't follow symlinks to
3370 other directories.
3371
3372 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3373
3374 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3375 * vc/vc.el: latest-on-branch-p is no longer a public method.
3376
3377 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3378 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3379 Remove `rollback' method, to be replaced in the future by uncommit.
3380
3381 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3384 that there is empty output.
3385
3386 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3389 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3390
3391 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3392
3393 * let-alist.el: Add new package and macro.
3394
3395 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3396
3397 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3398 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3399 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3400
3401 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3402
3403 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3404 trouble with ls over ftp. These flags result in ls returning no
3405 output, causing Tramp-breakage. (bug#19192)
3406
3407 2014-12-10 Andreas Schwab <schwab@suse.de>
3408
3409 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3410
3411 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3412
3413 * files.el (directory-files-recursively):
3414 Use `file-name-all-completions' instead of `directory-files' for
3415 greater speed.
3416
3417 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3418 <object>.
3419
3420 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3421
3422 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3423 and Puppetfile.
3424 (ruby-toggle-string-quotes): New command that allows you to quickly
3425 toggle between single-quoted and double-quoted string literals.
3426
3427 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3428
3429 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3430 list, avoids problems witt names containing hyphens.
3431
3432 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3433
3434 Sync with upstream verilog-mode revision aa4b777.
3435 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3436 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3437 (verilog-set-auto-endcomments): Automatically comment property/
3438 endproperty blocks to match other similar blocks like sequence/
3439 endsequence, function/endfunction, etc. Reported by Alex Reed.
3440 (verilog-set-auto-endcomments): Fix end comments for functions of
3441 type void, etc. Detect the function- or task-name when
3442 auto-commenting blocks that lack an explicit portlist.
3443 Reported by Alex Reed.
3444 (verilog-nameable-item-re): Fix nameable items that can have an
3445 end-identifier to include endchecker, endgroup, endprogram,
3446 endproperty, and endsequence. Reported by Alex Reed.
3447 (verilog-preprocessor-re, verilog-beg-of-statement):
3448 Fix indentation of property/endproperty around pre-processor
3449 directives. Reported by Alex Reed.
3450 (verilog-label-be): When auto-commenting a buffer, consider
3451 auto-comments on all known keywords (not just a subset thereof).
3452 Reported by Alex Reed.
3453 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3454 Reported by Alex Reed.
3455 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3456 Fix hanging with many curly-bracket pairs, bug663.
3457 (verilog-do-indent): Fix electric tab deleting form-feeds.
3458 Note caused by indent-line-to deleting tabls pre 24.5.
3459 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3460 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3461 (verilog-read-always-signals, verilog-auto-sense-sigs)
3462 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3463 bug844. Reported by Greg Hilton.
3464
3465 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3466
3467 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3468 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3469 'foreach', and 'do' keywords.
3470 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3471 Fix labeling do-while blocks, bug842.
3472 (verilog-backward-token): Fix indenting sensitivity lists with
3473 named events, bug840.
3474
3475 2014-12-09 Reto Zimmermann <reto@gnu.org>
3476
3477 Sync with upstream vhdl mode v3.36.1.
3478 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3479 (vhdl-compiler-alist): Anchor all error regexps.
3480 (vhdl-compile-use-local-error-regexp): Change default to nil.
3481 (vhdl-asort, vhdl-anot-head-p): Remove.
3482 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3483 Remove optional argument of vhdl-aget and update all callers.
3484 (vhdl-import-project): Also set `vhdl-compiler'.
3485
3486 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3487
3488 * files.el (find-files): New function.
3489
3490 * net/shr.el (shr-dom-print): Don't print comments.
3491 (shr-tag-svg): Give inline SVG images the right type.
3492
3493 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3494 certificates in the header line.
3495 (eww-invalid-certificate, eww-valid-certificate): New faces.
3496
3497 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3498
3499 * progmodes/python.el (inferior-python-mode):
3500 Set `comint-prompt-read-only` to `t` only locally.
3501
3502 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3503
3504 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3505 (nsm-format-certificate): Include more data about the connection.
3506 (nsm-query): Fill the text to that it looks nicer.
3507 (nsm-check-protocol): Also warn if using SSL3 or older.
3508
3509 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3512
3513 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3514
3515 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3516
3517 * info.el (Info-mode-map): Remove left-over binding.
3518
3519 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3520 (avl-tree--root): Remove redundant defsetf.
3521
3522 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3523
3524 * net/nsm.el (network-security-level): Remove the detailed
3525 description, which was already outdated, and refer the users to
3526 the manual.
3527 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3528 (bug#19153).
3529
3530 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3531
3532 * net/eww.el (eww-buffers-mode): New major mode.
3533 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3534 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3535 New commands/functions (bug#19131).
3536
3537 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3538
3539 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3540 'file-name-handler-alist' since the gnutls library can't use those
3541 (bug#15866).
3542
3543 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3544
3545 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3546 when FILES is non-nil (bug#19304).
3547
3548 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3549
3550 * vc/vc-arch.el: Move to obsolete directory so a test framework
3551 won't trip over bit-rot in it. There has been no Arch snapshot
3552 for nine years.
3553
3554 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3555
3556 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3557 previous behavior.
3558 (eww-copy-page-url): Add doc string.
3559
3560 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3561
3562 * net/eww.el (eww): Move history recording here...
3563 (eww-browse-url): ... from here (bug#19253).
3564
3565 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3566 iterating over possible buffer names.)
3567
3568 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3569
3570 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3571 (eww-current-buffer): Compilation fix for bug#18550 patch.
3572
3573 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3574
3575 * net/eww.el (eww-list-histories): Restore the history in the
3576 correct buffer (bug#18550).
3577
3578 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3579
3580 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3581 displaying shortened titles first (bug#16398).
3582
3583 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3584
3585 * progmodes/python.el: Recognize docstrings.
3586 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3587 New functions.
3588 (python-mode): Use them.
3589
3590 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3591
3592 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3593 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3594 (newsticker--treeview-create-groups-menu)
3595 (newsticker--treeview-create-tree-menu): Remove.
3596 (newsticker--treeview-tree-open-menu): New.
3597 (newsticker-treeview-tree-click): Pass event to
3598 `newsticker-treeview-tree-do-click'.
3599 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3600
3601 2014-12-05 Juri Linkov <juri@linkov.net>
3602
3603 * comint.el (comint-history-isearch-search)
3604 (comint-history-isearch-wrap): Use field-beginning instead of
3605 comint-line-beginning-position.
3606 (comint-send-input): Go to the end of the field instead of the end
3607 of the line to accept whole multi-line input.
3608 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3609
3610 2014-12-05 Juri Linkov <juri@linkov.net>
3611
3612 * minibuffer.el (minibuffer-completion-help):
3613 Compare selected-window with minibuffer-window to check whether
3614 completions should be displayed near the minibuffer. (Bug#17809)
3615 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3616
3617 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * vc/vc-mtn.el (vc-mtn-root):
3620 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3621
3622 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3625 of the whole pipe when indenting an opening keyword after a |.
3626 Generalize this treatment to opening keywords like "while" (bug#18031).
3627
3628 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * simple.el (newline): Place the hook buffer-locally,
3631 to make sure it's first.
3632
3633 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3634 Fix handling of symbols with different syntax at beginning/end or with
3635 symbol rather than word syntax.
3636
3637 2014-12-05 Eli Zaretskii <eliz@gnu.org>
3638
3639 * simple.el (line-move): If noninteractive, call line-move-1, not
3640 forward-line, since the former is compatible with line-move-visual
3641 both in terms of the column to which it moves and the return
3642 value. (Bug#19211)
3643
3644 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * vc/ediff-init.el (ediff-odd-p): Remove.
3647 (ediff-background-face): Use cl-oddp instead.
3648 (ediff-buffer-live-p): Make it a defsubst.
3649
3650 * tooltip.el (tooltip-region-active-p): Remove.
3651
3652 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3653 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3654
3655 * fringe.el (fringe-bitmap-p): Make it a plain function.
3656
3657 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3658 (class-p, generic-p, eieio-object-p, class-abstract-p):
3659 Make them defsubst, so as to avoid corner case problems where
3660 the arg might be evaluated in the condition-case, or it can't be passed
3661 to higher-order functions like `cl-some'.
3662
3663 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3664
3665 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3666 and remove old menu-related code.
3667
3668 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3669
3670 * net/eww.el (eww-display-pdf): Let mailcap determine how to
3671 display PDF files (bug#19270).
3672
3673 2014-12-05 Juri Linkov <juri@linkov.net>
3674
3675 Compare with the most recent window by default.
3676 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3677 (compare-windows-get-recent-window)
3678 (compare-windows-get-next-window): New functions.
3679 (compare-windows, compare-windows-sync-default-function):
3680 Use `compare-windows-get-window-function' instead of `next-window'.
3681 (compare-windows): Add diff/match messages with region boundaries.
3682 (Bug#19170)
3683
3684 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
3687
3688 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3689
3690 * net/shr.el (shr--extract-best-source): Ignore non-text children.
3691
3692 2014-12-04 Eli Zaretskii <eliz@gnu.org>
3693
3694 Implement copying of a buffer portion while preserving visual order.
3695 * simple.el (bidi-directional-controls-chars)
3696 (bidi-directional-non-controls-chars): New variables.
3697 (squeeze-bidi-context-1, squeeze-bidi-context)
3698 (line-substring-with-bidi-context)
3699 (buffer-substring-with-bidi-context): New functions.
3700
3701 * files.el (file-tree-walk): Doc fix.
3702
3703 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
3704 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3705
3706 * autoinsert.el (auto-insert-alist): Update C/C++ header and
3707 program support to match more extensions. Replace non-alnum
3708 characters when generating include guards (headers) and check for
3709 more extensions when generating includes (programs)
3710 (bug#19254).
3711
3712 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
3713
3714 * files.el (file-tree-walk): Fix docstring.
3715
3716 2014-12-03 Karl Fogel <kfogel@red-bean.com>
3717
3718 Fix bug whereby saving files hung in VC hook.
3719
3720 Saving a buffer visiting a file under SVN control would hang if
3721 the remote repository were unreachable, because the VC hooks tried
3722 to run "svn status -u" on the file, where the "-u" tells svn to
3723 get update information from the remote repository.
3724 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3725
3726 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3727 argument and always pass "-v" to "svn status", never "-u".
3728
3729 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * emacs-lisp/inline.el: Fix up copyright header.
3732 (inline-quote, inline-const-p, inline-const-val, inline-error):
3733 Silence compiler warnings.
3734 (inline-letevals): Fix edebug spec.
3735 (inline--testconst-p): Consider lambda expressions as const-p.
3736 (inline--getconst-val): Use inline--testconst-p.
3737
3738 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3739 and change default to stay in the minibuffer when called from
3740 the minibuffer (bug#19250).
3741 (lazy-completion-table): Use this new argument to preserve the
3742 old behavior.
3743
3744 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3745 incorrect lexical elements (bug#19250).
3746
3747 2014-12-03 A. N. Other <none@example.com>
3748
3749 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3750
3751 2014-12-02 Glenn Morris <rgm@gnu.org>
3752
3753 * whitespace.el (whitespace-big-indent-regexp): Add :version.
3754
3755 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
3756
3757 * subr.el (filter): New macro. Because it's just silly for a Lisp
3758 not to have this in 2014. And VC needs it.
3759
3760 * vc.el: All backends: API simplification: Abolish dir-status.
3761 It's replaced by dir-status-files.
3762
3763 * vc.el: All backends: API simplification: Remove 4th
3764 'default-state' argument from vc-dir-status files and its backend
3765 methods - no backend method ever set it. It was used only in the
3766 fallback method to to set a default of 'up-to-date, though a
3767 convoluted call chain obscured this.
3768
3769 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3770
3771 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3772 improving behavior on directories using multiple file-oriented VCSes.
3773
3774 * vc/vc.el: All backends: API simplification; clear-headers
3775 is no longer a public method. It is now local to the one place
3776 it's used, in the RCS steal-lock method.
3777
3778 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3779
3780 * vc/vc.el: In all backends: API simplification; could-register
3781 is no longer a public method. (vc-cvs.el still has a private
3782 implementation.)
3783
3784 * vc/vc.el: In all backends: API cleanup; the backend diff method
3785 takes an explicit async flag. This eliminates a particularly ugly
3786 global.
3787
3788 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3789 VC randomly/unpredictably fails without it; cause not yet established.
3790
3791 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 Merge some of the differences from the standalone CC-mode.
3794 The main change is to only use the `category' text-property only when
3795 available. For that many calls are changed to use c-get-char-property,
3796 c-next-single-property-change, c-sc-scan-lists,
3797 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3798
3799 * progmodes/cc-mode.el (c-just-done-before-change): New var.
3800 (c-basic-common-init): Initialize it.
3801 (c-common-init): Only use mode-require-final-newline when available.
3802 (c-before-change): Check and set c-just-done-before-change.
3803 (c-after-change): Re-set c-just-done-before-change.
3804 (c-advise-fl-for-region): New macro.
3805 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3806 (font-lock-after-change-function, jit-lock-after-change):
3807 Advise if needed.
3808
3809 * progmodes/cc-langs.el (c-modified-constant): New lang var.
3810 (c-known-type-key): Don't make a list just to throw it away.
3811
3812 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3813 Handle the case where categories are not available.
3814 (c-record-parse-state-state, c-replay-parse-state-state):
3815 Handle marker values.
3816 (c-before-change-check-<>-operators): Look for the `syntax-table'
3817 property rather than for the corresponding `category'.
3818 (c-looking-at-decl-block): Remove unused var
3819 `c-disallow-comma-in-<>-arglists'.
3820 (c-forward-<>-arglist-recur): Remove unused var
3821 `orig-record-found-types'.
3822
3823 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3824 (c-use-category): New const.
3825 (c-next-single-property-change): New macro.
3826 (c-region-is-active-p): Prefer region-active-p when available.
3827 (c-search-backward-char-property): Fix old min/max typo; probably
3828 a copy/paste error.
3829 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3830 Turn them into macros that obey c-use-category.
3831 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3832 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3833 (c-sc-scan-lists, c-sc-parse-partial-sexp)
3834 (c-looking-at-non-alphnumspace): New macros.
3835 (c-sc-parse-partial-sexp-no-category): New function.
3836 (c-emacs-features): Add `category-properties' element.
3837
3838 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3839 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3840 not available.
3841 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3842 (c-indent-line-or-region): Use c-region-is-active-p.
3843
3844 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3845 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3846 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3847 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3848 (cc-bytecomp-obsolete-fun): Delete unused functions.
3849
3850 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3851
3852 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3853
3854 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3855 dom.el changes.
3856
3857 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3860 current "project" rather than just the current directory.
3861 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3862 the file names make sense.
3863
3864 * vc/smerge-mode.el (smerge-swap): New command.
3865
3866 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3867
3868 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3869
3870 * net/newst-treeview.el (newsticker--treeview-item-show):
3871 Check window liveliness before measuring its width.
3872
3873 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3874 Pass correct status to `newsticker--sentinel-work'.
3875 (newsticker--sentinel-work): Use "newsticker--download-error" as
3876 guid in order to prevent multiple "Could not download..."
3877 messages. (Bug#19166)
3878
3879 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3880
3881 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3882 correct buffer (bug#19225).
3883
3884 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3885
3886 * net/nsm.el (network-security-level): Change the default to `medium'.
3887
3888 * net/eww.el (eww): Leave point in a place that doesn't cause
3889 scrolling when displaying "Loading...".
3890
3891 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3892
3893 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3894 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3895 'merge-branch'. Prompting for merge revisions is pushed down to
3896 the back ends; this fixes a layering violation that caused bad
3897 behavior with SVN.
3898
3899 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3900 vc-stay-local-p and repository-hostname are no longer public
3901 methods. Only the CVS and SVN backends used these, and the SVN
3902 support was conditioned out because svn status -v is too slow.
3903 The CVS back end retains this machinery and the vc-stay-local
3904 configuration variable now only affects it.
3905
3906 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * emacs-lisp/inline.el: New file.
3909
3910 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3911
3912 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3913 vc-state-heuristic is no longer a public method, having been
3914 removed where it is redundant, unnecessary, or known buggy.
3915 This eliminated all backends except CVS. Eliminates bug#7850.
3916
3917 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3918 Eliminate vc-mistrust-permissions. It was only relevant to the
3919 RCS and SCCS back ends and defaulted to t. Code now always
3920 mistrusts permissions - by actual measurement the effect on
3921 performance is negligible. As a side effect bug#11490 is now
3922 irrelevant.
3923
3924 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3925 vc-workfile-unchanged-p is no longer a public method (but the RCS
3926 and SCCS back ends retain it as a private method used in state
3927 computation). This method was redundant with vc-state and usually
3928 implemented as a trivial call to same. Fixes the failure mode
3929 described in bug#694.
3930
3931 * vc/vc.el: All backends: API simplification; init-revision is
3932 gone, and vc-registered functions no longer take an
3933 initial-revision argument.
3934
3935 2014-11-29 Glenn Morris <rgm@gnu.org>
3936
3937 * vc/vc-src.el (vc-src, vc-src-diff-switches)
3938 (vc-src-master-templates): Fix :version tags.
3939
3940 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
3941
3942 * outline.el (outline-move-subtree-down): Refactor and improve code.
3943
3944 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3945 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * outline.el (outline-move-subtree-down): Make sure we can move
3948 forward to find the end of the subtree and the insertion point
3949 (bug#19102).
3950
3951 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3952
3953 * progmodes/python.el (python-shell-completion-setup-code):
3954 Use __builtin__ module (or builtins in Python 3) and catch all errors
3955 when importing readline and rlcompleter.
3956
3957 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3958
3959 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3960 (todo-revert-buffer): New function.
3961 (todo-modes-set-1): Use it as the buffer-local value of
3962 revert-buffer-function.
3963
3964 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3965
3966 * calendar/todo-mode.el (todo-mode): If called interactively, just
3967 display a message saying to call todo-show to enter Todo mode
3968 (Bug#19112).
3969
3970 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3973 (Bug#18579)
3974
3975 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3976 files. (Bug#18579)
3977
3978 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3979
3980 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3981 remote `buffer-file-name'.
3982
3983 2014-11-29 Leo Liu <sdl.web@gmail.com>
3984
3985 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3986
3987 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3988
3989 Set PYTHONUNBUFFERED on shell startup.
3990
3991 * progmodes/python.el (python-shell-unbuffered): New var.
3992 (python-shell-calculate-process-environment): Use it.
3993
3994 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3995
3996 * net/tramp.el (tramp-action-password): Clean password on subsequent
3997 attempts even if there was no wrong password indication. (Bug#19047)
3998
3999 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4000 fallback.
4001 (tramp-open-connection-setup-interactive-shell): No need to check
4002 for nil as `tramp-get-remote-locale' return value.
4003
4004 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4005
4006 * vc/vc-git.el (vc-git-command, vc-git--call):
4007 Bind coding-system-for-read and coding-system-for-write to
4008 vc-git-commits-coding-system.
4009 (vc-git-previous-revision): Use "~1" instead of "^", since the
4010 latter is a special character for MS-Windows system shells.
4011
4012 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4013
4014 Improve XEmacs compatibility.
4015
4016 * net/tramp.el (tramp-autoload-file-name-handler):
4017 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4018 exist in XEmacs.
4019 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4020 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4021 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4022 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4023 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4024 * net/tramp-cache.el (tramp-get-file-property):
4025 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4026 Use `time-less-p' and `time-subtract, respectively.
4027
4028 * net/tramp-adb.el (top): Do not require time-date.el.
4029
4030 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4031
4032 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4033 Check, whether `utf-8' is a valid coding system.
4034
4035 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4036
4037 * vc/vc.el (vc-retrieve-tag): Doc fix.
4038
4039 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4042 (bug#19152).
4043
4044 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4045
4046 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4047 * help.el (help-window-old-frame): New variable.
4048 (help-window-select): Default to nil (Bug#11039).
4049 Rewrite doc-string.
4050 (help-window-setup): When the help window appears on another
4051 frame and `help-window-select' is non-nil, give that frame input
4052 focus too (Bug#19012).
4053 (with-help-window): Store selected frame in
4054 help-window-old-frame.
4055
4056 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4057
4058 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4059 nil value for `newsticker-groups-filename'.
4060
4061 2014-11-28 Daiki Ueno <ueno@gnu.org>
4062
4063 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4064 (epa-sign-region, epa-encrypt-region):
4065 Use `epg-context-set-{passphrase,progress}-callback', instead of
4066 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4067 Reported by José A. Romero L.
4068
4069 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4070
4071 * net/eww.el (eww-restore-history):
4072 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4073
4074 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4075
4076 * net/newst-backend.el (newsticker--parse-atom-1.0):
4077 Handle embedded (x)html in summary node.
4078
4079 2014-11-27 Sam Steingold <sds@gnu.org>
4080
4081 * menu-bar.el (menu-bar-open): When everything else fails,
4082 use (mouse-menu-bar-map).
4083
4084 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4085
4086 * net/newst-treeview.el (newsticker-groups-filename):
4087 Change default value to nil. Point out that variable is obsolete in doc
4088 string.
4089 (newsticker--treeview-load): Change wording of the questions the
4090 user is asked when `newsticker-groups-filename' is found to be
4091 used and we offer to read and remove the groups file. (Bug#19165)
4092
4093 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4094
4095 * net/eww.el (eww): Record the new URL immediately, so that if the
4096 HTTP fetch fails, we have the right URL in the buffer.
4097 (eww-process-text-input): Don't shorten the input field if
4098 deleting at the last character (bug#19085).
4099 (eww-restore-history): Inhibit change functions while restoring
4100 the history.
4101 (eww-process-text-input): Fix deletion at the start of the field, too.
4102 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4103 (eww-process-text-input): Try to keep track of the size more reliably.
4104
4105 * dom.el (dom-pp): New function.
4106
4107 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4108
4109 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4110 Don't assume --long is the default for "bzr log", always specify
4111 it explicitly, in case the user defined an alias for 'log' that
4112 uses some other format.
4113
4114 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4115
4116 * progmodes/python.el (python-eldoc--get-doc-at-point):
4117 Strip shell output before returning. (bug#18794)
4118
4119 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4120
4121 Fix indentation before `!=' and after `+='. Originally reported
4122 in https://github.com/mooz/js2-mode/issues/174.
4123 * progmodes/js.el (js--indent-operator-re): Make assignments and
4124 (in)equality operator a separate case.
4125 (js--continued-expression-p): Escape the second `+' in the regexp.
4126
4127 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4130
4131 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4132
4133 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4134 when querying about new certificates.
4135
4136 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4137
4138 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4139 can be strings.
4140 (dom-elements): Protect against non-text nodes.
4141 (dom-non-text-children): New function.
4142
4143 * net/eww.el (eww-tag-title): Use `dom-text'.
4144
4145 2014-11-26 Sam Steingold <sds@gnu.org>
4146
4147 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4148
4149 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4150
4151 * net/eww.el (eww-highest-readability): More dom.el fixes.
4152
4153 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4154
4155 * net/newst-backend.el (newsticker--parse-generic-items):
4156 Take care of UIDs when adding elements to cache.
4157
4158 2014-11-26 Alan Mackenzie <acm@muc.de>
4159
4160 Remove spurious reference to symbol category_properties.
4161 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4162
4163 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164
4165 * net/eww.el: Use the new dom.el accessors throughout.
4166
4167 * net/shr.el: Ditto.
4168
4169 * dom.el: New file.
4170
4171 2014-11-26 Glenn Morris <rgm@gnu.org>
4172
4173 * arc-mode.el (archive-visit-single-files): Add :version.
4174
4175 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4176
4177 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4178 elements.
4179 (nsm-warnings-ok-p): The new version of this function always
4180 returned nil when everything was OK.
4181
4182 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4183
4184 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4185
4186 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4187 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4188
4189 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4190
4191 * emacs-lisp/byte-run.el (function-put): Match argument names to
4192 docstring.
4193
4194 2014-11-24 Sam Steingold <sds@gnu.org>
4195
4196 * vc/vc-hooks.el (vc-directory-exclusion-list):
4197 Fix a trivial typo (bug#19171).
4198
4199 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * vc/vc-hooks.el (vc-state-base-face): Don't override
4202 mode-line-inactive.
4203
4204 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4205
4206 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4207 (eww-process-text-input): Inhibit read only so that input fields
4208 don't get shortened (bug#19085).
4209
4210 2014-11-24 Leo Liu <sdl.web@gmail.com>
4211
4212 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4213
4214 * window.el (with-temp-buffer-window)
4215 (with-current-buffer-window, with-displayed-buffer-window):
4216 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4217 * emacs-lisp/cl-lib.el (substring):
4218 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4219
4220 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4221
4222 * isearch.el (isearch-update): Don't assume
4223 pos-visible-in-window-p will return nil when point is hscrolled
4224 out of view. (Bug#19157)
4225
4226 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4227
4228 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4229 (eww-follow-link): Follow in new buffer in case of prefix
4230 argument, open externally with double prefix (bug#19130).
4231
4232 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4233
4234 * net/eww.el (eww-display-html): Decode the document-defined charset.
4235 (eww): Pop to the *eww* buffer immediately after executing the
4236 `M-x eww' command to avoid having buffers pop up later.
4237 (eww-display-html): Don't pop the *eww* buffer.
4238 (eww-display-raw): Ditto.
4239 (eww-display-image): Ditto.
4240 (eww-follow-link): Make going to #targets in the page work again.
4241
4242 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4243
4244 * net/eww.el (eww-suggest-uris): New variable.
4245 (eww-suggested-uris): New function.
4246 (eww): Default to URL under point.
4247 (eww-links-at-point): New function.
4248
4249 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4250
4251 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4252
4253 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4254
4255 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4256
4257 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4258
4259 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4260 (eww-display-raw): Use it (bug#16225).
4261
4262 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4263
4264 * net/nsm.el (network-security-level): Rename from
4265 `nsm-security-level' and documented.
4266
4267 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4268 we're sending a password.
4269
4270 * net/nsm.el: New file that implements a Network Security Manager.
4271
4272 * net/network-stream.el (open-network-stream): Add a new
4273 :warn-unless-encrypted parameter.
4274 (network-stream-open-plain): Allow warning unless encrypted.
4275 (network-stream-open-starttls): Call the Network Security Manager.
4276 (network-stream-open-tls): Ditto.
4277
4278 2014-11-23 Leo Liu <sdl.web@gmail.com>
4279
4280 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4281 (calendar-chinese-to-absolute-for-diary)
4282 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4283 Handle leap months in Chinese calendar. (Bug#18953)
4284
4285 2014-11-22 Alan Mackenzie <acm@muc.de>
4286
4287 Fix error with `mark-defun' and "protected:" in C++ Mode.
4288 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4289 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4290
4291 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4292
4293 * net/newst-backend.el (newsticker--sentinel-work):
4294 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4295
4296 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4299 (tramp-sh-handle-process-file): Propagate `process-environment'.
4300
4301 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4302 Tramp propagates environment variables now.
4303
4304 2014-11-22 Eric S. Raymond <esr@snark>
4305
4306 * vc/vc-filewise.el: New file to isolate code used only by the
4307 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4308 live in vc.el and certainly not in vc-hooks.el.
4309
4310 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4311 This is preparatory to isolating all the 'master' functions
4312 used only by the file-oriented back ends. With this done first,
4313 the substantive diffs will be easier to read.
4314
4315 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4316
4317 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4318 that is recognized by `help-mode'.
4319
4320 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * desktop.el (desktop-create-buffer): Use activate-mark to set
4323 `mark-active' (bug#19058).
4324
4325 2014-11-21 Eric S. Raymond <esr@snark>
4326
4327 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4328 nil state.
4329
4330 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4331
4332 * vc/vc.el (vc-deduce-fileset): Support invocation from
4333 *vc-change-log* buffer. (Bug#19084)
4334
4335 2014-11-13 Matthew Leach <matthew@mattleach.net>
4336
4337 * arc-mode.el (archive-visit-single-files): New.
4338 (archive-mode): Visit file if archive contains a single file.
4339 (Bug#1702)
4340
4341 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4342
4343 * vc/vc.el: Fix a typo in the commentary.
4344
4345 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4346
4347 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4348 testing and a real log-view mode.
4349
4350 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4351 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4352 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4353 checkout methods; where it matters (which is only in SCCS and RCS)
4354 files are always checked out editable. This may actually have
4355 been dynamically true already - it looks like the vc-next-action
4356 code evolved past visiting the other case. Tested with RCS.
4357
4358 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4359 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4360 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4361 argument from the backend checkin methods. Only the RCS, SCCS,
4362 and CVS back ends tried to do anything with it, and that code was
4363 never exercised. Chiseling away the cruft of decades...
4364
4365 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4366
4367 * net/eww.el (eww-render): Remove a no-op :title setting.
4368
4369 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4370
4371 * net/eww.el (eww-history-limit): New variable.
4372 (eww-save-history): Use it (bug#19105).
4373 (eww-reload): Reload the page in the right buffer.
4374
4375 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4376
4377 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4378
4379 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4380
4381 * net/eww.el (eww-desktop-remove-duplicates)
4382 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4383 (eww-mode): Set up desktop mode (bug#18010).
4384 (eww-desktop-data-save, eww-desktop-data-1)
4385 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4386 (eww-restore-desktop): New functions.
4387
4388 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4389
4390 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4391 correct buffer. (Bug#19101)
4392
4393 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4394
4395 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4396 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4397
4398 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4399
4400 * ido.el (ido-bury-buffer-at-head): New command.
4401 (ido-buffer-completion-map): Bind it to C-S-b.
4402
4403 2014-11-18 Juri Linkov <juri@linkov.net>
4404
4405 * simple.el (next-line-or-history-element): Wrap next-line
4406 in with-no-warnings.
4407 (previous-line-or-history-element): Wrap previous-line
4408 in with-no-warnings.
4409
4410 2014-11-18 Juri Linkov <juri@linkov.net>
4411
4412 * progmodes/grep.el (grep-compute-defaults):
4413 Compute grep-highlight-matches before its use.
4414
4415 2014-11-18 Juri Linkov <juri@linkov.net>
4416
4417 * replace.el (query-replace-from-to-separator): Turn defvar into
4418 defcustom. Wrap char-displayable-p in ignore-errors because an
4419 attempt to autoload char-displayable-p fails during pre-loading.
4420 Move (propertize "\0" ... 'separator t) out of customizable part
4421 to query-replace-read-from.
4422 (query-replace-read-from): Call custom-reevaluate-setting on
4423 query-replace-from-to-separator to reevaluate the separator
4424 depending on the return value of char-displayable-p.
4425 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4426
4427 2014-11-18 Juri Linkov <juri@linkov.net>
4428
4429 * bindings.el (minibuffer-local-map): Rebind [down] from
4430 next-history-element to next-line-or-history-element, and [up]
4431 from previous-history-element to previous-line-or-history-element.
4432
4433 * simple.el (next-line-or-history-element)
4434 (previous-line-or-history-element): New commands.
4435 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4436
4437 2014-11-18 Leo Liu <sdl.web@gmail.com>
4438
4439 * emacs-lisp/nadvice.el (define-advice): New macro.
4440 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4441 Add define-advice.
4442 (lisp-font-lock-keywords-1): Add define-advice.
4443
4444 2014-11-18 Daiki Ueno <ueno@gnu.org>
4445
4446 * epg.el (epg-context): New slot EDIT-CALLBACK.
4447 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4448 (epg-reset): Reset EDIT-CALLBACK of the context.
4449 (epg-start-edit-key): New function.
4450 (epg-edit-key): New function.
4451
4452 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4453
4454 Port new time stamp handling to Emacs 23.2.
4455 This fix is for Gnus. Reported by Katsumi Yamaoka.
4456 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4457 Use eval-and-compile, not eval-when-compile.
4458
4459 2014-11-18 Daiki Ueno <ueno@gnu.org>
4460
4461 * epg.el (epg-context-set-passphrase-callback)
4462 (epg-context-set-progress-callback): Check if the CALLBACK
4463 argument is a function, instead of a cons.
4464
4465 2014-11-18 Daiki Ueno <ueno@gnu.org>
4466
4467 * epa-file.el (epa-file-insert-file-contents)
4468 (epa-file-write-region): Remove redundant check of
4469 epa-pinentry-mode.
4470 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4471 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4472 epa-pinentry-mode.
4473
4474 2014-11-18 Daiki Ueno <ueno@gnu.org>
4475
4476 * epa-file.el (epa-file-insert-file-contents): Don't show
4477 "*Error*" buffer if input file does not exist.
4478 Reported by Herbert J. Skuhra.
4479
4480 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4481 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4482
4483 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4484 An alternative version of the patch from bug#13871.
4485 (c-operators): Add "alignof".
4486 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4487 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4488 (c-modifier-kwds): Add "thread_local".
4489 (c-constant-kwds): Add "nullptr".
4490
4491 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4492
4493 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4494 New variables for specifying tildify pattern and representation of
4495 a hard space -- a no-break space by default -- respectively.
4496 Being buffer-local they are much easier to handle than
4497 `tildify-string-alist' and `tildify-pattern-alist' respectively
4498 that have been used so far. They also works better with derived
4499 modes.
4500 (tildify-foreach-region-function): New variable specifying
4501 a function determining portions of buffer that should be
4502 tildified. It allows major modes to create a filtering function
4503 more elaborate than a set of regular expressions. Initialised to
4504 `tildify--deprecated-ignore-evironments' by default to handle now
4505 deprecated `tildify-ignored-environments-alist' variable.
4506 (tildify--foreach-region): A new function that takes
4507 `tildify-foreach-region-function' into account and calls callback
4508 for regions of the buffer that should be tildified.
4509 (tildify-foreach-ignore-environments): A new function which can be
4510 partially applied and used as `tildify-foreach-region-function'.
4511 (tildify-ignored-environments-alist, tildify-pattern)
4512 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4513 (tildify--find-env): Rename from `tildify-find-env' and mark as
4514 obsolete.
4515 (tildify--deprecated-ignore-evironments): New function,
4516 immediately marked as obsolete, used to handle deprecated
4517 `tildify-ignored-environments-alist'.
4518
4519 * textmodes/tex-mode.el (tex-common-initialization):
4520 Set `tildify-space-string' and `tildify-foreach-region-function'
4521 variables in all variants of TeX mode since `tildify-string-alist'
4522 and `tildify-ignored-environments-alist' are now empty by default.
4523
4524 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4525 If encoding supports it use no-break space instead of character
4526 entity; this changes previous default which used a numeric
4527 reference.
4528
4529 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4530 If encoding does not support no-break space, use numeric reference;
4531 this changes previous default which used named entity (“&nbsp;”)
4532 in HTML mode.
4533
4534 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4535
4536 * calendar/icalendar.el (icalendar-export-alarms):
4537 New customizable variable. (Bug#5433)
4538 (icalendar-export-region): Export alarms as specified in
4539 `icalendar-export-alarms'.
4540 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4541 New functions for exporting alarms.
4542
4543 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4544
4545 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4546
4547 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4548
4549 Port new time stamp handling to old Emacs and to XEmacs.
4550 This is needed for Gnus, which copies time-date.el and which
4551 runs on older Emacs implementations.
4552 * calendar/time-date.el (with-decoded-time-value):
4553 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4554 (encode-time-value, with-decoded-time-value):
4555 Obsolete only if new Emacs.
4556 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4557
4558 Improve time stamp handling, and be more consistent about it.
4559 This implements a suggestion made in:
4560 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4561 Among other things, this means timer.el no longer needs to
4562 autoload the time-date module.
4563 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4564 * arc-mode.el (archive-ar-summarize):
4565 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4566 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4567 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4568 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4569 * proced.el (proced-time-lessp):
4570 * timezone.el (timezone-time-from-absolute):
4571 * type-break.el (type-break-schedule, type-break-time-sum):
4572 Simplify by using new functionality.
4573 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4574 Do not return time values in obsolete and undocumented (HI . LO)
4575 format; use (HI LO) instead.
4576 * calendar/time-date.el (with-decoded-time-value):
4577 Treat 'nil' as current time. This is mostly for XEmacs.
4578 (encode-time-value, with-decoded-time-value): Obsolete.
4579 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4580 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4581 * ldefs-boot.el: Update to match new time-date.el
4582 * proced.el: Do not require time-date.
4583
4584 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * net/eww.el (eww-mode): Make the buffer read-only.
4587 (eww-form-text): Inhibit read-only-ness in text input fields
4588 (bug#16476).
4589
4590 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * simple.el (execute-extended-command--shorter): Cut search here.
4593 (execute-extended-command): Instead of here.
4594
4595 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4596
4597 * progmodes/python.el (python-mode): Avoid use of set-local to
4598 keep Emacs 24.x compatibility.
4599
4600 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4601
4602 * net/shr.el (shr): Move to the new defgroup `web'.
4603
4604 * net/eww.el (eww): Ditto.
4605
4606 * simple.el (execute-extended-command): Don't show the help
4607 message if the binding isn't significantly shorter than the
4608 M-x command the user typed (bug#19013).
4609
4610 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4611
4612 * calendar/icalendar.el (icalendar--convert-tz-offset):
4613 Return complete cons when offsets of standard time and daylight saving
4614 time are equal.
4615 (icalendar-export-region): Fix unbound variable warning.
4616
4617 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4618
4619 * progmodes/python.el (run-python): Allow CMD to be optional and
4620 default it to a safe command, even for Windows. (bug#18596)
4621
4622 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4623
4624 * progmodes/python.el (python-shell-calculate-command):
4625 Rename from python-shell-parse-command. Cleanup.
4626 (run-python, run-python-internal): Use it.
4627 (python-shell-calculate-pythonpath): Rename from
4628 python-new-pythonpath.
4629 (python-shell-calculate-process-environment): Use it.
4630 (python-shell-calculate-exec-path): Add comment.
4631
4632 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
4633
4634 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4635 for date handling.
4636
4637 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
4638
4639 * version.el (emacs-repository-get-version): Use git rev-parse
4640 instead of git log.
4641
4642 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4643
4644 * progmodes/python.el (python-indent-calculate-levels):
4645 Fix indentation behavior multiline dedenter statement. (Bug#18432)
4646
4647 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4648
4649 * progmodes/python.el (python-indent-region):
4650 Use python-indent-line and skip special cases. (Bug#18843)
4651
4652 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
4653
4654 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4655 envelope-from when reporting through sendmail (bug#19054).
4656
4657 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
4658
4659 Add faces for the VC modeline state indicator.
4660 * vc/vc-hooks.el:
4661 (vc-state-faces, vc-state-base-face)
4662 (vc-up-to-date-state, vc-needs-update-state)
4663 (vc-locked-state, vc-locally-added-state)
4664 (vc-conflict-state, vc-removed-state)
4665 (vc-missing-state, vc-edited-state):
4666 New faces.
4667 (vc-default-mode-line-string): Use them
4668
4669 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4672
4673 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4674
4675 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4676
4677 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
4678
4679 * progmodes/python.el (python-eldoc-setup-code): Enhance string
4680 type checks, simplify printing. (Bug#18962)
4681
4682 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
4683
4684 * progmodes/python.el (python-shell-font-lock-kill-buffer):
4685 (python-shell-font-lock-with-font-lock-buffer)
4686 (python-shell-get-buffer, python-ffap-module-path):
4687 Use `derived-mode-p' instead of equality test on `major-mode'.
4688
4689 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4690
4691 * progmodes/python.el (python-shell-virtualenv-root): Rename from
4692 python-shell-virtualenv-path.
4693 (python-shell-internal-get-process-name)
4694 (python-shell-calculate-process-environment)
4695 (python-shell-calculate-exec-path): Use it.
4696
4697 2014-11-14 Eli Zaretskii <eliz@gnu.org>
4698
4699 * bindings.el (search-map): Fix last change: don't use 'kbd' in
4700 bindings.el, since it is not yet loaded when bindings.el is
4701 preloaded.
4702
4703 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4704
4705 * progmodes/python.el (python-shell-completion-get-completions):
4706 Fix previous merge.
4707
4708 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4709
4710 * net/eww.el (eww-render): Don't set the title to the URL.
4711
4712 2014-11-13 Ulrich Müller <ulm@gentoo.org>
4713
4714 * version.el (emacs-repository-get-version): Call `git log'
4715 command with proper format argument (bug#19049).
4716
4717 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4718
4719 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4720
4721 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4722
4723 * net/eww.el (eww-search-words): New command (bug#16258).
4724
4725 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726
4727 * net/shr.el (shr-inhibit-images): Add a doc string.
4728
4729 * net/eww.el (eww-after-render-hook): New variable.
4730 (eww-render): Use it.
4731
4732 * net/shr.el (shr-descend): Don't descend further than
4733 `max-specpdl-size' allows (bug#16587).
4734 (shr-depth): New variable.
4735 (shr-warning): New variable.
4736
4737 2014-11-13 Ivan Shmakov <ivan@siamics.net>
4738
4739 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4740 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4741
4742 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4743
4744 * net/eww.el (eww): Add comment to clarify.
4745
4746 * net/shr.el (shr-parse-image-data): Remove blocked bits from
4747 external SVG images.
4748 (shr-tag-object): Display images in <object> forms (bug#16244).
4749 (shr-tag-table): Also insert <objects> after the tables.
4750
4751 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
4754
4755 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4756
4757 * net/eww.el (eww-form-file): Fix version number.
4758
4759 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4760
4761 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4762
4763 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4764
4765 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4766 (eww-submit-file): New key map of file upload.
4767 (eww-form-file): New file upload button and file name context.
4768 (eww-select-file): Select file and display selected file name.
4769 (eww-tag-input): Handle input tag of file type.
4770 (eww-update-field): Add point offset.
4771 (eww-submit): Add submit with multipart/form-data.
4772
4773 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4776 Allow taking a buffer to render data in. This allows using several
4777 eww buffers (bug#16211).
4778
4779 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
4780
4781 * net/eww.el (eww-download-callback): Save only the file contents,
4782 not the headers.
4783
4784 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4785
4786 * net/eww.el (eww-data): New plist to store all the data relevant
4787 to a single page, used throughout the file instead of the
4788 variables `eww-current-url', `eww-current-dom',
4789 `eww-current-source', and `eww-current-title'.
4790 (eww-readable): Copy over pertinent data from the parent page.
4791 (eww-save-history): Don't let the history grow infinitely.
4792
4793 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4794 `eww-up-url', `eww-home-url', `eww-start-url' and
4795 `eww-contents-url' and put the data into the `eww-data' plist.
4796 This allow restoring these values after going back in the history.
4797
4798 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
4799
4800 Allow VTIMEZONE where daylight and standard time zones are equal.
4801 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4802 * calendar/icalendar.el (icalendar--convert-tz-offset):
4803 Support timezone without daylight saving time.
4804
4805 2014-11-10 Glenn Morris <rgm@gnu.org>
4806
4807 * startup.el (command-line): Handle nil elements in load-path.
4808
4809 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * help.el (view-lossage): Include the actual commands run.
4812
4813 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
4814
4815 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4816 no state is specified. (Bug#18964)
4817
4818 2014-11-09 Eric Ludlam <zappo@gnu.org>
4819
4820 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4821 Set eieio-cog (current group) to g, which is an improved form of input
4822 group.
4823
4824 2014-11-09 Juri Linkov <juri@jurta.org>
4825
4826 * isearch.el (isearch-message-prefix): Show "Multi-file" and
4827 "Multi-buffer" instead of "Multi". (Bug#13592)
4828
4829 * misearch.el (multi-isearch-file-list):
4830 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4831 (multi-isearch-end): Reset multi-isearch-buffer-list and
4832 multi-isearch-file-list to nil.
4833
4834 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4837 Don't call byte-compile-preprocess since the result will go through
4838 cconv.
4839 (byte-compile-output-docform): Handle uninterned `name' correctly.
4840 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4841 to circumvent byte-compiler bug.
4842
4843 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4844 (macroexp--compiler-macro): Remove left-over debug code.
4845
4846 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4847
4848 2014-11-08 Juri Linkov <juri@jurta.org>
4849
4850 * simple.el (shell-command): Use buffer-name when output-buffer is
4851 a buffer. (Bug#18096)
4852
4853 2014-11-08 Juri Linkov <juri@jurta.org>
4854
4855 * minibuffer.el (minibuffer-completion-help): Compare this-command
4856 with completion-at-point. (Bug#17809)
4857
4858 2014-11-08 Glenn Morris <rgm@gnu.org>
4859
4860 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4861 Allow the argument to be a string. Due to the vague doc,
4862 it was already being used this way.
4863
4864 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4865
4866 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4867 the constructed Tramp file name. (Bug#18943)
4868
4869 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4872 (bug#18952).
4873 (cua-set-mark, cua--post-command-handler-1):
4874 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4875
4876 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4877
4878 * files.el (file-name-non-special): Wrap the call of
4879 `insert-file-contents' by `unwind-protect', in order to set the
4880 buffer's file name anyway. (Bug#18891)
4881
4882 2014-11-08 Alan Mackenzie <acm@muc.de>
4883
4884 Fix wrong bound to c-font-lock-declarators.
4885 * progmodes/cc-fonts.el (c-font-lock-declarations):
4886 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4887 the buffer is sometimes narrowed to less than "limit" (e.g., in
4888 the presence of macros). (Bug#18948)
4889
4890 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4891
4892 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4893 only when message appeared in minibuffer. (Bug#18891)
4894
4895 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4896 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4897 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4898 case of errors.
4899
4900 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4903 Don't compile before eval in `eval-and-compile'.
4904 (byte-compile-arglist-warn): Add check for defining macros after their
4905 first use. Check call use even if the function is fboundp.
4906
4907 2014-11-08 Richard Stallman <rms@gnu.org>
4908
4909 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4910 Check more carefully for mime-part specified character set.
4911 Check for mime-part Content Transfer Encoding.
4912 Notify if no armor found.
4913
4914 2014-11-08 Martin Rudalics <rudalics@gmx.at>
4915
4916 * faces.el (face-set-after-frame-default): Enable running
4917 `window-configuration-change-hook'.
4918
4919 2014-11-07 Juri Linkov <juri@jurta.org>
4920
4921 * replace.el: History for query replace pairs.
4922 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
4923 (query-replace-from-to-separator): New variable.
4924 (query-replace-read-from): Let-bind query-replace-from-to-history
4925 to a list of FROM-TO strings created from query-replace-defaults
4926 and separated by query-replace-from-to-separator. Use it as
4927 the history while reading from the minibuffer. Split the returned
4928 string by the separator to get FROM and TO parts, and add them
4929 to the history variables.
4930 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4931 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4932 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4933
4934 * isearch.el (isearch-text-char-description): Keep characters
4935 intact and put formatted strings with the `display' property.
4936
4937 2014-11-07 Martin Rudalics <rudalics@gmx.at>
4938
4939 * cus-start.el (frame-resize-pixelwise): Fix group.
4940 (frame-inhibit-implied-resize): Add entry.
4941
4942 2014-11-07 Daiki Ueno <ueno@gnu.org>
4943
4944 * epa.el (epa-pinentry-mode): New user option.
4945 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4946 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4947 * epa-file.el (epa-file-insert-file-contents)
4948 (epa-file-write-region): Respect epa-pinentry-mode.
4949
4950 2014-11-07 Daiki Ueno <ueno@gnu.org>
4951
4952 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4953 (bug#18979). Reported by Hideki Saito.
4954
4955 2014-11-06 Daiki Ueno <ueno@gnu.org>
4956
4957 * emacs-lisp/package.el (package--display-verify-error): New function.
4958 (package--check-signature): Use it to display output sent to stderr.
4959
4960 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * subr.el (pop): Don't call the getter twice (bug#18968).
4963
4964 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4965 uses of `funcall'.
4966
4967 2014-11-06 Daiki Ueno <ueno@gnu.org>
4968
4969 * epa.el (epa-error-buffer): New variable.
4970 (epa-display-error): New function.
4971 (epa-decrypt-file, epa-verify-file, epa-verify-region)
4972 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4973 (epa-sign-file, epa-sign-region, epa-encrypt-region)
4974 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4975 Use setf instead of epg-context-set-*.
4976 * epa-file.el (epa-file-insert-file-contents):
4977 Use epa-display-error instead of epa-display-info. Mimic the behavior
4978 of jka-compr when decryption program is not found.
4979 (epa-file-write-region): Use epa-display-error instead of
4980 epa-display-info.
4981
4982 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * vc/vc.el (vc-region-history): New command.
4985 (vc-print-log-internal): Use cl-some.
4986
4987 * vc/vc-git.el (vc-git-region-history): New function.
4988 (vc-git-region-history-mode-map)
4989 (vc-git--log-view-long-font-lock-keywords)
4990 (vc-git-region-history-font-lock-keywords): New vars.
4991 (vc-git-region-history-font-lock): New function.
4992 (vc-git-region-history-mode): New major mode.
4993
4994 2014-11-05 Tassilo Horn <tsdh@gnu.org>
4995
4996 * net/eww.el (subr-x): Require subr-x at compile-time because eww
4997 uses string-trim.
4998
4999 2014-11-05 Daiki Ueno <ueno@gnu.org>
5000
5001 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5002 (epg-error-output): New buffer-local variable.
5003 (epg--start): Initialize epg-error-output.
5004 (epg--process-filter): Record output lines sent to stderr, in
5005 epg-error-output.
5006 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5007 slot of context.
5008 * epa-file.el (epa-file-insert-file-contents): On error, display
5009 output sent to stderr.
5010 (epa-file-write-region): Likewise.
5011
5012 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5013
5014 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5015 returned by load-average.
5016
5017 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5020 a local copy; setting `inhibit-file-name-handlers' proper might be
5021 more performant. (Bug#18751)
5022
5023 2014-11-05 Glenn Morris <rgm@gnu.org>
5024
5025 * mail/emacsbug.el (report-emacs-bug): No longer include
5026 recent-keys in the report. (Bug#18900)
5027
5028 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5029
5030 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5031
5032 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5033
5034 * net/eww.el (eww): Trim URL with `string-trim'.
5035 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5036
5037 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5038
5039 * net/eww.el (eww-score-readability): Don't count comments positively.
5040
5041 * net/shr.el (shr-retransform-dom): Typo fix.
5042
5043 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5044 (eww-display-html): Don't leave point inside forms.
5045
5046 * net/shr.el: Ditto.
5047
5048 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5051 edebug-prin1-to-string already handles circularity.
5052
5053 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5054 autoloading when specified as a lambda.
5055
5056 * simple.el (execute-extended-command--last-typed): New var.
5057 (read-extended-command): Set it.
5058 Don't complete obsolete commands.
5059 (execute-extended-command--shorter-1)
5060 (execute-extended-command--shorter): New functions.
5061 (execute-extended-command): Use them to suggest shorter names.
5062 (indicate-copied-region, deactivate-mark): Use region-active-p.
5063
5064 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5065
5066 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5067 local copy of FILENAME, when it is remote. (Bug#18751)
5068
5069 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5070 an error when the command fails; the return code must indicate.
5071 (tramp-adb-send-command-and-check): Fix docstring.
5072
5073 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5074
5075 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5076 have no children like <br />.
5077
5078 * net/eww.el (eww-display-html): Clear `url-queue'.
5079 (eww-display-pdf): New function.
5080 (eww-render): Display PDFs with `doc-view'.
5081 (url-queue): Require `url-queue' to avoid compilation warning.
5082 (eww-colorize-region): Remove duplicate function.
5083 (eww-tag-body): Use `shr-colorize-region'.
5084
5085 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5086
5087 * net/eww.el (eww-list-bookmarks): Autoload.
5088
5089 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090
5091 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5092
5093 * net/eww.el (eww-display-html): The charset is called `utf-8',
5094 not `utf8'.
5095 (eww-readable): Decode the saved text correctly.
5096 (eww-readable): Save the history before displaying so that we can
5097 go back to the non-readable version.
5098 (eww-display-html): Don't try to decode the text if we've been
5099 passed in a pre-parsed DOM.
5100 (eww-tag-title): Remove newlines and extra whitespace from the
5101 displayed title.
5102
5103 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
5105 * net/eww.el (eww-readable): New command and keystroke.
5106
5107 * net/shr.el (shr-retransform-dom): New function.
5108
5109 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5110 correct buffer.
5111 (eww-view-source): Use it.
5112
5113 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5114
5115 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5116 (Bug#18603).
5117
5118 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5119
5120 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5121
5122 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5123
5124 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5125
5126 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5127
5128 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5129 (Bug#18834).
5130
5131 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5132
5133 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5134 use as advice.
5135 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5136
5137 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5140 (bug#18821).
5141 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5142
5143 2014-11-01 Michael R. Mauger <michael@mauger.com>
5144
5145 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5146 syntax, add new keywords, and parse longer keywords first.
5147 (sql-redirect-one): Protect against empty command.
5148 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5149 to SQL. (Bug#14759)
5150
5151 2014-11-01 Michael R. Mauger <michael@mauger.com>
5152
5153 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5154 Bug#16814 with let-bind of comint-input-ring variables around read
5155 and save functions.
5156
5157 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5158
5159 * net/tramp-cache.el (tramp-get-file-property)
5160 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5161 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5162 be compiler warnings.
5163
5164 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5165 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5166
5167 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5168
5169 * progmodes/compile.el (compilation-mode): Turn off deferred
5170 fontifications locally. (Bug#18856)
5171
5172 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5173
5174 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5175 remote-echo connection property is non-nil (bug#18858).
5176
5177 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * simple.el (newline): Add assertions to try and help catch bug#18913.
5180
5181 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5182 (bug#18886).
5183 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5184
5185 2014-11-01 Kim F. Storm <storm@cua.dk>
5186
5187 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5188 * delsel.el (delete-selection-save-to-register)
5189 (delsel--replace-text-or-position): New vars.
5190 (delete-active-region): Use them.
5191 (delete-selection-repeat-replace-region): New command, moved from
5192 cua-base.el.
5193 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5194 (cua-repeat-replace-region): Move command to delsel.el.
5195 (cua--init-keymaps): Update binding accordingly.
5196 (cua-mode): Set delete-selection-save-to-register.
5197
5198 2014-11-01 Alan Mackenzie <acm@muc.de>
5199
5200 Make blink-parens work with a closing template delimiter.
5201 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5202 before calling blink-paren-function, so as to apply syntax-table
5203 properties to the ">".
5204
5205 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5206
5207 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5208
5209 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5212 (macroexp--expand-all): Unrelated tweaks.
5213
5214 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5215
5216 2014-10-30 Glenn Morris <rgm@gnu.org>
5217
5218 * startup.el (command-line): Remove pointless attempt to avoid
5219 statting the file-system (which expand-file-name doesn't do).
5220
5221 2014-10-30 Daniel Colascione <dancol@dancol.org>
5222
5223 Add "enum class" support to C++ mode.
5224 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5225 (c-after-brace-list-key): New language consts/variables.
5226 * progmodes/cc-engine.el (c-looking-at-decl-block):
5227 Exclude spurious match of "enum struct" from decl-block recognition.
5228 (c-backward-colon-prefixed-type): New function.
5229 (c-backward-over-enum-header): Call above function to extend
5230 recognition of enum structure.
5231
5232 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5235 (c-lang-defconst):
5236 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5237
5238 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5239
5240 * progmodes/compile.el (compilation-start):
5241 If compilation-scroll-output is non-nil, don't force window-start of
5242 the compilation buffer to be at beginning of buffer. (Bug#18874)
5243
5244 * startup.el (fancy-about-text): Read the entire tutorial, not
5245 just its first 256 bytes. (Bug#18760)
5246
5247 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5250 * emacs-lisp/cl-extra.el: Add missing provide.
5251
5252 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5253 all args are copyable (bug#18767).
5254 (=, <, >, <=, >=): Re-enable the optimization.
5255
5256 2014-10-29 Glenn Morris <rgm@gnu.org>
5257
5258 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5259
5260 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5261 Revert 2014-10-26 change.
5262
5263 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5264
5265 Simplify use of current-time and friends.
5266 * allout-widgets.el (allout-widgets-hook-error-handler):
5267 * calendar/appt.el (appt-display-message):
5268 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5269 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5270 (timeclock-last-period, timeclock-day-base):
5271 * eshell/em-ls.el (eshell-ls-file):
5272 * eshell/esh-util.el (eshell-parse-ange-ls):
5273 * generic-x.el (named-database-print-serial):
5274 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5275 (newsticker-get-news, newsticker--sentinel-work)
5276 (newsticker--image-get, newsticker--image-sentinel):
5277 * net/tramp-sh.el (tramp-get-remote-touch):
5278 * progmodes/opascal.el (opascal-debug-log):
5279 * textmodes/remember.el (remember-mail-date)
5280 (remember-store-in-files):
5281 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5282 (vc-default-annotate-current-time):
5283 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5284 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5285 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5286 Omit unnecessary call to current-time.
5287 * calendar/time-date.el (time-to-seconds) [!float-time]:
5288 * vc/vc-annotate.el (vc-annotate-convert-time):
5289 Use current time if arg is nil, to be compatible with float-time.
5290 (time-date--day-in-year): New function, with most of the guts of
5291 the old time-to-day-in-year.
5292 (time-to-day-in-year): Use it.
5293 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5294 * calendar/timeclock.el (timeclock-time-to-date):
5295 Arg is now optional, like current-time-string.
5296 (timeclock-update-mode-line):
5297 Don't call current-time twice to get the current time stamp,
5298 as this can lead to inconsistent results.
5299 * completion.el (cmpl-hours-since-origin):
5300 * ido.el (ido-time-stamp):
5301 * vc/vc-annotate.el (vc-annotate-convert-time):
5302 Simplify by using float-time.
5303 * completion.el (save-completions-to-file):
5304 Rename local var to avoid confusion.
5305 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5306 time-to-seconds now behaves like float-time with respect to nil arg.
5307 * subr.el (progress-reporter-do-update):
5308 Don't call float-time unless needed.
5309
5310 2014-10-29 Leo Liu <sdl.web@gmail.com>
5311
5312 * net/rcirc.el (rcirc-fill-column): Use function.
5313 (rcirc-markup-fill): Remove adjustment.
5314
5315 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5316
5317 * calc/calc.el (quick-calc):
5318 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5319
5320 2014-10-28 Sam Steingold <sds@gnu.org>
5321
5322 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5323 the sake of `window-body-width' (in addition to `frame-width').
5324
5325 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5326
5327 * version.el: Fix some fallback values to conform to the actual
5328 release number.
5329
5330 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5331
5332 * Makefile.in: Change some production names so they're neutral
5333 about the repository type.
5334
5335 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5336
5337 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5338 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5339 during initialization. (Bug#18774)
5340
5341 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5342
5343 * ses.el (macroexp): Add require for this package, so that
5344 function `ses--cell' gets macroexp-quote --- this change was
5345 supposed to be in my previous commit, but left out by mistake.
5346 (ses--cell): Do not make formula a macroexp-quote of value when
5347 value, not formula, is *skip*.
5348
5349 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5350
5351 * ses.el (macroexp): Add require for this package, so that function
5352 `ses--cell gets macroexp-quote.
5353 (ses--cell): Makes formula a macroexp-quote of value when formula
5354 is nil. The rationale of this changr is to allow in the future
5355 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5356 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5357 reference list REFLIST would be re-computed after load --- thus
5358 trading off load time against file size.
5359
5360 * emacs-lisp/package.el (package--alist-to-plist-args):
5361 Use macroexp-quote instead of a lambda expression which has the same
5362 content as macroexp-quote.
5363 (macroexp): Add require for this package, so that function
5364 `package--alist-to-plist-args' gets macroexp-quote.
5365
5366 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5367
5368 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * term/ns-win.el (ns-store-cut-buffer-internal)
5371 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5372
5373 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5374
5375 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5376 Calculate increment from last position instead of window edge.
5377 Add right- and bottom-divider bindings to transient map.
5378
5379 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5382 even if :predicate was nil, for the benefit of typep.
5383 Record the name of the predicate for typep's use.
5384 (cl--make-type-test): Use pcase. Obey new
5385 cl-deftype-satisfies property.
5386
5387 * epg.el: Use cl-defstruct.
5388 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5389 (epg-data-string): Define via cl-defstruct.
5390 (epg--gv-nreverse): New macro.
5391 (epg-context--make): New constructor (provided vi cl-defstruct).
5392 (epg-make-context): Rewrite using it.
5393 (epg-context-protocol, epg-context-program)
5394 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5395 (epg-context-include-certs, epg-context-cipher-algorithm)
5396 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5397 (epg-context-passphrase-callback, epg-context-progress-callback)
5398 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5399 (epg-context-output-file, epg-context-result, epg-context-operation)
5400 (epg-context-pinentry-mode): Define using cl-defstruct.
5401 (epg-context-set-protocol, epg-context-set-program)
5402 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5403 (epg-context-set-digest-algorithm)
5404 (epg-context-set-sig-notations, epg-context-set-process)
5405 (epg-context-set-output-file, epg-context-set-result)
5406 (epg-context-set-operation, epg-context-set-pinentry-mode)
5407 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5408 (epg-context-set-armor, epg-context-set-textmode)
5409 (epg-context-set-signers): Redefine using setf
5410 and declare as obsolete.
5411 (epg-context-set-passphrase-callback)
5412 (epg-context-set-progress-callback): Use setf.
5413 (epg-signature-notations): Rename from epg-sig-notations.
5414 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5415 (epg-signature-validity, epg-signature-fingerprint)
5416 (epg-signature-creation-time, epg-signature-expiration-time)
5417 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5418 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5419 (epg-signature-set-status, epg-signature-set-key-id)
5420 (epg-signature-set-validity, epg-signature-set-fingerprint)
5421 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5422 (epg-signature-set-pubkey-algorithm)
5423 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5424 (epg-signature-set-version, epg-signature-set-notations): Remove.
5425 Use setf instead.
5426 (epg-make-new-signature, epg-new-signature-type)
5427 (epg-new-signature-pubkey-algorithm)
5428 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5429 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5430 Define using cl-defstruct.
5431 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5432 (epg-key-user-id-list): Define using cl-defstruct.
5433 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5434 Use setf instead.
5435 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5436 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5437 (epg-sub-key-id, epg-sub-key-creation-time)
5438 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5439 cl-defstruct.
5440 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5441 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5442 (epg-user-id-signature-list): Define using cl-defstruct.
5443 (epg-user-id-set-signature-list): Remove. Use setf instead.
5444 (epg-make-key-signature, epg-key-signature-validity)
5445 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5446 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5447 (epg-key-signature-user-id, epg-key-signature-class)
5448 (epg-key-signature-exportable-p): Define using cl-defstruct.
5449 (epg-make-sig-notation, epg-sig-notation-name)
5450 (epg-sig-notation-value, epg-sig-notation-human-readable)
5451 (epg-sig-notation-critical): Define using cl-defstruct.
5452 (epg-sig-notation-set-value): Remove. Use setf instead.
5453 (epg-make-import-status, epg-import-status-fingerprint)
5454 (epg-import-status-reason, epg-import-status-new)
5455 (epg-import-status-user-id, epg-import-status-signature)
5456 (epg-import-status-sub-key, epg-import-status-secret): Define using
5457 cl-defstruct.
5458 (epg-make-import-result, epg-import-result-considered)
5459 (epg-import-result-no-user-id, epg-import-result-imported)
5460 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5461 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5462 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5463 (epg-import-result-secret-read, epg-import-result-secret-imported)
5464 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5465 (epg-import-result-imports): Define using cl-defstruct.
5466
5467 * emacs-lisp/package.el: Require EPG during macroexpansion.
5468 (package--check-signature, package-import-keyring): Use setf instead of
5469 epg-context-set-home-directory.
5470
5471 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5474
5475 2014-10-23 Leo Liu <sdl.web@gmail.com>
5476
5477 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5478 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5479 (cfengine3-current-defun): New function.
5480 (cfengine3-mode): Set add-log-current-defun-function.
5481
5482 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * select.el: Use lexical-binding.
5485 (gui-set-selection): Provide an implementation for non-GUI frames
5486 (bug#18791).
5487 * term/x-win.el: Use lexical-binding.
5488 (x-clipboard-yank): Fix up missed renamings.
5489 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5490 (w32--set-selection): Fix up var names.
5491 * term/pc-win.el: Use lexical-binding.
5492 (w16-selection-exists-p): Silence compiler warning.
5493 (w16-selection-owner-p): Fix up missed renamings.
5494
5495 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5496
5497 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5498
5499 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5500
5501 * doc-view.el (doc-view-open-text): View the document's plain text
5502 in the current buffer instead of a new one.
5503 (doc-view-toggle-display): Handle the case where the current
5504 buffer contains the plain text contents of the document.
5505 (doc-view-initiate-display): Don't switch to fallback mode if the
5506 user wants to view the doc's plain text.
5507 (doc-view-set-doc-type): Use assoc-string instead of
5508 assoc-ignore-case.
5509
5510 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * subr.el (read-key): Fix clicks on the mode-line.
5513 (set-transient-map): Return exit function.
5514
5515 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5516 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5517 (mouse-yank-secondary): Use gui-get-selection.
5518 (mouse--down-1-maybe-follows-link): Use read-key.
5519
5520 * xt-mouse.el: Add `event-kind' property on the fly from
5521 xterm-mouse-translate-1 rather than statically at the outset.
5522
5523 2014-10-21 Daniel Colascione <dancol@dancol.org>
5524
5525 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5526 change window configuration when we turn it off.
5527
5528 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 Get rid of backend-dependent selection-handling functions for kill/yank
5531 and make it generic instead by relying on the lower-level selection
5532 management functions.
5533
5534 * select.el (select-enable-clipboard): Rename from
5535 gui-select-enable-clipboard.
5536 (select-enable-primary): Move from x-win.el and rename from
5537 x-select-enable-primary.
5538 (gui-last-selected-text): Remove.
5539 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5540 New vars.
5541 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5542 (gui-select-text-alist, gui-selection-value-alist): Remove.
5543 (x-select-request-type): Move from x-win.el.
5544 (gui--selection-value-internal): New function, taken from x-win's
5545 x-selection-value-internal.
5546 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5547 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5548 extend it to handle a nil value as a "disown" request.
5549 (gui-disown-selection-alist): Remove.
5550 (xselect-convert-to-delete): Adjust accordingly.
5551 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5552
5553 * term/x-win.el (x-last-selected-text-primary)
5554 (x-select-enable-primary): Remove (moved to select.el).
5555 (x-select-request-type): Move to select.el.
5556 (x-selection-value-internal, x--selection-value): Remove functions.
5557 (gui-selection-value, gui-select-text): Remove moethods.
5558 (gui-set-selection): Merge own and disown methods.
5559
5560 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5561 Delete function (move functionality into w32--set-selection and
5562 w32--get-selection).
5563 (gui-select-text, gui-selection-value): Don't define methods.
5564 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5565 New functions.
5566 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5567 Use them.
5568 (gui-selection-exists-p): Adjust to new name of C primitive.
5569
5570 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5571 test of gui-select-enable-clipboard, to make it usable as
5572 a gui-get-selection method.
5573 (gui-selection-exists-p): Adjust to new name of C primitive.
5574 (gui-set-selection): Merge own and disown methods.
5575 (gui-select-text, gui-selection-value): Delete methods.
5576 (w16--select-text): Delete function.
5577
5578 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5579 (ns-selection-value): Remove functions.
5580 (gui-select-text, gui-selection-value): Don't define method any more.
5581 (gui-set-selection): Merge the old own and disown methods.
5582 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5583 underlying C primitive.
5584
5585 * startup.el (command-line): Adjust now that `gui-method' expects nil
5586 for ttys.
5587
5588 * frame.el (gui-method): Use window-system rather than framep.
5589 (gui-method-declare): The tty case is now nil rather than t.
5590 (make-frame): Adjust accordingly.
5591
5592 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * net/newst-reader.el (newsticker--image-read): Simplify.
5595 (newsticker--icon-read): Use dolist and fix free var error.
5596
5597 * imenu.el (imenu--menubar-keymap): New var.
5598 (imenu-add-to-menubar): Set it to remember the keymap we used.
5599 (imenu-update-menubar): Use it instead of asking lookup-key.
5600
5601 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5602
5603 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5604
5605 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5606 case (bug#18767).
5607
5608 2014-10-21 Glenn Morris <rgm@gnu.org>
5609
5610 * Merge in all changes up to version 24.4 release.
5611
5612 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5615 case (bug#18767).
5616
5617 2014-10-20 Glenn Morris <rgm@gnu.org>
5618
5619 * Merge in all changes up to 24.4 release.
5620
5621 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
5622
5623 * net/newst-backend.el
5624 (newsticker--image-download-by-url-callback): Make this function
5625 actually work: Check status properly, then save image.
5626
5627 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5630 `this-event'.
5631 (mouse-drag-line): Unless there's no actual mouse, use the event's
5632 position info.
5633
5634 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * textmodes/css-mode.el (scss-mode): New major-mode.
5637 (css-mode-syntax-table): Use d style comment, to ease the scss case.
5638 (css-ident-re): Allow things like @-moz-keyframes.
5639 (scss--hash-re): New const.
5640 (css--font-lock-keywords): New function, extracted from
5641 css-font-lock-keywords.
5642
5643 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
5644
5645 * net/newst-backend.el: Require url-parse.
5646 (newsticker--get-news-by-wget): Store feed name as process property.
5647 (newsticker--sentinel): Read feed name from process property.
5648 (newsticker--sentinel-work): Rename argument name to feed-name.
5649 Rename variable imageurl to image-url. Pick icon url from Atom
5650 1.0 data. Launch download of feed icon.
5651 (newsticker--get-icon-url-atom-1.0): New.
5652 (newsticker--unxml)
5653 (newsticker--unxml-node)
5654 (newsticker--unxml-attribute): Documentation.
5655 (newsticker--icons-dir): New.
5656 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5657 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5658 (newsticker--image-download-by-wget): New. Use process properties
5659 for storing informations.
5660 (newsticker--image-sentinel): Read informations from process properties.
5661 (newsticker--image-save)
5662 (newsticker--image-remove)
5663 (newsticker--image-download-by-url)
5664 (newsticker--image-download-by-url-callback): New.
5665 (newsticker-opml-export): Handle url list entries containing a
5666 function instead of an url string.
5667
5668 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5669 (newsticker--print-extra-elements)
5670 (newsticker--do-print-extra-element):
5671 Documentation (newsticker--image-read): Optionally limit image height.
5672 Use imagemagick if possible.
5673 (newsticker--icon-read): New.
5674
5675 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5676 (newsticker--treeview-tree-expand): Use feed icons in treeview.
5677 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
5678 (newsticker--tree-widget-leaf-icon): Use feed icon.
5679
5680 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5683 Use help-function-arglist instead.
5684
5685 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5686 (eieio--with-scoped-class): Use `declare'.
5687 (eieio-defclass): Remove compatibility code.
5688 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5689 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5690
5691 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
5692
5693 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5694
5695 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5696 replacements to stock names before stock names in a list.
5697 Cdr may be a list, each name is tried in turn until one is found.
5698
5699 2014-10-18 Alan Mackenzie <acm@muc.de>
5700
5701 Check that a "macro" found near point-min isn't a ## operator.
5702 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5703 (c-beginning-of-macro): Use the above new function. (Bug#18749)
5704
5705 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
5706
5707 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5708 correct data to `gnutls-boot' (Bug#18664).
5709 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5710
5711 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
5712
5713 * whitespace.el (whitespace-style, whitespace-big-indent)
5714 (whitespace-big-indent-regexp, whitespace-style-value-list)
5715 (whitespace-toggle-option-alist, whitespace-interactive-char)
5716 (whitespace-toggle-options)
5717 (global-whitespace-toggle-options, whitespace-help-text)
5718 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5719 style to `whitespace-mode' to indicate that the line indentation
5720 is too deep. By default, 32 SPACEs or four TABs are considered
5721 too many but `whitespace-big-indent-regexp' can be configured.
5722
5723 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
5724
5725 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5726 tildify-mode-alist.
5727
5728 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5731 (defclass, defgeneric, defmethod): Add doc-string position.
5732 (with-slots): Require cl-lib.
5733
5734 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5735 (list-of): New type.
5736 (eieio--typep): Remove.
5737 (eieio-perform-slot-validation): Use cl-typep instead.
5738
5739 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5740
5741 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5742
5743 2014-10-16 Alan Mackenzie <acm@muc.de>
5744
5745 Trigger showing when point is in the "periphery" of a line or just
5746 inside a paren.
5747 * paren.el (show-paren-style, show-paren-delay)
5748 (show-paren-priority, show-paren-ring-bell-on-mismatch):
5749 Remove superfluous :group specifications.
5750 (show-paren-when-point-inside-paren)
5751 (show-paren-when-point-in-periphery): New customizable variables.
5752 (show-paren-highlight-openparen): Make into a defcustom.
5753 (show-paren--unescaped-p, show-paren--categorize-paren)
5754 (show-paren--locate-near-paren): New defuns.
5755 (show-paren--default): Refaactor and trigger on more paren
5756 positions.
5757 (show-paren-function): Small consequential changes.
5758
5759 2014-10-16 Tom Tromey <tom@tromey.com>
5760
5761 * files.el (auto-mode-alist): Use javascript-mode for .jsm
5762 (bug #18719).
5763
5764 2014-10-16 Eli Zaretskii <eliz@gnu.org>
5765
5766 * international/characters.el (bracket-type): Force pre-loading of
5767 uni-brackets.el.
5768
5769 2014-10-16 Alan Mackenzie <acm@muc.de>
5770
5771 * cus-edit.el (custom-command-apply): Specify the return value in
5772 the doc string.
5773 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5774 custom-command-apply has returned non-nil.
5775
5776 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5779 Remove incorrect handling of eldoc-print-after-edit.
5780 (eldoc-message-commands, eldoc-last-data): Use defvar.
5781 * loadup.el (emacs-lisp/eldoc): Load it.
5782
5783 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5784 (m4-mode): Use it.
5785 (m4--quoted-p): New function.
5786 (m4-font-lock-keywords): Don't handle #..\n comments any more.
5787 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5788 for most special characters.
5789
5790 * progmodes/compile.el (compilation--previous-directory): Simplify.
5791 (compilation-next-error): Ensure the parse before we look at
5792 compilation-message property.
5793
5794 2014-10-15 Eli Zaretskii <eliz@gnu.org>
5795
5796 * simple.el (what-cursor-position):
5797 * descr-text.el (describe-char): Update to support the new bidi
5798 characters.
5799
5800 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5801 Force bidi-paragraph-direction to 'left-to-right'. This fixes
5802 buffer-menu display when the first buffer happens to start with
5803 R2L letter.
5804
5805 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * progmodes/elisp-mode.el (elisp--local-variables-1):
5808 Handle quoted expressions (bug#18688).
5809
5810 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
5811 Michael Albinus <michael.albinus@gmx.de>
5812
5813 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5814 Reduce the amount of set environment variable commands.
5815
5816 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5817
5818 Fix import completion. (Bug#18582)
5819 * progmodes/python.el (python-shell-completion-get-completions):
5820 Fix import case regexp.
5821
5822 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5825 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
5826 * progmodes/prolog.el (prolog-electric--underscore): Same.
5827
5828 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
5829
5830 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5831
5832 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5833
5834 * cus-start.el (all): Add missing ns and boolean to
5835 ns-use-fullscreen-animation.
5836
5837 2014-10-11 Leo Liu <sdl.web@gmail.com>
5838
5839 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5840 Use strings.
5841 (cfengine3-create-imenu-index): New function.
5842 (cfengine3-mode): Use it for `imenu-create-index-function'.
5843 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5844 buffer is empty.
5845
5846 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5847
5848 * cus-start.el (all): Add ns-use-fullscreen-animation.
5849
5850 2014-10-11 Glenn Morris <rgm@gnu.org>
5851
5852 * calendar/diary-lib.el (diary-display-function):
5853 Drop support for deprecated nil and list forms.
5854 (diary-list-entries): Update for the above.
5855 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5856
5857 2014-10-10 Leo Liu <sdl.web@gmail.com>
5858
5859 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5860 (Bug#18656)
5861
5862 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * select.el (gui-selection-exists-p-alist): New method.
5865 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5866 * simple.el (deactivate-mark): Use it.
5867 * term/x-win.el (gui-selection-exists-p):
5868 * term/w32-win.el (gui-selection-exists-p):
5869 * term/pc-win.el (gui-selection-exists-p):
5870 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5871
5872 2014-10-10 Glenn Morris <rgm@gnu.org>
5873
5874 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5875 Fix :type. Allow t to mean no limit.
5876 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5877
5878 2014-10-09 Glenn Morris <rgm@gnu.org>
5879
5880 * frame.el (display-monitor-attributes-list): Doc tweaks.
5881
5882 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5883
5884 * faces.el (display-grayscale-p): Mention in the doc string that
5885 the argument can be either a display name or a frame.
5886
5887 * frame.el (display-pixel-height, display-pixel-width)
5888 (display-mm-height, display-mm-width, display-backing-store)
5889 (display-save-under, display-planes, display-color-cells)
5890 (display-visual-class, display-monitor-attributes-list)
5891 (display-screens): Mention in the doc string that the argument can
5892 be either a display name or a frame. Improve the docs of the
5893 monitor attributes. (Bug#18636)
5894
5895 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5896
5897 * term.el (term-window-width): Subtract 1 from the width when
5898 any fringe has zero width, not just the right fringe. (Bug#18601)
5899
5900 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5903
5904 2014-10-08 Leo Liu <sdl.web@gmail.com>
5905
5906 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5907
5908 2014-10-08 Glenn Morris <rgm@gnu.org>
5909
5910 * calendar/cal-x.el (calendar-dedicate-diary):
5911 Drop support for recently deleted aliases.
5912
5913 2014-10-08 Leo Liu <sdl.web@gmail.com>
5914
5915 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5916 Always return a syntax. Replace call-process-shell-command with
5917 process-file. Ensure cfengine-mode-syntax-functions-regex is
5918 always set. Ensure cache when cfengine-cf-promises fails.
5919 (Bug#18620)
5920
5921 2014-10-07 Glenn Morris <rgm@gnu.org>
5922
5923 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5924
5925 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
5926
5927 Sync with upstream verilog-mode revision c075a492.
5928 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5929 (verilog-menu): Add AUTOINSERTLAST.
5930 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5931 is nil, fix indenting initial/final to match always statements, bug825.
5932 Reported by Tim Clapp.
5933 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5934 bug557. Reported by ZeDong Mao and Jason Forkey.
5935 (verilog-read-decls): Fix parsing typed interfaces.
5936 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
5937 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5938 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5939 Reported by Pierre-David Pfister.
5940 (verilog-auto-insert-lisp): Doc fix.
5941 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5942 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
5943 (verilog-sk-ovm-class, verilog-sk-uvm-object)
5944 (verilog-sk-uvm-component): Fix missing string keyword in class
5945 skeletons, bug824. Reported by eldad faruhi.
5946
5947 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * term/w32-win.el: Move all code from 32-common-fns.el here.
5950 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5951 console as well (bug#18629).
5952 * w32-common-fns.el: Remove.
5953 * loadup.el: Don't load w32-common-fns.el.
5954 * w32-fns.elc: Don't require w32-common-fns.
5955
5956 * icomplete.el: Move Iswitchb autoload here. Much simpler.
5957 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5958 Remove redundant obsolescence thingy.
5959 * loadup.el: Don't load obsolete/loaddefs.el.
5960 * Makefile.in (obsolete-autoloads): Remove.
5961 (AUTOGENEL): Remove obsolete/loaddefs.el.
5962
5963 2014-10-06 Glenn Morris <rgm@gnu.org>
5964
5965 * Makefile.in (obsolete-autoloads): Write to a separate file,
5966 to workaround autoloads bug. (Bug#17407)
5967 (AUTOGENEL): Add obsolete/loaddefs.el.
5968 * loadup.el: Load obsolete/loaddefs.el if present.
5969 * subr.el (do-after-load-evaluation):
5970 Don't warn about obsolete/loaddefs.el.
5971
5972 * menu-bar.el (menu-bar-games-menu): Remove landmark.
5973 It has zero relationship to a game.
5974
5975 2014-10-06 Leo Liu <sdl.web@gmail.com>
5976
5977 * imenu.el (imenu): Re-write for clarity.
5978
5979 2014-10-06 Glenn Morris <rgm@gnu.org>
5980
5981 Remove calendar code obsolete since at least version 23.1.
5982 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5983 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5984 (calendar-goto-bahai-date, list-bahai-diary-entries)
5985 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5986 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5987 (insert-yearly-bahai-diary-entry):
5988 * calendar/cal-china.el (chinese-calendar-time-zone)
5989 (chinese-calendar-location-name)
5990 (chinese-calendar-daylight-time-offset)
5991 (chinese-calendar-standard-time-zone-name)
5992 (chinese-calendar-daylight-time-zone-name)
5993 (chinese-calendar-daylight-savings-starts)
5994 (chinese-calendar-daylight-savings-ends)
5995 (chinese-calendar-daylight-savings-starts-time)
5996 (chinese-calendar-daylight-savings-ends-time)
5997 (chinese-calendar-celestial-stem)
5998 (chinese-calendar-terrestrial-branch)
5999 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6000 (calendar-goto-chinese-date):
6001 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6002 (calendar-print-coptic-date, coptic-prompt-for-date)
6003 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6004 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6005 * calendar/cal-french.el (calendar-absolute-from-french)
6006 (calendar-print-french-date, calendar-goto-french-date):
6007 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6008 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6009 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6010 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6011 (holiday-passover-etc, holiday-tisha-b-av-etc)
6012 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6013 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6014 (insert-monthly-hebrew-diary-entry)
6015 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6016 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6017 (diary-sabbath-candles):
6018 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6019 (calendar-print-islamic-date, calendar-goto-islamic-date)
6020 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6021 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6022 (insert-monthly-islamic-diary-entry)
6023 (insert-yearly-islamic-diary-entry):
6024 * calendar/cal-iso.el (calendar-absolute-from-iso)
6025 (calendar-print-iso-date, calendar-iso-read-args)
6026 (calendar-goto-iso-date, calendar-goto-iso-week):
6027 * calendar/cal-julian.el (calendar-absolute-from-julian)
6028 (calendar-print-julian-date, calendar-goto-julian-date)
6029 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6030 (calendar-goto-astro-day-number):
6031 * calendar/cal-mayan.el (calendar-print-mayan-date)
6032 (calendar-next-haab-date, calendar-previous-haab-date)
6033 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6034 (calendar-next-calendar-round-date)
6035 (calendar-previous-calendar-round-date)
6036 (calendar-absolute-from-mayan-long-count)
6037 (calendar-goto-mayan-long-count-date):
6038 * calendar/cal-move.el (scroll-calendar-left)
6039 (scroll-calendar-right, scroll-calendar-left-three-months)
6040 (scroll-calendar-right-three-months):
6041 * calendar/cal-persia.el (calendar-absolute-from-persian)
6042 (calendar-print-persian-date, persian-prompt-for-date)
6043 (calendar-goto-persian-date):
6044 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6045 * calendar/calendar.el (view-diary-entries-initially)
6046 (mark-diary-entries-in-calendar, calendar-today-face)
6047 (diary-face, holiday-face, view-calendar-holidays-initially)
6048 (mark-holidays-in-calendar, initial-calendar-window-hook)
6049 (today-visible-calendar-hook, today-invisible-calendar-hook)
6050 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6051 (bahai-diary-entry-symbol, american-date-diary-pattern)
6052 (european-date-diary-pattern, european-calendar-display-form)
6053 (american-calendar-display-form, holidays-in-diary-buffer)
6054 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6055 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6056 (fancy-diary-buffer, increment-calendar-month)
6057 (extract-calendar-month, extract-calendar-day)
6058 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6059 (mark-visible-calendar-date, calendar-version):
6060 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6061 (diary-display-hook, list-diary-entries-hook)
6062 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6063 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6064 (abbreviated-calendar-year, number-of-diary-entries)
6065 (view-other-diary-entries, add-to-diary-list)
6066 (include-other-diary-files, simple-diary-display)
6067 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6068 (mark-sexp-diary-entries, mark-included-diary-files)
6069 (mark-calendar-days-named, mark-calendar-month)
6070 (mark-calendar-date-pattern, sort-diary-entries)
6071 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6072 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6073 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6074 (insert-block-diary-entry, insert-cyclic-diary-entry)
6075 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6076 * calendar/holidays.el (general-holidays, oriental-holidays)
6077 (local-holidays, other-holidays, hebrew-holidays)
6078 (christian-holidays, islamic-holidays, bahai-holidays)
6079 (solar-holidays, list-calendar-holidays)
6080 (check-calendar-holidays, mark-calendar-holidays)
6081 (filter-visible-calendar-holidays):
6082 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6083 (diary-phases-of-moon): Remove obsolete aliases.
6084 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6085 * calendar/cal-x.el (calendar-one-frame-setup)
6086 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6087 Remove obsolete functions.
6088 (cal-x-load-hook): Remove obsolete hook.
6089 * calendar/calendar.el (european-calendar-style):
6090 Remove obsolete variable.
6091 (calendar-date-style): No longer consult european-calendar-style.
6092 * calendar/calendar.el (european-calendar, american-calendar):
6093 Remove obsolete commands.
6094 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6095 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6096 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6097 Use the face `diary' instead of the variable `diary-face'.
6098 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6099 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6100 * calendar/icalendar.el (icalendar--date-style): Remove function.
6101 Replace all uses with calendar-date-style.
6102 * textmodes/remember.el (calendar-date-style): Declare.
6103 (remember-diary-convert-entry):
6104 No longer consult european-calendar-style.
6105
6106 2014-10-05 Leo Liu <sdl.web@gmail.com>
6107
6108 * imenu.el (imenu-default-goto-function): Fix typo.
6109
6110 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6111
6112 * net/ntlm.el (ntlm-build-auth-request):
6113 Add NTLM2 Session support. (Bug#15603)
6114
6115 2014-10-04 Glenn Morris <rgm@gnu.org>
6116
6117 * apropos.el (apropos-symbols-internal):
6118 Avoid error with non-symbol properties. (Bug#18337#16)
6119
6120 * startup.el (command-line):
6121 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6122
6123 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6124
6125 * window.el (window-full-height-p): Make it behave correctly for
6126 minibuffer window.
6127 (window-current-scroll-bars): Fix code.
6128 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6129 window-scroll-bars.
6130 * frame.el (frame-current-scroll-bars): Fix doc-string.
6131 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6132
6133 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6134
6135 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6136
6137 2014-10-04 Glenn Morris <rgm@gnu.org>
6138
6139 * frame.el (frame-monitor-attributes)
6140 (display-monitor-attributes-list): Doc fixes.
6141
6142 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 Merge trivially safe differences from standalone CC-mode.
6145 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6146 just to then pass it to `symbol-value'.
6147 (prog-mode): Provide fallback definition, if needed.
6148 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6149 Remove "cl-" prefix accordingly.
6150 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6151 characterp depending on the type of characters.
6152 (c-font-lock-enum-tail): Remove unused var `start'.
6153 * progmodes/cc-engine.el: Load CL at compile-time.
6154 (c-declare-lang-variables): Use mapcan.
6155 (c-append-to-state-cache): Remove unused var `ce+1'.
6156 (c-parse-state-state): Make buffer-local.
6157 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6158 (c-just-after-func-arglist-p): Remove unused var `end'.
6159 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6160 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6161 (c-make-keywords-re): Use delete-dups.
6162 (c-get-current-file): Avoid file-name-base.
6163 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6164 `close-paren-inserted'.
6165 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6166
6167 * progmodes/python.el: Avoid building unneeded markers.
6168 (python-font-lock-keywords, python-indent-dedent-line)
6169 (python-fill-paren, python-shell-completion-complete-or-indent):
6170 Prefer point over point-marker.
6171 (inferior-python-mode): Remove redundant completion settings.
6172
6173 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6174
6175 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6176 (vc-svn-ignore): Use it. (Bug#18619)
6177
6178 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6179
6180 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6181 In doc-string mention need to set `frame-resize-pixelwise'.
6182
6183 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6186 similarly to Rogers's 2010-06-16 change for the remote case
6187 (bug#18605).
6188
6189 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 New gui-selection-value consolidating x-selection-value.
6192 * select.el (gui-selection-value-alist): New method.
6193 (gui-selection-value): New function.
6194 (x-selection-value): Make it an obsolete alias.
6195 * simple.el (interprogram-paste-function): Default to
6196 gui-selection-value.
6197 * w32-common-fns.el (w32-get-selection-value): Simplify.
6198 (x-selection-value): Remove alias.
6199 (interprogram-paste-function): Don't set.
6200 (gui-selection-value): Define for w32.
6201 * term/x-win.el (gui-selection-value): Define for x.
6202 (x--selection-value): Rename from x--selection-value.
6203 (interprogram-paste-function): Don't set.
6204 * term/pc-win.el (w16-get-selection-value): Simplify.
6205 (msdos-initialize-window-system): Don't set
6206 interprogram-paste-function.
6207 (gui-selection-value): Define for pc.
6208 * term/ns-win.el (x-selection-value): Remove.
6209 (gui-selection-value): Define for ns, instead.
6210 * term/common-win.el (x-setup-function-keys): Don't set
6211 interprogram-paste-function.
6212 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6213 Use gui-selection-value.
6214
6215 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6216
6217 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6218
6219 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * obsolete/lucid.el (read-number): Remove, redundant.
6222 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6223 Remove, broken.
6224
6225 2014-10-02 Glenn Morris <rgm@gnu.org>
6226
6227 * emacs-lisp/package.el (package-import-keyring):
6228 Create gnupg directory private. (Bug#17625#155)
6229
6230 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * progmodes/python.el (python-shell-completion-get-completions):
6233 Use python-shell--prompt-calculated-input-regexp from the
6234 process buffer (bug#18582).
6235 Don't assume that `line' comes from the process buffer.
6236
6237 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * frame.el: Use lexical-binding (bug#18598).
6240 (make-frame): Use t rather than nil for tty's window-system.
6241 * startup.el (command-line): Use gui-method.
6242
6243 Consolidate management/ownership of selections.
6244 * select.el (gui-get-selection-alist): New method.
6245 (gui-get-selection): Use it. Rename from x-get-selection.
6246 (x-get-selection): Define as obsolete alias.
6247 (x-get-clipboard): Mark obsolete.
6248 (gui-get-primary-selection): New function.
6249 (x-get-selection-value): Mark obsolete.
6250 (gui-own-selection-alist, gui-disown-selection-alist)
6251 (gui-selection-owner-p-alist): New methods.
6252 (gui-set-selection): Use them. Rename from x-set-selection.
6253 (x-set-selection): Define as obsolete alias.
6254 (gui--valid-simple-selection-p): Rename from
6255 x-valid-simple-selection-p.
6256 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6257 (gui-selection-owner-p, gui-get-selection): Define for w32.
6258 (w32-get-selection-value): Rename from x-get-selection-value.
6259 Use the new gui-last-selected-text.
6260 * term/x-win.el (x-get-selection-value): Remove.
6261 (x-clipboard-yank): Declare obsolete.
6262 (gui-own-selection, gui-disown-selection, gui-get-selection)
6263 (gui-selection-owner-p): Define for x.
6264 * term/w32-win.el (w32-win-suspend-error): Rename from
6265 x-win-suspend-error.
6266 * term/pc-win.el (w16-get-selection-value): Rename from
6267 x-get-selection-value.
6268 (w16-selection-owner-p): Rename from x-selection-owner-p.
6269 (gui-own-selection, gui-disown-selection, gui-get-selection)
6270 (gui-selection-owner-p): Define for pc.
6271 (w16--select-text): New function.
6272 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6273 (gui-get-selection, gui-selection-owner-p): Define for ns.
6274 * term.el (term-mouse-paste):
6275 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6276
6277 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6278
6279 * calc/calc-help.el (calc-describe-thing): Quote strings
6280 which could look like regexps.
6281
6282 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 Consolidate x-select-text.
6285 * frame.el (gui-method, gui-method-define, gui-method-declare)
6286 (gui-call): New macros.
6287 (gui-method--name): New function.
6288 (frame-creation-function-alist): Use gui-method-declare.
6289 (make-frame): Use gui-method.
6290 * select.el (gui-select-enable-clipboard): Rename from
6291 x-select-enable-clipboard and move here.
6292 (x-select-enable-clipboard): Define as obsolete alias.
6293 (gui-last-selected-text): New var, to replace x-last-selected-text.
6294 (gui-select-text): New GUI method.
6295 (gui-select-text): New function.
6296 (x-select-text): Define as obsolete alias.
6297 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6298 Move to select.el.
6299 * simple.el (interprogram-cut-function): Change default to
6300 x-select-text.
6301 (interprogram-paste-function): Change default to `ignore'.
6302 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6303 * term/x-win.el (interprogram-cut-function): Don't modify.
6304 (gui-select-text): Add method for x.
6305 * term/w32-win.el (gui-select-text): Add method for w32.
6306 * term/pc-win.el (x-last-selected-text): Remove, use
6307 gui-last-selected-text instead.
6308 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6309 (gui-select-text): Add method for pc.
6310 * term/ns-win.el (ns-last-selected-text): Remove, use
6311 gui-last-selected-text instead.
6312 (gui-select-text): Add method for ns.
6313 (x-setup-function-keys): Don't change interprogram-cut-function.
6314 * loadup.el ("startup"): Load after "frame".
6315 * subr.el (package--builtin-versions, package--description-file):
6316 Move from startup.el.
6317 * startup.el (package--builtin-versions, package--description-file):
6318 Move to subr.el.
6319 (handle-args-function-alist, window-system-initialization-alist):
6320 Use gui-method-declare.
6321 (command-line): Use gui-method.
6322
6323 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * subr.el (alist-get): New accessor.
6326 * emacs-lisp/gv.el (alist-get): Provide expander.
6327 * winner.el (winner-remember):
6328 * tempo.el (tempo-use-tag-list):
6329 * progmodes/gud.el (minor-mode-map-alist):
6330 * international/mule-cmds.el (define-char-code-property):
6331 * frameset.el (frameset-filter-params):
6332 * files.el (dir-locals-set-class-variables):
6333 * register.el (get-register, set-register):
6334 * calc/calc-yank.el (calc-set-register): Use it.
6335 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6336 * tooltip.el (tooltip-set-param): Mark as obsolete.
6337 (tooltip-show): Use alist-get instead.
6338 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6339
6340 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6341
6342 * net/newst-backend.el: Remove Time-stamp. Rename variable
6343 `newsticker--download-logos' to `newsticker-download-logos' and
6344 make it customizable.
6345 (newsticker--sentinel-work): Move xml-workarounds to function
6346 `newsticker--do-xml-workarounds', call unless libxml-parser is
6347 used. Allow single quote in regexp for encoding.
6348 Use libxml-parser if available, else fall back to `xml-parse-region'.
6349 Take care of possibly missing namespace prefixes (like "RDF"
6350 instead of "rdf:RDF") when checking xml nodes and attributes (as
6351 libxml correctly removes the prefixes). Always use Atom 1.0 as
6352 fallback feed type. Rename `newsticker--download-logos' to
6353 `newsticker-download-logos'
6354 (newsticker--unxml, newsticker--unxml-node)
6355 (newsticker--unxml-attribute): New.
6356 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6357 HTML code has become part of the xml parse tree.
6358 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6359 of possibly missing namespace prefixes.
6360 (newsticker--parse-generic-items): Code formatting. Typo.
6361 (newsticker--images-dir): Add trailing slash.
6362 (newsticker--image-get): Fix error message.
6363
6364 * net/newst-plainview.el: Remove Time-stamp.
6365
6366 * net/newst-reader.el: Remove Time-stamp.
6367 (newsticker-download-logos): Rename variable
6368 `newsticker--download-logos' to `newsticker-download-logos' and
6369 make it customizable.
6370 (newsticker--print-extra-elements): Add optional parameter
6371 'htmlish for using html markup. Amend list of ignored elements.
6372 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6373 using html markup.
6374
6375 * net/newst-ticker.el: Remove Time-stamp.
6376
6377 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6378 for formatting extra elements.
6379
6380 * net/newsticker.el: Remove Time-stamp, Version.
6381 (newsticker-version): Make obsolete.
6382
6383 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6384
6385 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6386 (bug#18462).
6387
6388 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * emacs-lisp/package.el (package-check-signature): Default to nil if
6391 GPG is not available.
6392 (package-refresh-contents): Don't mess with the keyring if we won't
6393 check the signatures anyway.
6394
6395 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6398 (ses-center, ses-center-span): Use them.
6399 (ses-print-cell): Bind them while calling the printer.
6400 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6401 (ses-dorange): Revert last change.
6402 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6403 the formula.
6404 (ses-set-cell): Avoid `eval'.
6405 (ses--time-check): Rename it from ses-time-check and turn it into
6406 a macro.
6407
6408 * ses.el (ses-setup): Don't assume modifying the iteration var of
6409 dotimes affects the iteration (bug#18191).
6410
6411 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6412
6413 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6414 their values with 'cl-progv'.
6415 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6416 their values with 'cl-progv', also use non-interned symbols for
6417 row, minrow, maxrow, mincol and maxcol.
6418 (maxrow maxcol): New defvar, to make the compiler happy.
6419
6420 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6423 completion functions.
6424
6425 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6428
6429 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6430
6431 Font-lock `cl-flet*', too.
6432 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6433 Add "flet*" to intermediate var `cl-lib-kw'.
6434
6435 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * epg-config.el (epg-gpg-program): Use the plain program names rather
6438 than their absolute file name.
6439
6440 * subr.el (track-mouse): New macro.
6441 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6442 Remove track-mouse case.
6443 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6444
6445 2014-09-27 Leo Liu <sdl.web@gmail.com>
6446
6447 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6448
6449 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6450
6451 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6454 Handle the case where `match' is :pcase--succeed or :pcase--fail
6455 (bug#18554).
6456
6457 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6458 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6459 (eldoc-schedule-timer): Obey it.
6460 (eldoc-documentation-function): Default to nil.
6461 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6462 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6463 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6464 (eldoc-last-data-store, eldoc-docstring-first-line)
6465 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6466 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6467 (eldoc-function-argstring): Move to elisp-mode.el.
6468 (eldoc-symbol-function): Remove, unused.
6469 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6470 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6471 (elisp--preceding-sexp): Rename from preceding-sexp.
6472 * loadup.el: Load new file progmodes/elisp-mode.
6473 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6474 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6475 (lisp--local-variables-completion-table, lisp--expect-function-p)
6476 (lisp--form-quoted-p, lisp--company-doc-buffer)
6477 (lisp--company-doc-string, lisp--company-location)
6478 (lisp-completion-at-point): Move to elisp-mode.el.
6479 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6480 extracted from emacs-lisp-mode-syntax-table.
6481 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6482 elisp-mode.el.
6483 (lisp-imenu-generic-expression): Add comments to document what comes
6484 from which Lisp dialect.
6485 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6486 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6487 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6488 (emacs-lisp-byte-code-comment)
6489 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6490 (lisp-interaction-mode-map, lisp-interaction-mode)
6491 (eval-print-last-sexp, last-sexp-setup-props)
6492 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6493 (eval-last-sexp-1, eval-last-sexp-print-value)
6494 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6495 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6496
6497 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6498
6499 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6500 Do not match file names that end in '/', as they cannot be 'grep'
6501 hits nowadays. This prevents confusion when 'grep -r' reports a
6502 match in a file whose basename is ':12345:'. Conversely, do not
6503 require exactly the same sequence of spaces and tabs after both
6504 colons, and allow spaces or tabs before the second colon, as per
6505 the POSIX spec for 'grep' output.
6506
6507 2014-09-26 Leo Liu <sdl.web@gmail.com>
6508
6509 Add cl-parse-integer based on parse-integer (Bug#18557)
6510 * calendar/parse-time.el (parse-time-digits): Remove.
6511 (digit-char-p, parse-integer) Moved to cl-lib.el.
6512 (parse-time-tokenize, parse-time-rules, parse-time-string):
6513 Use cl-parse-integer.
6514
6515 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6516
6517 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6518 (cl-digit-char-p): New function.
6519
6520 2014-09-25 Juri Linkov <juri@jurta.org>
6521
6522 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6523 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6524 Return the current buffer if no files match the default pattern
6525 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6526
6527 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6530 the global vc-handled-backends (bug#18535).
6531
6532 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6535 Suggested by <lompik@voila.fr>.
6536
6537 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6538
6539 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6540 Rename from `newsticker--treeview-do-get-node'.
6541 (newsticker--treeview-get-node-by-id):
6542 Rename from `newsticker--treeview-get-node'.
6543 (newsticker--treeview-buffer-init)
6544 (newsticker--treeview-buffer-init): Disable buffer undo.
6545 (newsticker--treeview-unfold-node): Adapt to modified
6546 `newsticker--group-find-parent-group'.
6547 (newsticker--group-do-find-group):
6548 Rename from `newsticker--group-do-find-group-for-feed'.
6549 Now works for both, groups and feeds.
6550 (newsticker--group-find-parent-group):
6551 Rename from `newsticker--group-find-group-for-feed'.
6552 Now works for both, groups and feeds.
6553 (newsticker--group-do-get-parent-group)
6554 (newsticker--group-get-parent-group): Remove.
6555 (newsticker-group-add-group): Change interactive prompts.
6556 (newsticker-group-add-group): Finally jump to added group.
6557 (newsticker-group-delete-group): Finally jump to current feed.
6558 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6559 (newsticker--get-group-names, newsticker--group-names): New.
6560 (newsticker-group-move-feed): Finally jump to moved feed.
6561 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6562 (newsticker-group-shift-group-down)
6563 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6564 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6565
6566 * net/newst-backend.el (newsticker--item-list)
6567 (newsticker--item-position, newsticker--prev-message)
6568 (newsticker--scrollable-text): Move to newst-ticker.el.
6569
6570 * net/newst-ticker.el (newsticker--item-list)
6571 (newsticker--item-position, newsticker--prev-message)
6572 (newsticker--scrollable-text): Move from newst-backend.el.
6573
6574 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6575
6576 * window.el (fit-window-to-buffer): When counting buffer width,
6577 count the whole visible buffer. Correctly convert the body-height
6578 to pixel size for window-text-pixel-size (Bug#18498).
6579
6580 2014-09-22 Sam Steingold <sds@gnu.org>
6581
6582 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6583 (sql-execute): Use `special-mode'.
6584
6585 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 Add pcase-defmacro, as well as `quote' and `app' patterns.
6588 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6589 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6590 (pcase--funcall, pcase--eval): New functions.
6591 (pcase--u1): Use them for guard, pred, let, and app.
6592 (\`): Use the new feature to generate better code for vector patterns.
6593 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6594 (pcase--upat): Remove.
6595 (pcase--macroexpand): Don't hardcode handling of `.
6596 (pcase--split-consp, pcase--split-vector): Remove.
6597 (pcase--split-equal): Disregard ` since it's expanded away.
6598 (pcase--split-member): Optimize for quote rather than for `.
6599 (pcase--split-pred): Optimize for quote rather than for `.
6600 (pcase--u1): Remove handling of ` (and of `or' and `and').
6601 Quote non-selfquoting values when passing them to `eq'.
6602 Drop `app's let-binding if the variable is not used.
6603 (pcase--q1): Remove.
6604 (`): Define as a pattern macro.
6605 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6606 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6607 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6608 quote patterns.
6609 (pcase--split-match): Don't hoist or/and here any more.
6610 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6611 (pcase--flip): New helper macro.
6612 (pcase--u1): Optimize the memq case directly.
6613 Don't handle neither self-quoting nor and/or patterns any more.
6614 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6615 (pcase--macroexpand): New function.
6616 (pcase--expand): Use it.
6617 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6618 New optimization functions.
6619 (pcase--u1): Add support for `quote' and `app'.
6620 (pcase): Document them in the docstring.
6621
6622 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 Use lexical-bindin in Ibuffer.
6625 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6626 (ibuffer-compile-format): Simplify.
6627 (ibuffer-clear-summary-columns): Simplify.
6628 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6629 elem of dotimes when we don't refer to the iteration var from it.
6630 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6631 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6632 Silence byte-compiler.
6633
6634 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6637 expression for a list.
6638
6639 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6640 for functions with no arguments.
6641
6642 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6643 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6644
6645 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
6646
6647 * simple.el (clone-indirect-buffer): Mention the return value
6648 (bug#18478).
6649
6650 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6651 Text mode in docstring (bug#18464).
6652
6653 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6656 Accept underscores in identifiers after "sub" (bug#18502).
6657
6658 2014-09-21 Tassilo Horn <tsdh@gnu.org>
6659
6660 * textmodes/reftex-sel.el (reftex-select-label-mode)
6661 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6662 from special-mode (instead of fundamental-mode) and propertize
6663 with font-lock-face instead of just face. (Bug#18496)
6664
6665 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6666
6667 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6668
6669 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6670 `table-etc' when `end' is non-nil.
6671 (lisp-completion-at-point): Move `end' back if it's after quote.
6672 If in comment or string, only complete when after backquote.
6673 (Bug#18265)
6674 (lisp-completion-at-point): Don't use
6675 `lisp--local-variables-completion-table' in the
6676 `lisp--form-quoted-p' case.
6677
6678 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6679
6680 * emacs-lisp/lisp.el (lisp--expect-function-p)
6681 (lisp--form-quoted-p): New functions.
6682 (lisp-completion-at-point): Use them to see if we're completing a
6683 variable reference, a function name, or just any symbol.
6684 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6685
6686 2014-09-18 Ivan Kanis <ivan@kanis.fr>
6687
6688 * net/shr.el, net/eww.el: Don't override `shr-width', but
6689 introduce a new variable `shr-internal-width'. This allows users
6690 to specify a width themselves.
6691
6692 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * image-mode.el (image-toggle-display-image): If we have a
6695 `fit-width' or a `fit-height', don't limit the size of the image
6696 to the window size, because that doesn't preserve the aspect ratio.
6697 * image-mode.el: Move defvars earlier to avoid a byte-compilation
6698 warning.
6699
6700 2014-09-17 Reuben Thomas <rrt@sc3d.org>
6701
6702 * progmodes/js.el: Add interpreter-mode-alist support for various
6703 JavaScript interpreters.
6704
6705 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
6706
6707 Don't assume 'grep' supports GREP_OPTIONS.
6708 The GREP_OPTIONS environment variable is planned to be marked
6709 obsolescent in GNU grep, due to problems in its use, so stop
6710 relying on it.
6711 * progmodes/grep.el (grep-highlight-matches): Document this.
6712 (grep-process-setup): Do not set GREP_OPTIONS.
6713 (grep-compute-defaults): Use an explicit --color option if supported.
6714
6715 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6716
6717 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6718 Don't add outdated key-shortcut cache (bug#18482).
6719
6720 2014-09-15 Glenn Morris <rgm@gnu.org>
6721
6722 * image.el (image-multi-frame-p): Fix thinko - do not force
6723 a delay if none was specified. (Bug#18334)
6724
6725 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
6726
6727 * window.el (fit-window-to-buffer): Doc fix.
6728
6729 2014-09-15 Ivan Shmakov <ivan@siamics.net>
6730
6731 * desktop.el (desktop-create-buffer): Check that buffers are still live
6732 before burying them (bug#18373).
6733
6734 2014-09-15 Glenn Morris <rgm@gnu.org>
6735
6736 * calendar/diary-lib.el (diary-list-entries):
6737 Restore 24.3 display behavior. (Bug#18381)
6738
6739 2014-09-15 Eli Zaretskii <eliz@gnu.org>
6740
6741 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6742 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
6743 discrepancy between window-pixel-edges and mouse events, and
6744 avoids moving mode line up when the mouse click is on the modeline
6745 and no drag is attempted.
6746
6747 2014-09-14 Daniel Colascione <dancol@dancol.org>
6748
6749 * register.el (insert-register): Change default interactive
6750 insertion mode.
6751
6752 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
6753
6754 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6755 Suppress debug messages.
6756
6757 * net/tramp.el (tramp-file-name-handler):
6758 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6759 appropriate.
6760
6761 2014-09-13 Christopher Schmidt <ch@ristopher.com>
6762
6763 * calendar/calendar.el (calendar-update-mode-line):
6764 Do not overwrite mode-line-format if calendar-mode-line-format is
6765 nil. (Bug#18467)
6766
6767 2014-09-13 Leo Liu <sdl.web@gmail.com>
6768
6769 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6770 (pcase--expand): Use it.
6771 (pcase-exhaustive): New macro. (Bug#16567)
6772
6773 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6774 Add pcase-exhaustive.
6775
6776 2014-09-13 Eli Zaretskii <eliz@gnu.org>
6777
6778 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6779 using the specified transfer-encoding, if any, or 'undecided'.
6780 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6781 broken at the window margin.
6782
6783 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
6784
6785 Support rendering of HTML parts in Rmail (bug#4258).
6786 * mail/rmailmm.el (rmail-mime-process): Handle text/html
6787 separately from other text/ types. Suppress tagline for
6788 multipart body.
6789 (rmail-mime-parse): Don't change visibility of tagline here.
6790 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6791 Handle text/html specially.
6792 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6793 (rmail-mime-insert-html, rmail-mime-render-html-shr)
6794 (rmail-mime-render-html-lynx): New functions.
6795 (rmail-mime-fix-inserted-faces): New function.
6796 (rmail-mime-process-multipart): Find the best part to show
6797 following rmail-mime-prefer-html if set.
6798 (rmail-mime-searching): New variable.
6799 (rmail-search-mime-message): Bind rmail-mime-searching to
6800 suppress rendering while searching.
6801
6802 2014-09-12 Sam Steingold <sds@gnu.org>
6803
6804 * progmodes/sql.el (sql-product-alist): Add vertica.
6805 (sql-vertica-program, sql-vertica-options)
6806 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6807 New functions and variables to support Vertica.
6808 Inspired by code by Roman Scherer <roman@burningswell.com>.
6809
6810 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
6811
6812 * ses.el (ses-file-format-extend-parameter-list): Rename from
6813 ses-file-format-extend-paramter-list, to correct a misspelling.
6814 All uses changed.
6815
6816 2014-09-10 Alan Mackenzie <acm@muc.de>
6817
6818 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6819 gets loaded at run-time).
6820 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6821 c-lang-const to c-make-no-parens-syntax-table and correct the
6822 logic.
6823 (c-no-parens-syntax-table): Correct the logic of the
6824 c-lang-defvar.
6825
6826 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6829 plus misc cleanup.
6830 * progmodes/cc-mode.el (c-basic-common-init):
6831 Set open-paren-in-column-0-is-defun-start.
6832 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6833 Remove declarations, unused.
6834 (run-mode-hooks): Remove declaration.
6835 (font-lock-defaults): Use plain `defvar' to declare.
6836 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6837 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6838 (c-make-mode-syntax-table): Don't micro-optimize.
6839 (c-keywords, c-keyword-member-alist): Simplify.
6840 (c-kwds-lang-consts): Don't eval at compile-time.
6841 (c-primary-expr-regexp): Comment out unused vars.
6842 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6843 (c-font-byte-compile): New var.
6844 (c--compile): New function. Use it instead of `byte-compile'.
6845 (c-cpp-matchers): Quote the value returned by
6846 `c-make-syntactic-matcher' in case it's not self-evaluating.
6847 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6848 parentheses instead (in case MATCHER happens to be a list).
6849 (c-font-lock-enum-tail): Remove unused var `start'.
6850 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6851 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6852 test into an argument.
6853 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6854 (c-get-char-property): Don't use `eval' just to unquote a constant.
6855 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6856 more efficiently.
6857 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6858 (c-clear-char-property, c-clear-char-properties): Check that `property'
6859 is a quoted constant.
6860 (c-emacs-features): Remove `infodock', `syntax-properties', and
6861 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6862 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6863 changing buffer, so we don't have to setq them again afterwards.
6864 (c-lang-const): Remove redundant symbolp assertions.
6865 (c-find-assignment-for-mode): Use `or'.
6866 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6867
6868 2014-09-09 Sam Steingold <sds@gnu.org>
6869
6870 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6871
6872 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6875 Change doc comments into docstrings.
6876 * Makefile.in: Remove cc-awk dependency.
6877
6878 2014-09-08 Sam Steingold <sds@gnu.org>
6879
6880 * progmodes/sql.el (sql-send-line-and-next): New command,
6881 bound to C-c C-n.
6882 (sql-show-sqli-buffer): Display the buffer instead of its name and
6883 bind the command to C-c C-z.
6884 (sql-default-directory): New user option.
6885 (sql-product-interactive): Bind `default-directory' to it to
6886 enable remote connections using Tramp.
6887 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6888 suitable buffer is available.
6889
6890 2014-09-08 Glenn Morris <rgm@gnu.org>
6891
6892 * calendar/calendar.el (calendar-basic-setup):
6893 Fix calendar-view-holidays-initially-flag and fancy display.
6894 * calendar/diary-lib.el (diary-live-p): Doc fix.
6895
6896 * calendar/calendar.el (calendar-basic-setup):
6897 Avoid clobbering calendar with diary. (Bug#18381)
6898
6899 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6902
6903 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
6904
6905 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6906 as well (bug#18400).
6907
6908 2014-09-08 Eli Zaretskii <eliz@gnu.org>
6909
6910 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
6911
6912 2014-09-06 Leo Liu <sdl.web@gmail.com>
6913
6914 * emacs-lisp/pcase.el (pcase): Doc fix.
6915 (pcase--split-vector): New function.
6916 (pcase--q1): Support vector qpattern. (Bug#18327)
6917
6918 2014-09-05 Sam Steingold <sds@gnu.org>
6919
6920 * textmodes/tex-mode.el (tex-print-file-extension): New user
6921 option.
6922 (tex-print): Use it instead of the hard-coded string.
6923
6924 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6927 Expand `default-directory'.
6928
6929 2014-09-05 Martin Rudalics <rudalics@gmx.at>
6930
6931 * scroll-bar.el (horizontal-scroll-bars-available-p):
6932 New function.
6933 (horizontal-scroll-bar-mode): Rewrite using
6934 horizontal-scroll-bars-available-p.
6935 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6936 horizontal-scroll-bars-available-p.
6937
6938 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * subr.el (call-process-shell-command, process-file-shell-command):
6941 Make the `args' obsolete (bug#18409).
6942 (start-process-shell-command, start-file-process-shell-command):
6943 Use `declare'.
6944
6945 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
6946
6947 * calc/calc-forms.el (math-normalize-hms): Do a better check for
6948 "negative" hms forms.
6949
6950 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
6951
6952 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6953 returns nil (bug#18391).
6954
6955 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6958 terminating paren (bug#18352).
6959 (eldoc-last-data-store): Return cached data.
6960 (eldoc-get-var-docstring): Avoid setq.
6961 (eldoc-get-fnsym-args-string): Clarify data flow.
6962
6963 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6964
6965 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6966 case where we're currently providing part of the &rest arg after some
6967 &key args, as in define-ibuffer-op (bug#18048).
6968
6969 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6972 buffer-local setting of which-func-mode.
6973 (which-func-mode): Use defvar-local.
6974 (which-function-mode): Don't reset which-func-mode in each buffer since
6975 it might have been set by someone else.
6976 (which-func-update-ediff-windows): Check which-function-mode.
6977
6978 2014-09-03 Martin Rudalics <rudalics@gmx.at>
6979
6980 * frame.el (frame-initialize): Remove horizontal-scroll-bars
6981 from frame-initial-frame-alist.
6982 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6983 (horizontal-scroll-bar-mode-explicit)
6984 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6985 (toggle-horizontal-scroll-bar): Remove.
6986 (horizontal-scroll-bar-mode): Remove defcustom.
6987 (horizontal-scroll-bar-mode): Fix doc-string.
6988 (scroll-bar-toolkit-scroll)
6989 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6990
6991 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * emacs-lisp/package.el (package-generate-description-file):
6994 Properly quote the arguments (bug#18332). Change second arg.
6995 (package--alist-to-plist-args): Rename from package--alist-to-plist and
6996 quote the elements.
6997 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
6998 the *-pkg.el file. Adjust to new calling convention of
6999 package-generate-description-file.
7000
7001 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7002 (gud-gdb-completions): Remove obsolete workaround.
7003
7004 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7005
7006 * subr.el (posn-col-row): Revert the change from commit
7007 2010-11-13T21:07:58Z!eliz@gnu.org, which
7008 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7009 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7010 introduced an off-by-one error in the reported row when there is a
7011 header line. (Bug#18384)
7012
7013 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7014
7015 * progmodes/python.el (python-indent-post-self-insert-function):
7016 Avoid electric colon at beginning-of-defun. (Bug#18228)
7017
7018 2014-09-03 Glenn Morris <rgm@gnu.org>
7019
7020 * tutorial.el (tutorial--display-changes):
7021 Fix 2014-08-01 change. (Bug#18382)
7022
7023 2014-09-03 Ken Brown <kbrown@cornell.edu>
7024
7025 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7026 the Cygwin-w32 build. (Bug#18347)
7027
7028 2014-09-03 Glenn Morris <rgm@gnu.org>
7029
7030 * tar-mode.el (tar--extract, tar-extract):
7031 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7032
7033 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7036 handle multiline elements (bug#18380).
7037
7038 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7039
7040 * ls-lisp.el (ls-lisp-use-string-collate)
7041 (ls-lisp-UCA-like-collation): New defcustoms.
7042 (ls-lisp-string-lessp): Use them to control sorting by file
7043 names. (Bug#18051)
7044 (ls-lisp-version-lessp): New function.
7045 (ls-lisp-handle-switches): Use it to implement the -v switch of
7046 GNU ls.
7047 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7048
7049 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7050
7051 * ibuffer.el: Replace mode-specific quit function with
7052 `quit-window' via `special-mode'.
7053 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7054 of local overrides.
7055 (ibuffer): Don't store previous windows configuration.
7056 Let `quit-window' handle restoring.
7057 (ibuffer-quit): Remove function. Use `quit-window' instead.
7058 (ibuffer-restore-window-config-on-quit): Remove variable.
7059 (ibuffer-prev-window-config): Remove variable.
7060
7061 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7062
7063 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7064 name instead of variable name in hook docstring. (Bug#18349)
7065
7066 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7067
7068 * window.el (display-buffer-at-bottom): Prefer bottom-left
7069 window to other bottom windows. Reuse a bottom window if it
7070 shows the buffer already. Suggested by Juri Linkov
7071 <juri@jurta.org> in discussion of (Bug#18181).
7072
7073 2014-08-29 Leo Liu <sdl.web@gmail.com>
7074
7075 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7076 append to minibuffer-setup-hook. (Bug#18341)
7077
7078 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7081 byte-compiler.
7082 (lookup-syntax-properties): Silence byte-compiler.
7083 (c-lang-defconst): Quote the code with `lambda' rather than with
7084 `quote'.
7085 (c-lang-const): Avoid unneeded setq.
7086 (c-lang-constants-under-evaluation): Add docstring.
7087 (c-lang--novalue): New constant.
7088 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7089 (c-get-lang-constant): Same here.
7090 Get the mode's value using `funcall' now that the code is quoted
7091 with `lambda'.
7092
7093 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7094
7095 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7096 (Bug#18326)
7097
7098 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7099
7100 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7101 interpretation of `portion-whole'.
7102
7103 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7104
7105 * net/tramp-adb.el: Spell author name correctly.
7106
7107 2014-08-28 João Távora <joaotavora@gmail.com>
7108
7109 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7110 use url-expand-file-name. (Bug#18310)
7111
7112 2014-08-28 Glenn Morris <rgm@gnu.org>
7113
7114 * emulation/cua-rect.el (cua--highlight-rectangle):
7115 Avoid error at point-min. (Bug#18309)
7116
7117 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7120 executable-find (bug#18244).
7121
7122 * simple.el (self-insert-uses-region-functions): Defvar.
7123
7124 2014-08-28 Glenn Morris <rgm@gnu.org>
7125
7126 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7127
7128 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7129
7130 * startup.el (normal-top-level): Now use internal--top-level-message.
7131
7132 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7133
7134 * startup.el (normal-top-level): Use top-level-message.
7135
7136 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7137
7138 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7139 URLs containing spaces and the like.
7140
7141 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7142
7143 * subr.el (remq): Fix docstring (Bug#18253).
7144
7145 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7146
7147 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7148
7149 2014-08-24 Alan Mackenzie <acm@muc.de>
7150
7151 Handle C++11's "auto" and "decltype" constructions.
7152 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7153 and return 'decltype.
7154 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7155 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7156 keyword.
7157 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7158 "decltype" keyword.
7159 (c-font-lock-c++-new): Handle "decltype" constructions.
7160 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7161 New c-lang-defconsts/defvars.
7162 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7163 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7164 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7165 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7166
7167 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7168 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7169 off from c->-op-cont-re.
7170 (c->-op-cont-tokens): Change to use the above.
7171 (c->-op-without->-cont-regexp): New lang-const.
7172 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7173 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7174
7175
7176 2014-08-23 Alan Mackenzie <acm@muc.de>
7177
7178 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7179 loop, bug #18306. The bug was introduced on 2014-08-02.
7180
7181 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7182
7183 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7184 Don't recognize a Top node if there are other sectioning commands
7185 earlier in the Texinfo file. This fixes a bug in
7186 texinfo-make-menu and avoids inflooping in
7187 texinfo-all-menus-update when they are invoked on texinfo.texi.
7188
7189 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7190
7191 * window.el (window--side-window-p): New function.
7192 (split-window, window-splittable-p): Use window--side-window-p to
7193 determine whether WINDOW can be split (Bug#18304).
7194 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7195 `window-splittable-p' and add another (Bug#18304).
7196
7197 2014-08-20 Sam Steingold <sds@gnu.org>
7198
7199 * progmodes/python.el (python-new-pythonpath): Extract from
7200 `python-shell-calculate-process-environment'.
7201
7202 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7203
7204 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7205 for &key args (bug#18048).
7206
7207 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7210 (eldoc-function-argstring-format): Remove.
7211 (eldoc-function-argstring): Always return upcase args.
7212 Use help-make-usage. Don't add parens.
7213 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7214 it's too late to do it right (bug#18048).
7215
7216 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7217
7218 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7219 (scroll-bar-toolkit-horizontal-scroll): When determining the
7220 paragraph direction, use the buffer of the window designated in
7221 the event.
7222
7223 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7224
7225 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7226 context of unified diff.
7227
7228 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7229
7230 Add dependencies to fix loaddefs race during parallel builds.
7231 Without this, for example, 'make -j bootstrap' can fail and report
7232 "Opening input file: no such file or directory,
7233 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7234 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7235 got confused because diary-loaddefs.el was being built in parallel.
7236 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7237 Depend on $(CAL_DIR)/cal-loaddefs.el.
7238 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7239
7240 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7241
7242 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7243 portion-whole for scrolling right-to-left text.
7244
7245 2014-08-15 Leo Liu <sdl.web@gmail.com>
7246
7247 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7248 elements from imenu.
7249
7250 2014-08-15 Glenn Morris <rgm@gnu.org>
7251
7252 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7253
7254 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7255
7256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7257 Add Guile regexpses.
7258
7259 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7260
7261 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7262 add Guile debugger support for GUD.
7263
7264 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7267 (mouse-sel--ignore): New function.
7268 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7269 (mouse-sel-original-interprogram-cut-function)
7270 (mouse-sel-original-interprogram-paste-function): Remove.
7271
7272 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7273
7274 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7275 Call "git add" when there are no longer conflict markers.
7276
7277 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7278
7279 * vc/vc-git.el (vc-git-find-file-hook): New function.
7280 Adds support for calling smerge (and resolve) on a conflicted file.
7281 (vc-git-conflicted-files): New function.
7282 Useful in itself and a step towards better smerge support.
7283
7284 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7287 to the first part if they're the same as the selection.
7288
7289 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7290
7291 * image-mode.el (image-transform-reset): New command and menu item.
7292 (image-mode-map): Rearrange the menu items to put presumably more
7293 obscure items at the end.
7294
7295 2014-08-12 Juri Linkov <juri@jurta.org>
7296
7297 * vc/vc-annotate.el (vc-annotate-background-mode):
7298 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7299
7300 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7303
7304 2014-08-11 Sam Steingold <sds@gnu.org>
7305
7306 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7307 the presence of known validators (tidy, (o)nsgmls).
7308
7309 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7310
7311 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7312 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7313 (newsticker--treeview-list-add-item):
7314 Use `newsticker-treeview-date-format'.
7315
7316 2014-08-11 Glenn Morris <rgm@gnu.org>
7317
7318 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7319 chose coding system for writing before backing up, since it causes
7320 a more serious problem than the one it solves. (Closes Bug#18141,
7321 reopens Bug#13522.)
7322
7323 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7324
7325 * window.el (window-total-size): Make doc-string more self-contained.
7326
7327 * window.el (display-buffer-below-selected): Restore original
7328 behavior if buffer is already displayed in the window below the
7329 selected one (Bug#18181).
7330
7331 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7334 event (bug#18212).
7335
7336 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7337
7338 * info.el (info): Doc fix.
7339
7340 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7343 (bug#18212).
7344
7345 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7346
7347 * simple.el (default-line-height): A floating-point value of
7348 line-spacing means a fraction of the default frame font's height,
7349 not of the font currently used by the 'default' face.
7350 Truncate the pixel value, like the display engine does.
7351 (window-screen-lines): Use window-inside-pixel-edges for
7352 determining the window height in pixels. (Bug#18195)
7353
7354 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7355
7356 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7357
7358 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7359
7360 Enumerate evaluated sexp diary entries (Bug#7911).
7361 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7362 (icalendar-export-sexp-enumeration-days): New.
7363 (icalendar-export-region): Now `icalendar--convert-to-ical'
7364 returns a cons cell or a list of cons cells.
7365 (icalendar--convert-to-ical): Take care of
7366 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7367 (icalendar--convert-ordinary-to-ical)
7368 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7369 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7370 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7371 (icalendar--convert-anniversary-to-ical): Return cons cell.
7372 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7373 entries. Return (list of) cons cells.
7374
7375 2014-08-09 Juri Linkov <juri@jurta.org>
7376
7377 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7378 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7379
7380 2014-08-09 Alan Mackenzie <acm@muc.de>
7381
7382 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7383 for top-level that can cause unacceptable slow-down in scrolling.
7384 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7385 Antipov from 2013-10-14 in emacs-devel.
7386
7387 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7388
7389 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7390 `ibuffer-auto-mode' menu entry.
7391 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7392
7393 2014-08-08 Matthias Meulien <orontee@gmail.com>
7394
7395 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7396 (Bug#16394)
7397
7398 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7399
7400 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7401 calls of window-min-pixel-height and window-min-pixel-width.
7402
7403 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7404
7405 * progmodes/ada-mode.el:
7406 * net/tramp.el (tramp-handle-file-symlink-p):
7407 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7408 about VMS, which we no longer support.
7409 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7410 and fix a FIXME, using convert-standard-filename in place of
7411 removed ada-convert-file-name.
7412
7413 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7414
7415 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7416
7417 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7418
7419 Refer to MS-DOS using the same name everywhere.
7420 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7421 ``msdog'' become ``MS-DOS''.
7422
7423 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7424
7425 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7426 Use cached "remote-copy-args" value, if available. (Bug#18199)
7427
7428 2014-08-07 Leo Liu <sdl.web@gmail.com>
7429
7430 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7431 Revert change on 2014-03-22.
7432
7433 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7434
7435 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7436 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7437 (Bug#13750).
7438
7439
7440 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7441
7442 * image-mode.el (image-toggle-display-image): Always rescale images
7443 to not be bigger than the current window.
7444
7445 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7446
7447 * net/eww.el (eww-bookmarks-directory): New variable.
7448 (eww-write-bookmarks): Use it.
7449 (eww-read-bookmarks): Ditto.
7450
7451 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452
7453 * net/shr.el (shr-copy-url): Also copy the image URL.
7454
7455 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7456
7457 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7458 also for Tramp working buffers.
7459
7460 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7461
7462 * progmodes/python.el: Fix completions inside (i)pdb.
7463 (python-shell-completion-pdb-string-code): Make obsolete.
7464 (python-shell-completion-get-completions):
7465 Use python-shell-completion-string-code resending setup code
7466 continuously for (i)pdb.
7467
7468 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7469
7470 * rect.el (rectangle--default-line-number-format): Rename
7471 from misspelled rectange--default-line-number-format (Bug#18045).
7472 All uses changed.
7473
7474 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7475
7476 Don't mishandle year-9999 dates (Bug#18176).
7477 * calendar/parse-time.el (parse-time-rules):
7478 Allow years up to most-positive-fixnum.
7479 * calendar/time-date.el (date-to-time):
7480 Pass "Specified time is not representable" errors through.
7481
7482 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7483
7484 * progmodes/python.el: Completion code cleanups.
7485 (python-shell-completion-get-completions): Detect and send import
7486 statements directly to completion function.
7487 (python-shell-completion-at-point): Simplify prompt calculation
7488 and import vs input completion logic.
7489
7490 2014-08-02 Alan Mackenzie <acm@muc.de>
7491
7492 Fix confusion in C++ file caused by comma in "= {1,2},".
7493 Bug #17756.
7494 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7495 for a statement boundary marked by "}", check there's no "="
7496 before the "{".
7497 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7498 non-nil `comma-delim' argument.
7499 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7500 initializer expression more accurately.
7501
7502 Correct loop termination condition in c-syntactic-skip-backward.
7503 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7504 the situation where, after moving back out of a literal,
7505 skip-chars-backward doesn't move further, yet checks have still to
7506 be done.
7507
7508 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7509
7510 * tutorial.el (tutorial--display-changes): Accept punctuation
7511 characters before the key binding. (Bug#18146)
7512
7513 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7514
7515 * progmodes/python.el: Shell output capture enhancements.
7516 (python-shell-accept-process-output): New function.
7517 (inferior-python-mode)
7518 (python-shell-send-setup-code): Use it.
7519
7520 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7521
7522 * calendar/icalendar.el (icalendar--decode-isodatetime):
7523 Use actual current-time-zone when converting to local time. (Bug#15408)
7524
7525 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7526
7527 * window.el (window--state-put-2): Handle horizontal scroll
7528 bars, if present.
7529
7530 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7531
7532 * menu-bar.el (menu-bar-update-buffers): Update item list format
7533 in `buffers-menu' to confirm with changes to `get_keyelt'
7534 (r117463). (Bug#18016)
7535
7536 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7537
7538 * progmodes/python.el (inferior-python-mode): Make input prompts
7539 read-only.
7540
7541 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7542
7543 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7544 executables named "python2" or "python3".
7545 (tramp-get-remote-uid-with-python): Use parentheses around
7546 arguments to `print' to make it compatible with Python 3.
7547 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7548
7549 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7550
7551 * window.el (window--pixel-to-total): Use FRAME's root window, not
7552 that of the selected frame. (Bug#18112, Bug#16674)
7553
7554 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7555
7556 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7557 (Bug#18117)
7558
7559 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7560
7561 * progmodes/python.el (inferior-python-mode): Doc fix.
7562
7563 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7564
7565 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7566 not a character, ignore it instead of raising an error.
7567
7568 * calendar/todo-mode.el: Fix handling of marked items and make
7569 minor code improvements.
7570 (todo-edit-item): If there are marked items, ensure user can only
7571 invoke editing commands that work with marked items.
7572 (todo-edit-item--text): When there are marked items, make it a
7573 noop if invoked with point not on an item; otherwise, ensure it
7574 applies only to item at point.
7575 (todo-item-undone): If there are marked not-done items, return
7576 point to its original position before signaling user error.
7577 (todo--user-error-if-marked-done-item): New function.
7578 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7579 (todo-item-done): Use it.
7580
7581 2014-07-28 Glenn Morris <rgm@gnu.org>
7582
7583 * files.el (toggle-read-only): Re-add basic doc-string.
7584 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7585
7586 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7587 Replace missing `switch-to-prolog' with `run-prolog'.
7588 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7589
7590 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7591
7592 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7593 of file-wide setting when changing category-wide setting.
7594
7595 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7596
7597 * doc-view.el (doc-view-open-text): Don't require that the
7598 document is saved in a file (e.g., email attachment).
7599
7600 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7601
7602 Parse completion input in a iPython friendly way. (Bug#18084)
7603 * progmodes/python.el
7604 (python-shell-completion-at-point): Rename from
7605 python-shell-completion-complete-at-point.
7606 (inferior-python-mode): Use it.
7607 (python-completion-at-point): Rename from
7608 python-completion-complete-at-point. Parse input up to first
7609 backward occurrence of whitespace, open-paren, close-paren or
7610 string delimiter.
7611 (python-mode): Use it.
7612
7613 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7614
7615 * progmodes/python.el
7616 (python-shell-with-shell-buffer): New macro.
7617 (python-shell-font-lock-get-or-create-buffer)
7618 (python-shell-font-lock-kill-buffer)
7619 (python-shell-font-lock-with-font-lock-buffer)
7620 (python-shell-font-lock-cleanup-buffer)
7621 (python-shell-font-lock-toggle): Use it.
7622 (python-shell-font-lock-turn-on)
7623 (python-shell-font-lock-turn-off): Use it. Make command.
7624
7625 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7626
7627 Grab all Python process output before inferior-python-mode hooks.
7628 * progmodes/python.el (inferior-python-mode):
7629 Call accept-process-output and sit-for to ensure all output for process
7630 has been received before running hooks.
7631 (python-shell-internal-get-or-create-process):
7632 Cleanup accept-process-output and sit-for calls.
7633
7634 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7635
7636 More robust shell startup and code setup.
7637 * progmodes/python.el (python-shell-make-comint):
7638 Remove accept-process-output call.
7639 (python-shell-get-buffer): Return current buffer if major-mode is
7640 inferior-python-mode.
7641 (python-shell-get-or-create-process): Use it.
7642 (python-shell-send-setup-code): Send all setup code in one string,
7643 output success message and accept-process-output.
7644
7645 2014-07-27 Eli Zaretskii <eliz@gnu.org>
7646
7647 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7648 Add rudimentary support for bidirectional text.
7649
7650 2014-07-27 Martin Rudalics <rudalics@gmx.at>
7651
7652 * frame.el (frame-notice-user-settings): Rewrite using
7653 frame-initial-frame-tool-bar-height.
7654 * menu-bar.el (menu-bar-horizontal-scroll-bar)
7655 (menu-bar-no-horizontal-scroll-bar): New functions.
7656 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7657 scroll bars.
7658 * scroll-bar.el (scroll-bar-lines)
7659 (set-horizontal-scroll-bar-mode)
7660 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7661 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7662 (scroll-bar-toolkit-horizontal-scroll): New functions.
7663 (horizontal-scroll-bar-mode)
7664 (previous-horizontal-scroll-bar-mode)
7665 (horizontal-scroll-bar-mode-explicit): New variables.
7666 (horizontal-scroll-bar-mode): New option.
7667 (toggle-horizontal-scroll-bar): Do something.
7668 (top-level): Bind horizontal-scroll-bar mouse-1.
7669 * startup.el (tool-bar-originally-present): Remove variable.
7670 (command-line): Don't set tool-bar-originally-present.
7671 * window.el (window-min-height): Update doc-string.
7672 (window--dump-frame): Dump horizontal scroll bar values.
7673 (window--min-size-1): Handle minibuffer window separately.
7674 Count in margins and horizontal scroll bar. Return safe value
7675 iff IGNORE equals 'safe.
7676 (frame-windows-min-size): New function (used by frame resizing
7677 routines).
7678 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7679 scroll bars.
7680 (window--sanitize-window-sizes): New function.
7681 (window-split-min-size): Remove.
7682 (split-window): Count divider-width. Don't use
7683 `window-split-min-size' any more. Reword error messages.
7684 Sanitize windows sizes after splitting.
7685
7686 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
7687
7688 Use `defvar-local' more.
7689 * progmodes/hideshow.el
7690 (hs-c-start-regexp, hs-block-start-regexp)
7691 (hs-block-start-mdata-select, hs-block-end-regexp)
7692 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7693 remove corresponding `make-variable-buffer-local' top-level calls.
7694
7695 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7696
7697 Cleanup error signals. (Bug#18067)
7698 * progmodes/python.el
7699 (python-indent-shift-left): Use user-error instead.
7700 (python-shell-prompt-detect): Use lwarn with python group.
7701 (python-completion-complete-at-point)
7702 (python-eldoc--get-doc-at-point): Don't signal error.
7703
7704 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7705
7706 Support for packages in Python shell. (Bug#13570)
7707 * progmodes/python.el (python-shell--package-depth): New var.
7708 (python-shell-package-enable): New command.
7709 (python-util-list-directories, python-util-list-files)
7710 (python-util-list-packages): New functions.
7711
7712 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7713
7714 Faster comint output. (Bug#16875)
7715 * progmodes/python.el:
7716 (python-comint-output-filter-function): Make obsolete.
7717 (python-comint-postoutput-scroll-to-bottom): New function.
7718 (inferior-python-mode): Set comint-output-filter-functions to a
7719 minimum.
7720
7721 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7722
7723 * progmodes/python.el (python-shell-font-lock-post-command-hook):
7724 Safeguard current point and undo history.
7725
7726 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7727
7728 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
7729 * progmodes/python.el:
7730 (python-shell-prompt-input-regexps): Add iPython block prompt.
7731 (python-shell-output-syntax-table): Delete var.
7732 (python-shell-font-lock-with-font-lock-buffer): New macro.
7733 (python-shell-font-lock-get-or-create-buffer)
7734 (python-shell-font-lock-kill-buffer)
7735 (python-shell-font-lock-cleanup-buffer)
7736 (python-shell-font-lock-post-command-hook)
7737 (python-shell-font-lock-turn-off): New functions.
7738 (python-shell-font-lock-turn-on): New function.
7739 (inferior-python-mode): Use it.
7740 (python-shell-font-lock-toggle): New command.
7741 (python-shell-font-lock-enable): Rename from
7742 python-shell-enable-font-lock.
7743 (run-python-internal): Use it.
7744 (python-shell-font-lock-comint-output-filter-function): New function.
7745 (python-shell-comint-end-of-output-p): New function.
7746 (python-shell-output-filter): Use it.
7747 (python-util-comint-last-prompt): New function.
7748 (python-util-text-properties-replace-name): New function.
7749
7750 2014-07-25 Glenn Morris <rgm@gnu.org>
7751
7752 * vc/ediff-init.el (ediff-toggle-read-only-function):
7753 * vc/ediff-util.el (ediff-toggle-read-only):
7754 Replace obsolete toggle-read-only with read-only-mode.
7755
7756 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
7757
7758 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7759 with `save-match-data'. (Bug#18095)
7760
7761 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
7762
7763 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7764 order to ensure that row and col are lexically bound inside the
7765 evaluated sexp.
7766
7767 2014-07-21 Glenn Morris <rgm@gnu.org>
7768
7769 * progmodes/hideif.el (hide-ifdef-mode-submap):
7770 Also substitute read-only-mode.
7771 * bindings.el (mode-line-toggle-read-only):
7772 * bs.el (bs-toggle-readonly):
7773 * buff-menu.el (Buffer-menu-toggle-read-only):
7774 * dired.el (dired-toggle-read-only):
7775 * files.el (view-read-only, find-file-read-only)
7776 (find-file-read-only-other-window)
7777 (find-file-read-only-other-frame):
7778 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7779 Doc fixes re toggle-read-only.
7780
7781 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7782
7783 * progmodes/python.el: Add comment about pipe buffering and
7784 solutions for missing/delayed output in inferior Python shells.
7785 (Bug#17304)
7786
7787 * progmodes/python.el (python-mode): Don't set
7788 mode-require-final-newline. (Bug#17990)
7789
7790 Make python.el work with IPython automatically. (Bug#15510)
7791 * progmodes/python.el:
7792 (python-shell-completion-setup-code): New value supporting iPython.
7793 (python-shell-completion-string-code): New value supporting iPython.
7794 (python-shell-completion-get-completions): Use them.
7795 (python-shell-completion-module-string-code): Make obsolete.
7796 (python-shell-prompt-input-regexps)
7797 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7798 (python-shell-output-filter): Fix comment typo.
7799
7800 Fix Python shell prompts detection for remote hosts.
7801 * progmodes/python.el (python-shell-prompt-detect):
7802 Replace call-process with process-file and make it more robust.
7803
7804 Autodetect Python shell prompts. (Bug#17370)
7805 * progmodes/python.el:
7806 (python-shell-interpreter-interactive-arg)
7807 (python-shell-prompt-detect-enabled)
7808 (python-shell-prompt-detect-failure-warning)
7809 (python-shell-prompt-input-regexps)
7810 (python-shell-prompt-output-regexps): New vars.
7811 (python-shell-prompt-calculated-input-regexp)
7812 (python-shell-prompt-calculated-output-regexp): New vars.
7813 (python-shell-get-process-name)
7814 (python-shell-internal-get-process-name)
7815 (python-shell-output-filter)
7816 (python-shell-completion-get-completions): Use them.
7817 (python-shell-prompt-detect)
7818 (python-shell-prompt-validate-regexps): New functions.
7819 (python-shell-prompt-set-calculated-regexps): New function.
7820 (inferior-python-mode): Use it. Also honor overriden
7821 python-shell-interpreter and python-shell-interpreter-args.
7822 (python-shell-make-comint): Honor overriden
7823 python-shell-interpreter and python-shell-interpreter-args.
7824 (python-shell-get-or-create-process): Make it testable by allowing
7825 to call run-python non-interactively.
7826 (python-util-valid-regexp-p): New function.
7827 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7828 (python-shell-prompt-output-regexp)
7829 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7830
7831 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/smie.el (smie-config--guess-1): Split from
7834 smie-config--guess.
7835 (smie-config--guess): Use it.
7836
7837 * emacs-lisp/edebug.el: Use nadvice.
7838 (edebug-original-read): Remove.
7839 (edebug--read): Rename from edebug-read and add `orig' arg.
7840 (edebug-uninstall-read-eval-functions)
7841 (edebug-install-read-eval-functions): Use nadvice.
7842 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7843 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7844 (edebug-read-string, edebug-read-function): Use just `read'.
7845 (edebug-original-debug-on-entry): Remove.
7846 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7847 `orig' arg.
7848 (debug-on-entry): Override with nadvice.
7849
7850 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7851 it also makes sense to bind it to a non-mouse event.
7852
7853 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7854
7855 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7858 (bug#18015).
7859
7860 * rect.el (rectangle--string-preview): Don't assume there
7861 a non-nil default (bug#17984).
7862
7863 2014-07-16 Glenn Morris <rgm@gnu.org>
7864
7865 * desktop.el (after-init-hook): Disable startup frame restoration
7866 in non-graphical situations. (Bug#17693)
7867
7868 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7869 if it was "empty", or used for a different set of files. (Bug#17884)
7870
7871 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7872
7873 * bindings.el (mode-line-remote): If default-directory is not a
7874 string, don't call file-remote-p on it; instead state in the
7875 help-echo that it is nil. (Bug#17986)
7876
7877 2014-07-14 Daniel Colascione <dancol@dancol.org>
7878
7879 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7880 to `macroexpand-all'
7881
7882 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7883 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7884
7885 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7886
7887 Fix bug: C-x v v discarded existing log message (Bug#17884).
7888 * vc/vc-dispatcher.el (vc-log-edit):
7889 Don't clobber an already-existing log message.
7890
7891 2014-07-12 Glenn Morris <rgm@gnu.org>
7892
7893 * vc/log-edit.el (log-edit-changelog-entries):
7894 Check for a visited-but-never-saved ChangeLog.
7895
7896 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7899 a non-existing file (bug#17970).
7900
7901 * faces.el (face-name): Undo last change.
7902 (x-resolve-font-name): Don't call face-name (bug#17956).
7903
7904 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7905
7906 Fix dedenters and electric colon handling. (Bug#15163)
7907 * progmodes/python.el
7908 (python-rx-constituents): Add dedenter and block-ender.
7909 (python-indent-dedenters, python-indent-block-enders): Delete.
7910 (python-indent-context): Return new case for dedenter-statement.
7911 (python-indent-calculate-indentation): Handle new case.
7912 (python-indent-calculate-levels): Fix levels calculation for
7913 dedenter statements.
7914 (python-indent-post-self-insert-function): Fix colon handling.
7915 (python-info-dedenter-opening-block-message): New function.
7916 (python-indent-line): Use it.
7917 (python-info-closing-block)
7918 (python-info-closing-block-message): Remove.
7919 (python-info-dedenter-opening-block-position)
7920 (python-info-dedenter-opening-block-positions)
7921 (python-info-dedenter-statement-p): New functions.
7922
7923 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
7924
7925 * files.el (out-of-memory-warning-percentage): New defcustom.
7926 (warn-maybe-out-of-memory): Use it.
7927
7928 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
7929
7930 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
7931 when calling `read-string'. (Bug#17839)
7932
7933 2014-07-10 Eli Zaretskii <eliz@gnu.org>
7934
7935 * files.el (warn-maybe-out-of-memory): Fix the wording of the
7936 warning.
7937
7938 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
7939
7940 * files.el (warn-maybe-out-of-memory): New function.
7941 (find-file-noselect): Use it.
7942
7943 2014-07-09 Sam Steingold <sds@gnu.org>
7944
7945 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7946 `constant' like `bless', `return' &c
7947
7948 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * rect.el (apply-on-rectangle): Check forward-line really moved to the
7951 next line.
7952
7953 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7956 the middle of a line (bug#17896).
7957
7958 2014-07-09 Juri Linkov <juri@jurta.org>
7959
7960 * startup.el (command-line): Append displaying the warning about
7961 the errors in the init file to the end of `after-init-hook'.
7962 (Bug#17927)
7963
7964 * faces.el (face-name): Return input arg `face' as-is
7965 when it's not a symbol.
7966 (x-resolve-font-name): Don't check if the face is a symbol.
7967 (Bug#17956)
7968
7969 * facemenu.el (list-colors-print): In help-echo format use %.2f
7970 instead of %d because now HSV values are floating-point components
7971 between 0.0 and 1.0.
7972
7973 2014-07-09 Glenn Morris <rgm@gnu.org>
7974
7975 * emulation/cua-rect.el (cua--activate-rectangle):
7976 Avoid setting cua--rectangle to nil. (Bug#17877)
7977
7978 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7979
7980 * calendar/todo-mode.el: Fix wrong-type-argument error when
7981 marking multiple consecutive items.
7982 (todo-toggle-mark-item): Don't try to mark the empty lines at the
7983 end of the todo and done items sections. Note in doc string that
7984 items marked by passing a numeric prefix argument can include the
7985 last todo and first done items.
7986 (todo-mark-category): Don't try to mark the empty line between the
7987 todo and done items sections.
7988
7989 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7992 proper Lisp quoting (bug#17934).
7993
7994 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
7995 require-final-newline since prog-mode already took care of it (bug#17947).
7996
7997 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7998
7999 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8000 refer to the Todo mode Info manual. Update the comment on
8001 requiring cl-lib.
8002 (todo-find-filtered-items-file): Add todo-prefix overlays.
8003 (todo-filter-items): Reorder a let-bound variable to avoid a
8004 wrong-type-argument error on canceling the file choice dialog.
8005
8006 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * progmodes/octave.el (inferior-octave-mode):
8009 Set comint-input-ring-size to a number (bug#17912).
8010
8011 2014-07-09 Juri Linkov <juri@jurta.org>
8012
8013 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8014 and `isearch-mode' associated with nil. (Bug#17849)
8015
8016 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * linum.el (linum--face-height): New function (bug#17813).
8019 (linum-update-window): Use it to adjust margin to linum's width.
8020
8021 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8022 * eshell/em-smart.el (eshell-smart-scroll-window):
8023 Use with-selected-window.
8024
8025 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8026 Remove also pointless window&mark manipulation.
8027
8028 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8029 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8030 (perl-continuation-line-p): Don't skip over anything else than labels.
8031 Return the previous char.
8032 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8033 and update callers accordingly. For continuation lines, check the
8034 the case of array hashes.
8035 (perl-backward-to-noncomment): Make it non-interactive.
8036 (perl-backward-to-start-of-continued-exp): Rewrite.
8037
8038 2014-07-08 Sam Steingold <sds@gnu.org>
8039
8040 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8041 New user commands.
8042
8043 2014-07-08 Juri Linkov <juri@jurta.org>
8044
8045 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8046 (vc-annotate-color-map): Use less saturated colors (20%) for
8047 background-mode.
8048 (vc-annotate-very-old-color): Add default value for background-mode.
8049 (vc-annotate-background): Set default value to nil since now text on
8050 the default backgrounds should be legible in light and dark modes.
8051 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8052 (Bug#17808)
8053
8054 2014-07-08 Juri Linkov <juri@jurta.org>
8055
8056 * simple.el (transpose-chars): Don't move point into read-only area.
8057 (Bug#17829)
8058
8059 2014-07-08 Juri Linkov <juri@jurta.org>
8060
8061 * window.el (with-displayed-buffer-window): New macro.
8062 (with-temp-buffer-window, with-current-buffer-window):
8063 Use `macroexp-let2' to evaluate and bind variables
8064 in the same order as macro arguments.
8065 (display-buffer--action-function-custom-type):
8066 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8067
8068 * minibuffer.el (minibuffer-completion-help): Replace
8069 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8070 with actions that display *Completions* at-bottom when called
8071 from the minibuffer, or below-selected in a normal buffer.
8072 Associate `window-height' with `fit-window-to-buffer'.
8073 Let-bind `pop-up-windows' to nil.
8074
8075 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8076 instead of `with-current-buffer-window'. (Bug#17809)
8077
8078 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8079
8080 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8081 (hide-ifdef-env-backup): New variable.
8082 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8083 New customizable variables.
8084 (hif-clear-all-ifdef-defined): New defun.
8085 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8086 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8087 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8088 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8089 Fix bug to hide the correct #elif region(s).
8090 (hif-range-elif): New defun.
8091 (hif-recurse-level): New var.
8092 (hif-evaluate-region, hif-evaluate-macro): New defun.
8093 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8094 fully hidden.
8095 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8096 Better interaction.
8097
8098 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8099
8100 * net/dbus.el (dbus-peer-handler): New defun.
8101 (dbus-register-service): Register it. (Bug#17858)
8102 (dbus-managed-objects-handler): Fix docstring.
8103
8104 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8105
8106 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8107 (narrow-to-defun): New arg include-comments, defaulting to it
8108 (bug#16328).
8109
8110 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8113 different calling convention to rectangle--unhighlight-for-redisplay.
8114
8115 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8116
8117 * net/tramp.el (tramp-call-process): Handle error strings.
8118
8119 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8120
8121 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8122 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8123
8124 * net/trampver.el: Update release number.
8125
8126 2014-07-03 Juri Linkov <juri@jurta.org>
8127
8128 * desktop.el (desktop-save): Rename arg `auto-save' to
8129 `only-if-changed'. Doc fix. (Bug#17873)
8130
8131 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8134 Use insert-for-yank (bug#17271).
8135
8136 2014-07-03 Leo Liu <sdl.web@gmail.com>
8137
8138 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8139 Support lexical-binding.
8140
8141 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * vc/log-edit.el (log-edit-goto-eoh): New function.
8144 (log-edit--match-first-line): Use it (bug#17861).
8145
8146 2014-07-03 Glenn Morris <rgm@gnu.org>
8147
8148 * vc/log-edit.el (log-edit-hook): Add missing :version.
8149
8150 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8151
8152 * progmodes/python.el (python-indent-post-self-insert-function):
8153 Enhancements to electric indentation behavior inside
8154 parens. (Bug#17658)
8155
8156 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8159 buffer-invisibility-spec (bug#17867).
8160
8161 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8162
8163 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8164 pass "-a".
8165
8166 2014-07-03 Glenn Morris <rgm@gnu.org>
8167
8168 * cus-edit.el (help):
8169 * finder.el (finder-known-keywords):
8170 * help.el (help-for-help-internal):
8171 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8172 (ediff-redraw-registry-buffer):
8173 * vc/ediff-ptch.el (ediff-patch-file-internal):
8174 Doc fixes re "online" help. (Bug#17803)
8175
8176 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8177 (idlwave-mode): Doc URL update.
8178
8179 2014-07-01 Juri Linkov <juri@jurta.org>
8180
8181 * man.el: Display man pages immediately and use process-filter
8182 to format them asynchronously.
8183 (Man-width): Doc fix.
8184 (man): Doc fix.
8185 (Man-start-calling): Use `with-selected-window' to get
8186 `frame-width' and `window-width'.
8187 (Man-getpage-in-background): Call `Man-notify-when-ready'
8188 immediately after creating a new buffer. Call `Man-mode' and set
8189 `mode-line-process' in the created buffer. Set process-filter to
8190 `Man-bgproc-filter' in start-process branch. In call-process branch
8191 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8192 Use `Man-start-calling' inside `with-current-buffer'.
8193 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8194 (Man-cleanup-manpage): Don't print messages.
8195 (Man-bgproc-filter): New function.
8196 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8197 user moved it during asynchronous formatting. Move calls of
8198 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8199 `Man-bgproc-filter'. Move the call of `Man-mode' to
8200 `Man-getpage-in-background'. Use `quit-restore-window'
8201 instead of `kill-buffer'. Use `message' instead of `error'
8202 because errors are caught by process sentinel.
8203 (Man-mode): Move calls of `Man-build-page-list',
8204 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8205 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8206
8207 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8208 for the message about the man page cleaned up.
8209
8210 2014-07-01 Mario Lang <mlang@delysid.org>
8211
8212 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8213 cosutomization option `gnutls-verify-error'.
8214
8215 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8218 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8219
8220 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8221 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8222 is suspended (bug#17857).
8223
8224 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8225
8226 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8227 Prefer utf-8 coding. (Bug#17859)
8228
8229 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8230
8231 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8232 for `reverse'.
8233
8234 2014-06-30 Glenn Morris <rgm@gnu.org>
8235
8236 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8237 (autoload-ensure-default-file): Maybe make existing output writable.
8238 * Makefile.in (AUTOGEN_VCS): Remove.
8239 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8240
8241 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8242
8243 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8244
8245 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8246
8247 New if-let, when-let, thread-first and thread-last macros.
8248
8249 * emacs-lisp/subr-x.el
8250 (internal--listify, internal--check-binding)
8251 (internal--build-binding-value-form, internal--build-binding)
8252 (internal--build-bindings): New functions.
8253 (internal--thread-argument, thread-first, thread-last)
8254 (if-let, when-let): New macros.
8255
8256 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8257
8258 * net/rcirc.el (rcirc-buffer-process): Restore previous
8259 behaviour. (Bug#17772)
8260
8261 2014-06-29 Alan Mackenzie <acm@muc.de>
8262
8263 Don't call c-parse-state when c++-template-syntax-table is active.
8264 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8265 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8266 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8267
8268 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8269
8270 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8271 account for file-wide setting of todo-top-priorities-overrides.
8272 Make code a bit cleaner.
8273
8274 2014-06-28 Glenn Morris <rgm@gnu.org>
8275
8276 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8277
8278 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8279
8280 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8281 category-wide setting of todo-top-priorities-overrides, check for
8282 a file-wide setting and fontify accordingly.
8283
8284 2014-06-28 Glenn Morris <rgm@gnu.org>
8285
8286 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8287
8288 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8291
8292 2014-06-28 K. Handa <handa@gnu.org>
8293
8294 Fix Bug#17739.
8295
8296 * composite.el: Setup composition-function-table for dotted circle.
8297 (compose-gstring-for-dotted-circle): New function.
8298
8299 * international/characters.el: Add category "^" to all
8300 non-spacing characters.
8301
8302 2014-06-28 Glenn Morris <rgm@gnu.org>
8303
8304 * Makefile.in (doit): Remove force rule.
8305 (custom-deps, finder-data, autoloads, update-subdirs)
8306 (compile-one-process): PHONY targets do not need force rules.
8307
8308 * Makefile.in (compile-main, compile, compile-always):
8309 No need to explicitly pass variables to ourself in recursive calls.
8310
8311 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8314
8315 2014-06-26 Glenn Morris <rgm@gnu.org>
8316
8317 * Makefile.in (update-authors): Update for moved authors.el.
8318
8319 2014-06-26 Leo Liu <sdl.web@gmail.com>
8320
8321 * skeleton.el (skeleton-end-hook): Default to nil and move the
8322 work to skeleton-insert. (Bug#17850)
8323
8324 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8325
8326 * calc/calc-alg.el (math-beforep):
8327 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8328 Simplify because string-lessp can accept symbols as args.
8329
8330 2014-06-26 Daiki Ueno <ueno@gnu.org>
8331
8332 * emacs-lisp/package.el (package--check-signature):
8333 If package-check-signature is allow-unsigned, don't signal error when
8334 we can't verify signature because of missing public key
8335 (bug#17625).
8336
8337 2014-06-26 Glenn Morris <rgm@gnu.org>
8338
8339 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8340 Remove outdated declaration.
8341
8342 * emacs-lisp/authors.el (authors-valid-file-names)
8343 (authors-renamed-files-alist): Additions.
8344
8345 2014-06-26 Leo Liu <sdl.web@gmail.com>
8346
8347 * textmodes/picture.el (picture-set-tab-stops):
8348 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8349 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8350
8351 * progmodes/asm-mode.el (asm-calculate-indentation):
8352 Use indent-next-tab-stop.
8353
8354 * indent.el (indent-accumulate-tab-stops): New function.
8355
8356 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8359 (package-desc-status): Obey it.
8360
8361 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8362
8363 * calendar/todo-mode.el: Fix two bugs.
8364 (todo-insert-item--basic): If user cancels item insertion to
8365 another category before setting priority, show original category
8366 whether it is in the same or a different file.
8367 (todo-set-item-priority): After selecting category, instead of
8368 moving point to top, which extends an active region, restore it.
8369
8370 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * help-fns.el (describe-function-1): Check file-name is a string before
8373 calling help-fns--autoloaded-p (bug#17564).
8374
8375 2014-06-26 Juri Linkov <juri@jurta.org>
8376
8377 * desktop.el (desktop-auto-save-enable)
8378 (desktop-auto-save-disable): New functions.
8379 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8380 (desktop-read): Disable the autosave before loading the desktop,
8381 and enable afterwards. (Bug#17351)
8382
8383 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 Fix some indentation problem with \; and pipes (bug#17842).
8386 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8387 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8388 New functions.
8389 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8390 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8391 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8392
8393 2014-06-26 Glenn Morris <rgm@gnu.org>
8394
8395 * emacs-lisp/find-func.el (find-function-C-source-directory):
8396 Use file-accessible-directory-p.
8397
8398 * ps-samp.el: Make it slightly less awful.
8399 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8400 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8401 Only set local values.
8402 (ps-article-subject, ps-article-author): Use standard functions
8403 like mail-fetch-field.
8404 (ps-info-file, ps-info-node): Use match-string.
8405 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8406 (ps-samp-ps-setup): ... new function.
8407
8408 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8409 Optimize away code unneeded on any modern Emacs.
8410
8411 * emacs-lisp/authors.el: Move to ../admin.
8412
8413 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8414
8415 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8416
8417 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8418 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8419 performance enhancements.
8420 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8421 expansion.
8422 (hif-factor, hif-string-concatenation, intern-safe): Support string
8423 concatenation and argumented macro expansion.
8424 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8425 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8426 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8427 (hif-canonicalize-tokens, hif-place-macro-invocation)
8428 (hif-parse-macro-arglist): Mostly new functions for supporting
8429 argumented macro expansion.
8430 (hif-string-concatenation, hif-stringify, hif-token-concat)
8431 (hif-token-stringification, hif-token-concatenation):
8432 Stringification and concatenation.
8433 (hif-find-next-relevant): Fix comments.
8434 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8435 some cases involving #elif.
8436 (hif-find-define, hif-add-new-defines): New functions for automatically
8437 scanning of defined symbols.
8438 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8439 (hide-ifdef-undef): Fix behavior to match CPP.
8440
8441 2014-06-25 Glenn Morris <rgm@gnu.org>
8442
8443 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8444 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8445 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8446 files. They are not relevant to the original issue (bug#1004),
8447 and cause unnecessary recompilation (bug#2151).
8448
8449 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8452 (landmark--last-pos): New var.
8453 (landmark--intangible-chars): New const.
8454 (landmark--intangible): New function.
8455 (landmark-mode, landmark-move): Use it.
8456 (landmark-mode): Remove properties.
8457 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8458 (landmark-cross-qtuple):
8459 Don't worry about `intangible' any more.
8460 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8461 (landmark-init-display): Don't set `intangible' and `point-entered'.
8462 (square): Remove. Inline it instead.
8463 (landmark--distance): Rename from `distance'.
8464 (landmark-calc-distance-of-robot-from): Rename from
8465 calc-distance-of-robot-from.
8466 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8467
8468 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8469
8470 * files.el (dir-locals-find-file, file-relative-name):
8471 * info.el (Info-complete-menu-item):
8472 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8473 to compare-strings to avoid out-of-range errors.
8474 * subr.el (string-prefix-p): Adjust to match strict range
8475 checking in compare-strings.
8476
8477 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8478
8479 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8480 for comment lines non-greedy and stopping at newlines to fix stack
8481 overflows with large files.
8482
8483 2014-06-24 Eli Barzilay <eli@barzilay.org>
8484
8485 * calculator.el (calculator-last-input): Drop 'ascii-character property
8486 lookup.
8487
8488 2014-06-24 Leo Liu <sdl.web@gmail.com>
8489
8490 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8491 tab-stop-list to nil. (Bug#16381)
8492
8493 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8494 (indent-rigidly-left-to-tab-stop)
8495 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8496 (move-to-tab-stop): Change callers.
8497
8498 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8499
8500 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8501 wrt behavior of \n as the first/last element of a skeleton.
8502
8503 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8504
8505 * net/tramp-adb.el (tramp-adb-handle-process-file):
8506 * net/tramp-sh.el (tramp-sh-handle-process-file):
8507 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8508 the output buffer when DISPLAY is non-nil. (Bug#17815)
8509
8510 2014-06-24 Glenn Morris <rgm@gnu.org>
8511
8512 * play/landmark.el (landmark-move-down, landmark-move-up):
8513 Fix 2007-10-20 change - preserve horizontal position.
8514
8515 2014-06-23 Sam Steingold <sds@gnu.org>
8516
8517 * simple.el (kill-append): Remove undo boundary depending on ...
8518 (kill-append-merge-undo): New user option.
8519
8520 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * simple.el (handle-shift-selection, exchange-point-and-mark)
8523 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8524 (transient-mark-mode): Use&set the global value.
8525 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8526 * emulation/edt.el (edt-emulation-off): Save&restore the global
8527 transient-mark-mode setting.
8528 * obsolete/pc-select.el (pc-selection-mode): Use the
8529 transient-mark-mode function.
8530
8531 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8532
8533 * international/fontset.el (script-representative-chars):
8534 Add representative characters for scripts added in Unicode 7.0.
8535 (otf-script-alist): Synchronize with the latest registry of OTF
8536 script tags.
8537
8538 * international/characters.el (char-script-table): Update for
8539 scripts added and codepoint ranges changed in Unicode 7.0.
8540
8541 2014-06-23 Eli Barzilay <eli@barzilay.org>
8542
8543 * calculator.el (calculator-standard-displayer): Fix bug in use of
8544 `calculator-groupize-number'.
8545 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8546 `eval' code, so it works in v24.3.1 too.
8547 (calculator-last-input): Comment to clarify purpose.
8548
8549 2014-06-22 Mario Lang <mlang@delysid.org>
8550
8551 * textmodes/rst.el (rst-comment-region): From from -> from.
8552
8553 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8554
8555 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8556
8557 * electric.el (electric-layout-post-self-insert-function):
8558 * emacs-lisp/ert.el (ert--insert-infos):
8559 * obsolete/vi.el (vi-set-mark):
8560 * term.el (term-handle-scroll):
8561 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8562 * wid-edit.el (widget-editable-list-value-create):
8563 Prefer point-marker to copy-marker of point.
8564
8565 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8566
8567 Fix completion retrieval parsing (bug#17209).
8568 * progmodes/python.el (python-mode):
8569 (python-util-strip-string): New function.
8570 (python-shell-completion-get-completions): Use it.
8571
8572 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8573
8574 * skeleton.el (skeleton-insert): Fix last change.
8575
8576 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8577
8578 Enhancements for outline integration (bug#17796).
8579 * progmodes/python.el (python-mode): Properly set
8580 outline-heading-end-regexp so that comments after colons for
8581 defuns are supported.
8582
8583 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8584
8585 * skeleton.el (skeleton-insert): Doc fix.
8586
8587 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8590 (smie-config-guess): Use smie-config-local so the rules are obeyed
8591 (bug#17818).
8592
8593 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8594 since it's already done inside the loop (bug#17819).
8595
8596 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8597
8598 * mouse.el (mouse-drag-line): Re-remove code initially removed
8599 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8600 (Bug#17819).
8601
8602 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8603
8604 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8605 align with the surrounding parent (bug#17721).
8606
8607 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8608
8609 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8610 locally to nil.
8611 (texinfo-insert-block, texinfo-insert-@end)
8612 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8613 local setting of skeleton-end-newline by adding an explicit \n to
8614 the skeletons where appropriate. (Bug#17801)
8615
8616 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8619 (smie-indent--hanging-p): Use it.
8620 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8621
8622 2014-06-21 Leo Liu <sdl.web@gmail.com>
8623
8624 * simple.el (read-quoted-char): Don't let help chars pop up help
8625 buffer. (Bug#16617)
8626
8627 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8630 for | (bug#17621).
8631
8632 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8633 Drop unknown events instead of burping.
8634
8635 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8636
8637 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8638 and later. (Bug#17790)
8639
8640 2014-06-21 Juri Linkov <juri@jurta.org>
8641
8642 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8643 to `soft'. (Bug#17554)
8644
8645 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8648 (bug#17737).
8649
8650 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
8651
8652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8653 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
8654
8655 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
8656
8657 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8658 `unread-command-events'.
8659
8660 2014-06-19 William Xu <william.xwl@gmail.com>
8661
8662 * progmodes/hideif.el (hif-string-to-number): Don't return float for
8663 hex integer constants (bug#17807).
8664
8665 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * international/mule-util.el (truncate-string-ellipsis): New var.
8668 (truncate-string-to-width): Use it.
8669
8670 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
8671
8672 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8673 (lisp-string-in-doc-position-p): New function, extracted from
8674 lisp-font-lock-syntactic-face-function.
8675 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8676
8677 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
8678
8679 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
8680
8681 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8684 (bubbles--game-over): Don't add `intangible' properties since they
8685 didn't work anyway.
8686
8687 2014-06-18 Juri Linkov <juri@jurta.org>
8688
8689 * vc/ediff-init.el (ediff-current-diff-Ancestor)
8690 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8691 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8692 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8693 Add `min-colors 88' version with removed black/white foregrounds.
8694 (Bug#10181)
8695
8696 2014-06-18 Juri Linkov <juri@jurta.org>
8697
8698 * vc/diff-mode.el (diff-changed): Empty face definition to use
8699 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
8700 (diff-context): Use darker color on light background and
8701 lighter color on dark background.
8702
8703 2014-06-18 Juri Linkov <juri@jurta.org>
8704
8705 * vc/diff-mode.el (diff-refine-changed): Rename from
8706 `diff-refine-change' for consistency with `diff-changed'.
8707 (diff-refine-change): Add obsolete face alias. (Bug#10181)
8708
8709 * vc/smerge-mode.el (smerge-refined-changed): Rename from
8710 `smerge-refined-change'.
8711 (smerge-refined-change): Add obsolete face alias.
8712
8713 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * rect.el (rectangle-preview): New custom.
8716 (rectangle): New group.
8717 (rectangle--pos-cols): Add `window' argument.
8718 (rectangle--string-preview-state, rectangle--string-preview-window):
8719 New vars.
8720 (rectangle--string-flush-preview, rectangle--string-erase-preview)
8721 (rectangle--space-to, rectangle--string-preview): New functions.
8722 (string-rectangle): Use them.
8723 (rectangle--inhibit-region-highlight): New var.
8724 (rectangle--highlight-for-redisplay): Obey it. Make sure
8725 `apply-on-region' uses the point-crutches of the right window.
8726 Use :align-to rather than multiple spaces.
8727
8728 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
8729
8730 * ruler-mode.el (ruler-mode-window-col)
8731 (ruler-mode-mouse-set-left-margin)
8732 (ruler-mode-mouse-set-right-margin): Fix calculation of column
8733 from mouse position (Bug#17768).
8734
8735 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
8736
8737 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8738 without varname or rhs causes crash.
8739 (dun-ftp): Fix bug where blank ftp password is allowed, making it
8740 impossible to win endgame.
8741 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8742 rlogin is anymore.
8743 (dun-help): Bump version number; update contact info.
8744
8745 2014-06-15 Eli Barzilay <eli@barzilay.org>
8746
8747 * calculator.el (calculator-prompt, calculator-remove-zeros)
8748 (calculator-mode-hook, calculator-operators, calculator-stack)
8749 (calculator-mode): Tweak docstring.
8750 (calculator-user-operators): Tweak docstring, fix a bug in the last
8751 example.
8752 (calculator-displayer): `std' case has an optional boolean.
8753 (calculator-displayers): Use the new boolean to group in decimal mode.
8754 (calculator-mode-map, calculator, calculator-message)
8755 (calculator-op-arity, calculator-add-operators)
8756 (calculator-string-to-number, calculator-displayer-prev)
8757 (calculator-displayer-next, calculator-remove-zeros)
8758 (calculator-eng-display, calculator-number-to-string)
8759 (calculator-update-display, calculator-last-input)
8760 (calculator-clear-fragile, calculator-digit, calculator-decimal)
8761 (calculator-exp, calculator-saved-move, calculator-clear)
8762 (calculator-copy, calculator-put-value, calculator-help)
8763 (calculator-expt, calculator-truncate): Minor code improvements.
8764 (calculator-need-3-lines): New function pulling out code from
8765 `calculator'.
8766 (calculator-get-display): Rename from `calculator-get-prompt', and
8767 improved.
8768 (calculator-push-curnum): Rename from `calculator-curnum-value', and
8769 extended for all uses of it. All callers changed.
8770 (calculator-groupize-number): New utility for splitting a number into
8771 groups.
8772 (calculator-standard-displayer): Improve code, new optional argument to
8773 use comma-split groups, make second argument optional too to use with
8774 'left/'right inputs. All callers changed.
8775 (calculator-reduce-stack-once): New utility, doing the meat of what
8776 `calculator-reduce-stack' used to do, much improved (mostly using
8777 `pcase' for conciseness and clarity).
8778 (calculator-reduce-stack): Now doing just the reduction loop using
8779 `calculator-reduce-stack-once'.
8780 (calculator-funcall): Improve code, make it work in v24.3.1 too.
8781 (calculator-last-input): Improve code, remove some old cruft.
8782 (calculator-quit): Kill `calculator-buffer' in electric mode too.
8783 (calculator-integer-p): Remove.
8784 (calculator-fact): Improve code, make it work on non-integer values
8785 too (using truncated numbers).
8786
8787 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
8788
8789 Sync with Tramp 2.2.10.
8790
8791 * net/tramp.el (tramp-methods): Tweak docstring.
8792 (tramp-handle-file-accessible-directory-p): Check for
8793 `file-readable-p' instead of `file-executable-p'.
8794 (tramp-check-cached-permissions):
8795 Use `tramp-compat-file-attributes'.
8796 (tramp-call-process): Add new argument VEC. Adapt callees in all
8797 tramp*.el files.
8798
8799 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8800 (tramp-adb-maybe-open-connection): Don't set
8801 `tramp-current-*' variables.
8802
8803 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8804 file properties of temporary buffers.
8805
8806 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8807
8808 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8809 (tramp-gvfs-handle-delete-file): Flush file
8810 properties, not directory properties.
8811 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8812 reading "unix::mode".
8813 (tramp-gvfs-handle-file-name-all-completions):
8814 Use "-h" option for "gvfs-ls".
8815 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8816 (tramp-gvfs-send-command): Simplify traces.
8817
8818 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8819 (vc-git-program, vc-hg-program): Declare.
8820 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
8821 (tramp-methods) <nc>: Add new method.
8822 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8823 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8824 `tramp-login-args'.
8825 (tramp-default-user-alist): Add "nc".
8826 (top): Remove completion function for "sftp". Add completion
8827 functions for "nc" and "psftp".
8828 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8829 Implement support for "nc" method.
8830 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8831 (tramp-remote-coding-commands, tramp-call-local-coding-command):
8832 Tweak docstring.
8833 (tramp-sh-handle-write-region): Tweak error message.
8834 (tramp-sh-handle-vc-registered): Remove backends when the remote
8835 binary does not exist.
8836 (tramp-find-inline-encoding): Do not raise an error.
8837 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
8838 the "nc" case. Quote result also locally.
8839
8840 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8841 (tramp-smb-handle-set-file-acl): Use `start-process'.
8842 (tramp-smb-handle-insert-directory): Use progress reporter.
8843 (tramp-smb-handle-rename-file): Flush also file properties of
8844 FILENAME.
8845
8846 * net/trampver.el: Update release number.
8847
8848 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8851 add-to-list.
8852 (ses-localvars): Remove ses--local-printer-list, unused.
8853 (ses--metaprogramming): New macro. Use it to defvar variables.
8854 (ses-set-localvars): Simplify.
8855 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8856 property-list into an alist.
8857 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8858 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8859 Remove; use defstruct accessors/setters instead.
8860 (ses-cell-formula-aset, ses-cell-printer-aset)
8861 (ses-cell-references-aset): Remove, use setf instead.
8862 (ses--alist-get): New function.
8863 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8864 Use an alist instead of a plist and don't do move-to-front since the
8865 list is always short.
8866 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8867 (ses-cell-property-set-fun, ses-cell-property-set)
8868 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8869 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8870 (ses--letref): New macro.
8871 (ses-cell-property-pop): Rewrite.
8872 (ses--cell): Rename from ses-cell and make it into a function.
8873 Make `formula' fallback on `value' if nil.
8874 (ses--local-printer): Rename from ses-local-printer and make it into
8875 a function.
8876 (ses-set-cell): Turn it into a macro so finding the accessor from the
8877 field name is done at compile time.
8878 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8879 `ref' before adding `sym' to :ses-repair-reference.
8880 (ses-calculate-cell): Use ses--letref rather than
8881 ses-cell-property-get-handle.
8882 (ses-write-cells): Use a single prin1-to-string.
8883 (ses-setter-with-undo): New function.
8884 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8885 (ses-unset-with-undo): Remove.
8886 (ses-load): Prefer apply' over `eval'.
8887 (ses-read-printer, ses-set-column-width): Use standard "(default
8888 foo)" format.
8889
8890 2014-06-15 Glenn Morris <rgm@gnu.org>
8891
8892 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8893
8894 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8895 Replace delete-duplicates and mapcan by cl- versions throughout.
8896 And cl-macroexpand-all by macroexpand-all.
8897 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8898
8899 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8900
8901 * subr.el (posn-col-row): Doc fix. (Bug#17768)
8902
8903 2014-06-15 Juri Linkov <juri@jurta.org>
8904
8905 * bindings.el: Put `ascii-character' property on keypad keys
8906 mapped to characters. (Bug#17759)
8907
8908 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8911 bumping forward into a closing paren (bug#17761).
8912
8913 * term/xterm.el (xterm--version-handler): Work around for OSX
8914 Terminal.app (bug#17607).
8915
8916 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
8917
8918 * play/dunnet.el (dun-describe-room, dun-mode):
8919 If a lamp is in the room, you won't be eaten by a grue.
8920
8921 2014-06-13 Glenn Morris <rgm@gnu.org>
8922
8923 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8924 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8925 (compile-always): GNU make automatically passes
8926 command-line arguments to sub-makes.
8927
8928 * calendar/calendar.el (calendar-generate-window):
8929 Remove pointless call to font-lock-fontify-buffer.
8930
8931 2014-06-13 Matthias Meulien <orontee@gmail.com>
8932
8933 * simple.el (completion-list-mode-map): Navigate with tab and backtab
8934 (bug#17767).
8935
8936 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * simple.el (set-mark-command): Simplify a bit.
8939
8940 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8941
8942 * help.el (help--key-binding-keymap): New function.
8943 (help--binding-locus): New function.
8944 (describe-key): Mention the keymap in which the binding was
8945 found. (bug#13948)
8946
8947 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * hippie-exp.el (he--all-buffers): New function.
8950 (try-expand-line-all-buffers, try-expand-list-all-buffers)
8951 (try-expand-dabbrev-all-buffers): Use it.
8952
8953 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8954
8955 * hippie-exp.el (try-expand-line-all-buffers)
8956 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8957 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8958 original buffer, in case they're buffer-local.
8959
8960 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
8961
8962 * ses.el (ses-initial-global-parameters-re): New defconst, a
8963 specific regexp is needed now that ses.el can handle both
8964 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8965 local printers.
8966 (ses-localvars): Add local variables needed for local printer handling.
8967 (ses-set-localvars): Handle hashmap initialisation.
8968 (ses-paramlines-plist): Add param-line for number of local printers.
8969 (ses-paramfmt-plist): New defconst, needed for code factorization
8970 between functions `ses-set-parameter' and
8971 `ses-file-format-extend-paramter-list'
8972 (ses-make-local-printer-info): New defsubst.
8973 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8974 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8975 (ses-cell-printer-aset): New defmacro.
8976 (ses-local-printer-compile): New defun.
8977 (ses-local-printer): New defmacro.
8978 (ses-printer-validate, ses-call-printer): Add support for local
8979 printer functions.
8980 (ses-file-format-extend-paramter-list): New defun.
8981 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8982 factorization.
8983 (ses-load): Add support for local printer functions.
8984 (ses-read-printer): Update docstring and add support for local printer
8985 functions.
8986 (ses-refresh-local-printer, ses-define-local-printer): New defun.
8987 (ses-safe-printer): Add support for local printer functions.
8988
8989 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
8990
8991 * ffap.el (ffap-lax-url): New var (bug#17723).
8992 (ffap-url-at-point): Use it.
8993 (ffap-file-at-point): Avoid returning just "/".
8994
8995 2014-06-12 Matthias Meulien <orontee@gmail.com>
8996
8997 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
8998 (python-mode-map): Bind it.
8999
9000 * progmodes/python.el (class skeleton): Don't erase last char of class
9001 name (bug#17683).
9002
9003 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9004
9005 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9006
9007 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9008
9009 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9010 (bug#17745).
9011
9012 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * international/mule-cmds.el: Use lexical-binding.
9015 (ucs-names): Simplify.
9016
9017 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9018
9019 * progmodes/python.el (run-python): Use read-shell-command.
9020
9021 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * rect.el: Make it possible to move bounds past EOL or into TABs.
9024 (operate-on-rectangle): Use apply-on-rectangle.
9025 (rectangle--mark-crutches): New var.
9026 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9027 (rectangle--crutches, rectangle--reset-crutches): New functions.
9028 (apply-on-rectangle): Obey crutches. Avoid setq.
9029 Fix missing final iteration if end is at EOB&BOL.
9030 (rectangle-mark-mode-map): Add remap bindings for
9031 exchange-point-and-mark and char/line movements.
9032 (rectangle--*-char): New function.
9033 (rectangle-exchange-point-and-mark, rectangle-right-char)
9034 (rectangle-left-char, rectangle-forward-char)
9035 (rectangle-backward-char, rectangle-next-line)
9036 (rectangle-previous-line): New commands.
9037 (rectangle--place-cursor): New function.
9038 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9039
9040 2014-06-08 Glenn Morris <rgm@gnu.org>
9041
9042 * startup.el (initial-buffer-choice): Doc fix.
9043 Reset :version (adding an option does not merit a :version bump).
9044
9045 * bookmark.el (bookmark-load):
9046 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9047
9048 2014-06-08 Juri Linkov <juri@jurta.org>
9049
9050 * desktop.el: Activate auto-saving on window configuration changes.
9051 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9052 `desktop-auto-save-set-timer' to/from
9053 `window-configuration-change-hook'.
9054 (desktop-auto-save-set-timer): Change REPEAT arg of
9055 `run-with-idle-timer' from t to nil.
9056 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9057
9058 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9059
9060 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9061 vc-hg-command (bug#17570).
9062
9063 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9066 (bug#17702).
9067
9068 2014-06-08 Glenn Morris <rgm@gnu.org>
9069
9070 * startup.el (window-setup-hook): Doc fix.
9071
9072 * emacs-lisp/package.el (package-check-signature)
9073 (package-unsigned-archives): Doc fixes.
9074
9075 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9076
9077 * window.el (display-buffer-use-some-window): Don't make window
9078 used smaller than it was before (Bug#17671).
9079
9080 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9081
9082 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9083 'redisplay' instead of '(sit-for 0)'.
9084
9085 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9086
9087 * net/tramp.el (tramp-ssh-controlmaster-options):
9088 Improve search regexp. (Bug#17653)
9089
9090 2014-06-08 Glenn Morris <rgm@gnu.org>
9091
9092 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9093
9094 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9095
9096 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9097
9098 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9099
9100 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9101 (bug#17586).
9102
9103 * vc/vc-hg.el (vc-hg-log-graph): New var.
9104 (vc-hg-print-log): Use it.
9105 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9106 graph output (bug#17515).
9107
9108 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9111 even happened elsewhere.
9112
9113 2014-06-06 Mario Lang <mlang@delysid.org>
9114
9115 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9116 `recenter' if `current-buffer' is equal to `window-buffer'.
9117
9118 2014-06-05 Leo Liu <sdl.web@gmail.com>
9119
9120 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9121
9122 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9123
9124 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9125 New function which calls a callback on portions of the buffer that are
9126 outside of ignored environments.
9127 (tildify-build-regexp): Remove function since it is now
9128 incorporated in `tildify-foreach-region-outside-env' where it is
9129 optimized and simplified by the use of `mapconcat'.
9130 (tildify-tildify): Return number of substitutions made so that…
9131 (tildify-count): …can be removed.
9132 (tildify-find-env): Accept a new PAIRS argument which was
9133 previously looked up in `tildify-ignored-environments-alist' each
9134 time the function was called. With this change, the lookup is
9135 performed only once in `tildify-foreach-region-outside-env'.
9136 (tildify-region): Greatly simplify the function since now most of
9137 the work is done by `tildify-foreach-region-outside-env'.
9138 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9139 and instead using or.
9140
9141 * textmodes/tildify.el (tildify-ignored-environments-alist):
9142 Optimize environments regexes
9143
9144 Each time beginning of an environment to ignore is found,
9145 `tildify-find-env' needs to identify regexp for the ending
9146 of the environment. This is done by trying all the opening
9147 regexes on matched text in a loop, so to speed that up, this
9148 loop should have fewer things to match, which can be done by
9149 using alternatives in the opening regexes.
9150
9151 Coincidentally, this should make matching of the opening
9152 regexp faster as well thanks to the use of `regexp-opt' and
9153 having common prefix pulled from many regexes.
9154
9155 * textmodes/tildify.el (tildify-string-alist)
9156 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9157 of supported modes since `xml-mode' is no longer a thing but just
9158 an alias to the former. Also include comments and insides of tags
9159 in `tildify-ignored-environments-alist' for XML modes. Finally,
9160 since XML does not define “&nbsp;”[1], use a numeric reference for
9161 a no-break space (namely “&#160;”)
9162
9163 [1] XML specification defines only a handful of predefined entities.
9164 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9165 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9166 >, &, ' and " respectively). This is in contrast to HTML and even
9167 XHTML which defined a whole bunch of entities including “&nbsp;”.
9168
9169 * textmodes/tildify.el (tildify-pattern-alist)
9170 (tildify-string-alist, tildify-ignored-environments-alist):
9171 Improve defcustom's types by adding more tags explaining what each
9172 value means and replace “sexp” used in
9173 `tildify-ignored-environments-alist' with a full type declaration.
9174
9175 * textmodes/tildify.el (tildify-find-env): Fix matched group
9176 indexes in end-regex building
9177
9178 When looking for a start of an ignore-environment, the regex is built
9179 by concatenating regexes of all the environments configured in
9180 `tildify-ignored-environments-alist'. So for example, the following
9181 list could be used to match TeX's \verb and \verb* commands:
9182
9183 (("\\\\verb\\(.\\)" . (1))
9184 ("\\\\verb\\*\\(.\\)" . (1)))
9185
9186 This would result in the following regex being used to find the start
9187 of any of the variants of the \verb command:
9188
9189 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9190
9191 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9192 won't match anything, and thus (match-string 1) will be nil, which
9193 will cause building of the end-matching regex to fail.
9194
9195 Fix this by using capture groups from the time when the opening
9196 regexes are matched individually.
9197
9198 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9199 in `tildify-find-env'
9200
9201 The `tildify-ignored-environments-alist' allows the end-regex to
9202 be provided not as a static string but mix of strings and indexes
9203 of groups matched the begin-regex. For example, the “\verb!…!”
9204 TeX-command (where “!” is an arbitrary character) is handled
9205 using:
9206
9207 ("\\\\verb\\*?\\(.\\)" . (1))
9208
9209 In the same way, the following should be supported as well:
9210
9211 ("open-\\(.\\)" . ("end-" 1))
9212
9213 However the tildify-find-env function fails at
9214
9215 (concat result
9216 (if (stringp (setq aux (car expression)))
9217 expression ; BUG: expression is a list
9218 (regexp-quote (match-string aux))))
9219
9220 where the string part is handled incorrectly.
9221
9222 The most trivial fix would be to replace `expression' in the
9223 true-part of the if-statement with `aux', but instead, this commit
9224 optimizes `tildify-find-env' by changing it to use `mapconcat'
9225 rather than open-coded while-loop.
9226
9227 2014-06-05 Mario Lang <mlang@delysid.org>
9228
9229 * woman.el (woman-mapcan): Remove.
9230 (woman-parse-colon-path): Use cl-mapcan instead.
9231
9232 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9233
9234 * register.el: Add link to Emacs manual in Commentary.
9235
9236 2014-06-02 Sam Steingold <sds@gnu.org>
9237
9238 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9239 (popup-menu): ...here.
9240 (menu-bar-open): Use it to avoid an error when `lookup-key'
9241 returns a number.
9242
9243 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9244
9245 * net/tramp.el (tramp-call-process): Add traces.
9246 (tramp-handle-unhandled-file-name-directory): Return "/".
9247
9248 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9249
9250 Sync with upstream verilog-mode revision 3cd8144.
9251 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9252 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9253 (verilog-type-font-keywords): Add nor.
9254 (verilog-batch-execute-func): Force reading of Local Variables.
9255 Fix printing "no changes to be saved" with verilog-batch.
9256 (verilog-auto-arg-ports): Doc fix.
9257 Add verilog-auto-arg-format to support newlines in AUTOARG.
9258 (verilog-auto-arg): Doc fix.
9259
9260 2014-06-02 Glenn Morris <rgm@gnu.org>
9261
9262 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9263 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9264 * emulation/ws-mode.el: Move to obsolete/.
9265 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9266
9267 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9268
9269 * simple.el (keyboard-quit): Force update of mode lines, to remove
9270 the "Def" indicator, if we were defining a macro. (Bug#17615)
9271
9272 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * minibuffer.el (minibuffer-force-complete-and-exit):
9275 Obey minibuffer-default (bug#17545).
9276
9277 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9278 (bug#17619).
9279
9280 * subr.el (set-transient-map): Don't wait for some "nested"
9281 transient-map to finish if we're only supposed to be active for
9282 the next command (bug#17642).
9283
9284 2014-06-02 Leo Liu <sdl.web@gmail.com>
9285
9286 * emacs-lisp/gv.el (window-buffer, window-display-table)
9287 (window-dedicated-p, window-hscroll, window-point, window-start):
9288 Fix gv-expander. (Bug#17630)
9289
9290 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9293 clicks (bug#17633).
9294
9295 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9296 for the single comma, since ", " is *very* common in normal French text
9297 (bug#17643).
9298
9299 2014-06-02 Glenn Morris <rgm@gnu.org>
9300
9301 * emacs-lisp/package.el (package-check-signature)
9302 (package-unsigned-archives): Fix :version.
9303
9304 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * subr.el (sit-for): Don't run input-methods (bug#15614).
9307
9308 2014-06-02 Glenn Morris <rgm@gnu.org>
9309
9310 * cus-start.el: Fix some :version numbers.
9311
9312 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * simple.el (deactivate-mark): Set mark-active to nil even if
9315 deactivation is done via setting transient-mark-mode to nil,
9316 since one is buffer-local and the other is global.
9317
9318 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9319 there can't be more than 2 arguments (bug#17584).
9320
9321 2014-06-02 Glenn Morris <rgm@gnu.org>
9322
9323 * simple.el (filter-buffer-substring-functions)
9324 (filter-buffer-substring-function, buffer-substring-filters)
9325 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9326
9327 * minibuffer.el (completion-in-region-functions, completion-in-region)
9328 (completion--in-region): Doc fixes.
9329
9330 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9331 (expand-abbrev, abbrev--default-expand): Doc fixes.
9332
9333 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9334
9335 Include sources used to create macuvs.h.
9336 * international/README: Refer to the Unicode Terms of Use rather
9337 than copying it bodily here, as that simplifies maintenance.
9338
9339 2014-06-01 Glenn Morris <rgm@gnu.org>
9340
9341 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9342
9343 2014-05-31 Glenn Morris <rgm@gnu.org>
9344
9345 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9346
9347 2014-05-30 Glenn Morris <rgm@gnu.org>
9348
9349 * loadup.el: Treat `command-line-args' more flexibly.
9350
9351 2014-05-30 Alan Mackenzie <acm@muc.de>
9352
9353 Guard (looking-at "\\s!") from XEmacs.
9354 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9355
9356 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9357
9358 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9359 The argument COUNT is now optional, to be more backward-compatible.
9360 Doc fix. (Bug#17560)
9361
9362 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9363
9364 * whitespace.el (whitespace-report-region):
9365 Simplify documentation.
9366 (whitespace-report-region): Allow report-if-bogus to take the
9367 value `never', for non-interactive use.
9368 (whitespace-report): Refer to whitespace-report-region's
9369 documentation.
9370
9371 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9374 Side benefit: it works without jit-lock.
9375 (whitespace-point--used): New buffer-local var.
9376 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9377 (whitespace-color-off): Use font-lock-flush.
9378 (whitespace-point--used, whitespace-point--flush-used): New functions.
9379 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9380 (whitespace-empty-at-eob-regexp): Use them.
9381 (whitespace-post-command-hook): Rewrite.
9382
9383 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9384 (font-lock-fontify-buffer): Mark interactive-only.
9385 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9386 Make buffer-local.
9387 (font-lock-specified-p): Remove redundant boundp check.
9388 (font-lock-flush-function, font-lock-ensure-function): New vars.
9389 (font-lock-turn-on-thing-lock): Set them.
9390 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9391 (font-lock-after-change-function): Make `old-len' optional.
9392 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9393 Call font-lock-flush, just in case.
9394 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9395 recent Emacsen.
9396 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9397 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9398 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9399 and with-syntax-table.
9400 * textmodes/conf-mode.el (conf-quote-normal):
9401 * progmodes/sh-script.el (sh-set-shell):
9402 * progmodes/prog-mode.el (prettify-symbols-mode):
9403 * progmodes/f90.el (f90-font-lock-n):
9404 * progmodes/cwarn.el (cwarn-mode):
9405 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9406 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9407 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9408 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9409 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9410 font-lock-fontify-buffer-function and
9411 font-lock-unfontify-buffer-function.
9412 (rmail-unfontify-buffer-function, rmail-fontify-message):
9413 Use with-silent-modifications.
9414 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9415 and font-lock-ensure.
9416 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9417
9418 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9419
9420 * emacs-lisp/package.el (package-generate-autoloads):
9421 Inhibit backup files.
9422
9423 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9426 (bug#17608).
9427
9428 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9429
9430 * textmodes/tildify.el (tildify-buffer, tildify-region):
9431 Add dont-ask option.
9432
9433 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9436 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9437
9438 * subr.el (internal--funcall-interactively): New.
9439 (internal--call-interactively): Remove.
9440 (called-interactively-p): Detect funcall-interactively instead of
9441 call-interactively.
9442 * simple.el (repeat-complex-command): Use funcall-interactively.
9443 (repeat-complex-command--called-interactively-skip): Remove.
9444
9445 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * register.el (register-read-with-preview): Don't burp on
9448 frame switches (e.g. due to the frame we just popped).
9449
9450 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9451 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9452
9453 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9454
9455 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9456
9457 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9458
9459 * window.el (window--dump-frame): Remove interactive specification.
9460
9461 2014-05-26 Glenn Morris <rgm@gnu.org>
9462
9463 * hippie-exp.el (he-line-search-regexp):
9464 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9465
9466 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9467
9468 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9469 to avoid errors when trying to create or visit a file foo.todo
9470 located outside to todo-directory, and to allow having such files
9471 without them being tied to Todo mode (bug#17482).
9472 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9473 (todo-archive-done-item, todo-find-filtered-items-file)
9474 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9475 (todo-category-completions, todo-read-category): When visiting a
9476 Todo file, make sure we're in the right mode and the buffer local
9477 variables are set.
9478 (todo-make-categories-list, todo-reset-nondiary-marker)
9479 (todo-reset-done-string, todo-reset-comment-string):
9480 After processing all Todo files, kill the buffers of those files that
9481 weren't being visited before the processing.
9482 (todo-display-as-todo-file, todo-add-to-buffer-list)
9483 (todo-visit-files-commands): Comment out.
9484 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9485 (auto-mode-alist): Remove add-to-list calls making Todo file
9486 extensions unrestrictedly tied to Todo modes.
9487
9488 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9491 (advice-function-member-p): Tell it to check both names and functions
9492 (bug#17531).
9493 (advice--add-function): Adjust call accordingly.
9494
9495 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9496
9497 * calendar/todo-mode.el: Miscellaneous bug fixes.
9498 (todo-delete-file): When deleting an archive but not its todo
9499 file, make sure to update the todo file's category sexp.
9500 (todo-move-category): Keep the moved category's name unless the
9501 file moved to already has a category with that name. If the
9502 numerically last category of the source file was moved, make the
9503 first category current to avoid selecting a nonexisting category.
9504 (todo-merge-category): Fix implementation to make merging to a
9505 category in another file work as documented. Eliminate now
9506 insufficient and unnecessary renaming of archive category, correct
9507 document string accordingly, and clarify it. If the numerically
9508 last category of the source file was merged, make the first
9509 category current to avoid selecting a nonexisting category.
9510 (todo-archive-done-item): When there are marked items and point
9511 happens to be on an unmarked item, ignore the latter. Don't leave
9512 point below last item after archiving marked items.
9513 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9514 from an archive with only one category deletes the archive only
9515 when the category is empty after unarchiving. Make sure the todo
9516 file's category sexp is updated.
9517 (todo-read-file-name): Allow an existing file name even when it is
9518 not required (todo-move-category needs this to work as documented).
9519 (todo-add-file): Call todo-validate-name to reject the name of an
9520 existing todo file (needed due to fix in todo-read-file-name).
9521 (todo-reset-nondiary-marker): Also reset in filtered items files.
9522 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9523 regexp filtered items files.
9524 (todo-reset-highlight-item): Also reset in filtered items files.
9525 Fix incorrect variable reference in document string.
9526
9527 2014-05-26 Glenn Morris <rgm@gnu.org>
9528
9529 * window.el (window--dump-frame): Avoid error in --without-x builds.
9530
9531 2014-05-26 Glenn Morris <rgm@gnu.org>
9532
9533 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9534
9535 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9536
9537 * frame.el (set-frame-font): Doc fix.
9538
9539 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9540
9541 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9542
9543 * emacs-lisp/package.el (package--download-one-archive):
9544 Use `write-region' instead of `save-buffer' to avoid running various
9545 hooks. (Bug#17155)
9546 (describe-package-1): Same. Insert newline at the end of the
9547 buffer if appropriate.
9548
9549 2014-05-26 Juri Linkov <juri@jurta.org>
9550
9551 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9552 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9553 Add more modifiers: meta, control, shift, hyper, super, alt.
9554 (Bug#17439)
9555
9556 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9557 to allow changing its value with `set-variable'.
9558
9559 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9562 #; comments.
9563 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9564 New functions.
9565 (scheme-mode-variables): Set syntax-propertize-function instead of
9566 font-lock-syntactic-face-function.
9567 (scheme-font-lock-syntactic-face-function): Delete.
9568
9569 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9570
9571 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9572 (bug#17392).
9573
9574 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9575
9576 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9577 for a temporary file name.
9578
9579 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9580
9581 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9582
9583 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9584
9585 * net/dbus.el (dbus-init-bus, dbus-call-method)
9586 (dbus-call-method-asynchronously, dbus-send-signal)
9587 (dbus-method-return-internal, dbus-method-error-internal):
9588 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9589
9590 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9591
9592 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9593 methods which do not have a doc string. (Bug#17490)
9594
9595 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9596
9597 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9598 also for AMS Math's \eqref macro.
9599
9600 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9601
9602 Arrange to never byte-compile the generated -pkg.el file.
9603
9604 * emacs-lisp/package.el (package-generate-description-file):
9605 Output first-line comment to set buffer-local var `no-byte-compile'.
9606 Suggested by Dmitry Gutov:
9607 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9608
9609 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9610
9611 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9612
9613 * emacs-lisp/package.el (package-generate-description-file):
9614 Inline `package--alist-to-plist'; rewrite to selectively
9615 quote alist values that are not self-quoting.
9616 (package--alist-to-plist): Delete func.
9617
9618 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
9619
9620 * term/xterm.el (xterm-function-map): Add mapping for shifted
9621 keypad keys.
9622
9623 2014-05-24 Daniel Colascione <dancol@dancol.org>
9624
9625 * progmodes/subword.el (subword-find-word-boundary): Move point to
9626 correct spot before search. (Bug#17580)
9627
9628 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9629 breaking the build.
9630
9631 2014-05-24 Leo Liu <sdl.web@gmail.com>
9632
9633 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
9634
9635 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * minibuffer.el (completion--sreverse): Remove.
9638 (completion--common-suffix): Use `reverse' instead.
9639 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9640
9641 2014-05-22 Glenn Morris <rgm@gnu.org>
9642
9643 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9644
9645 2014-05-21 Daniel Colascione <dancol@dancol.org>
9646
9647 * files.el (interpreter-mode-alist): Add mksh.
9648
9649 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9650 derivative.
9651 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9652 mksh. Improve custom spec; allow regular expressions.
9653 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9654 (sh-after-hack-local-variables): New function.
9655 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
9656 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9657 the normalization.
9658 (sh-canonicalize-shell): Rewrite to support regexes.
9659
9660 2014-05-21 Leo Liu <sdl.web@gmail.com>
9661
9662 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9663
9664 2014-05-19 Leo Liu <sdl.web@gmail.com>
9665
9666 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9667
9668 2014-05-18 Glenn Morris <rgm@gnu.org>
9669
9670 * loadup.el:
9671 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9672
9673 2014-05-14 Sam Steingold <sds@gnu.org>
9674
9675 * progmodes/python.el (python-shell-get-or-create-process):
9676 Do not bind `current-prefix-arg' so that C-c C-z does not talk
9677 back unless requested.
9678
9679 2014-05-14 Glenn Morris <rgm@gnu.org>
9680
9681 * subr.el (with-file-modes): New macro.
9682 * printing.el (pr-save-file-modes): Make obsolete.
9683 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9684 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9685 Add with-file-modes.
9686 * doc-view.el (doc-view-make-safe-dir):
9687 * epg.el (epg--start):
9688 * files.el (locate-user-emacs-file, make-temp-file)
9689 (backup-buffer-copy, move-file-to-trash):
9690 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9691 * eshell/esh-util.el (eshell-with-private-file-modes)
9692 (eshell-make-private-directory):
9693 * net/browse-url.el (browse-url-mosaic):
9694 * obsolete/mailpost.el (post-mail-send-it):
9695 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9696 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9697 Use with-file-modes.
9698
9699 * vc/emerge.el (emerge-make-temp-file): Simplify.
9700
9701 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
9702 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9705 suffix (bug#15419).
9706
9707 2014-05-14 Glenn Morris <rgm@gnu.org>
9708
9709 * vc/emerge.el (emerge-temp-file-prefix):
9710 Make pointless option obsolete.
9711 (emerge-temp-file-mode): Make non-functional option obsolete.
9712
9713 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
9714
9715 * net/browse-url.el (browse-url):
9716 Use `unhandled-file-name-directory' when setting `default-directory',
9717 in order to circumvent stalled remote connections. (Bug#17425)
9718
9719 2014-05-14 Glenn Morris <rgm@gnu.org>
9720
9721 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9722 Optimize on Emacs, which has the relevant functions for ages.
9723
9724 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * simple.el (undo-make-selective-list): Obey undo-no-redo.
9727
9728 2014-05-12 Sam Steingold <sds@gnu.org>
9729
9730 * calendar/time-date.el (seconds-to-string): New function to
9731 pretty print time delay in seconds.
9732
9733 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * mpc.el (mpc-format): Trim Date to the year.
9736 (mpc-songs-hashcons): Shorten the Date field.
9737
9738 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9739 into autoloading just because of a silly indirection.
9740
9741 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
9742
9743 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
9744
9745 2014-05-12 Glenn Morris <rgm@gnu.org>
9746
9747 * emacs-lisp/find-gc.el: Move to ../admin.
9748
9749 * printing.el (pr-version):
9750 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9751
9752 * net/browse-url.el (browse-url-mosaic):
9753 Create /tmp/Mosaic.PID as a private file.
9754
9755 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9756
9757 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9758 (advice--member-p): If name is given, only compare the name.
9759 (advice--remove-function): Don't stop at the first match.
9760 (advice--normalize-place): New function.
9761 (add-function, remove-function): Use it.
9762 (advice--add-function): Pass the name, if any, to
9763 advice--remove-function.
9764
9765 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
9766
9767 * electric.el (electric-indent-post-self-insert-function): Don't use
9768 `pos' after modifying the buffer (bug#17449).
9769
9770 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
9771
9772 * calendar/todo-mode.el (todo-insert-item-from-calendar):
9773 Correct argument list to conform to todo-insert-item--basic.
9774
9775 2014-05-12 Glenn Morris <rgm@gnu.org>
9776
9777 * files.el (cd-absolute): Test if directory is accessible
9778 rather than executable. (Bug#17330)
9779
9780 * progmodes/compile.el (recompile):
9781 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
9782
9783 * net/browse-url.el (browse-url-mosaic):
9784 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
9785 This is CVE-2014-3423.
9786
9787 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 * mouse.el: Use the normal toplevel loop while dragging.
9790 (mouse-set-point): Handle multi-clicks.
9791 (mouse-set-region): Handle multi-clicks for drags.
9792 (mouse-drag-region): Update call accordingly.
9793 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9794 Use the normal event loop instead of a local while/read-event loop.
9795 (global-map): Remove redundant bindings for double/triple-mouse-1.
9796 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9797 Generate synthetic down events when the protocol only sends up events.
9798 (xterm-mouse-last): Remove.
9799 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9800 terminal parameter instead.
9801 (xterm-mouse--set-click-count): New function.
9802 (xterm-mouse-event): Detect/generate double/triple clicks.
9803 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9804
9805 * info.el (Info-quoted): New face.
9806 (Info-mode-font-lock-keywords): New var.
9807 (Info-mode): Use it.
9808
9809 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9810 are a hindrance for C-x C-e.
9811
9812 2014-05-11 Leo Liu <sdl.web@gmail.com>
9813
9814 * net/rcirc.el (rcirc-sentinel): Fix last change.
9815
9816 2014-05-08 Sam Steingold <sds@gnu.org>
9817
9818 * net/rcirc.el (rcirc-reconnect-delay): New user option.
9819 (rcirc-sentinel): Auto-reconnect to the server if
9820 `rcirc-reconnect-delay' is non-0 (but not more often than its
9821 value in case the host is off-line).
9822
9823 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9824
9825 * progmodes/grep.el (lgrep): Fix a typo in last commit.
9826
9827 2014-05-09 Glenn Morris <rgm@gnu.org>
9828
9829 * files.el (file-expand-wildcards):
9830 * man.el (Man-support-local-filenames):
9831 * printing.el (pr-i-directory, pr-interface-directory):
9832 * progmodes/grep.el (lgrep, rgrep):
9833 * textmodes/ispell.el (ispell-call-process)
9834 (ispell-call-process-region, ispell-start-process)
9835 (ispell-init-process): Use file-accessible-directory-p.
9836
9837 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9840 (xterm-mouse--read-event-sequence-1000): Return nil if something
9841 looks fishy.
9842 (xterm-mouse-event): Propagate it.
9843 (xterm-mouse-translate-1): Handle it.
9844
9845 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9846
9847 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9848 four slots of the parameter list are filled, make sure to pass it
9849 to the argument list of todo-insert-item--basic.
9850
9851 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9854 Add optional `seen' argument to detect and break infinite loops.
9855
9856 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9857
9858 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9859 (trace-unsafe, trace-use-tree): Make parentheses style be
9860 according to Emacs style.
9861
9862 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9863
9864 * net/tramp-sh.el (tramp-remote-process-environment):
9865 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9866 Add :version entry.
9867 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9868 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9869 extra "PSx=..." commands.
9870 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9871 (Bug#17295)
9872
9873 (tramp-uudecode): Replace the hard-coded temporary file name by a
9874 format specifier.
9875 (tramp-remote-coding-commands): Enhance docstring.
9876 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9877 name. (Bug#17415)
9878 This is CVE-2014-3424.
9879
9880 2014-05-08 Glenn Morris <rgm@gnu.org>
9881
9882 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9883 (find-gc-source-files): Update some names.
9884 (trace-call-tree): Simplify and update.
9885 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9886 This is CVE-2014-3422.
9887
9888 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * minibuffer.el (completion--try-word-completion): Revert fix for
9891 Bug#15980 (bug#17375).
9892
9893 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9894 Always store button numbers in the same way in xterm-mouse-last;
9895 Don't burp is xterm-mouse-last is not set as expected.
9896 Never return negative indices.
9897
9898 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9899
9900 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9901 Backtrack one char if the global/char-literal var matcher hits
9902 inside a string. The next char could be the beginning of an
9903 expression expansion.
9904
9905 2014-05-08 Glenn Morris <rgm@gnu.org>
9906
9907 * help-fns.el (describe-function-1): Test for an autoload before a
9908 macro, since `macrop' works on autoloads. (Bug#17410)
9909
9910 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * electric.el (electric-indent-functions-without-reindent): Add yaml.
9913
9914 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9915 Make sure the new point we return is within the new string (bug#17239).
9916
9917 2014-05-05 Daniel Colascione <dancol@dancol.org>
9918
9919 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9920 Port `gnu' pattern to rx.
9921
9922 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
9923
9924 Remove unneeded prompt when closing a buffer with active
9925 emacsclient ("Buffer ... still has clients"), #16548.
9926 * server.el (server-start): Remove the only call to:
9927 (server-kill-buffer-query-function): Remove.
9928
9929 2014-05-04 Leo Liu <sdl.web@gmail.com>
9930
9931 * calendar/diary-lib.el (calendar-chinese-month-name-array):
9932 Defvar to pacify compiler.
9933
9934 2014-05-04 Eli Zaretskii <eliz@gnu.org>
9935
9936 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9937
9938 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9941 Use nil rather than `default' for the "default" appearance (bug#17388).
9942 * vc/ediff-util.el (ediff-inferior-compare-regions)
9943 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9944 a misleading `default' value when it's really a boolean.
9945 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9946 overlay is not visible.
9947
9948 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9949
9950 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9951 (todo-menu): Uncomment and update.
9952
9953 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9954
9955 * calendar/todo-mode.el: Reimplement item editing to have the same
9956 basic user interface as item insertion, and make small UI and
9957 larger internal improvements to the latter.
9958 (todo-insert-item): Add reference to the Todo mode user manual to
9959 the documentation string.
9960 (todo-insert-item--basic): Rename from todo-basic-insert-item and
9961 adjust all callers. Change signature to combine diary and
9962 nonmarking arguments. Incorporate functionality of deleted item
9963 copying command and add error checking. Remove detailed
9964 descriptions of the arguments from the documentation string, since
9965 this is treated in the Todo mode user manual.
9966 (todo-copy-item, todo-edit-multiline-item)
9967 (todo-edit-done-item-comment, todo-edit-item-header)
9968 (todo-edit-item-time, todo-edit-item-date-from-calendar)
9969 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9970 (todo-edit-item-date-year, todo-edit-item-date-month)
9971 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9972 Remove.
9973 (todo-edit-item): Reimplement as wrapper command for
9974 todo-edit-item--next-key and make it distinguish done and not done
9975 todo items.
9976 (todo-edit-item--text): New function, replacing old command
9977 todo-edit-item and incorporating deleted commands
9978 todo-edit-multiline-item and todo-edit-done-item-comment.
9979 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9980 Use only numeric value of prefix argument. Remove detailed
9981 descriptions of the arguments from the documentation string, since
9982 this is treated in the Todo mode user manual.
9983 (todo-edit-item--diary-inclusion): New function, replacing old
9984 command todo-edit-item-diary-inclusion and incorporating and fixing
9985 functionality of deleted command todo-edit-item-diary-nonmarking,
9986 making sure to remove todo-nondiary-marker when adding
9987 diary-nonmarking-symbol.
9988 (todo-edit-category-diary-inclusion): Make sure to delete
9989 diary-nonmarking-symbol when adding todo-nondiary-marker.
9990 (todo-edit-category-diary-nonmarking): Fix indentation.
9991 (todo-insert-item--parameters): Group diary and nonmarking
9992 parameters together.
9993 (todo-insert-item--apply-args): Adjust to signature of
9994 todo-insert-item--basic and incorporate copy parameter.
9995 Make small code improvements.
9996 (todo-insert-item--next-param): Improve prompt and adjust it to
9997 new parameter grouping. Remove obsolete code.
9998 (todo-edit-item--param-key-alist)
9999 (todo-edit-item--date-param-key-alist)
10000 (todo-edit-done-item--param-key-alist): New defconsts.
10001 (todo-edit-item--prompt): New variable.
10002 (todo-edit-item--next-key): New function.
10003 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10004 Remove bindings of deleted commands.
10005
10006 2014-05-04 Leo Liu <sdl.web@gmail.com>
10007
10008 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10009
10010 2014-05-04 Glenn Morris <rgm@gnu.org>
10011
10012 * allout-widgets.el (allout-widgets-tally)
10013 (allout-decorate-item-guides):
10014 * menu-bar.el (menu-bar-positive-p):
10015 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10016 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10017 * progmodes/js.el (js--inside-param-list-p)
10018 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10019 * progmodes/prolog.el (region-exists-p):
10020 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10021 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10022 Doc fixes (replace `iff').
10023
10024 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10027
10028 2014-05-04 Leo Liu <sdl.web@gmail.com>
10029
10030 Support Chinese diary entries in calendar and diary. (Bug#17393)
10031 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10032 (calendar-chinese-from-absolute-for-diary)
10033 (calendar-chinese-to-absolute-for-diary)
10034 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10035 (diary-chinese-list-entries): New functions to list and mark
10036 Chinese diary entries in the calendar window.
10037 (diary-chinese-anniversary)
10038 (diary-chinese-insert-anniversary-entry)
10039 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10040 (diary-chinese-insert-yearly-entry): New commands to insert
10041 Chinese diary entries.
10042
10043 * calendar/diary-lib.el (diary-font-lock-keywords):
10044 Support font-locking Chinese dates.
10045
10046 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10047 inserting Chinese diary entries.
10048
10049 * calendar/calendar.el (diary-chinese-entry-symbol):
10050 New customizable variable.
10051 (calendar-mode-map): Add bindings for inserting Chinese diary
10052 entries.
10053
10054 2014-05-03 Juri Linkov <juri@jurta.org>
10055
10056 * dired.el (dired-check-switches, dired-switches-recursive-p):
10057 New functions. (Bug#17218)
10058 (dired-switches-escape-p, dired-move-to-end-of-filename):
10059 Use `dired-check-switches'.
10060 (dired-insert-old-subdirs, dired-build-subdir-alist)
10061 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10062
10063 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10064
10065 * simple.el (undo-make-selective-list): New algorithm fixes
10066 incorrectness of position adjustments when undoing in region.
10067 (Bug#17235)
10068 (undo-elt-crosses-region): Make obsolete.
10069 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10070 New functions to adjust positions using undo-deltas.
10071
10072 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10075 the last consecutive closing paren (bug#17345).
10076
10077 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10078
10079 * dired.el (dired-mode): make terminology for eXpunge command
10080 consistent. (Bug#17276)
10081
10082 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10083
10084 * dired.el (dired-initial-position-hook, dired-initial-position):
10085 Doc string fixes.
10086
10087 2014-04-30 Glenn Morris <rgm@gnu.org>
10088
10089 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10090
10091 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10092
10093 * faces.el (face-spec-recalc): Apply X resources only after the
10094 defface spec has been applied. Thus, X resources are no longer
10095 overriden by the defface spec which also fixes issues on win32 where
10096 the toolbar coloring was wrong because it is set through X resources
10097 and was (wrongfully) overriden. (Bug#16694)
10098
10099 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * textmodes/rst.el (electric-pair-pairs): Declare.
10102 (rst-mode): Set it (bug#17131).
10103
10104 2014-04-30 Juri Linkov <juri@jurta.org>
10105
10106 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10107 and `print-level' to nil. (Bug#17351)
10108
10109 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10110
10111 * battery.el (battery-update): Handle the case where battery
10112 status is "N/A" (bug#17319).
10113
10114 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10117 to syntax-propertize.
10118 (ps-mode-auto-indent): Mark as obsolete.
10119 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10120 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10121 word regexp operators.
10122 (ps-mode-map): Move initialization into declaration. Remove binding
10123 for TAB, RET, >, ], and }.
10124 (ps-mode-syntax-table): Move initialization into declaration.
10125 Don't give word syntax to non-word chars.
10126 (ps-run-mode-map): Move initialization into declaration.
10127 (ps-mode-menu-main): Remove auto-indent entry.
10128 (ps-mode-smie-rules): New function.
10129 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10130 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10131 (ps-mode--string-syntax-table): New const.
10132 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10133 New functions.
10134 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10135 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10136
10137 2014-04-27 Daniel Colascione <dancol@dancol.org>
10138
10139 * term/xterm.el (xterm-paste): Use large finite timeout when
10140 reading event to avoid putting keys in this-command-keys.
10141
10142 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10145 (perl-syntax-propertize-function): Use it. Extend handling of
10146 here-docs to the unquoted case.
10147
10148 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10149
10150 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10151 Use equal-including-properties to compare help-echo strings (bug#17331).
10152
10153 2014-04-25 Leo Liu <sdl.web@gmail.com>
10154
10155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10156 Fix syntax for @. (Bug#17325)
10157
10158 2014-04-25 Daniel Colascione <dancol@dancol.org>
10159
10160 * emacs-lisp/cl.el (gv): Require gv early to break eager
10161 macro-expansion cycles.
10162
10163 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * simple.el (region-active-p): Check there's a mark (bug#17324).
10166
10167 * simple.el (completion-list-mode-map): Use choose-completion for the
10168 mouse binding as well (bug#17302).
10169 (completion-list-mode, completion-setup-function): Adjust docstring and
10170 echo area message accordingly.
10171 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10172 calling convention of choose-completion.
10173 * comint.el (comint-dynamic-list-completions):
10174 * term.el (term-dynamic-list-completions): Accept choose-completion.
10175
10176 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10177 &, |, +, - and * can't be a division (bug#17317).
10178
10179 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10180 features on gnome-terminal (bug#16988).
10181
10182 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10183
10184 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10185
10186 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10187 the declared object, ignore zero or more parens, not zero or one.
10188
10189 2014-04-24 Leo Liu <sdl.web@gmail.com>
10190
10191 * progmodes/xscheme.el (xscheme-expressions-ring)
10192 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10193 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10194 (xscheme-allow-output-p, xscheme-prompt)
10195 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10196
10197 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10198 Comment out unused functions.
10199
10200 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * info.el: Use lexical-binding and cl-lib.
10203 Use defvar-local and setq-local instead of make-local-variable.
10204 (Info-apropos-matches): Avoid add-to-list.
10205 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10206
10207 2014-04-24 Daniel Colascione <dancol@dancol.org>
10208
10209 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10210
10211 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10214
10215 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10216
10217 * dired.el (dired-insert-set-properties): Do not consider
10218 subdirectory headings and empty lines to be information that
10219 `dired-hide-details-mode' should hide. (Bug#17228)
10220
10221 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10222
10223 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10224 Remove test messages.
10225 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10226 and `target' twice.
10227
10228 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10231 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10232
10233 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10234
10235 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10236
10237 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10238 Set "IFS=" when using read builtin, in order to preserve spaces in
10239 the file name. Add test messages for hunting a bug on hydra.
10240 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10241
10242 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10245 Don't prettify a word within a symbol.
10246
10247 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10248
10249 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10250 possible.
10251
10252 2014-04-22 Daniel Colascione <dancol@dancol.org>
10253
10254 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10255 use defun to define `function-put'.
10256
10257 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10260 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10261 (lisp-mode-variables): Set font-lock-extra-managed-props.
10262
10263 * emacs-lisp/byte-run.el (function-put): New function.
10264 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10265 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10266 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10267 Use them.
10268
10269 2014-04-22 Daniel Colascione <dancol@dancol.org>
10270
10271 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10272 Add `full-p' parameter; when nil, call `macroexpand' instead of
10273 `macroexpand-all'.
10274
10275 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10276 Improve docstrings.
10277
10278 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10279 Use lambda function values, not quoted lambdas.
10280 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10281
10282 * emacs-lisp/cl-macs.el
10283 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10284 (cl-struct-slot-value): Conditionally use aref or nth so that the
10285 compiler produces optimal code.
10286
10287 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10290 (inline): Don't inline cl--set-elt.
10291 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10292 Define as inlinable instead.
10293 (cl-struct-set-slot-value): Remove.
10294
10295 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10296 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10297 Use setf instead.
10298
10299 2014-04-21 Daniel Colascione <dancol@dancol.org>
10300
10301 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10302 last two parameters after all.
10303 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10304 (cl--compiler-macro-assoc,cl-struct-slot-value)
10305 (cl-struct-set-slot-value): Stop using them.
10306
10307 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10310 entry in image-mode-winprops-alist.
10311
10312 2014-04-21 Daniel Colascione <dancol@dancol.org>
10313
10314 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10315 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10316 (byte-compile-toplevel-file-form): Use it.
10317
10318 * emacs-lisp/cl-macs.el:
10319 (cl--loop-let): Properly destructure `while' clauses.
10320
10321 2014-04-20 Daniel Colascione <dancol@dancol.org>
10322
10323 * vc/vc.el (vc-root-dir): New public autoloaded function for
10324 generically finding the current VC root.
10325 * vc/vc-hooks.el (vc-not-supported): New error.
10326 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10327
10328 2014-04-20 Daniel Colascione <dancol@dancol.org>
10329
10330 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10331 argument.
10332 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10333 argument in case we're inside a symbol-macrolet.
10334 (cl--do-arglist, cl--compiler-macro-typep)
10335 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10336 environment to `cl--const-expr-val'.
10337 (cl-struct-sequence-type,cl-struct-slot-info)
10338 (cl-struct-slot-offset, cl-struct-slot-value)
10339 (cl-struct-set-slot-value): New functions.
10340
10341 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10344 assignments such as "case=hello" (bug#17297).
10345
10346 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10349 Do not autoload.
10350 (tramp-file-name-handler, tramp-completion-file-name-handler):
10351 Revert patch from 2014-04-10, it isn't necessary anymore.
10352 (tramp-autoload-file-name-handler)
10353 (tramp-register-autoload-file-name-handlers): New defuns.
10354 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10355 (tramp-register-file-name-handlers): Remove also
10356 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10357 Do not autoload its invocation, but eval it after loading of 'tramp.
10358
10359 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10360
10361 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10362
10363 2014-04-17 Daniel Colascione <dancol@dancol.org>
10364
10365 Add support for bracketed paste mode; add infrastructure for
10366 managing terminal mode enabling and disabling automatically.
10367
10368 * xt-mouse.el:
10369 (xterm-mouse-mode): Simplify.
10370 (xterm-mouse-tracking-enable-sequence)
10371 (xterm-mouse-tracking-disable-sequence): New constants.
10372 (turn-on-xterm-mouse-tracking-on-terminal)
10373 (turn-off-xterm-mouse-tracking-on-terminal):
10374 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10375 parameters instead of random hooks.
10376 (turn-on-xterm-mouse-tracking)
10377 (turn-off-xterm-mouse-tracking): Delete.
10378
10379 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10380 (xterm-paste-ending-sequence): New constant.
10381 (xterm-paste): New command used for bracketed paste support.
10382
10383 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10384 (terminal-init-xterm-bracketed-paste-mode): New function.
10385 (terminal-init-xterm): Call it.
10386 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10387 and tty-mode-reset-strings instead of random hooks.
10388 (xterm-turn-on-modify-other-keys)
10389 (xterm-turn-off-modify-other-keys)
10390 (xterm-remove-modify-other-keys): Delete obsolete functions.
10391
10392 * term/screen.el: Rewrite to just use the xterm code.
10393 Add copyright notice. Mention tmux.
10394
10395 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10396
10397 * image-mode.el (image-mode-window-put): Also update the property of
10398 the "default window".
10399 * doc-view.el (doc-view-new-window-function): If no window
10400 exists, move to the last known page.
10401
10402 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10405 here-documents (bug#17262).
10406
10407 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10408
10409 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10410 Provide doc strings, as required by snarf-documentation.
10411
10412 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10415 arg of overlays-at. Use `invisible-p'.
10416
10417 * obsolete/lucid.el (extent-at):
10418 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10419 overlays-at.
10420 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10421
10422 2014-04-16 João Távora <joaotavora@gmail.com>
10423
10424 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10425 links. (Bug#17217).
10426
10427 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10428
10429 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10430 Use mapc to loop over a vector. (Bug#17257).
10431
10432 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10433
10434 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10435 patch, there are new problems with file names containing spaces.
10436 Get rid of backticks. (Bug#17238)
10437
10438 2014-04-16 João Távora <joaotavora@gmail.com>
10439
10440 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10441 possible bug.
10442
10443 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10444
10445 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10446 (blink-cursor-mode): Mention customization variables and the
10447 effect of 'blink-cursor-blinks'.
10448
10449 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10450
10451 * simple.el (undo): Prevent insertion of identity mapping into
10452 undo-equiv-table so as undo-only does not inf loop in the presence
10453 of consecutive nils in undo list.
10454
10455 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10456
10457 * faces.el (make-face): Deprecate optional argument as it is no
10458 longer needed/used since the conditional X resources handling
10459 has been pushed down to make-face-x-resource-internal itself.
10460 (make-empty-face): Don't pass optional argument to make-face.
10461
10462 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10463
10464 * savehist.el (savehist-save): Remove workaround for a read-passwd
10465 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10466 noticing that the shim was still present.
10467
10468 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10471
10472 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10473
10474 * faces.el (face-set-after-frame-default): Remove unused local variable.
10475
10476 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * progmodes/grep.el: Use lexical-binding.
10479 (grep-expand-template): Pass explicit lexical env to `eval'.
10480 (zrgrep): Let-bind grep-find-template explicitly.
10481
10482 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10483 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10484
10485 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10486
10487 * international/characters.el <standard-case-table>: Add entries
10488 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10489 Set category of Coptic characters be 'g' (Greek).
10490
10491 2014-04-12 Leo Liu <sdl.web@gmail.com>
10492
10493 * progmodes/octave.el (completion-table-with-cache):
10494 Define if not available.
10495 (octave-goto-function-definition, octave-sync-function-file-names)
10496 (octave-find-definition-default-filename):
10497 Backquote upattern for compatibility.
10498
10499 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10500
10501 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10502 name twice due to backticks. (Bug#17238)
10503
10504 2014-04-12 Glenn Morris <rgm@gnu.org>
10505
10506 * term/w32-win.el (x-win-suspend-error):
10507 * term/x-win.el (x-win-suspend-error): Sync docs.
10508
10509 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10510
10511 * faces.el (make-face): Remove deprecated optional argument.
10512 The conditional application of X resources is handled directly by
10513 make-face-x-resource-internal since Emacs 24.4.
10514 (make-empty-face): Don't pass optional argument to make-face.
10515
10516 2014-04-11 Glenn Morris <rgm@gnu.org>
10517
10518 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10519
10520 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 Ediff's overlay priorities cause more trouble than they solve.
10523 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10524 (ediff-highest-priority): Remove function (bug#17234).
10525 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10526 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10527 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10528 overlay priorities.
10529
10530 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10531
10532 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10533 entry; use symbol boundaries to avoid mis-matches.
10534
10535 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10536
10537 * net/tramp.el (tramp-file-name-handler)
10538 (tramp-completion-file-name-handler): Avoid recursive loading.
10539
10540 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10541 Quote result also locally.
10542
10543 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10546 Remove left-over code.
10547
10548 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10549 Reuse the previous comment's indentation unconditionally if it's on its
10550 own line.
10551
10552 2014-04-09 Daniel Colascione <dancol@dancol.org>
10553
10554 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10555 `no-syntax-crossing' arguments. Forward to `up-list'.
10556 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10557 Implement logic for escaping from strings. Use narrowing to deal
10558 with corner cases.
10559
10560 2014-04-09 Leo Liu <sdl.web@gmail.com>
10561
10562 * net/rcirc.el (rcirc-connection-info): New variable.
10563 (rcirc-connect): Use it to store connection info.
10564 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10565 for killed process.
10566 (rcirc-cmd-reconnect): New command. (Bug#17045)
10567 (rcirc-mode, set-rcirc-encode-coding-system)
10568 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10569
10570 2014-04-09 Daniel Colascione <dancol@dancol.org>
10571
10572 * emacs-lisp/cl-indent.el: Add comment claiming
10573 facility is also good for elisp.
10574 (lisp-indent-find-method): New function.
10575 (common-lisp-indent-function): Recognize cl-loop.
10576 (common-lisp-indent-function-1): Recognize cl constructs; use
10577 `lisp-indent-find-method' instead of `get' directly.
10578 (if): Use else-body style for elisp.
10579
10580 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10581
10582 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10583 Module methods. (Bug#17216)
10584
10585 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10588 (describe-bindings-internal): Mark obsolete.
10589
10590 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10593 buffer-file-name, and buffer-file-truename any more.
10594
10595 2014-04-08 Leo Liu <sdl.web@gmail.com>
10596
10597 Use lexical-binding and require cl-lib.
10598 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10599 (rcirc-handler-generic, rcirc-fill-paragraph)
10600 (rcirc-format-response-string, rcirc-target-buffer)
10601 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10602 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10603 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10604 (rcirc-markup-timestamp, rcirc-markup-attributes)
10605 (rcirc-markup-my-nick, rcirc-markup-urls)
10606 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10607 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10608 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10609 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10610 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10611 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10612 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10613 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10614 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10615 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10616 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10617 use cl-lib.
10618
10619 2014-04-07 João Távora <joaotavora@gmail.com>
10620
10621 * elec-pair.el (electric-pair--syntax-ppss):
10622 When inside comments parse from comment beginning.
10623 (electric-pair--balance-info): Fix typo in comment.
10624 (electric-pair--in-unterminated-string-p): Delete.
10625 (electric-pair--unbalanced-strings-p): New function.
10626 (electric-pair-string-bound-function): New var.
10627 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10628 according to `electric-pair--in-unterminated-string-p'
10629
10630 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10631 Inhibit quote pairing if point-max is inside an unterminated string.
10632 (electric-pair--looking-at-unterminated-string-p): Delete.
10633 (electric-pair--in-unterminated-string-p): New function.
10634
10635 2014-04-07 Glenn Morris <rgm@gnu.org>
10636
10637 * shell.el (shell-directory-tracker):
10638 Go back to just ignoring failures. (Bug#17159)
10639
10640 2014-04-07 João Távora <joaotavora@gmail.com>
10641
10642 Fix `electric-pair-delete-adjacent-pairs' in modes binding
10643 backspace. (Bug#16981)
10644 * elec-pair.el (electric-pair-backward-delete-char): Delete.
10645 (electric-pair-backward-delete-char-untabify): Delete.
10646 (electric-pair-mode-map): Bind backspace to a menu item filtering
10647 a new `electric-pair-delete-pair' command.
10648 (electric-pair-delete-pair): New command.
10649
10650 * progmodes/python.el (python-electric-pair-string-delimiter):
10651 Fix triple-quoting electricity. (Bug#17192)
10652
10653 * elec-pair.el (electric-pair-post-self-insert-function):
10654 Don't skip whitespace when `electric-pair-text-pairs' and
10655 `electric-pair-pairs' were used. syntax to
10656 electric-pair--skip-whitespace. (Bug#17183)
10657
10658 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10659
10660 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10661 "<F>". (Bug#17199)
10662
10663 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10666 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10667
10668 2014-04-07 Glenn Morris <rgm@gnu.org>
10669
10670 * help.el (view-lossage): Doc tweak.
10671
10672 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
10673
10674 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10675 only when inhibit-x-resources is nil, and do that earlier in the
10676 function. Doc fix. (Bug#16694)
10677 (face-spec-choose): Accept additional optional argument, whose
10678 value is returned if no matching attributes are found.
10679 (face-spec-recalc): Use the new optional argument when calling
10680 face-spec-choose. (Bug#16378)
10681 (make-face-x-resource-internal): Do nothing when
10682 inhibit-x-resources is non-nil. Don't touch the default face if
10683 reversed video is given--as was done in previous versions of Emacs.
10684 (face-set-after-frame-default): Don't call
10685 make-face-x-resource-internal here. (Bug#16434)
10686
10687 2014-04-07 Tassilo Horn <tsdh@gnu.org>
10688
10689 * doc-view.el (doc-view-bookmark-jump):
10690 Use `bookmark-after-jump-hook' to jump to the right page after the
10691 buffer is shown in a window. (bug#16090)
10692
10693 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10694
10695 * international/characters.el (mirroring): Fix last change:
10696 instead of loading uni-mirrored.el explicitly, do that implicitly
10697 by creating the 'mirroring' uniprop table. This avoids announcing
10698 the loading of uni-mirrored.el.
10699
10700 2014-04-07 Glenn Morris <rgm@gnu.org>
10701
10702 * files.el (buffer-stale--default-function)
10703 (buffer-stale-function, revert-buffer--default):
10704 * autorevert.el (auto-revert-buffers): Doc tweaks.
10705
10706 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10707
10708 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10709
10710 2014-04-07 Glenn Morris <rgm@gnu.org>
10711
10712 * files.el (make-backup-file-name-function)
10713 (make-backup-file-name, make-backup-file-name--default-function)
10714 (make-backup-file-name-1, find-backup-file-name)
10715 (revert-buffer-function, revert-buffer-insert-file-contents-function)
10716 (buffer-stale--default-function, buffer-stale-function)
10717 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10718 (revert-buffer, revert-buffer--default)
10719 (revert-buffer-insert-file-contents--default-function):
10720 Doc fixes related to defaults no longer being nil.
10721 (make-backup-file-name-function): Bump :version.
10722 Restore nil as a valid but deprecated custom type.
10723
10724 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10727 Handle $' used as a variable (bug#17174).
10728
10729 * progmodes/perl-mode.el (perl-indent-new-calculate):
10730 Handle forward-sexp failure (bug#16985).
10731 (perl-syntax-propertize-function): Add "foreach" and "for" statement
10732 modifiers introducing expressions (bug#17116).
10733
10734 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10737
10738 2014-04-05 Leo Liu <sdl.web@gmail.com>
10739
10740 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10741 Add define-compilation-mode.
10742
10743 2014-04-04 João Távora <joaotavora@gmail.com>
10744
10745 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10746 parse from comment beginning.
10747 (electric-pair--balance-info): Fix typo in comment.
10748 (electric-pair--in-unterminated-string-p): Delete.
10749 (electric-pair--unbalanced-strings-p): New function.
10750 (electric-pair-string-bound-function): New var.
10751 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10752 according to `electric-pair--in-unterminated-string-p'.
10753
10754 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10757 Move declaration before first use.
10758 (reftex-move-to-next-arg): Silence compiler warning.
10759
10760 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
10761
10762 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10763 Use `window-total-width' instead of `window-width'.
10764
10765 2014-04-03 Daniel Colascione <dancol@dancol.org>
10766
10767 * subr.el (set-transient-map): Remove rms's workaround entirely;
10768 use new `suspicious-object' subr to mark our lambda for closer
10769 scrutiny during gc.
10770
10771 2014-04-02 Richard Stallman <rms@gnu.org>
10772
10773 * subr.el (set-transient-map): Comment out previous change.
10774
10775 2014-04-02 Glenn Morris <rgm@gnu.org>
10776
10777 * menu-bar.el (menu-bar-file-menu):
10778 * vc/ediff.el (ediff-current-file):
10779 Update for revert-buffer-function no longer being nil by default.
10780
10781 * simple.el (command-execute): Respect nil disabled-command-function.
10782
10783 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10784
10785 * simple.el (command-execute): Do not execute the command when it
10786 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
10787
10788 2014-04-02 Juri Linkov <juri@jurta.org>
10789
10790 * dired-aux.el (dired-compress-file): Don't use string-match-p
10791 because its match data is used afterwards.
10792
10793 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10796 0 like nil.
10797
10798 2014-04-02 João Távora <joaotavora@gmail.com>
10799
10800 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10801 Inhibit quote pairing if point-max is inside an unterminated string.
10802 (electric-pair--looking-at-unterminated-string-p):
10803 Delete.
10804 (electric-pair--in-unterminated-string-p): New function.
10805
10806 2014-04-01 Daniel Colascione <dancol@dancol.org>
10807
10808 * minibuffer.el (minibuffer-complete): Prevent assertion failure
10809 when trying to complete the prompt.
10810
10811 2014-03-31 Leo Liu <sdl.web@gmail.com>
10812
10813 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10814 Refactor out eldoc-documentation-function-default.
10815 (eldoc-documentation-function-default): New function.
10816 (eldoc-documentation-function): Change value.
10817
10818 2014-03-31 Glenn Morris <rgm@gnu.org>
10819
10820 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10821
10822 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10823 (vhdl-compose-components-package, vhdl-compose-configuration):
10824 Abbreviate default-directory (missing from some previous upstream sync).
10825
10826 2014-03-31 Reto Zimmermann <reto@gnu.org>
10827
10828 Sync with upstream vhdl mode v3.35.2.
10829 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10830 (top-level): No longer require assoc.
10831 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10832 New functions. Use throughout to replace aget etc.
10833 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10834 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10835 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10836 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10837 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10838 except `vhdl-compiler'.
10839 (vhdl-error-regexp-add-emacs): Remove all other compilers,
10840 when appropriate.
10841
10842 2014-03-31 Glenn Morris <rgm@gnu.org>
10843
10844 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10845 Revert 2014-03-26 merge goof; go back to using defalias.
10846
10847 2014-03-30 Daniel Colascione <dancol@dancol.org>
10848
10849 * comint.el (comint-send-input):
10850 Deactivate completion-in-region-mode before we send comint input.
10851 (Bug#17139).
10852
10853 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10854 on keyboard-quit.
10855
10856 2014-03-29 Glenn Morris <rgm@gnu.org>
10857
10858 * textmodes/reftex.el: Manage most autoloads automatically.
10859 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10860 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10861 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10862 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10863 * textmodes/reftex-toc.el: Set generated-autoload-file,
10864 and add autoload cookies for reftex.el.
10865 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10866
10867 2014-03-28 Glenn Morris <rgm@gnu.org>
10868
10869 * cus-start.el (report-emacs-bug-address): Set custom properties.
10870 * mail/emacsbug.el (report-emacs-bug-address):
10871 Variable is now defined in emacs.c.
10872
10873 * mail/emacsbug.el (report-emacs-bug):
10874 Include system-configuration-features.
10875
10876 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10877
10878 * simple.el (cycle-spacing): Never delete spaces on first run by
10879 default, but do so in a new 'fast mode and if there are already
10880 N spaces (the previous behavior).
10881 Compare N with its value in previous invocation so that changing
10882 prefix argument restarts `cycle-spacing' sequence.
10883 The idea is that with this change, binding M-SPC to
10884 `cycle-spacing' should not introduce any changes in behavior of
10885 the binding so long as users do not type M-SPC twice in a raw with
10886 the same prefix argument or lack thereof.
10887
10888 2014-03-28 Glenn Morris <rgm@gnu.org>
10889
10890 * faces.el (term-file-aliases): New variable.
10891 (tty-run-terminal-initialization): Respect term-file-aliases.
10892 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10893 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10894 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10895
10896 2014-03-27 Glenn Morris <rgm@gnu.org>
10897
10898 * startup.el (inhibit-startup-hooks): Doc tweak.
10899 (normal-top-level): Simplify running of hooks.
10900 For window-setup-hook, respect inhibit-startup-hooks.
10901 (command-line-1): Don't set window-setup-hook to nil.
10902
10903 Allow selective autoloading from obsolete/ directory.
10904 * Makefile.in (obsolete-autoloads): New rule.
10905 (autoloads): Run obsolete-autoloads.
10906 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10907 * simple.el (iswitchb-mode): Remove hand-written autoloads.
10908
10909 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
10910
10911 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10912 Highlight special globals with font-lock-builtin-face. (Bug#17057)
10913
10914 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10915 Don't propertize `?' or `!' as symbol constituent when after
10916 colon. (Bug#17097)
10917
10918 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10921 which is no longer needed and causes trouble in GTK builds (bug#17046).
10922
10923 * emacs-lisp/package-x.el (package--archive-contents-from-url):
10924 Use url-insert-file-contents; package-handle-response no longer exists.
10925
10926 2014-03-26 Daniel Colascione <dancol@dancol.org>
10927
10928 * simple.el (process-menu-mode-map): New variable.
10929 (process-menu-delete-process): New command.
10930
10931 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10932
10933 * emacs-lisp/package.el: Fix bug#16733 (again).
10934 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10935 (url-http-target-url): Remove unused declarations.
10936 (package-handle-response): Remove.
10937 (package--with-work-buffer): Use url-insert-file-contents and simplify.
10938 (package--download-one-archive): Use current-buffer instead of
10939 dynamic binding of `buffer'.
10940 (describe-package-1): Do not decode readme-string.
10941
10942 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
10943
10944 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10945
10946 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10947 from 2014-03-07, it decreases performance unnecessarily. Let-bind
10948 `remote-file-name-inhibit-cache' to nil in the second pass.
10949 (tramp-find-executable): Do not call "which" on SunOS.
10950 (tramp-send-command-and-check): Fix docstring.
10951 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10952 check whether source directory has set the sticky bit.
10953
10954 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
10955
10956 * simple.el (primitive-undo): Only process marker adjustments
10957 validated against their corresponding (TEXT . POS). Issue warning
10958 for lone marker adjustments in undo history. (Bug#16818)
10959 (undo-make-selective-list): Add marker adjustments to selective
10960 undo list based on whether their corresponding (TEXT . POS) is in
10961 the region. Remove variable adjusted-markers, which was unused
10962 and only non nil during undo-make-selective-list.
10963 (undo-elt-in-region): Return nil when passed a marker adjustment
10964 and explain in function doc.
10965
10966 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10967
10968 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10969
10970 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10971
10972 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10973 Match special global variables without curlies, too.
10974 (ruby-font-lock-keywords): Simplify the matcher for special global
10975 variables. Don't require a non-word character after the variable.
10976 (Bug#17057)
10977
10978 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * simple.el (redisplay-highlight-region-function): Increase priority of
10981 overlay to make sure boundaries are visible (bug#15899).
10982
10983 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10984
10985 * frameset.el (frameset--initial-params): Fix typo in parameter name.
10986 (frameset-restore): Compare display strings with equal.
10987
10988 * frame.el (make-frame): Don't quote display name in error message,
10989 it is already a string.
10990
10991 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10992
10993 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
10994 the password.
10995
10996 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10997
10998 * emacs-lisp/package.el (package--add-to-archive-contents):
10999 Include already installed and built-in packages in
11000 `package-archive-contents'.
11001 (package-install): Don't include already installed packages in the
11002 options during interactive invocation. (Bug#16762)
11003 (package-show-package-list): If the buffer is already displayed in
11004 another window, switch to that window.
11005
11006 2014-03-26 Reto Zimmermann <reto@gnu.org>
11007
11008 Sync with upstream vhdl mode v3.35.1.
11009 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11010 (vhdl-compiler-alist): Doc fix.
11011 (vhdl-goto-line): Remove.
11012 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11013 (vhdl-mode) <paragraph-start>: Fix value.
11014 (vhdl-fix-statement-region): Not `for' in wait-statement.
11015 (vhdl-beautify-region): Also (un)tabify.
11016 (vhdl-get-visible-signals):
11017 Scan declarative part of generate statements.
11018 (vhdl-template-record): Fix indentation for record type declaration.
11019 (vhdl-expand-abbrev, vhdl-expand-paren):
11020 Revert to using fset again rather than defalias.
11021 (vhdl-scan-directory-contents): Tweak.
11022 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11023 (vhdl-compose-components-package):
11024 Replace vhdl-goto-line with forward-line.
11025 (top-level): Tweak speedbar frame selection.
11026 (vhdl-generate-makefile-1): Support for compilers with no
11027 unit-to-file name mapping (create directory with dummy files).
11028
11029 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11030
11031 Sync with upstream verilog-mode revision 702457d.
11032 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11033 (create-lockfiles): Declare.
11034 (verilog-read-decls): Fix module header imports, bug709.
11035 Reported by Victor Lau.
11036 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11037 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11038 interface-only modules, bug721. Reported by Dean Hoyt.
11039
11040 2014-03-26 Glenn Morris <rgm@gnu.org>
11041
11042 * obsolete/gulp.el: Move here from emacs-lisp/.
11043
11044 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11045 Remove fallback aliases, since they are always defined now.
11046
11047 2014-03-24 Daniel Colascione <dancol@dancol.org>
11048
11049 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11050 instead of cl-loop search function.
11051
11052 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11053
11054 * calendar/parse-time.el (parse-time-iso8601-regexp)
11055 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11056 it more generally.
11057
11058 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11059
11060 * net/dns.el (network-interface-list): Define for XEmacs.
11061
11062 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11063
11064 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11065 the network interfaces changed.
11066 (dns-query): Use it to flush the data.
11067
11068 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11069
11070 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11071
11072 2014-03-23 Daniel Colascione <dancol@dancol.org>
11073
11074 Change subword-mode to use `find-word-boundary-function-table' and
11075 replace `capitalized-words-mode'. Also, convert to lexical binding.
11076 * progmodes/cap-words.el: Delete now-obsolete file.
11077 * progmodes/subword.el: Reimplement using
11078 `find-word-boundary-function-table'.
11079 (subword-mode-map): Hollow out.
11080 (capitalized-words-mode): Define as obsolete alias for
11081 `subword-mode'.
11082 (subword-mode, superword-mode): Tweak documentation to reflect new
11083 implementation; call `subword-setup-buffer'.
11084 (subword-forward, subword-capitalize): Add underscore to indicate
11085 unused variable.
11086 (subword-find-word-boundary-function-table): New constant.
11087 (subword-empty-char-table): New constant.
11088 (subword-setup-buffer): New function.
11089 (subword-find-word-boundary): New function.
11090
11091 2014-03-23 Daniel Colascione <dancol@dancol.org>
11092
11093 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11094 list to look for keyword arguments instead of `memq', fixing
11095 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11096 Please make bootstrap.
11097
11098 2014-03-22 Glenn Morris <rgm@gnu.org>
11099
11100 * dired.el (dired-read-regexp): Make obsolete.
11101 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11102 (dired-flag-files-regexp):
11103 * dired-aux.el (dired-mark-read-regexp):
11104 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11105
11106 * startup.el (fancy-startup-text):
11107 * help.el (describe-gnu-project): Visit online info about GNU project.
11108
11109 * help-fns.el (help-fns--interactive-only): New function.
11110 (help-fns-describe-function-functions): Add the above function.
11111 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11112 (next-line, previous-line): Remove hand-written interactive-only
11113 information from doc strings, it is auto-generated now.
11114 * bookmark.el (bookmark-write):
11115 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11116 (epa-mail-import-keys): Mark interactive-only,
11117 and remove hand-written interactive-only information from doc strings.
11118 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11119 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11120 * files.el (not-modified):
11121 * simple.el (mark-whole-buffer): Mark interactive-only.
11122
11123 * emacs-lisp/byte-run.el (defun-declarations-alist):
11124 Add interactive-only. Doc tweak.
11125 (macro-declarations-alist): Doc tweak.
11126 * subr.el (declare): Doc tweak (add xref to manual).
11127 * comint.el (comint-run):
11128 * files.el (insert-file-literally, insert-file):
11129 * replace.el (replace-string, replace-regexp):
11130 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11131 (delete-forward-char, goto-line, insert-buffer, next-line)
11132 (previous-line): Set interactive-only via declare.
11133
11134 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11135
11136 * emacs-lisp/package.el (package-desc): Use the contents of the
11137 quoted form, not its cdr. (Bug#16873)
11138
11139 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11140
11141 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11142 benefit of doc.c; change parameter profile to match the X function.
11143
11144 2014-03-22 Leo Liu <sdl.web@gmail.com>
11145
11146 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11147 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11148
11149 2014-03-21 Richard Stallman <rms@gnu.org>
11150
11151 * battery.el (battery-linux-sysfs): Search for each field
11152 from the beginning of the buffer.
11153
11154 * subr.el (set-transient-map): Clear out function and value
11155 of the temporary symbol when we're done with it.
11156
11157 * mail/rmailsum.el (rmail-summary-delete-forward):
11158 Optimize case of reaching end and handling count.
11159 (rmail-summary-mark-deleted): Optimize when N is current msg.
11160 Don't create new summary line.
11161 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11162 (rmail-summary-undelete-many): Rewrite for speed.
11163 (rmail-summary-msg-number): New function.
11164
11165 * mail/rmail.el (rmail-delete-message): Update summary.
11166 (rmail-undelete-previous-message): Handle repeat count arg.
11167 (rmail-delete-backward, rmail-delete-forward): Likewise.
11168
11169 2014-03-21 Daniel Colascione <dancol@dancol.org>
11170
11171 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11172 information in bug reports.
11173
11174 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11175
11176 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11177 and `tramp-copy-env'.
11178
11179 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11180 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11181
11182 2014-03-21 Glenn Morris <rgm@gnu.org>
11183
11184 * electric.el (electric-indent-post-self-insert-function): Add doc.
11185
11186 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11187
11188 * emacs-lisp/package.el (package-compute-transaction):
11189 Use `version-list-<=' to compare the requirement version against
11190 the version of package already to be installed. Update the error
11191 message. (Bug#16826)
11192
11193 * progmodes/ruby-mode.el (ruby-smie-rules):
11194 Add indentation rule for ` @ '. (Bug#17050)
11195
11196 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11197
11198 * align.el (align-regexp): Remove superfluous backslash.
11199
11200 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11201 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11202 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11203 Fix docstring typos.
11204 (ffap-next): Use C-u in docstring.
11205 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11206 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11207 Remove superfluous backslashes.
11208 (ffap-string-at-point): Reflow docstring.
11209
11210 * server.el (server-host): Reflow docstring.
11211 (server-unload-function): Fix docstring typo.
11212 (server-eval-at): Remove superfluous backslash.
11213
11214 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11215 (skeleton-insert): Doc fix.
11216 (skeleton-insert): Reflow docstring.
11217
11218 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11219 (tty-color-approximate, tty-color-by-index, tty-color-values)
11220 (tty-color-desc): Remove superfluous backslashes.
11221
11222 2014-03-21 Glenn Morris <rgm@gnu.org>
11223
11224 * cus-start.el (history-length): Bump :version.
11225
11226 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11227 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11228 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11229 Don't set `make-backup-files'.
11230
11231 * info.el (info--prettify-description): New function,
11232 to give info-finder descriptions consistent case, punctuation.
11233 (Info-finder-find-node): Use it. Sort packages.
11234 Refer to "description" rather than "commentary".
11235
11236 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * frameset.el (frameset--print-register): New function.
11239 (frameset-to-register): Use it.
11240
11241 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11242
11243 * progmodes/hideif.el (hif-string-to-number): New function.
11244 (hif-tokenize): Use it to understand non-decimal floats.
11245
11246 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11247
11248 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11249
11250 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * electric.el (electric-newline-and-maybe-indent): New command.
11253 Bind it globally to C-j.
11254 (electric-indent-mode): Don't mess with the global map any more.
11255 Don't drop the post-self-insert-hook is some buffer is still using it
11256 (bug#16770).
11257
11258 * bindings.el (global-map): Remove C-j binding.
11259
11260 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11261 the docstring of functions advised before dumping (bug#16993).
11262
11263 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11264
11265 * ps-print.el (ps-generate-postscript-with-faces):
11266 Explicitly deactivate the mark (bug#16866).
11267 * simple.el (deactivate-mark): Update region highlight.
11268
11269 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11270
11271 * emacs-lisp/package.el (describe-package-1):
11272 Decode commentary (bug#16733).
11273
11274 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11277 modification of the value argument of :set (bug#16755).
11278
11279 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * simple.el (newline-and-indent): Do autofill (bug#17031).
11282
11283 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11284
11285 * newcomment.el (comment-normalize-vars): Only add escaping check
11286 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11287 (comment-beginning): Use `narrow-to-region' instead of moving back
11288 one character.
11289 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11290 (comment-start-skip): Update the docstring.
11291
11292 2014-03-18 Richard Stallman <rms@gnu.org>
11293
11294 * dired.el (dired-display-file): Force use of other window.
11295
11296 2014-03-18 Daniel Colascione <dancol@dancol.org>
11297
11298 * startup.el (tty-handle-args): Remove debug message from 2007.
11299
11300 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11303 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11304 (advice--make-1, advice-add, advice-remove):
11305 Remove braindead :advice-pending hack.
11306
11307 2014-03-17 Glenn Morris <rgm@gnu.org>
11308
11309 * calendar/calendar.el (calendar-generate-month): Apply weekend
11310 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11311
11312 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11313
11314 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11315 (tramp-call-process): Trace also DESTINATION.
11316
11317 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11318 Quote file names when they are local. Remove superfluous trace.
11319
11320 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11321
11322 * newcomment.el (comment-beginning): If `comment-start-skip'
11323 doesn't match, move back one char and try again. (Bug#16971)
11324
11325 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11326 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11327 Set `comment-start-skip' to a simpler value that doesn't try to
11328 check if the semicolon is escaped (this is handled by
11329 `syntax-ppss' now). (Bug#16971)
11330
11331 * progmodes/scheme.el (scheme-mode-variables): Same.
11332
11333 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11334
11335 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11336 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11337 current (Bug#16816, Bug#17007).
11338 (with-current-buffer-window): New macro doing the same as
11339 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11340 * help.el (help-print-return-message): Warn in doc-string to not
11341 use this in `with-help-window'.
11342 (describe-bindings-internal): Call `describe-buffer-bindings'
11343 from within help buffer. See Juanma's scenario in (Bug#16816).
11344 (with-help-window): Update doc-string.
11345 * dired.el (dired-mark-pop-up):
11346 * files.el (save-buffers-kill-emacs):
11347 * register.el (register-preview): Use `with-current-buffer-window'
11348 instead of `with-temp-buffer-window'.
11349
11350 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11353 Implement inserting into current buffer, documented in their docstrings.
11354 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11355 (rst-section-tree-point, rst-forward-section, rst-indent)
11356 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11357 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11358 (rst-font-lock-handle-adornment-pre-match-form)
11359 (rst-repeat-last-character): Reflow docstrings.
11360 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11361 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11362 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11363 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11364 Fix docstring typos.
11365 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11366 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11367 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11368
11369 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11372 for compatibility with other ports.
11373 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11374 from the -xrm command line argument, but in the Nextstep port its value
11375 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11376
11377 * progmodes/python.el (defconst, python-syntax-count-quotes)
11378 (python-indent-region, python-indent-shift-right)
11379 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11380 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11381 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11382 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11383 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11384 (python-shell-buffer-substring, python-shell-send-buffer)
11385 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11386 (python-completion-complete-at-point, python-fill-docstring-style)
11387 (python-eldoc-function, python-imenu-format-item-label)
11388 (python-imenu-format-parent-item-label)
11389 (python-imenu-format-parent-item-jump-label)
11390 (python-imenu--build-tree, python-imenu-create-index)
11391 (python-imenu-create-flat-index): Fix docstring typos.
11392 (python-indent-context, python-shell-prompt-regexp, run-python):
11393 Remove superfluous backslashes.
11394 (python-indent-line, python-nav-beginning-of-defun)
11395 (python-shell-get-buffer, python-shell-get-process)
11396 (python-info-current-defun, python-info-current-line-comment-p)
11397 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11398 (python-indent-post-self-insert-function, python-shell-send-file)
11399 (python-shell-completion-get-completions)
11400 (python-shell-completion-complete-or-indent)
11401 (python-eldoc--get-doc-at-point): Reflow docstrings.
11402
11403 2014-03-14 Glenn Morris <rgm@gnu.org>
11404
11405 * emacs-lisp/package.el (package-menu-mode-map):
11406 Replace use of obsolete function alias. Tweak menu item text.
11407
11408 * info.el (Info-finder-find-node):
11409 Ignore the `emacs' metapackage. (Bug#10813)
11410
11411 * finder.el (finder-list-matches): Include unversioned packages
11412 in the result of a keyword search.
11413
11414 * finder.el (finder--builtins-descriptions): New constant.
11415 (finder-compile-keywords): Use finder--builtins-descriptions.
11416
11417 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11418
11419 * simple.el (blink-matching-paren): Describe the new value,
11420 `jump', enabling the old behavior.
11421 (blink-matching-open): Use that value. (Bug#17008)
11422
11423 2014-03-14 Glenn Morris <rgm@gnu.org>
11424
11425 * finder.el (finder-no-scan-regexp): Add leim-list.
11426 (finder-compile-keywords):
11427 Don't skip files with same basename. (Bug#14010)
11428 * Makefile.in (setwins_finder): New, excluding leim.
11429 (finder-data): Use setwins_finder.
11430
11431 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11432 (help-function-arglist, help-make-usage): Move from here...
11433 * help.el (help-split-fundoc, help-add-fundoc-usage)
11434 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11435 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11436
11437 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * net/socks.el (socks, socks-override-functions)
11440 (socks-find-services-entry):
11441 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11442 (hif-find-ifdef-block):
11443 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11444
11445 * net/tls.el (tls-program): Reflow docstring.
11446
11447 * progmodes/pascal.el (pascal-mode-abbrev-table)
11448 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11449 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11450 (pascal-outline-mode): Fix docstring typos.
11451 (pascal-mode): Let define-derived-mode document mode hook.
11452 (pascal-uncomment-area): Reflow.
11453 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11454
11455 * progmodes/opascal.el (opascal-compound-block-indent)
11456 (opascal-case-label-indent): Fix docstring typos.
11457 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11458
11459 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11460
11461 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11462 Fontify multiple adjacent negation chars. (Bug#17004)
11463
11464 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11465
11466 * emacs-lisp/package.el (package--prepare-dependencies):
11467 Accept requirements without explicit version (bug#14941).
11468
11469 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11470
11471 * register.el (register-separator, copy-to-register): Doc fixes.
11472 (register-preview-default): Remove unnecessary call to concat.
11473
11474 * frameset.el (frameset-restore): When checking for a visible frame,
11475 use the action map instead of calling visible-frame-list.
11476
11477 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11478
11479 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11480
11481 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11482
11483 * window.el (fit-frame-to-buffer): Get maximum width from
11484 display's width instead of height.
11485
11486 2014-03-12 Glenn Morris <rgm@gnu.org>
11487
11488 * desktop.el (desktop-restore-frames)
11489 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11490 (desktop-restore-reuses-frames): Doc tweaks.
11491
11492 * electric.el (electric-indent-mode): Doc fix.
11493
11494 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11495
11496 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11497 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11498 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11499 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11500 (cvs-dired-use-hook): Fix docstring typos.
11501 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11502 Doc fixes.
11503
11504 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11505 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11506 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11507 (cvs-execute-single-dir): Fix docstring typos.
11508
11509 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11510 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11511
11512 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11513
11514 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11515 Fix docstring typos.
11516
11517 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11520 called from jump-to-register after unloading the frameset package.
11521
11522 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11525 (bug#16975). Deactivate the mark before setting it to nil.
11526 (activate-mark): Do nothing if region is already active.
11527
11528 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * frameset.el (frameset--target-display): Remove definition; declare.
11531 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11532
11533 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11536 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11537 when the advice is pending.
11538 (advice-remove): Remove this marker when not needed any more.
11539
11540 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11541
11542 * frameset.el: Separate options for reusing frames and cleaning up.
11543 (frameset--reuse-list): Remove definition; declare.
11544 (frameset--action-map): Declare.
11545 (frameset--find-frame-if): Doc fix.
11546 (frameset--restore-frame): Cache frame action.
11547 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11548 how to clean up the frame list after restoring. Remove cleaning
11549 options from REUSE-FRAMES. Change all keyword values to symbols.
11550 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11551
11552 * desktop.el (desktop-restore-forces-onscreen)
11553 (desktop-restore-reuses-frames): Use non-keyword values.
11554 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11555
11556 2014-03-10 Glenn Morris <rgm@gnu.org>
11557
11558 * files.el (find-file): Doc fix: update info node name.
11559
11560 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11561 Doc fix: remove references to deleted info nodes.
11562
11563 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11566 Do not add nil to the environment, when there's no remote `locale'.
11567 (tramp-find-inline-encoding): Check, that the remote host has
11568 installed perl, before sending scripts.
11569
11570 2014-03-10 Leo Liu <sdl.web@gmail.com>
11571
11572 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11573 Clear eldoc-last-message. (Bug#16920)
11574
11575 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11578 (bug#14430).
11579
11580 2014-03-09 Juri Linkov <juri@jurta.org>
11581
11582 * ansi-color.el (ansi-color-names-vector): Copy default colors
11583 from `xterm-standard-colors' that look well on the default white
11584 background (and also on the black background) to avoid illegible
11585 color combinations like yellow-on-white and white-on-white.
11586 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11587
11588 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11589
11590 * frameset.el (frameset-restore): When no frame is visible, do not
11591 generate a list of frames, just make visible the selected one.
11592
11593 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11594
11595 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11596 it only contains the repository root. (Bug#16897)
11597
11598 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11599
11600 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11601 only when `remote-file-name-inhibit-cache' is nil.
11602 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11603
11604 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11605
11606 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11607 Fix doc-strings.
11608 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11609 fit-frame-to-buffer variable. Fix doc-string.
11610 (fit-window-to-buffer): Set ONLY argument in call of
11611 fit-frame-to-buffer. Fix doc-string.
11612
11613 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11614
11615 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11616 (tramp-action-password): Clear password cache if needed.
11617 (tramp-read-passwd): Do not clear password cache.
11618
11619 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11620 cache unless it is the first password request.
11621
11622 2014-03-06 Glenn Morris <rgm@gnu.org>
11623
11624 * simple.el (newline): Doc tweak.
11625
11626 * emacs-lisp/shadow.el (load-path-shadows-find):
11627 Ignore dir-locals. (Bug#12357)
11628
11629 2014-03-05 Glenn Morris <rgm@gnu.org>
11630
11631 * files.el (interpreter-mode-alist):
11632 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
11633
11634 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11635
11636 * frameset.el (frameset--initial-params): Filter out null entries.
11637
11638 2014-03-05 Martin Rudalics <rudalics@gmx.at>
11639
11640 * window.el (window-min-height, window-min-width):
11641 Rewrite doc-strings.
11642 (window-body-size): Add PIXELWISE argument to make it consistent
11643 with its callees.
11644
11645 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11646
11647 * finder.el (finder-mode-map, finder-mode-syntax-table):
11648 Revert part of 2014-02-28 change.
11649
11650 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
11651
11652 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11653 (eww-setup-buffer): Clear next/prev/etc more reliably.
11654 (eww-textarea-map): [tab] doesn't work on tty.
11655 Reported by Mario Lang.
11656
11657 * net/shr.el (shr-map): Ditto.
11658
11659 2014-03-04 Glenn Morris <rgm@gnu.org>
11660
11661 * minibuffer.el (completion-hilit-commonality):
11662 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11663
11664 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * hilit-chg.el (hilit-chg-unload-function): New function.
11667 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11668 (hilit-chg-map-changes): Prefer cardinal number to digit.
11669 (hilit-chg-display-changes): Reflow docstring.
11670 (highlight-changes-rotate-faces): Remove superfluous backslash.
11671
11672 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
11673
11674 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11675 `tramp-send-command-and-check'.
11676
11677 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * hexl.el (hexl-address-region, hexl-ascii-region)
11680 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11681 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11682 (hexl-forward-word, hexl-previous-line, hexl-next-line):
11683 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11684 (hexl-mode): Doc fix.
11685 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11686 (hexl-mode-ruler): Fix typos in docstrings.
11687
11688 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11689 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11690 Remove superfluous backslashes.
11691 (strokes-last-stroke, strokes-global-map, strokes-mode):
11692 Reflow docstrings.
11693 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11694 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11695 (strokes-distance-squared, strokes-global-set-stroke)
11696 (strokes-global-set-stroke-string): Doc fixes.
11697 (strokes-help): Fix typos; reflow docstring.
11698
11699 2014-03-04 Martin Rudalics <rudalics@gmx.at>
11700
11701 * window.el (window-in-direction): Fix doc-string.
11702
11703 2014-03-04 Glenn Morris <rgm@gnu.org>
11704
11705 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11706 Explicit error if no grammar.
11707 (smie-config-save): Doc fix. Fix quote typo.
11708
11709 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11712 electric-indent-mode-hook if we obey electric-indent-mode.
11713 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11714 decide whether we obey electric-indent-mode.
11715 (c-change-set-fl-decl-start, c-extend-after-change-region):
11716 Silence warnings.
11717 (c-electric-indent-mode-hook): Assume we do want to obey
11718 electric-indent-mode.
11719
11720 * electric.el (electric-indent-mode-has-been-called): Remove.
11721 (electric-indent-mode): Fix accordingly.
11722
11723 * files.el (hack-local-variables): Mention file name in warning.
11724
11725 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11726
11727 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
11728
11729 * bindings.el: Add comment describing why C-d binds to `delete-char'.
11730 * simple.el (delete-forward-char): Mark as interactive-only.
11731
11732 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * icomplete.el (icomplete-completions):
11735 Follow-up to 2014-03-01 change.
11736
11737 * icomplete.el: Miscellaneous doc fixes.
11738 Use Icomplete everywhere instead of icomplete for consistency.
11739 (icomplete-max-delay-chars): Fix typo.
11740 (icomplete-mode): Use \[].
11741 (icomplete-tidy, icomplete-exhibit): Reflow.
11742 (icomplete-minibuffer-setup-hook, icomplete-completions):
11743 Remove superfluous backlashes.
11744
11745 * ido.el: Miscellaneous doc fixes.
11746 Use Ido everywhere instead of ido or `ido' for consistency.
11747 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11748 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11749 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11750 (ido-separator): Extract obsolescence info from docstring and declare
11751 with make-obsolete-variable.
11752 (ido-minibuffer-setup-hook): Simplify example.
11753 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11754 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11755 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11756 (ido-everywhere): Reflow docstring.
11757 (ido-toggle-vc): Doc fix.
11758 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11759 of long list of keybindings.
11760
11761 2014-03-03 Glenn Morris <rgm@gnu.org>
11762
11763 * frame.el (display-pixel-height, display-pixel-width)
11764 (display-mm-dimensions-alist, display-mm-height)
11765 (display-mm-width): Doc tweaks.
11766
11767 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
11768
11769 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11770 case of undo in region.
11771
11772 2014-03-02 Martin Rudalics <rudalics@gmx.at>
11773
11774 * window.el (fit-window-to-buffer): Fix argument in window-size
11775 call when window is horizontally combined.
11776
11777 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
11778
11779 * icomplete.el (icomplete-completions): Use string-width.
11780 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11781
11782 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
11783
11784 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11785 Highlight regexp options. (Bug#16914)
11786
11787 2014-03-01 Martin Rudalics <rudalics@gmx.at>
11788
11789 * window.el (window--max-delta-1): Round down when calculating
11790 how many lines/columns we can get from a window.
11791
11792 2014-03-01 Glenn Morris <rgm@gnu.org>
11793
11794 * isearch.el (search-invisible): Doc fix.
11795
11796 * minibuffer.el (completion-hilit-commonality):
11797 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
11798 * comint.el (comint-dynamic-list-completions): Doc fix.
11799 * comint.el (comint-dynamic-list-completions):
11800 * filecache.el (file-cache-minibuffer-complete):
11801 * tempo.el (tempo-display-completions):
11802 * eshell/em-hist.el (eshell-list-history):
11803 Replace use of obsolete argument of display-completion-list.
11804
11805 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
11806
11807 * icomplete.el (icomplete-completions):
11808 Revert back to using "..." when ?… cannot be displayed.
11809
11810 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11811
11812 * finder.el (finder-unload-function): New function.
11813
11814 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * dframe.el (dframe-detach):
11817 * find-dired.el (find-dired, find-name-dired):
11818 * finder.el (finder-mode-map, finder-mode-syntax-table)
11819 (finder-headmark, finder-select, finder-mouse-select):
11820 Fix docstring typos.
11821
11822 2014-02-28 Martin Rudalics <rudalics@gmx.at>
11823
11824 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11825 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11826 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11827 Fix doc-string based on a suggestion by Nicolas Richard
11828 <theonewiththeevillook@yahoo.fr>.
11829 * help.el (with-help-window): Fix doc-string.
11830
11831 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11832
11833 * net/shr.el (shr-image-animate): New option.
11834 (shr-put-image): Respect shr-image-animate.
11835
11836 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
11837
11838 * net/tramp-adb.el (tramp-adb-parse-device-names):
11839 Use `accept-process-output'.
11840 (tramp-adb-handle-file-truename): Cache the localname only.
11841 (tramp-adb-handle-make-directory)
11842 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11843 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11844 modes cannot be changed.
11845
11846 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11847 file properties of symlinks.
11848
11849 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11850
11851 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11852 required/optional fields to match development biblatex. (Bug#16781)
11853
11854 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11855
11856 * saveplace.el (toggle-save-place):
11857 Fix argument handling. (Bug#16673)
11858
11859 2014-02-28 Glenn Morris <rgm@gnu.org>
11860
11861 * minibuffer.el (completions-first-difference)
11862 (completions-common-part, completion-hilit-commonality): Doc fixes.
11863
11864 2014-02-28 Karl Berry <karl@gnu.org>
11865
11866 * info.el (Info-mode-map): Add H for describe-mode,
11867 to synchronize with standalone Info.
11868
11869 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11870
11871 * progmodes/sql.el (sql-interactive-mode):
11872 Avoid setting global comint-input-ring-separator. (Bug#16814)
11873
11874 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11875
11876 * net/dbus.el (dbus--init-bus): Declare function.
11877 (dbus-path-local, dbus-interface-local): New defconst.
11878 (dbus-init-bus): Use them.
11879 (dbus-return-values-table): Extend doc.
11880 (dbus-handle-bus-disconnect): Extend error message.
11881
11882 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11883
11884 * subr.el (y-or-n-p): Fix double space issue in message.
11885
11886 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11887
11888 * net/tramp.el (tramp-call-process): Improve trace message.
11889 (tramp-handle-insert-file-contents): Trace error case.
11890
11891 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11892 <insert-directory>: Use `tramp-handle-insert-directory'.
11893 (tramp-adb-handle-insert-directory): Remove function.
11894 (tramp-adb-send-command-and-check): New defun, replacing
11895 `tramp-adb-command-exit-status'. Change all callees.
11896 (tramp-adb-handle-file-attributes)
11897 (tramp-adb-handle-directory-files-and-attributes): Use it.
11898 (tramp-adb-ls-output-name-less-p):
11899 Use `directory-listing-before-filename-regexp'.
11900 (tramp-adb-handle-delete-directory): Flush also file properties of
11901 the truename of directory.
11902 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11903 (tramp-adb-handle-file-local-copy): Make the local copy readable.
11904 (tramp-adb-handle-write-region): Implement APPEND.
11905 (tramp-adb-handle-rename-file): Make it more robust. Flush file
11906 properties correctly.
11907 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11908 variables. Check for connected devices only when needed.
11909
11910 2014-02-27 Glenn Morris <rgm@gnu.org>
11911
11912 * minibuffer.el (completion-table-dynamic)
11913 (completion-table-with-cache): Doc fixes.
11914
11915 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11916 (completing-read-multiple): Doc fixes.
11917
11918 2014-02-27 Daniel Colascione <dancol@dancol.org>
11919
11920 * minibuffer.el (completion--nth-completion): Fix indentation.
11921
11922 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11923 explicit tramp path is empty.
11924
11925 2014-02-27 Glenn Morris <rgm@gnu.org>
11926
11927 * emacs-lisp/crm.el (completing-read-multiple):
11928 Empower help-enable-auto-load.
11929
11930 2014-02-26 Glenn Morris <rgm@gnu.org>
11931
11932 * startup.el (command-line): Don't init the tty in daemon mode.
11933
11934 Avoid calling tty-setup-hook twice, eg if a term file
11935 explicitly calls tty-run-terminal-initialization. (Bug#16859)
11936 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11937 (tty-create-frame-with-faces): Use it.
11938 * startup.el (command-line): Pass run-hook argument
11939 to tty-run-terminal-initialization.
11940
11941 * dired.el (dired-restore-desktop-buffer): Demote errors;
11942 eg in case a glob match fails. (Bug#16884)
11943
11944 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
11945
11946 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11947 error from `read-from-string'. (Bug#16850)
11948
11949 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11950 result of `completing-read' in the interactive form. (Bug#16854)
11951
11952 2014-02-25 Glenn Morris <rgm@gnu.org>
11953
11954 * image.el (image-animate, image-animate-timeout):
11955 Stop animating images in dead buffers. (Bug#16878)
11956
11957 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
11958
11959 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11960 Doc fixes.
11961 * startup.el (term-setup-hook): Doc fix. Make obsolete.
11962 * term/sun.el (sun-raw-prefix-hooks):
11963 Use tty-setup-hook instead of term-setup-hook.
11964 (terminal-init-sun): Construct message from bytecomp plist.
11965 * term/wyse50.el (enable-arrow-keys): Doc fix.
11966
11967 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11970 Fix docstring typos.
11971
11972 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
11973
11974 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11975
11976 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11977
11978 * minibuffer.el (completion--try-word-completion):
11979 Fix error when completing M-x commands (bug#16808).
11980
11981 2014-02-24 Leo Liu <sdl.web@gmail.com>
11982
11983 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11984
11985 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * apropos.el (apropos-print): Avoid formatting error when
11988 apropos-do-all and apropos-compact-layout are both t.
11989
11990 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11991
11992 * apropos.el (apropos-property, apropos-all-words-regexp)
11993 (apropos-true-hit, apropos-variable, apropos-print):
11994 Fix docstring typos, and remove obsolete comment.
11995
11996 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * net/tramp-sh.el (tramp-sh-handle-file-truename):
11999 Preserve trailing "/". (Bug#16851)
12000
12001 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12002
12003 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12004 after `=>' (bug#16811).
12005 (ruby-smie-rules): Handle the inconsistent second element of the
12006 list returned by `smie-indent--parent'.
12007 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12008 method call.
12009
12010 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * elec-pair.el (electric-pair-text-syntax-table)
12013 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12014 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12015 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12016 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12017
12018 2014-02-22 Glenn Morris <rgm@gnu.org>
12019
12020 * imenu.el (imenu--generic-function): Doc fix.
12021
12022 * register.el (frame-configuration-to-register): Make obsolete.
12023
12024 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12025
12026 * desktop.el (desktop-save-buffer-p): Do not fail when
12027 desktop-files-not-to-save is nil. Return t for true result
12028 as the doc says.
12029
12030 2014-02-22 Daniel Colascione <dancol@dancol.org>
12031
12032 * net/secrets.el (secrets-create-item, secrets-search-items):
12033 Check that attribute values are strings, avoiding the construction
12034 of invalid dbus messages.
12035
12036 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12039 defun-declarations-alist.
12040
12041 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12044 (bug#16829).
12045
12046 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12047
12048 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12049 (whitespace-newline, whitespace-trailing, whitespace-line)
12050 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12051 (whitespace-space-after-tab): Fix typo in docstrings.
12052
12053 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12054
12055 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12056
12057 * electric.el (electric-indent-functions-without-reindent):
12058 Add `yaml-indent-line'.
12059
12060 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12061
12062 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12063 It has done nothing for years; should be removed after the release.
12064
12065 * simple.el (choose-completion): Fix docstring typo.
12066 (read-quoted-char-radix): Remove unneeded * in docstring.
12067 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12068 Don't escape parentheses unnecessarily in docstrings.
12069
12070 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12071
12072 Fix handling of window-min-height/-width (Bug#16738).
12073 * window.el (window--dump-window, window--dump-frame):
12074 New functions.
12075 (window--min-size-1): Account for window dividers.
12076 When window-resize-pixelwise is nil, delay rounding till after the
12077 sum of the window components has been calculated.
12078 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12079 nil make sure at least one text line and two text columns remain
12080 fully visible.
12081 (window-resize): Signal an error when window-resize-apply fails.
12082 (window--resize-child-windows): Fix calculation of by how many
12083 pixels a window can still be shrunk via window-new-normal.
12084 (adjust-window-trailing-edge): Call window--resizable with
12085 correct TRAIL argument.
12086
12087 (with-temp-buffer-window): Don't evaluate BODY within
12088 with-current-buffer (Bug#16816).
12089
12090 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12091
12092 * net/tramp.el (tramp-check-cached-permissions):
12093 Call `file-attributes' with `suffix' being a symbol but a string.
12094
12095 2014-02-21 Daniel Colascione <dancol@dancol.org>
12096
12097 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12098 (dbus-init-bus): New function: call into dbus-init-bus-1
12099 and installs a handler for the disconnect signal.
12100 (dbus-call-method): Rewrite to look for result in cons.
12101 (dbus-call-method-handler): Store result in cons.
12102 (dbus-check-event): Recognize events with nil sender as valid.
12103 (dbus-handle-bus-disconnect): New function. React to bus
12104 disconnection signal by synthesizing dbus error for each
12105 pending synchronous or asynchronous call.
12106 (dbus-notice-synchronous-call-errors): New function.
12107 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12108 is true, not all the time.
12109
12110 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12111
12112 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12113 Remove obsolescence declarations, these variables do not exist anymore.
12114
12115 * savehist.el (savehist-save-minibuffer-history)
12116 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12117 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12118 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12119 mostly, refer to "Savehist mode" when talking about the mode,
12120 and not the function.
12121
12122 * saveplace.el (save-place): Remove redundant info in docstring.
12123 (save-place-forget-unreadable-files, toggle-save-place)
12124 (save-place-forget-unreadable-files, save-place-dired-hook):
12125 Fix typos and remove unneeded backslashes.
12126
12127 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12128
12129 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12130 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12131
12132 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12133 <insert-directory>: Use `tramp-handle-insert-directory'.
12134 (tramp-gvfs-handle-insert-directory): Remove function.
12135
12136 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12137 Call `tramp-handle-insert-directory'.
12138
12139 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12140
12141 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12142 before the start of buffer/region (bug#16799).
12143
12144 2014-02-20 Glenn Morris <rgm@gnu.org>
12145
12146 * isearch.el (search-invisible): Doc fix.
12147
12148 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12149
12150 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12151 (bug#16657).
12152
12153 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * frameset.el (frameset-restore): Delay removing an old frame's
12156 duplicate id until the new frame has been correctly created.
12157
12158 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12159
12160 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12161 (tramp-check-cached-permissions): Call `file-attributes' if the
12162 cache is empty.
12163
12164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12165 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12166
12167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12168 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12169 (tramp-gvfs-maybe-open-connection): Set always connection
12170 properties, even if target is mounted already.
12171
12172 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12173 Set tramp-autoload cookie.
12174 (tramp-get-remote-touch): New defun.
12175 (tramp-sh-handle-set-file-times): Use it.
12176 (tramp-sh-handle-directory-files-and-attributes):
12177 Use `tramp-handle-directory-files-and-attributes' if neither stat
12178 nor perl are available on the remote host.
12179
12180 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12181 "/". Write long listing only when "l" belongs to the switches.
12182
12183 * net/trampver.el: Update release number.
12184
12185 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12186
12187 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12188
12189 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12190
12191 * window.el (window-state-put): Allow WINDOW to refer to an
12192 internal window (Bug#16793).
12193
12194 2014-02-19 Glenn Morris <rgm@gnu.org>
12195
12196 * textmodes/remember.el: Move provide statement to end.
12197 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12198 (remember-notes): Doc fixes.
12199
12200 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * delsel.el (delete-char): Restore incorrectly erased property
12203 (bug#16795).
12204
12205 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12206
12207 * frameset.el (frameset--restore-frame): When a frame is being reused
12208 and its root window is not alive, delete all the frame's windows before
12209 restoring the window state. This works around the issue in bug#16793.
12210
12211 2014-02-18 Glenn Morris <rgm@gnu.org>
12212
12213 * textmodes/remember.el (remember-data-directory)
12214 (remember-directory-file-name-format, remember-store-in-files)
12215 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12216 (remember-notes-save-and-bury-buffer)
12217 (remember-notes--kill-buffer-query): Doc fixes.
12218
12219 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12220
12221 2014-02-17 Alan Mackenzie <acm@muc.de>
12222
12223 Connect electric-indent-mode up with CC Mode. Bug #15478.
12224 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12225 to electric-indent-{,local-}-mode.
12226 (c-basic-common-init): Set electric-indent-inhibit.
12227 Initialise c-electric-flag from electric-indent-mode.
12228 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12229 New hook functions which propagate electric-indent-mode to CC mode.
12230
12231 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12232 hit, toggle electric-indent-local-mode.
12233
12234 * electric.el (electric-indent-mode-has-been-called):
12235 New variable.
12236
12237 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12238
12239 * frameset.el (frameset-cfg-id): New function.
12240 (frameset--reuse-frame, frameset-restore): Use it.
12241 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12242
12243 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * ido.el (ido-file-internal): Remove unused var `d'.
12246 Use \` for to match BoS. Fit within 80n columns.
12247
12248 2014-02-17 Daniel Colascione <dancol@dancol.org>
12249
12250 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12251 dbus-call-method check for completion using a busy-wait loop with
12252 gradual backoff.
12253
12254 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12255
12256 Sync with Tramp 2.2.9.
12257
12258 * net/trampver.el: Update release number.
12259
12260 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12261
12262 * ido.el (ido-file-internal): Don't add the name of an existing
12263 directory twice. (Bug#16747)
12264
12265 2014-02-16 Glenn Morris <rgm@gnu.org>
12266
12267 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12268 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12269
12270 2014-02-15 Michael R. Mauger <michael@mauger.com>
12271
12272 * progmodes/sql.el: Version 3.4
12273 (sql-oracle-options): New default value ("-L").
12274 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12275 (sql-placeholders-filter): Correct placeholder pattern.
12276 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12277 (sql-login-delay): New variable.
12278 (sql-product-interactive): Use it.
12279
12280 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12281
12282 * frameset.el (frameset--jump-to-register): Check that buffer is live
12283 (bug#16749).
12284
12285 2014-02-15 Glenn Morris <rgm@gnu.org>
12286
12287 * info.el (info-initialize): Revert 2014-01-10 change.
12288
12289 2014-02-14 Glenn Morris <rgm@gnu.org>
12290
12291 * replace.el (map-query-replace-regexp)
12292 (read-regexp-defaults-function, read-regexp): Doc fixes.
12293
12294 * dired.el (dired-read-regexp):
12295 * faces.el (list-faces-display):
12296 * misearch.el (multi-isearch-read-matching-buffers)
12297 (multi-isearch-read-matching-files):
12298 * play/cookie1.el (cookie-apropos):
12299 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12300
12301 * textmodes/remember.el (remember): Use frameset-to-register
12302 rather than frame-configuration-to-register.
12303
12304 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12305
12306 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12307 incorrect keybinding.
12308
12309 2014-02-13 Daniel Colascione <dancol@dancol.org>
12310
12311 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12312 when adding overlays so that line numbers from compiler match line
12313 numbers we use.
12314
12315 2014-02-13 Glenn Morris <rgm@gnu.org>
12316
12317 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12318
12319 * jit-lock.el (jit-lock-mode): Doc fix.
12320
12321 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12322
12323 * apropos.el (apropos-read-pattern): When the user passes an empty
12324 string, give a more helpful error message than "Wrong type
12325 argument: stringp, nil".
12326
12327 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12330
12331 2014-02-13 Glenn Morris <rgm@gnu.org>
12332
12333 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12334
12335 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12338 shift-select commands.
12339
12340 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12341
12342 * progmodes/js.el (js-indent-line): Don't widen.
12343 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12344
12345 2014-02-12 Glenn Morris <rgm@gnu.org>
12346
12347 * icomplete.el (icomplete): Add info-link to defgroup.
12348 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12349 (icomplete-minibuffer-map, icomplete-mode)
12350 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12351
12352 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12353 (package-menu-filter): Rename from package-menu-filter-interactive.
12354 Doc fix.
12355
12356 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12357
12358 * frameset.el (frameset--jump-to-register): Select the required
12359 window and buffer before restoring position (bug#16696).
12360
12361 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12362
12363 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12364
12365 2014-02-10 Glenn Morris <rgm@gnu.org>
12366
12367 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12368
12369 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12370
12371 * w32-common-fns.el (x-get-selection): Doc fix.
12372 * select.el (x-get-selection): Doc fix. (Bug#15109)
12373
12374 * face-remap.el (face-remap-add-relative)
12375 (face-remap-remove-relative, face-remap-reset-base)
12376 (face-remap-set-base): Call force-mode-line-update to redisplay
12377 the current buffer due to potential change in faces. (Bug#16709)
12378
12379 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12380
12381 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12382 script more robustly.
12383
12384 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12385
12386 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12387
12388 * simple.el (choose-completion): Doc fix (bug#14160).
12389
12390 * subr.el (event-start): Say what a nil EVENT value means.
12391
12392 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12393 (bug#14197).
12394
12395 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12396
12397 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12398
12399 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12400
12401 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12402 predicate function (bug#15455).
12403
12404 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12405
12406 * ielm.el (inferior-emacs-lisp-mode): Instead of
12407 `comment-use-global-state', set `comment-use-syntax'.
12408
12409 2014-02-10 Glenn Morris <rgm@gnu.org>
12410
12411 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12412
12413 2014-02-09 Alan Mackenzie <acm@muc.de>
12414
12415 Fix c-invalidate-state-cache on narrowed buffers.
12416 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12417 Widen when setting and clearing the CPP delimiter properties.
12418
12419 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12420
12421 * help.el (describe-bindings): Doc fix (bug#9888).
12422
12423 * files.el (save-buffer): Use ARG as the parameter name for
12424 consistency (bug#10346).
12425 (save-buffer): Clarify the 0 argument (bug#10346).
12426
12427 * cus-edit.el (customize-apropos): Fix error string.
12428 (custom-buffer-create): Doc fix (bug#11122).
12429 (custom-sort-items): Doc fix (bug#11121).
12430
12431 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12432
12433 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12434 (icomplete-simple-completing-p): Mention the previous variable.
12435
12436 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12437 meaning of the parameter (bug#12282).
12438
12439 * files.el (find-file-noselect): Clarify prompt when changing
12440 readedness (bug#13261).
12441 (locate-file): Suffixes aren't returned, so don't say that they
12442 are (bug#12674).
12443 (backup-inhibited): Doc clarification (bug#12525).
12444
12445 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12446 before we actually start to delete things (bug#16331).
12447
12448 * subr.el (event-start): Doc fix (bug#14228).
12449 (event-end): Ditto.
12450
12451 2014-02-09 Glenn Morris <rgm@gnu.org>
12452
12453 * emacs-lisp/warnings.el (lwarn):
12454 Empower help-enable-auto-load. (Bug#15940)
12455
12456 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12459 (Bug#16690)
12460
12461 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12462
12463 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12464 Insert output at end of buffer. (Bug#16120)
12465
12466 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12467
12468 * simple.el (choose-completion-string-functions): Document new
12469 calling convention (bug#14153).
12470 (execute-extended-command): Clarify doc string (bug#13373).
12471
12472 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12473
12474 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12475 (find-grep-dired): Doc fix (bug#14288).
12476
12477 2014-02-08 Juri Linkov <juri@jurta.org>
12478
12479 * isearch.el (isearch-quote-char): Check character validity
12480 like in `quoted-insert' (bug#16677).
12481
12482 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12483
12484 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12485
12486 * isearch.el (isearch-hide-immediately): Doc clarification
12487 (bug#14723).
12488
12489 * simple.el (line-move): Document utility function used many
12490 places in the Emacs sources (bug#14843).
12491
12492 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12493 (dired-prev-marked-file): Doc fix (bug#14855).
12494 (dired-up-directory): Doc fix (bug#14848).
12495
12496 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12497
12498 * files.el (file-relative-name): Doc fix (bug#15159).
12499
12500 * fringe.el (fringe-styles): Doc fix (bug#15239).
12501
12502 * isearch.el (isearch-filter-predicate): Documentation typo fix
12503 (bug#15474).
12504
12505 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12506
12507 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12508
12509 * replace.el (replace-match-maybe-edit): Doc clarification
12510 (bug#15632).
12511
12512 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12513
12514 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12515
12516 2014-02-08 Glenn Morris <rgm@gnu.org>
12517
12518 * help-fns.el (describe-variable):
12519 Check {file,dir}-local-variables-alist, and buffer-file-name,
12520 in the correct buffer.
12521
12522 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12523
12524 * help-fns.el (describe-variable): Fix the case where
12525 a value is directory-local with no dir-locals file. (Bug#16635)
12526
12527 2014-02-08 Glenn Morris <rgm@gnu.org>
12528
12529 * abbrev.el (edit-abbrevs-mode):
12530 Derive from fundamental-mode. (Bug#16682)
12531
12532 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12533
12534 * simple.el (quoted-insert): Check character validity (bug#16677).
12535
12536 2014-02-07 Juri Linkov <juri@jurta.org>
12537
12538 * desktop.el (desktop-read): Claim the lock when the owner is not
12539 the current process. (Bug#16157)
12540
12541 2014-02-07 Juri Linkov <juri@jurta.org>
12542
12543 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12544 to "\\` ". (Bug#16651)
12545
12546 2014-02-07 Juri Linkov <juri@jurta.org>
12547
12548 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12549 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12550 (desktop-auto-save-cancel-timer): New function with some code from
12551 `desktop-auto-save-set-timer'.
12552 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12553 Instead of setting `desktop-save-mode' to nil, call
12554 `desktop-save-mode' with arg 0. (Bug#16630)
12555
12556 2014-02-07 Glenn Morris <rgm@gnu.org>
12557
12558 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12559 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12560 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12561
12562 * obsolete/iswitchb.el: Move to obsolete/.
12563 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12564 since obsolete/ is not scanned for autoloads.
12565 * emacs-lisp/authors.el (authors-valid-file-names):
12566 Add iswitchb.el.
12567
12568 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12569 Disable now non-functional find-file-hook.
12570
12571 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12572
12573 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12574 instead of ";" in order to avoid additional prompts. Let heredoc
12575 scripts read from tty. (Bug#16582)
12576 (tramp-send-command): No special handling of heredocs, it isn't
12577 necessary anymore.
12578
12579 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12580
12581 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12582 with a space (bug#16664). Limit the symbols considered to the ones
12583 that are bound or fbound (bug#16646).
12584
12585 2014-02-06 Glenn Morris <rgm@gnu.org>
12586
12587 * epa.el (epa-mail-aliases): Doc fix.
12588
12589 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12590
12591 * emacs-lisp/lisp.el (lisp-completion-at-point):
12592 Use `completion-table-merge' instead of `completion-table-in-turn'
12593 (bug#16604).
12594
12595 * minibuffer.el (completion-table-merge): New function.
12596
12597 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12598
12599 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12600 (tramp-sh-handle-set-file-acl)
12601 (tramp-sh-handle-start-file-process)
12602 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12603 (tramp-find-executable, tramp-send-command): Use it.
12604
12605 2014-02-05 Glenn Morris <rgm@gnu.org>
12606
12607 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12608
12609 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12610
12611 * progmodes/python.el (python-shell-send-string)
12612 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12613
12614 2014-02-04 Anders Lindgren <andlind@gmail.com>
12615
12616 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12617 the names (bug#16620).
12618
12619 2014-02-03 Martin Rudalics <rudalics@gmx.at>
12620
12621 * faces.el (window-divider): New default value. Rewrite doc-string.
12622 (window-divider-first-pixel, window-divider-last-pixel): New faces.
12623
12624 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12625
12626 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12627 `protected' and `public' can also be called without arguments.
12628
12629 2014-02-03 Glenn Morris <rgm@gnu.org>
12630
12631 * register.el (window-configuration-to-register)
12632 (frame-configuration-to-register): Unadvertise unused argument.
12633 * frameset.el (frameset-to-register): Remove unused argument.
12634
12635 * frameset.el (frameset-to-register):
12636 * kmacro.el (kmacro-to-register):
12637 * register.el (increment-register):
12638 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12639 (calc-append-to-register, calc-prepend-to-register):
12640 * play/gametree.el (gametree-layout-to-register)
12641 (gametree-apply-register-layout):
12642 * textmodes/picture.el (picture-clear-rectangle-to-register)
12643 (picture-yank-rectangle-from-register):
12644 * vc/emerge.el (emerge-combine-versions-register):
12645 Use register-read-with-preview to read registers.
12646
12647 2014-02-03 João Távora <joaotavora@gmail.com>
12648
12649 * elec-pair.el (electric-pair-backward-delete-char): Don't error
12650 when at beginning of (possibly narrowed) buffer.
12651
12652 2014-02-02 Daniel Colascione <dancol@dancol.org>
12653
12654 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12655 Also try to display local help from just before point.
12656
12657 2014-02-02 Alan Mackenzie <acm@muc.de>
12658
12659 c-parse-state. Don't "append-lower-brace-pair" in certain
12660 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
12661 recognised as a comment.
12662
12663 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12664 as well as normal comment starter.
12665 (c-parse-state-get-strategy): Extra return possibility
12666 'back-and-forward.
12667 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12668 return value list to indicate replacement of a brace-pair cons
12669 with its car.
12670 (c-parse-state-1): With 'back-and-forward, only call
12671 c-append-lower-brace-pair-to state-cache when cons-separated.
12672
12673 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
12674
12675 * term/ns-win.el (ns-suspend-error): New function.
12676 (ns-initialize-window-system): Add ns-suspend-error to
12677 suspend-hook (Bug#16612).
12678
12679 2014-02-02 Daniel Colascione <dancol@dancol.org>
12680
12681 * progmodes/cc-defs.el (c-find-assignment-for-mode):
12682 Make loading cc-mode silent.
12683
12684 2014-02-02 Daniel Colascione <dancol@dancol.org>
12685
12686 * comint.el (comint-prompt-read-only): Change doc to suggest
12687 remap keybinding.
12688
12689 2014-02-02 Glenn Morris <rgm@gnu.org>
12690
12691 * register.el (register-read-with-preview, point-to-register)
12692 (window-configuration-to-register, frame-configuration-to-register)
12693 (jump-to-register, number-to-register, view-register, insert-register)
12694 (copy-to-register, append-to-register, prepend-to-register)
12695 (copy-rectangle-to-register): Doc fixes.
12696
12697 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
12698
12699 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12700 * emacs-lisp/find-func.el (find-function-C-source): Idem.
12701 * emacs-lisp/nadvice.el (advice--cd*r): New function.
12702 * help-fns.el (describe-function-1): Use it.
12703
12704 2014-02-02 Glenn Morris <rgm@gnu.org>
12705
12706 * register.el (register-preview-default): New function,
12707 split from register-preview.
12708 (register-preview-function): Rename from register-preview-functions,
12709 make it not a hook.
12710 (register-preview): Use register-preview-function.
12711 (register-read-with-preview): Error on non-character event. (Bug#16595)
12712
12713 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
12714
12715 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12716 `:' before binary operators (bug#16609). Don't check for `:'
12717 before `[' and `(', or their syntax status. A percent literal
12718 can't end with either.
12719 (ruby-font-lock-keywords): For built-ins that require arguments,
12720 check that they're followed by something that looks like argument
12721 (bug#16610).
12722
12723 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12724
12725 * subr.el (butlast): Document what an omitted N means (bug#13437).
12726 (nbutlast): Ditto.
12727
12728 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
12729
12730 * net/shr.el (shr-generic): Make into a defsubst to make the stack
12731 depth shallower (bug#16587).
12732 (shr-tag-svg): Respect `shr-inhibit-images'.
12733 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12734
12735 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
12736
12737 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12738 (ruby-smie-grammar): Make "." right-associative. Make its priority
12739 lower than the ternary and all binary operators.
12740 (ruby-smie-rules): Indent "(" relative to the first non-"."
12741 parent, or the first "." parent at indentation.
12742 Use `ruby-align-chained-calls' for indentation of "." tokens.
12743 (Bug#16593)
12744
12745 2014-01-31 Juri Linkov <juri@jurta.org>
12746
12747 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12748 from `make-hash-table'.
12749
12750 * textmodes/ispell.el (ispell-init-process): Change message format
12751 to be consistent with other messages.
12752
12753 2014-01-31 Glenn Morris <rgm@gnu.org>
12754
12755 * delsel.el (delete-selection-mode): Doc fix.
12756
12757 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12758 (trace-function-background): Doc fixes.
12759
12760 * ido.el (ido-use-virtual-buffers): Doc fix.
12761 Reset :version, since the default value has not changed.
12762
12763 * register.el (register-preview-delay, register-read-with-preview):
12764 Doc fixes.
12765
12766 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12767 do not mess with mail-buffer position (fixes 2009-11-03 change).
12768 * progmodes/cc-mode.el (c-submit-bug-report):
12769 Check auto-fill-mode is bound. (Bug#16592)
12770
12771 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
12772
12773 * startup.el (fancy-splash-image-file): New function,
12774 split from fancy-splash-head.
12775 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12776 so that we are both using the same image. (Bug#16574)
12777
12778 2014-01-30 Glenn Morris <rgm@gnu.org>
12779
12780 * simple.el (eval-expression): Doc fix.
12781
12782 * hexl.el (hexl-mode-hook):
12783 * ielm.el (ielm-mode-hook):
12784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12785 (lisp-interaction-mode-hook):
12786 * progmodes/cfengine.el (cfengine3-documentation-function):
12787 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12788
12789 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12792 is a symbol (bug#16584).
12793
12794 2014-01-30 Glenn Morris <rgm@gnu.org>
12795
12796 * help.el (help-for-help-internal): Add "P" to text.
12797
12798 2014-01-29 Glenn Morris <rgm@gnu.org>
12799
12800 * simple.el (just-one-space, cycle-spacing): Doc fixes.
12801
12802 2014-01-28 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (fit-frame-to-buffer): Fix calculations for margins and
12805 height constraints.
12806
12807 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
12808
12809 * progmodes/hideif.el: Extend to full CPP expression syntax.
12810 (hif-token-alist): Add missing tokens.
12811 (hif-token-regexp): Add support for float/octal/hex immediates.
12812 (hif-string-literal-regexp): New const.
12813 (hif-tokenize): Recognize strings and float/octal/hex immediates.
12814 (hif-exprlist): New function.
12815 (hif-parse-if-exp): Use it.
12816 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12817 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12818 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12819 (hif-logxor, hif-comma): New functions.
12820
12821 2014-01-28 Glenn Morris <rgm@gnu.org>
12822
12823 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12824
12825 * indent.el (tab-stop-list): Doc fix. Add :version.
12826
12827 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12828 (cvs-append-to-ignore): Add compatibility alias.
12829
12830 2014-01-27 Glenn Morris <rgm@gnu.org>
12831
12832 * dired.el (dired-hide-details-mode): Don't autoload it,
12833 since it cannot be used outside Dired buffers anyway.
12834
12835 * emulation/cua-base.el (cua-mode): Doc fix.
12836
12837 * dired.el (dired-hide-details-hide-symlink-targets)
12838 (dired-hide-details-hide-information-lines)
12839 (dired-hide-details-mode): Doc fixes.
12840
12841 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12842 * strokes.el (strokes-file): Doc fix. Bump :version.
12843 (strokes-help): Doc fix.
12844 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12845 * emulation/viper.el (viper): Doc fix for custom group.
12846 (top-level): Remove oh-so-no-longer-relevant text about vip.
12847 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12848
12849 * ido.el (ido-save-directory-list-file):
12850 * saveplace.el (save-place-file):
12851 * calendar/timeclock.el (timeclock-file):
12852 * net/quickurl.el (quickurl-url-file):
12853 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12854 * progmodes/idlwave.el (idlwave-config-directory):
12855 * textmodes/remember.el (remember-data-file):
12856 Bump :version.
12857
12858 2014-01-26 Glenn Morris <rgm@gnu.org>
12859
12860 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12861 Doc fix. Make obsolete.
12862 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12863
12864 * sort.el (delete-duplicate-lines): Doc fix.
12865
12866 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12867
12868 * progmodes/ada-mode.el (ada):
12869 * woman.el (woman): Link to info manual and Commentary section.
12870
12871 * progmodes/flymake.el (flymake):
12872 * nxml/nxml-mode.el (nxml):
12873 * net/eww.el (eww):
12874 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12875 * htmlfontify.el (htmlfontify):
12876 * ses.el (ses):
12877 * epa.el (epa):
12878 * ido.el (ido): Link to info manual.
12879
12880 2014-01-25 Leo Liu <sdl.web@gmail.com>
12881
12882 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12883
12884 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12885
12886 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12887 (bug#16537).
12888
12889 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12890
12891 * net/eww.el (eww-download-callback):
12892 Fix reference to eww-download-directory.
12893
12894 * emacs-lisp/bytecomp.el (byte-compile-file):
12895 Remove unused local variable `file-name'.
12896
12897 2014-01-24 Glenn Morris <rgm@gnu.org>
12898
12899 * woman.el (woman-default-faces, woman-monochrome-faces):
12900 Fix obsolescence specification.
12901
12902 * subr.el (with-demoted-errors): Doc fix.
12903
12904 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12907 (cl--macroexp-fboundp): New function.
12908 (cl--make-type-test): Use it.
12909
12910 2014-01-23 Glenn Morris <rgm@gnu.org>
12911
12912 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12913 * simple.el (eval-expression): Doc fixes.
12914
12915 2014-01-22 Glenn Morris <rgm@gnu.org>
12916
12917 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12918
12919 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * emacs-lisp/package.el: Write files silently.
12922 (package-autoload-ensure-default-file, package--write-file-no-coding)
12923 (package-generate-description-file, package--download-one-archive)
12924 (package-install-from-archive): Tell `write-region' to stay quiet.
12925 (package-menu-mode, package-menu--print-info): Omit the Archive column
12926 if there's only one archive.
12927 (package-all-keywords, package--has-keyword-p): Remove dead code.
12928
12929 2014-01-22 Glenn Morris <rgm@gnu.org>
12930
12931 * version.el (emacs-bzr-version-bzr): Fix typo.
12932
12933 * version.el (emacs-repository-get-version):
12934 Check either .bzr or .git, but not both.
12935 Make the git case actually use the DIR argument, and return nil
12936 rather than the empty string.
12937 Avoid error if .git exists but the git executable is not found.
12938
12939 2014-01-22 Martin Rudalics <rudalics@gmx.at>
12940
12941 Fixes in window size functions around Bug#16430 and Bug#16470.
12942 * window.el (window-total-size, window-size): New argument ROUND.
12943 (window--min-delta-1, window-min-delta, window--max-delta-1):
12944 Be more conservative when calculating the numbers of lines or
12945 columns a window can shrink (Bug#16430).
12946 (fit-window-to-buffer): Simplify code.
12947 * term.el (term-window-width): Call window-body-width again.
12948
12949 2014-01-22 Glenn Morris <rgm@gnu.org>
12950
12951 * image.el (image-format-suffixes): Doc fix.
12952
12953 * international/quail.el (quail-define-package): Doc fix.
12954
12955 * emacs-lisp/authors.el (authors-valid-file-names)
12956 (authors-renamed-files-alist): Additions.
12957
12958 * vc/vc-git.el (vc-git-print-log): Remove --follow;
12959 reverts 2014-01-09 change. (Bug#16422)
12960
12961 * calc/calc-embed.el (thing-at-point-looking-at):
12962 * emacs-lisp/map-ynp.el (x-popup-dialog):
12963 * obsolete/lmenu.el (x-popup-dialog):
12964 * emacs-lisp/package.el (url-recreate-url):
12965 * mail/mailclient.el (clipboard-kill-ring-save):
12966 * subr.el (x-popup-dialog): Update declaration.
12967 * mail/rmail.el (rmail-mime-message-p):
12968 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12969
12970 2014-01-21 Daniel Colascione <dancol@dancol.org>
12971
12972 * progmodes/sh-script.el (sh--inside-noncommand-expression):
12973 Correctly detect when we're inside an arithmetic expansion form
12974 containing nested parenthesis.
12975 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12976 to detect cases where we shouldn't expand "<<" to a heredoc
12977 skeleton.
12978
12979 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
12980
12981 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12982 (eldoc--message-command-p): New function.
12983 (eldoc-display-message-p): Use it.
12984 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12985 message is not automatically erased for us.
12986 (eldoc-print-current-symbol-info): Erase previous message, if any.
12987
12988 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12989
12990 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12991 specify it's an interactive function.
12992
12993 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
12994 Fix regex used for scanning for citation keys which failed for
12995 citations with optional arguments.
12996
12997 2014-01-21 Leo Liu <sdl.web@gmail.com>
12998
12999 * simple.el (read--expression): Don't enable eldoc-mode.
13000
13001 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * simple.el (move-beginning-of-line): Make sure we don't move forward
13004 (bug#16497).
13005
13006 2014-01-20 Juri Linkov <juri@jurta.org>
13007
13008 * saveplace.el (toggle-save-place, save-place-to-alist)
13009 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13010 'dired-mode) before checking for dired-directory. (Bug#16477)
13011
13012 2014-01-20 Juri Linkov <juri@jurta.org>
13013
13014 * indent.el (indent-line-to): Use backward-to-indentation
13015 instead of back-to-indentation. (Bug#16461)
13016
13017 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13018
13019 Revert some of the CANNOT_DUMP fix (Bug#16494).
13020 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13021 but fixing this can wait until after the next release.
13022 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13023
13024 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13025
13026 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13027 Use `password-word-equivalents'.
13028 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13029 to t. (Bug#5664, Bug#13124)
13030
13031 2014-01-19 Alan Mackenzie <acm@muc.de>
13032
13033 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13034 points.
13035 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13036 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13037 * progmodes/cc-mode.el (c-before-change, c-after-change)
13038 (c-font-lock-fontify-region): Bind it here.
13039
13040 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13041
13042 * term.el (term-window-width): Call window-text-width instead of
13043 window-width (Bug#16470).
13044
13045 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13046
13047 * simple.el (password-word-equivalents): Remove duplicates.
13048 Sort, to make this easier next time.
13049 Downcase. Omit ": " after "jelszó".
13050
13051 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13052
13053 * term/common-win.el (saved-region-selection): Defvar it.
13054 (x-select-text): Set saved-region-selection (Bug#16382).
13055
13056 2014-01-18 Glenn Morris <rgm@gnu.org>
13057
13058 * emacs-lisp/authors.el (authors-aliases)
13059 (authors-renamed-files-alist): Add some entries.
13060
13061 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13062
13063 * net/tramp.el (tramp-password-prompt-regexp):
13064 Use `password-word-equivalents' if available.
13065 (tramp-action-password, tramp-process-one-action)
13066 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13067
13068 2014-01-17 Chong Yidong <cyd@gnu.org>
13069
13070 * simple.el (password-word-equivalents): New defcustom.
13071 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13072 to 24.4.
13073 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13074 to t. (Bug#13124)
13075
13076 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13077
13078 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13079 (ruby-align-to-stmt-keywords): Change the default value.
13080 Use `ruby-alignable-keywords' to generate the possible customization
13081 choices.
13082 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13083 keywords, check against the value of `ruby-alignable-keywords'
13084 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13085
13086 2014-01-17 Glenn Morris <rgm@gnu.org>
13087
13088 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13089
13090 Make M-x authors return zero *Authors Errors* from current logs.
13091 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13092 (authors-ignored-files): Add some entries, remove others.
13093 (authors-ambiguous-files, authors-valid-file-names):
13094 Add some entries.
13095 (authors-renamed-files-alist): Add, remove, and adjust entries.
13096 (authors-renamed-files-regexps): Add some entries.
13097 Remove some very broad ones. Make some entries `lax'.
13098 (authors-lax-changelogs): New constant.
13099 (authors-disambiguate-file-name): Treat top-level specially.
13100 (authors-lax-changelog-p): New function.
13101 (authors-canonical-file-name): Check file as written against
13102 authors-valid-file-names. Do not special-case etc/.
13103 Handle `lax' logs and authors-renamed-files-regexps elements.
13104
13105 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13106
13107 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13108 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13109 callers.
13110
13111 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13114 Assume we're already in the proper buffer.
13115 Inspired by Anders Lindgren <andlind@gmail.com>.
13116 (follow-post-command-hook): Call it from the right buffer.
13117 (follow-comint-scroll-to-bottom): Adjust call.
13118 (follow-all-followers): Use get-buffer-window-list.
13119
13120 2014-01-15 Daniel Colascione <dancol@dancol.org>
13121
13122 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13123 `buffer-file-name' in interactive-form so that we don't leave
13124 pathless file names in `file-name-history'.
13125
13126 2014-01-15 Juri Linkov <juri@jurta.org>
13127
13128 * indent.el (indent-rigidly): Set deactivate-mark to nil
13129 in transient indentation mode. (Bug#16438)
13130
13131 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13132
13133 * emacs-lisp/package.el (package-desc-keywords): New function
13134 (Bug#16222).
13135 (describe-package-1, package-all-keywords)
13136 (package--has-keyword-p): Use it.
13137
13138 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13139
13140 * simple.el (define-alternatives): When creating the
13141 COMMAND-alternatives variable, assign COMMAND as its definition
13142 name so that `describe-variable' can relocate it.
13143
13144 2014-01-14 Matthew Leach <matthew@mattleach.net>
13145
13146 * font-lock.el (font-lock-keywords): Fix typo in docstring
13147 (bug#16307).
13148
13149 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13150
13151 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13152 line instead of wrongly reset `add-coment' (bug#13577).
13153
13154 2014-01-14 Daiki Ueno <ueno@gnu.org>
13155
13156 * epa-file.el (epa-file-write-region): Encode the region according
13157 to `buffer-file-format'. Problem reported at:
13158 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13159
13160 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13163 so it applies in the right buffer (bug#16410).
13164
13165 2014-01-13 Daniel Colascione <dancol@dancol.org>
13166
13167 * textmodes/rst.el (rst-define-key): Provide deprecated
13168 keybindings through named functions instead of anonymous ones so
13169 that "??" doesn't appear in describe-mode output.
13170
13171 2014-01-13 Bastien Guerry <bzg@gnu.org>
13172
13173 * simple.el (define-alternatives): Call the selected command
13174 interactively. When setting `COMMAND--implementation' for the
13175 first time, tell the user how to chose another implementation.
13176 Enhance the docstring.
13177
13178 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13181 (log-edit--match-first-line): New function.
13182 (log-edit-font-lock-keywords): Use it.
13183 (log-edit-mode): Make jit-lock-defer-multiline work.
13184
13185 2014-01-13 Bastien Guerry <bzg@gnu.org>
13186
13187 * rect.el (rectangle-mark-mode): When the region is not active,
13188 display a message saying that the mark as been set and that
13189 rectangle mode is in use.
13190 (rectangle--highlight-for-redisplay): Only put an overlay with a
13191 visible vertical bar when (display-graphic-p) is non-nil.
13192 This partially fixes Bug#16403.
13193
13194 2014-01-13 Juri Linkov <juri@jurta.org>
13195
13196 * info.el (Info-find-file): Go to DIR before displaying the error
13197 about a nonexistent file if no previous Info file is visited.
13198 Use `user-error' instead of `error' for "Info file %s does not exist".
13199 (Info-find-node-2): In case of a nonexistent node in unwind forms
13200 go to the Top node if there is no previous node to revert to.
13201 (Bug#16405)
13202
13203 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13204
13205 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13206 * window.el (fit-frame-to-buffer): Fix doc-string.
13207 Respect window-min-height/-width. Fit pixelwise when
13208 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13209 when avoiding that frame goes partially off-screen.
13210 (fit-window-to-buffer): Respect window-min-height/-width
13211 (Bug#14096).
13212
13213 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13216 after an empty line.
13217
13218 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * net/shr.el (shr-render-region): Autoload.
13221
13222 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13223
13224 * net/eww.el (eww-download-directory): Rename from
13225 `eww-download-path' (Bug#16419).
13226
13227 2014-01-12 Leo Liu <sdl.web@gmail.com>
13228
13229 * dired-x.el (dired-mode-map): Fix last change.
13230
13231 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13232
13233 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13234
13235 Spelling fixes.
13236 * emacs-lisp/generic.el (generic--normalize-comments):
13237 Rename from generic--normalise-comments. All uses changed.
13238 * play/bubbles.el (bubbles--neighborhood-score)
13239 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13240 (bubbles--neighborhood-available)
13241 (bubbles--update-neighborhood-score):
13242 Rename from names with 'neighbourhood'. All uses changed.
13243
13244 2014-01-12 Leo Liu <sdl.web@gmail.com>
13245
13246 Re-implement the feature of showing eldoc info after editing.
13247 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13248 (eldoc-edit-message-commands): New function.
13249 (eldoc-print-after-edit): New variable.
13250 (eldoc-pre-command-refresh-echo-area): Emit message only by
13251 eldoc-message-commands.
13252 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13253 if eldoc-print-after-edit is set. (Bug#16346)
13254 * simple.el (read--expression): Enable eldoc-mode.
13255 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13256
13257 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13258 Eric S. Raymond <esr@thyrsus.com>
13259
13260 * version.el (emacs-repository-get-version): Enhance so the
13261 function works correctly in either a Bazaar or Git repo.
13262
13263 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13264
13265 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13266 Goes with removal of the joke manpages from /etc.
13267
13268 2014-01-10 Kenichi Handa <handa@gnu.org>
13269
13270 * mail/rmail.el (rmail-get-coding-system):
13271 Check rmail-get-coding-function before "funcall"ing it.
13272
13273 2014-01-10 Glenn Morris <rgm@gnu.org>
13274
13275 * emacs-lisp/authors.el (authors-fixed-entries):
13276 Update for files that no longer exist.
13277
13278 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13279
13280 * version.el (emacs-bzr-get-version): Restore compatibilty with
13281 24.3 (Tested).
13282
13283 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13284
13285 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13286 and Podfile.
13287
13288 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13289
13290 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13291
13292 2014-01-10 Chong Yidong <cyd@gnu.org>
13293
13294 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13295
13296 2014-01-10 Anders Lindgren <andlind@gmail.com>
13297
13298 * follow.el (follow-cache-command-list): Include right-char and
13299 left-char.
13300
13301 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13302
13303 Spelling fixes.
13304 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13305 * woman.el (woman-mark-horizontal-position):
13306 Rename from woman-mark-horizonal-position. Use changed.
13307
13308 2014-01-10 Glenn Morris <rgm@gnu.org>
13309
13310 * info.el (info-initialize): If running uninstalled, ensure our
13311 own info files are always found first, even if INFOPATH is set.
13312
13313 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13314
13315 2014-01-09 David Engster <deng@randomsample.de>
13316
13317 * emacs-lisp/eieio-custom.el:
13318 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13319 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13320 * emacs-lisp/eieio.el: Regenerate autoloads.
13321
13322 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13323
13324 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13325 following renames. (Bug#8756)
13326
13327 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13330 (bug#16382).
13331 (activate-mark): Add `no-tmm' argument.
13332 (set-mark, push-mark-command): Use it instead of running
13333 activate-mark-hook by hand.
13334
13335 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13336
13337 In preparation for the move to git, sanitize out some
13338 Bazaar-specific names.
13339
13340 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13341
13342 * version.el (emacs-bzr-version): Name changed to
13343 emacs-repository-version. Obsolete-variable alias made.
13344 * loadup.el: Follow through on this name change.
13345 * mail/emacsbug.el (report-emacs-bug): Factor out any
13346 assumption about the version control system in use.
13347
13348 2014-01-08 David Engster <deng@randomsample.de>
13349
13350 * help-fns.el (help-fns-describe-function-functions):
13351 New variable to call functions for augmenting help buffers.
13352 (describe-function-1): Remove explicit calls to
13353 `help-fns--compiler-macro', `help-fns--parent-mode' and
13354 `help-fns--obsolete'. Put them in above new variable instead, and
13355 call them through `run-hook-with-args'.
13356 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13357 `eieio-describe-class'. Not meant for interactive use anymore,
13358 but to augment existing help buffers. Remove optional second
13359 argument. Create proper button for file location.
13360 Rewrite function to use `insert' instead of `princ' and `prin1' where
13361 possible.
13362 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13363 (eieio-method-def, eieio-class-def): Move further up.
13364 (describe-method, describe-generic, eieio-describe-method):
13365 Remove aliases.
13366 (eieio-help-constructor, eieio-help-generic): Rename from
13367 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13368 Rewrite to use `insert' in the current buffer and use proper help
13369 buttons.
13370 (eieio-help-find-method-definition)
13371 (eieio-help-find-class-definition): Also accept symbols as
13372 arguments.
13373 (eieio-help-mode-augmentation-maybee): Remove.
13374 (eieio-describe-class-sb): Use `describe-function'.
13375 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13376 Add `eieio-help-generic' and `eieio-help-constructor'.
13377
13378 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13379
13380 Spelling fixes.
13381 * language/china-util.el (hz-ascii-designation):
13382 Rename from hz-ascii-designnation.
13383 (hz-ascii-designation): Rename from hz-ascii-designnation.
13384 All uses changed.
13385
13386 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13387
13388 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13389 package-alist.
13390
13391 2014-01-08 Bastien Guerry <bzg@gnu.org>
13392
13393 * emacs-lisp/package.el (package-delete):
13394 Correctly delete the package from package-alist.
13395
13396 2014-01-08 Daiki Ueno <ueno@gnu.org>
13397
13398 * emacs-lisp/package.el (url-recreate-url): Declare.
13399 (url-http-target-url): Declare.
13400 (package-handle-response): Include requested URL in the error message.
13401 (package--check-signature): Don't re-signal errors from
13402 package--with-work-buffer. Suggested by Stefan Monnier.
13403
13404 2014-01-07 Bastien Guerry <bzg@gnu.org>
13405
13406 * minibuffer.el (completion--try-word-completion): When both a
13407 hyphen and a space are possible candidates for the character
13408 following a word, display both candidates. (Bug#15980)
13409
13410 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (balance-windows-2): While rounding don't give a
13413 window more than the remainder. Bug#16351, bug#16383.
13414
13415 2014-01-07 Glenn Morris <rgm@gnu.org>
13416
13417 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13418 (menu-bar-help-menu): Use view-external-packages instead.
13419
13420 2014-01-07 Bastien Guerry <bzg@gnu.org>
13421
13422 * emacs-lisp/package.el (package-delete): Also delete the package
13423 name from `package-alist', not its description only.
13424
13425 2014-01-07 Glenn Morris <rgm@gnu.org>
13426
13427 * help.el (view-external-packages):
13428 * menu-bar.el (menu-bar-help-extra-packages):
13429 Visit efaq.info rather than etc/MORE.STUFF.
13430
13431 2014-01-07 Juri Linkov <juri@jurta.org>
13432
13433 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13434 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13435
13436 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13437 that shadows RET. (Bug#16342)
13438
13439 2014-01-07 Chong Yidong <cyd@gnu.org>
13440
13441 * isearch.el (isearch-yank-char, isearch-yank-word)
13442 (isearch-yank-line): Doc fix.
13443
13444 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13445
13446 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13447 * emacs-lisp/elint.el (elint-find-builtins):
13448 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13449 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13450 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13451 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13452 * apropos.el (apropos-safe-documentation):
13453 * subr.el (symbol-file): Remove redundant fboundp.
13454 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13455
13456 2014-01-06 Bastien Guerry <bzg@gnu.org>
13457
13458 * hl-line.el (global-hl-line-overlay): Make a local variable.
13459 (global-hl-line-overlays): New variable to store all overlays.
13460 (global-hl-line-mode): Don't delete overlays from the current
13461 buffer when `global-hl-line-sticky-flag' is non-nil.
13462 (global-hl-line-highlight): Add new overlays to
13463 `global-hl-line-overlays'.
13464 (global-hl-line-unhighlight-all): New function to delete all
13465 overlays when turning off `global-hl-line-mode'.
13466 This fixes Bug#16183.
13467
13468 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * subr.el (set-transient-map): Fix nested case and docstring.
13471
13472 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13473
13474 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13475 `Texinfo' entry.
13476
13477 2014-01-06 Daniel Colascione <dancol@dancol.org>
13478
13479 Fix defun navigation in vc log view.
13480
13481 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13482 like `beginning-of-defun'.
13483 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13484 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13485 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13486 (log-view-extract-comment): Call `log-view-current-entry' directly
13487 instead of relying on broken `log-view-beginning-of-defun' behavior.
13488
13489 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13490
13491 Spelling fixes.
13492 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13493 * emacs-lisp/debug.el (cancel-debug-on-entry):
13494 * epg.el (epg-error-to-string):
13495 * files.el (recover-file):
13496 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13497 * mail/emacsbug.el (report-emacs-bug-hook):
13498 * mail/sendmail.el (mail-recover):
13499 * ses.el (ses-yank-resize):
13500 * term/ns-win.el (ns-print-buffer):
13501 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13502 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13503 All uses changed.
13504 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13505
13506 2014-01-06 Leo Liu <sdl.web@gmail.com>
13507
13508 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13509 to avoid shadowing global key. (Bug#16354)
13510
13511 2014-01-06 Daniel Colascione <dancol@dancol.org>
13512
13513 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13514 rst-mode.
13515
13516 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13517
13518 * window.el (balance-windows): Add mising t to fix Bug#16351.
13519
13520 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13521
13522 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13523 (bug#16285).
13524 (shr-insert): If we have a word that's longer than `shr-width',
13525 break after it anyway. Otherwise we'll do no breaking once we get
13526 such a long word.
13527
13528 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13529
13530 * net/eww.el (eww): Support single/double quote for search.
13531 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13532 (eww-history-quit): Delete and use quit-window.
13533 (eww-history-kill): Delete, because it doesn't work well and
13534 not necessary.
13535 (eww-history-mode-map): Delete some keys and add easy-menu.
13536
13537 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13538
13539 Fix misspelling of 'chinese' in rx (Bug#16237).
13540 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13541 chinese-two-byte.
13542
13543 Change subword regexps back to vars (Bug#16296).
13544 * progmodes/subword.el (subword-forward-regexp)
13545 (subword-backward-regexp): Change these back to variables.
13546
13547 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13550 syntax-begin-function (bug#16247).
13551
13552 2014-01-03 Chong Yidong <cyd@gnu.org>
13553
13554 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13555 (advice--docstring): Delete variable.
13556 (advice--make-1): Leave the docstring empty.
13557 (advice-add): Use function-documentation for advised docstring.
13558
13559 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13560 Ignore function-documentation property when getting documentation.
13561 (ad-activate-advised-definition): Use function-documentation
13562 generate the docstring.
13563 (ad-make-advised-definition): Don't call
13564 ad-make-advised-definition-docstring.
13565 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13566 Delete functions.
13567
13568 * progmodes/sql.el (sql-help): Use function-documentation instead
13569 of dynamic-docstring-function property. No need to autoload now.
13570 (sql--help-docstring): New variable.
13571 (sql--make-help-docstring): Use it.
13572
13573 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * ielm.el (ielm-tab): Retarget.
13576 (ielm-map): Use ielm-tab for tab.
13577 (ielm-complete-filename): Use comint-filename-completion.
13578 (ielm-complete-symbol): Remove.
13579 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13580 remove ielm-tab from completion-at-point-functions (bug#16224).
13581
13582 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13583 Beware signals raised by predicates (bug#16201).
13584
13585 2014-01-02 Richard Stallman <rms@gnu.org>
13586
13587 * dired-aux.el (dired-do-print): Handle printer-name.
13588
13589 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13590 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13591 (rmail-epa-decrypt): Turn off mime processing.
13592
13593 * mail/rmail.el (rmail-make-in-reply-to-field):
13594 Add parens in message-id.
13595
13596 * mail/rmail.el (rmail-get-coding-function): Variable.
13597 (rmail-get-coding-system): Use it.
13598
13599 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13600
13601 * international/mule-conf.el: Unify the charset indian-is13194.
13602 (indian-is13194): Specify unify-map.
13603
13604 2013-12-31 Leo Liu <sdl.web@gmail.com>
13605
13606 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13607
13608 2013-12-30 Daniel Colascione <dancol@dancol.org>
13609
13610 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13611 of printing a useless when we resume from sleep.
13612
13613 * progmodes/sh-script.el
13614 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13615 in indentation code. (Bug#16233)
13616
13617 2013-12-28 João Távora <joaotavora@gmail.com>
13618
13619 * elec-pair.el (electric-pair-post-self-insert-function):
13620 Don't open extra newlines at beginning of buffer. (Bug#16272)
13621
13622 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13623
13624 * frame.el (window-system-for-display): Don't allow to create a
13625 GUI frame from a -nw session on MS-Windows. (Bug#14739)
13626
13627 2013-12-28 Glenn Morris <rgm@gnu.org>
13628
13629 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13630 Update callers.
13631
13632 * apropos.el (apropos-match-face):
13633 * calculator.el (calculator-displayer):
13634 * dabbrev.el (dabbrev-search-these-buffers-only):
13635 * face-remap.el (buffer-face-mode-face):
13636 * simple.el (yank-handled-properties):
13637 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13638 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13639 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13640 (hashcash-double-spend-database):
13641 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13642 (ruby-deep-indent-paren-style):
13643 * textmodes/flyspell.el (flyspell-auto-correct-binding):
13644 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13645 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13646 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13647 Specify custom types.
13648
13649 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13650 * bookmark.el (bookmark-bmenu-use-header-line):
13651 * doc-view.el (doc-view-scale-internally):
13652 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13653 * register.el (register-preview-delay):
13654 * net/shr.el (shr-bullet):
13655 * progmodes/cfengine.el (cfengine-cf-promises)
13656 (cfengine-parameters-indent):
13657 * progmodes/octave.el (inferior-octave-error-regexp-alist):
13658 * textmodes/reftex-vars.el (reftex-label-regexps):
13659 * vc/log-edit.el (log-edit-setup-add-author): Add version.
13660
13661 * net/tls.el (tls-certtool-program): Fix default value.
13662
13663 * desktop.el (desktop-restore-in-current-display):
13664 * newcomment.el (comment-empty-lines):
13665 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13666 (idlwave-pad-keyword):
13667 * progmodes/tcl.el (tcl-tab-always-indent):
13668 * textmodes/reftex-vars.el (reftex-index-default-tag):
13669 * elec-pair.el (electric-pair-skip-whitespace):
13670 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13671
13672 * emacs-lisp/authors.el (authors-ignored-files)
13673 (authors-valid-file-names, authors-renamed-files-alist): Additions.
13674
13675 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
13676
13677 * shell.el (shell-dynamic-complete-command): Doc fix.
13678 (shell--command-completion-data): Shell completion now matches
13679 executable filenames from the current buffer's directory, on
13680 systems in which this behavior is the default (windows-nt, ms-dos).
13681
13682 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13683
13684 * net/shr.el (shr-insert): Don't infloop if the width is zero.
13685
13686 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13689 (bug#16251).
13690
13691 * electric.el: Move all electric-pair-* to elec-pair.el.
13692 * elec-pair.el: New file, split from electric.el.
13693
13694 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13695
13696 * net/shr.el (shr-find-fill-point): Don't try to fill if the
13697 indentation level is larger than the width, because that will
13698 infloop.
13699 (shr-insert): Fill repeatedly long texts, so that Japanese is
13700 formatted correctly (bug#16263).
13701 (shr-find-fill-point): Off by one error in comparison with the
13702 indentation.
13703
13704 2013-12-26 João Távora <joaotavora@gmail.com>
13705
13706 * electric.el (electric-pair-mode): More flexible engine for skip-
13707 and inhibit predicates, new options for pairing-related functionality.
13708 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13709 if that keeps or improves their balance in buffers.
13710 (electric-pair-delete-adjacent-pairs): Delete the pair when
13711 backspacing over adjacent matched delimiters.
13712 (electric-pair-open-extra-newline): Open extra newline when
13713 inserting newlines between adjacent matched delimiters.
13714 (electric--sort-post-self-insertion-hook):
13715 Sort post-self-insert-hook according to priority values when
13716 minor-modes are activated.
13717 * simple.el (newline-and-indent): Call newline with interactive
13718 set to t.
13719 (blink-paren-post-self-insert-function): Set priority to 100.
13720 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13721 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13722 comments. Locally set electric-pair-skip-whitespace to 'chomp and
13723 electric-pair-open-newline-between-pairs to nil.
13724
13725 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
13726
13727 * progmodes/python.el: Use lexical-binding.
13728 (python-nav-beginning-of-defun): Stop searching ASAP.
13729
13730 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
13731
13732 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13733 Fix interactive spec. Doc fix. (Bug#15754)
13734
13735 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13736
13737 * emacs-lisp/byte-run.el (eval-when-compile):
13738 * progmodes/cc-defs.el (cc-eval-when-compile):
13739 Fix edebug spec (bug#16184).
13740
13741 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13742
13743 * net/shr.el (shr-visit-file): Remove debugging function.
13744 (shr-insert): Don't infloop if we can't find a good place to break
13745 the line (bug#16256).
13746
13747 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
13748
13749 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13750 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
13751 python-nav-lisp-forward-sexp-safe.
13752 (python-nav--forward-sexp): New argument SAFE allows switching
13753 forward sexp movement behavior for parens.
13754 (python-nav-forward-sexp): Throw errors on unterminated parens
13755 (Bug#16191).
13756 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13757 (python-nav-backward-sexp-safe): New functions.
13758 (python-shell-buffer-substring):
13759 Use `python-nav-forward-sexp-safe'.
13760
13761 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13762
13763 * net/shr.el (shr-find-fill-point): Don't break lines before a
13764 quotation mark.
13765 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13766 (shr-find-fill-point): Remove the special checks for the quotation
13767 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13768
13769 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13770
13771 * net/eww.el (eww-form-textarea): Use a different face for
13772 textareas than text input since they have different keymaps
13773 (bug#16142).
13774
13775 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
13776
13777 * progmodes/python.el (python-nav-beginning-of-statement):
13778 Speed up (Bug#15295).
13779
13780 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13781
13782 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13783 the window configuration.
13784
13785 2013-12-24 Eli Zaretskii <eliz@gnu.org>
13786
13787 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13788 we run on MS-Windows or MS-DOS.
13789
13790 2013-12-24 Martin Rudalics <rudalics@gmx.at>
13791
13792 * window.el (balance-windows-area): Call window-size instead of
13793 window-height and window-width. Bug#16241.
13794
13795 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13796
13797 * net/eww.el (eww-bookmark-quit): Remove.
13798 (eww-bookmark-browse): Restore the window configuration when you
13799 choose a bookmark (bug#16144).
13800
13801 2013-12-24 Daniel Colascione <dancol@dancol.org>
13802
13803 * icomplete.el: Remove redundant :group arguments to `defcustom'
13804 throughout.
13805 (icomplete-show-matches-on-no-input): New customizable variable.
13806 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13807 we have something to show.
13808 (icomplete-exhibit): Compute completions even if we have no user input.
13809
13810 2013-12-23 Daniel Colascione <dancol@dancol.org>
13811
13812 * icomplete.el: Move `provide' to end of file.
13813
13814 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
13815
13816 * net/gnutls.el (gnutls-verify-error): Add version tag.
13817
13818 2013-12-23 Chong Yidong <cyd@gnu.org>
13819
13820 * subr.el (set-transient-map): Rename from
13821 set-temporary-overlay-map. Doc fix.
13822
13823 * face-remap.el (text-scale-adjust):
13824 * indent.el (indent-rigidly):
13825 * kmacro.el (kmacro-call-macro):
13826 * minibuffer.el (minibuffer-force-complete):
13827 * repeat.el (repeat):
13828 * simple.el (universal-argument--mode):
13829 * calendar/todo-mode.el (todo-insert-item--next-param):
13830 * progmodes/f90.el (f90-abbrev-start): Callers changed.
13831
13832 * indent.el (indent-rigidly): Use substitute-command-keys.
13833
13834 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13835
13836 * net/eww.el (eww-tag-select): Add text-property to jump to next
13837 select field.
13838 (eww): Add non-supported ftp error.
13839
13840 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13841
13842 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13843 comments. Handle electric indent after typing `?' and `!'.
13844
13845 2013-12-22 Chong Yidong <cyd@gnu.org>
13846
13847 * faces.el (face-spec-recalc): If the theme specs are not
13848 applicable to a frame, fall back on the defface spec.
13849 This prevents themes from obliterating faces on low-color terminals.
13850
13851 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13852
13853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13854 after `{'. We need it after block openers, and it doesn't seem
13855 to hurt after hash openers.
13856
13857 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13858
13859 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13860 extracted from `ruby-smie-rules'.
13861 (ruby--electric-indent-chars): New variable.
13862 (ruby--electric-indent-p): New function.
13863 (ruby-mode): Use `electric-indent-functions' instead of
13864 `electric-indent-chars'.
13865
13866 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13867
13868 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13869 docstring.
13870 (ruby-smie-rules): Indent plus one level after `=>'.
13871
13872 2013-12-21 Richard Stallman <rms@gnu.org>
13873
13874 * simple.el (newline): Doc fix.
13875
13876 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13877
13878 * net/eww.el (eww-list-histories, eww-list-histories)
13879 (eww-history-browse, eww-history-quit, eww-history-kill)
13880 (eww-history-mode-map, eww-history-mode): New command and
13881 functions to list browser histories.
13882 (eww-form-text): Support text form with disabled
13883 and readonly attributes.
13884 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13885
13886 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13887
13888 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13889 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13890 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13891 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13892 Use `user-error'.
13893 (eww-bookmark-mode-map): Add menu.
13894 (eww-render, eww-mode): Use `setq-local'.
13895 (eww-tool-bar-map): New variable.
13896 (eww-mode): Set `tool-bar-map'.
13897 (eww-view-source): Check for `html-mode' with `fboundp'.
13898
13899 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13900
13901 * net/shr.el (shr--extract-best-source): Don't bug out on audio
13902 elements with text inside. Also remove debugging.
13903
13904 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
13905
13906 * cus-start.el (all): Add ns-use-srgb-colorspace.
13907
13908 2013-12-21 Chong Yidong <cyd@gnu.org>
13909
13910 * custom.el (custom-theme-recalc-face): Do nothing if the face is
13911 undefined. Thus, theme settings for undefined faces do not take
13912 effect until the faces are defined with defface, the same as with
13913 theme variables.
13914
13915 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13916 (face-spec-reset-face): Don't assign extra properties in temacs.
13917 (face-spec-recalc): Apply X resources too.
13918
13919 2013-12-21 Chong Yidong <cyd@gnu.org>
13920
13921 * faces.el (face-spec-set):
13922 * cus-face.el (custom-theme-set-faces, custom-set-faces):
13923 * custom.el (defface): Doc fixes (Bug#16203).
13924
13925 * indent.el (indent-rigidly-map): Add docstring, and move commands
13926 into named functions.
13927 (indent-rigidly-left, indent-rigidly-right)
13928 (indent-rigidly-left-to-tab-stop)
13929 (indent-rigidly-right-to-tab-stop): New functions. Decide on
13930 indentation direction based on bidi direction, and accumulate
13931 sequential commands in a single undo boundary.
13932 (indent-rigidly--pop-undo): New utility function.
13933
13934 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * faces.el (read-face-name): Require crm.el when using crm-separator.
13937
13938 2013-12-20 Daniel Colascione <dancol@dancol.org>
13939
13940 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13941 so that we don't reflow comments into the shebang line.
13942
13943 2013-12-20 Juri Linkov <juri@jurta.org>
13944
13945 * saveplace.el (save-place-to-alist): Add `dired-filename' as
13946 a position when `dired-directory' is non-nil. Check integer
13947 positions with `integerp'.
13948 (toggle-save-place, save-places-to-alist): Add check for
13949 `dired-directory'.
13950 (save-place-find-file-hook): Check integer positions with
13951 `integerp'.
13952 (save-place-dired-hook): Use `dired-goto-file' when
13953 `dired-filename' is found in the assoc list. Check integer
13954 positions with `integerp'.
13955 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13956
13957 * dired.el (dired-initial-position-hook): Rename back from
13958 `dired-initial-point-hook'.
13959 (dired-initial-position): Rename `dired-initial-point-hook' to
13960 `dired-initial-position-hook'.
13961 (dired-file-name-at-point): Doc fix. (Bug#15329)
13962
13963 2013-12-20 Juri Linkov <juri@jurta.org>
13964
13965 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13966 (read-regexp-suggestions): New function.
13967 (read-regexp): Use `read-regexp-defaults-function' to get default values.
13968 Use `read-regexp-suggestions'. Add non-empty default to history
13969 for empty input.
13970 (occur-read-regexp-defaults-function): Remove function.
13971 (occur-read-primary-args): Use `regexp-history-last' instead of
13972 `occur-read-regexp-defaults-function'.
13973
13974 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13975 (hi-lock-line-face-buffer, hi-lock-face-buffer)
13976 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13977 `hi-lock-read-regexp-defaults-function'. Doc fix.
13978 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13979 with `find-tag-default-as-symbol-regexp'. Doc fix.
13980 (hi-lock-read-regexp-defaults): Remove function.
13981 (hi-lock-regexp-okay): Add check for null.
13982
13983 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13984 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
13985
13986 * subr.el (find-tag-default-as-symbol-regexp): New function.
13987 (find-tag-default-as-regexp): Move symbol regexp formatting to
13988 `find-tag-default-as-symbol-regexp'.
13989
13990 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
13991
13992 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13993 (Bug#14179)
13994
13995 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13996
13997 * calendar/todo-mode.el: New implementation of item insertion
13998 commands and key bindings.
13999 (todo-key-prompt): New face.
14000 (todo-insert-item): New command.
14001 (todo-insert-item--parameters): New defconst, replacing defvar
14002 todo-insertion-commands-args-genlist.
14003 (todo-insert-item--param-key-alist): New defconst, replacing
14004 defvar todo-insertion-commands-arg-key-list.
14005 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14006 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14007 (todo-insert-item--next-param): New functions.
14008 (todo-insert-item--args, todo-insert-item--argleft)
14009 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14010 New variables.
14011 (todo-key-bindings-t): Change binding of "i" from
14012 todo-insertion-map to todo-insert-item.
14013 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14014 (todo-insertion-command-name, todo-insertion-commands-names)
14015 (todo-define-insertion-command, todo-insertion-commands)
14016 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14017
14018 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14019
14020 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14021 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14022 eval-when-compile.
14023 (todo-move-category): Allow choosing a non-existing todo file to
14024 move the category to, and create that file.
14025 (todo-default-priority): New user option.
14026 (todo-set-item-priority): Use it.
14027 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14028 (desktop-restore-file-buffer): Declare.
14029 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14030 (todo-modes-set-2): Locally set desktop-save-buffer to
14031 todo-desktop-save-buffer.
14032 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14033 (auto-mode-alist): Add autoload cookie.
14034
14035 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14036
14037 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14038 helpers.el was a poor choice of name.
14039 (string-remove-prefix): New function.
14040 (string-remove-suffix): New function.
14041
14042 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14043
14044 Fix assignment for new window total sizes.
14045 * window.el (window--pixel-to-size): Remove function.
14046 (window--pixel-to-total-1, window--pixel-to-total):
14047 Fix calculation of new total sizes.
14048
14049 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14050
14051 * comint.el (comint-output-filter): Fix rear-nonsticky property
14052 placement (Bug#16010).
14053
14054 2013-12-20 Chong Yidong <cyd@gnu.org>
14055
14056 * faces.el (read-color): Minor fix for completion function.
14057
14058 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14059
14060 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14061 New option. (Bug#16182)
14062 (ruby-smie--indent-to-stmt-p): Use it.
14063 (ruby-smie-rules): Revert the logic in the handling of `when'.
14064 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14065 (ruby-deep-arglist, ruby-deep-indent-paren)
14066 (ruby-deep-indent-paren-style): Update docstrings to note that the
14067 vars don't have any effect with SMIE.
14068
14069 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14070
14071 * calc/calc.el (calc-enter, calc-pop): Use the variable
14072 `calc-context-sensitive-enter'.
14073
14074 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14075
14076 * net/shr.el (shr-insert): Protect against infloops in degenerate
14077 tables.
14078
14079 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14080
14081 * progmodes/octave.el (octave): Add link to manual and octave
14082 homepage.
14083 (octave-mode-menu): Link to octave-mode manual.
14084
14085 2013-12-20 Leo Liu <sdl.web@gmail.com>
14086
14087 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14088 insertion using skeleton-end-newline. (Bug#16138)
14089
14090 2013-12-20 Juri Linkov <juri@jurta.org>
14091
14092 * replace.el (occur-engine): Use `add-face-text-property'
14093 to add the face property to matches and titles. (Bug#14645)
14094
14095 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14096 the palette of other hi-lock colors.
14097 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14098
14099 2013-12-19 Juri Linkov <juri@jurta.org>
14100
14101 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14102 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14103 (minibuffer-history-symbol): Move variable declaration closer to
14104 its usage.
14105
14106 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14107 (Bug#14785)
14108
14109 2013-12-19 Juri Linkov <juri@jurta.org>
14110
14111 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14112 New function.
14113 (log-edit-hook): Add it to :options. (Bug#16170)
14114
14115 2013-12-19 Juri Linkov <juri@jurta.org>
14116
14117 * simple.el (eval-expression-print-format): Don't check for
14118 command names and the last command. Always display additional
14119 formats of the integer result in the echo area, and insert them
14120 to the current buffer only with a zero prefix arg.
14121 Display character when char-displayable-p is non-nil.
14122 (eval-expression): With a zero prefix arg, set `print-length' and
14123 `print-level' to nil, and insert the integer values from
14124 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14125
14126 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14127 `eval-last-sexp-arg-internal'. Doc fix.
14128 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14129 `eval-last-sexp-print-value'. Doc fix.
14130 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14131 Set `print-length' and `print-level' to nil when arg is zero.
14132 (eval-last-sexp): Doc fix.
14133 (eval-defun-2): Print the integer values from
14134 `eval-expression-print-format' at the end.
14135
14136 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14137 values from `eval-expression-print-format' at the end.
14138
14139 * ielm.el (ielm-eval-input): Print the integer
14140 values from `eval-expression-print-format' at the end.
14141
14142 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14143
14144 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14145 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14146
14147 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14150 (hl-line-highlight, global-hl-line-highlight): Use it.
14151 (hl-line-overlay): Use defvar-local.
14152
14153 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14154
14155 * term/ns-win.el: Require dnd.
14156 (global-map): Remove drag items.
14157 (ns-insert-text, ns-set-foreground-at-mouse)
14158 (ns-set-background-at-mouse):
14159 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14160 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14161 New functions.
14162
14163 2013-12-19 Glenn Morris <rgm@gnu.org>
14164
14165 * emacs-lisp/ert.el (ert-select-tests):
14166 Fix string/symbol mixup. (Bug#16121)
14167
14168 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14169
14170 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14171 keywords to their parent.
14172
14173 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14174
14175 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14176 first arg to be a string (fixed dead code), or an operator symbol.
14177 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14178 operator symbols.
14179 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14180 did nothing. Don't respond to `(:after ".")', it will be called
14181 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14182 change anything. Only return indentation for binary operators
14183 when they are hanging. De-dent opening paren when its parent is
14184 `.', otherwise it looks bad when the dot is not at bol or eol
14185 (bug#16182).
14186
14187 2013-12-19 Juri Linkov <juri@jurta.org>
14188
14189 * replace.el (query-replace-read-args): Split a non-negative arg
14190 and a negative arg into separate elements.
14191 (query-replace, query-replace-regexp, replace-string)
14192 (replace-regexp): Add arg `backward'. Doc fix.
14193 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14194 move point to the beginning of the match.
14195 (replace-search, replace-highlight): Use new arg `backward'
14196 to set the value of `isearch-forward'.
14197 (perform-replace): Add arg `backward' and use it to perform
14198 replacement backward. (Bug#14979)
14199
14200 * isearch.el (isearch-query-replace): Use a negative prefix arg
14201 to call `perform-replace' with a non-nil arg `backward'.
14202
14203 2013-12-18 Juri Linkov <juri@jurta.org>
14204
14205 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14206 to the default list. Move `log-edit-show-files' to the end.
14207 Add more available functions to options.
14208 (log-edit): Move default specific settings to
14209 `log-edit-insert-message-template'. Don't move point.
14210 (log-edit-insert-message-template): New function.
14211 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14212 (Bug#16170)
14213
14214 2013-12-18 Juri Linkov <juri@jurta.org>
14215
14216 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14217 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14218
14219 2013-12-18 Leo Liu <sdl.web@gmail.com>
14220
14221 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14222 (Bug#16186)
14223
14224 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14225
14226 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14227 formats for displaying file sizes when the -s switch is given.
14228 Instead, compute a separate format for displaying the size in
14229 blocks, which is displayed in addition to the "regular" size.
14230 When -h is given in addition to -s, produce size in blocks in
14231 human-readable form as well. (Bug#16179)
14232
14233 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14234
14235 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14236 Reference tables with ~\ref{...} instead of only \ref{...}.
14237
14238 2013-12-18 Chong Yidong <cyd@gnu.org>
14239
14240 * cus-edit.el (custom-magic-alist): Fix "themed" description
14241 (Bug#14348).
14242
14243 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14244 is non-nil, do not create a new entry in the symbol's theme-value
14245 or theme-face property; update theme-settings only (Bug#14664).
14246 (custom-available-themes): Doc fix.
14247
14248 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14249 (Bug#15674).
14250
14251 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14252
14253 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14254
14255 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14256 (Bug#13914).
14257
14258 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14259
14260 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14261
14262 2013-12-18 Glenn Morris <rgm@gnu.org>
14263
14264 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14265 * cus-start.el (load-prefer-newer): New option.
14266
14267 2013-12-18 Le Wang <l26wang@gmail.com>
14268
14269 * comint.el (comint-previous-matching-input-from-input):
14270 Retain point (Bug#13404).
14271
14272 2013-12-18 Chong Yidong <cyd@gnu.org>
14273
14274 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14275
14276 2013-12-18 Glenn Morris <rgm@gnu.org>
14277
14278 * mail/emacsbug.el (report-emacs-bug):
14279 Only mention enable-multibyte-characters if non-standard.
14280
14281 2013-12-17 Juri Linkov <juri@jurta.org>
14282
14283 * arc-mode.el (archive-extract-by-file): Check if directory exists
14284 before deletion to not show irrelevant errors if it doesn't exist.
14285
14286 2013-12-17 Juri Linkov <juri@jurta.org>
14287
14288 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14289 (Bug#14751)
14290
14291 * net/eww.el (browse-web): Add alias to `eww'.
14292 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14293 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14294
14295 * net/browse-url.el (browse-url-browser-function): Move `eww'
14296 closer to similar functions.
14297
14298 * startup.el (fancy-startup-screen, fancy-about-screen):
14299 Set browse-url-browser-function to eww-browse-url locally.
14300 (Bug#14751)
14301
14302 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * window.el (window--pixel-to-total): Remove unused `mini' var.
14305 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14306 (split-window): Remove unused `new' var.
14307 (window--display-buffer): Remove unused `frame' and `delta' vars.
14308 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14309 and display-width'.
14310
14311 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14312
14313 * dired.el (dired-mark-pop-up):
14314 * register.el (register-preview): Don't bind
14315 split-height-threshold here since it's now done in
14316 display-buffer-below-selected.
14317
14318 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14319
14320 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14321 xterm-rgb-convert-to-16bit.
14322 (rxvt-register-default-colors): Standardize with
14323 xterm-register-default-colors (Bug#14078).
14324
14325 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14326
14327 * simple.el (kill-region): Pass mark first, then point, so that
14328 kill-append works right (Bug#12819).
14329 (copy-region-as-kill, kill-ring-save): Likewise.
14330
14331 2013-12-17 Leo Liu <sdl.web@gmail.com>
14332
14333 * net/rcirc.el (rcirc-add-face):
14334 * eshell/em-prompt.el (eshell-emit-prompt):
14335 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14336 (Bug#16167)
14337
14338 2013-12-17 Chong Yidong <cyd@gnu.org>
14339
14340 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14341 Suggested by Xue Fuqiao.
14342
14343 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14344
14345 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14346
14347 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * net/shr.el (shr-insert-document): Remove unused var
14350 `shr-preliminary-table-render'.
14351 (shr-rescale-image): Remove unused arg `force'.
14352 (shr-put-image): Update calls accordingly.
14353 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14354
14355 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14356
14357 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14358 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14359 :close-all, to see which indentation method to use (Bug#16116).
14360 (smie-rules-function): Document the method :close-all.
14361
14362 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14363
14364 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14365
14366 * net/eww.el (eww-display-html): If we can't find the anchor we're
14367 looking for, then go to point-min.
14368
14369 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14370
14371 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14372 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14373 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14374 Expand dir too, in case it's relative.
14375
14376 2013-12-16 Juri Linkov <juri@jurta.org>
14377
14378 * desktop.el (desktop-auto-save-timeout): Change default to
14379 `auto-save-timeout'. Doc fix.
14380 (desktop-save): Skip the timestamp in desktop-saved-frameset
14381 when checking for auto-save changes.
14382 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14383 `desktop-auto-save' is called repeatedly by the idle timer.
14384 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14385 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14386 (Bug#15331)
14387
14388 2013-12-16 Juri Linkov <juri@jurta.org>
14389
14390 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14391 (Bug#16035)
14392 (isearch-pre-command-hook): Check `this-command' for symbolp.
14393
14394 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14395
14396 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14397
14398 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14399
14400 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14401 (cfengine3--current-function): Bring in the current-function
14402 functionality from `cfengine3--current-word'.
14403 (cfengine3-completion-function): Bring in the
14404 bounds-of-current-word functionality from
14405 `cfengine3--current-word'.
14406
14407 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14408
14409 * window.el (display-buffer-below-selected):
14410 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14411
14412 2013-12-16 Leo Liu <sdl.web@gmail.com>
14413
14414 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14415 Remove NOMSG arg and all uses changed.
14416
14417 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14420 (cua--deactivate-rectangle): Don't deactivate the mark.
14421 (cua-set-rectangle-mark): Don't set mark-active since
14422 cua--activate-rectangle already does it for us.
14423 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14424 non-rectangular region.
14425
14426 * emulation/cua-base.el (cua-repeat-replace-region):
14427 Use with-current-buffer.
14428
14429 * net/gnutls.el: Use cl-lib.
14430 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14431
14432 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14433
14434 * emacs-lisp/package.el (package-built-in-p): Support both
14435 built-in and the package.el converted package descriptions.
14436 (package-show-package-list): Allow keywords.
14437 (package-keyword-button-action): Use it instead of
14438 `finder-list-matches'.
14439 (package-menu-filter-interactive): Interactive filtering (by
14440 keyword) function.
14441 (package-menu--generate): Support keywords and change keymappings
14442 and headers when they are given.
14443 (package--has-keyword-p): Helper function.
14444 (package-menu--refresh): Use it.
14445 (package--mapc): Helper function.
14446 (package-all-keywords): Use it.
14447 (package-menu-mode-map): Set up menu items and keybindings to
14448 provide a filtering UI.
14449
14450 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14451
14452 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14453 the behavior when a certificate fails validation. Defaults to
14454 old behavior: never abort, just warn.
14455 (gnutls-negotiate): Use it.
14456
14457 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14458
14459 * window.el (display-buffer-below-selected): Never split window
14460 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14461
14462 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14463
14464 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14465 (package-buffer-info): Use it (bug#15108).
14466
14467 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14468
14469 * icomplete.el (icomplete-completions): Make sure the prefix is already
14470 displayed elsewhere before hiding it (bug#16219).
14471
14472 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14473
14474 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14475 open-paren tokens when preceded by a open-paren, too.
14476 (ruby-smie-rules): Handle virtual indentation after open-paren
14477 tokens specially. If there is code between it and eol, return the
14478 column where is starts (Bug#16118).
14479
14480 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14481
14482 * progmodes/cfengine.el: Fix `add-hook' doc.
14483 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14484 (cfengine3--current-word): Fix parameters.
14485 (cfengine3-make-syntax-cache): Simplify further.
14486 (cfengine3-completion-function, cfengine3--current-function):
14487 Use `assq' for symbols.
14488 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14489
14490 2013-12-13 Glenn Morris <rgm@gnu.org>
14491
14492 * loadup.el (load-path): Warn if site-load or site-init changes it.
14493 No more need to reset it when bootstrapping.
14494
14495 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14496
14497 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14498 locations for cf-promises.
14499 (cfengine-mode-syntax-functions-regex): New caching variable.
14500 (cfengine3-fallback-syntax): Fallback syntax for cases where
14501 cf-promises doesn't run.
14502 (cfengine3--current-word): Reimplement using
14503 `cfengine-mode-syntax-functions-regex'.
14504 (cfengine3-completion-function, cfengine3--current-function):
14505 Use `cfengine3-make-syntax-cache' directly.
14506 (cfengine3-clear-syntax-cache): New function.
14507 (cfengine3-make-syntax-cache): Simplify and create
14508 `cfengine-mode-syntax-functions-regex' on demand.
14509 (cfengine3-format-function-docstring): Don't call
14510 `cfengine3-make-syntax-cache' explicitly.
14511
14512 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14513
14514 Fix windmove-find-other-window broken after pixelwise resizing
14515 (Bug#16017).
14516 * windmove.el (windmove-other-window-loc): Revert change from
14517 2013-12-04.
14518 (windmove-find-other-window): Call window-in-direction.
14519 * window.el (window-in-direction): New arguments SIGN, WRAP and
14520 MINI to emulate original windmove-find-other-window behavior.
14521
14522 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14523
14524 * simple.el (blink-matching--overlay): New variable.
14525 (blink-matching-open): Instead of moving point, highlight the
14526 matching paren with an overlay
14527 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14528
14529 * faces.el (paren-showing-faces, show-paren-match)
14530 (show-paren-mismatch): Move from paren.el.
14531
14532 2013-12-13 Leo Liu <sdl.web@gmail.com>
14533
14534 * indent.el (indent-region): Disable progress reporter in
14535 minibuffer. (Bug#16108)
14536
14537 * bindings.el (visual-order-cursor-movement): Fix version.
14538
14539 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14540
14541 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14542 Also match after beginning of line.
14543 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14544 files. Thanks to Russell Sim. (Bug#15378)
14545
14546 2013-12-13 Juri Linkov <juri@jurta.org>
14547
14548 * simple.el <Keypad support>: Remove key bindings duplicated
14549 with bindings.el. (Bug#14397)
14550
14551 2013-12-13 Juri Linkov <juri@jurta.org>
14552
14553 * comint.el (comint-mode-map): Replace `delete-char' with
14554 `delete-forward-char'. (Bug#16109)
14555
14556 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14557
14558 * progmodes/python.el (python-indent-calculate-indentation):
14559 Fix de-denters cornercase. (Bug#15731)
14560
14561 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14562
14563 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14564 (advice--make): Pay attention to `depth'.
14565 (advice--make-1): Don't autoload commands eagerly.
14566 * emacs-lisp/elp.el (elp-instrument-function):
14567 * emacs-lisp/trace.el (trace-function-internal):
14568 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14569
14570 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14571
14572 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14573
14574 * term/w32-win.el (w32-handle-dropped-file):
14575 * startup.el (normal-top-level):
14576 * net/browse-url.el (browse-url-file-url):
14577 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14578 decode file names using 'utf-8' rather than
14579 file-name-coding-system.
14580
14581 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14582
14583 * progmodes/python.el (python-indent-context)
14584 (python-indent-calculate-indentation): Fix auto-identation
14585 behavior for comment blocks. (Bug#15916)
14586
14587 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14588
14589 * progmodes/python.el (python-indent-calculate-indentation):
14590 When determining indentation, don't treat "return", "pass", etc., as
14591 operators when they are just string constituents. (Bug#15812)
14592
14593 2013-12-12 Juri Linkov <juri@jurta.org>
14594
14595 * uniquify.el (uniquify-buffer-name-style): Change default to
14596 `post-forward-angle-brackets'.
14597
14598 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14599 `uniquify'. Change default to `post-forward-angle-brackets'.
14600
14601 2013-12-11 Glenn Morris <rgm@gnu.org>
14602
14603 * emacs-lisp/package.el (finder-list-matches):
14604 Autoload rather than falsely declaring.
14605
14606 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14607
14608 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14609 (eww-mode-map): Use them.
14610
14611 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14612
14613 * window.el (display-buffer-in-side-window): Fix doc-string
14614 (Bug#16115).
14615
14616 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14617
14618 * vc/vc-git.el: Silence byte-compiler warnings.
14619 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14620 (log-edit-set-header): Declare.
14621
14622 2013-12-11 Eli Zaretskii <eliz@gnu.org>
14623
14624 * Makefile.in (custom-deps, finder-data): Run output file names
14625 through unmsys--file-name. (Bug#16099)
14626
14627 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14630 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14631
14632 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14633 instead of deleting the selection "by hand" (bug#16098).
14634 Rely on insert-for-yank to yank rectangles.
14635 (cua-highlight-region-shift-only): Mark obsolete.
14636 (cua-mode): Don't enable/disable transient-mark-mode,
14637 shift-select-mode (cua-mode works both with and without them), and
14638 pc-selection-mode (obsolete).
14639 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14640 (cua--deactivate-rectangle): Deactivate it.
14641
14642 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14643 (delete-selection-helper): Make sure yank starts at the top of the
14644 deleted region.
14645 (minibuffer-keyboard-quit): Use region-active-p.
14646
14647 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14648
14649 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14650 to `delete' (bug#16109).
14651
14652 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14653
14654 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14655 info manual and show keybindings and set `:group' keyword.
14656
14657 2013-12-11 Juri Linkov <juri@jurta.org>
14658
14659 * delsel.el (delete-active-region): Let-bind `this-command'
14660 to prevent `kill-region' from changing its original value.
14661 (delete-selection-helper): Handle `overwrite-mode' for the type
14662 `kill' exactly the same way as for the type `t'.
14663 (insert-char, quoted-insert, reindent-then-newline-and-indent):
14664 Support more commands. (Bug#13312)
14665
14666 2013-12-11 Juri Linkov <juri@jurta.org>
14667
14668 * bindings.el: Map kp keys to non-kp keys systematically
14669 with basic modifiers control, meta and shift. (Bug#14397)
14670
14671 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14672
14673 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14674 "Close browser" menu items. Fix wrong function of "List
14675 bookmarks".
14676
14677 2013-12-11 Juri Linkov <juri@jurta.org>
14678
14679 * misearch.el (multi-isearch-buffers): Set the value of
14680 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14681 arg of isearch-forward to t.
14682 (multi-isearch-buffers-regexp): Set the value of
14683 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14684 arg of isearch-forward-regexp to t.
14685 (multi-isearch-files): Set the value of
14686 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14687 arg of isearch-forward to t.
14688 (multi-isearch-files-regexp): Set the value of
14689 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14690 arg of isearch-forward-regexp to t. (Bug#16035)
14691
14692 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14693 arg of isearch-forward to t.
14694 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14695 arg of isearch-forward-regexp to t.
14696 (dired-isearch-filter-filenames): Remove unnecessary check for
14697 `dired-isearch-filenames'.
14698
14699 * comint.el (comint-history-isearch-backward):
14700 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14701 (comint-history-isearch-backward-regexp):
14702 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14703
14704 2013-12-10 Eli Zaretskii <eliz@gnu.org>
14705
14706 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14707 unmsys--file-name. (Bug#16099)
14708
14709 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
14710
14711 * emacs-lisp/package.el (package-keyword-button-action):
14712 Remove finder.el require dependency.
14713
14714 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
14715
14716 * emacs-lisp/package.el: Require finder.el.
14717 (describe-package-1): Add keyword buttons.
14718 (package-make-button): New convenience function.
14719 (package-keyword-button-action): Keyword button action using
14720 `finder-list-matches'.
14721
14722 2013-12-09 Eli Zaretskii <eliz@gnu.org>
14723
14724 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14725 last commit.
14726
14727 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
14728
14729 * autorevert.el (auto-revert-notify-add-watch): Do not handle
14730 symlinked files.
14731
14732 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14733
14734 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14735 after the end of a percent literal.
14736
14737 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
14738
14739 * progmodes/ruby-mode.el (ruby-forward-string): Document.
14740 Handle caret-delimited strings (Bug#16079).
14741
14742 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14743
14744 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14745 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14746 `ruby-parse-partial' (Bug#16078).
14747
14748 2013-12-09 Leo Liu <sdl.web@gmail.com>
14749
14750 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
14751
14752 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
14753
14754 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14755 (js-switch-indent-offset): New option.
14756 (js--proper-indentation): Use it. And handle the case when
14757 "default" is actually a key in an object literal.
14758 (js--same-line): New function.
14759 (js--multi-line-declaration-indentation): Use it.
14760 (js--indent-in-array-comp, js--array-comp-indentation):
14761 New functions.
14762 (js--proper-indentation): Use them, to handle array comprehension
14763 continuations.
14764
14765 2013-12-08 Leo Liu <sdl.web@gmail.com>
14766
14767 * progmodes/flymake.el (flymake-highlight-line): Re-write.
14768 (flymake-make-overlay): Remove arg MOUSE-FACE.
14769 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14770
14771 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14772
14773 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14774 New function.
14775 (redisplay-highlight-region-function): Use it.
14776
14777 * emulation/cua-base.el (cua--explicit-region-start)
14778 (cua--last-region-shifted): Remove.
14779 (cua--deactivate): Use deactivate-mark.
14780 (cua--pre-command-handler-1): Don't handle shift-selection.
14781 (cua--post-command-handler-1): Don't change transient-mark-mode.
14782 (cua--select-keymaps): Use region-active-p rather than
14783 cua--explicit-region-start or cua--last-region-shifted.
14784 (cua-mode): Enable shift-select-mode.
14785
14786 2013-12-08 Leo Liu <sdl.web@gmail.com>
14787
14788 * progmodes/flymake.el (flymake-popup-current-error-menu):
14789 Rename from flymake-display-err-menu-for-current-line. Reimplement.
14790 (flymake-posn-at-point-as-event, flymake-popup-menu)
14791 (flymake-make-emacs-menu): Remove. (Bug#16077)
14792
14793 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14794
14795 * rect.el (rectangle-mark-mode): Activate mark even if
14796 transient-mark-mode is off (bug#16066).
14797 (rectangle--highlight-for-redisplay): Fix boundary condition when point
14798 is > mark and at bolp.
14799
14800 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14801 (region-extract-function): Use it.
14802 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14803 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14804 Delete functions.
14805 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14806 kill-ring-save, kill-region, delete-char, delete-forward-char.
14807 Ignore self-insert-iso.
14808
14809 * emulation/cua-gmrk.el (cua--init-global-mark):
14810 Ignore `self-insert-iso'.
14811
14812 * emulation/cua-base.el (cua--prefix-copy-handler)
14813 (cua--prefix-cut-handler): Rely on region-extract-function rather than
14814 checking cua--rectangle.
14815 (cua-delete-region): Use region-extract-function.
14816 (cua-replace-region): Delete function.
14817 (cua-copy-region, cua-cut-region): Obey region-extract-function.
14818 (cua--pre-command-handler-1): Don't do the delete-selection thing.
14819 (cua--self-insert-char-p): Ignore `self-insert-iso'.
14820 (cua--init-keymaps): Don't remap delete-selection commands.
14821 (cua-mode): Use delete-selection-mode instead of rolling our own
14822 (bug#16085).
14823
14824 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14825 Obey region-extract-function.
14826
14827 Make registers and delete-selection-mode work on rectangles.
14828 * register.el (describe-register-1): Don't modify the register's value.
14829 (copy-to-register): Obey region-extract-function.
14830 * delsel.el (delete-active-region): Obey region-extract-function.
14831
14832 2013-12-08 Leo Liu <sdl.web@gmail.com>
14833
14834 * progmodes/flymake.el (flymake, flymake-error-bitmap)
14835 (flymake-warning-bitmap, flymake-fringe-indicator-position)
14836 (flymake-compilation-prevents-syntax-check)
14837 (flymake-start-syntax-check-on-newline)
14838 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14839 (flymake-start-syntax-check-on-find-file, flymake-log-level)
14840 (flymake-xml-program, flymake-master-file-dirs)
14841 (flymake-master-file-count-limit)
14842 (flymake-allowed-file-name-masks): Relocate.
14843 (flymake-makehash, flymake-float-time)
14844 (flymake-replace-regexp-in-string, flymake-split-string)
14845 (flymake-get-temp-dir): Remove.
14846 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14847 (flymake-current-row, flymake-selected-frame)
14848 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14849 related functions. (Bug#16077)
14850
14851 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14852
14853 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14854
14855 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14856
14857 * help-fns.el (describe-function-1): Use new advice-* functions
14858 rather than old ad-* functions. Fix function type description and
14859 source links for advised functions and subrs.
14860
14861 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14862
14863 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14864
14865 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14866
14867 * progmodes/compile.el (compilation-start):
14868 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14869
14870 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14871 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14872
14873 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14874
14875 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14876 Touch up the last change.
14877
14878 2013-12-06 Leo Liu <sdl.web@gmail.com>
14879
14880 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14881 (inferior-octave-startup): Always use "octave> " for prompt.
14882 (octave-goto-function-definition)
14883 (octave-sync-function-file-names)
14884 (octave-find-definition-default-filename): Remove redundant backquotes.
14885
14886 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14887
14888 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14889 syntax for `?'.
14890 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14891 where appropriate already.
14892 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14893 end of method names (Bug#15874).
14894
14895 2013-12-06 Juri Linkov <juri@jurta.org>
14896
14897 * isearch.el (isearch--saved-overriding-local-map):
14898 New internal variable.
14899 (isearch-mode): Set it to the initial value of
14900 `overriding-terminal-local-map'.
14901 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14902 with `isearch--saved-overriding-local-map'. (Bug#16035)
14903
14904 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14905
14906 * progmodes/octave.el (inferior-octave-completion-table):
14907 Turn back into function, use `completion-table-with-cache'
14908 (Bug#11906). Update all references.
14909
14910 * minibuffer.el (completion-table-with-cache): New function.
14911
14912 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
14913
14914 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14915
14916 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
14917
14918 * net/eww.el (eww-current-source): New variable to store page
14919 source.
14920 (eww-display-html, eww-mode, eww-save-history)
14921 (eww-restore-history): Use it.
14922 (eww-view-source): New command to view page source.
14923 Opportunistically uses `html-mode' to highlight the buffer.
14924 (eww-mode-map): Install it.
14925
14926 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
14927
14928 * net/dbus.el (dbus-unregister-service)
14929 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14930 Fix docstring.
14931 (dbus-unregister-service): Skip :serial entries in
14932 `dbus-registered-objects-table'.
14933 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14934
14935 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
14936
14937 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14938 around keywords with extra `split-string' argument.
14939
14940 2013-12-04 Martin Rudalics <rudalics@gmx.at>
14941
14942 * windmove.el (windmove-other-window-loc): Handle navigation
14943 between windows (excluding the minibuffer window - Bug#16017).
14944
14945 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
14946
14947 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14948 in D-Bus type syntax.
14949 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14950 preserve unibyte strings. (Bug#16048)
14951
14952 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14953
14954 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14955 Call force-mode-line-update is the proper buffer (bug#16042).
14956
14957 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
14958
14959 * vc/log-edit.el (log-edit-add-new-comment): Rename to
14960 `log-edit-remember-comment', make argument optional. Adjust all
14961 callers.
14962 (log-edit-mode): Add `log-edit-remember-comment' to
14963 `kill-buffer-hook' locally.
14964 (log-edit-kill-buffer): Don't remember comment explicitly since
14965 the buffer is killed anyway.
14966
14967 2013-12-04 Juri Linkov <juri@jurta.org>
14968
14969 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14970 add-hook and remove-hook for multi-buffer search. (Bug#16035)
14971
14972 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
14973
14974 * notifications.el (notifications-close-notification): Call the
14975 D-Bus method with ID being a `:uint32'. (Bug#16030)
14976
14977 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
14978
14979 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14980
14981 2013-12-03 Juri Linkov <juri@jurta.org>
14982
14983 * progmodes/compile.el (compilation-start): Rename window alist
14984 entry `no-display-ok' to `allow-no-window'.
14985
14986 * simple.el (shell-command): Add window alist entry
14987 `allow-no-window' to `display-buffer'.
14988 (async-shell-command): Doc fix.
14989
14990 * window.el (display-buffer-no-window): New action function.
14991 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
14992
14993 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14994
14995 * vc/log-edit.el (log-edit-set-header): Extract from
14996 `log-edit-toggle-header'.
14997 (log-edit-extract-headers): Separate the summary, when extracted
14998 from header, from the rest of the message with an empty line.
14999
15000 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15001 line, if present, to the Summary header.
15002
15003 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15006 in current-buffer (bug#16029).
15007
15008 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15009
15010 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15011 (debugger-mode-map): Bind it.
15012 (debugger--backtrace-base): New function.
15013 (debugger-eval-expression): Use it.
15014 (debugger-frame-number): Skip local vars when present.
15015 (debugger--locals-visible-p, debugger--insert-locals)
15016 (debugger--show-locals, debugger--hide-locals): New functions.
15017
15018 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15019
15020 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15021 "LC_ALL".
15022 (tramp-get-remote-locale): New defun.
15023 (tramp-open-connection-setup-interactive-shell): Use it.
15024
15025 2013-12-02 Leo Liu <sdl.web@gmail.com>
15026
15027 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15028
15029 * progmodes/sh-script.el (sh-shell-process):
15030 * progmodes/octave.el (inferior-octave-process-live-p):
15031 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15032 (gdb-inferior-io-sentinel):
15033 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15034
15035 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15036
15037 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15038 `save-selected-window' to `log-edit-hide-buf'. This makes
15039 `log-edit-show-files' idempotent.
15040 (log-edit-show-files): Mark the new window as dedicated.
15041
15042 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15043
15044 * vc/log-edit.el (log-edit-mode-map): Add binding for
15045 `log-edit-kill-biffer'.
15046 (log-edit-hide-buf): Add a FIXME comment.
15047 (log-edit-add-new-comment): New function, extracted from
15048 `log-edit-done'.
15049 (log-edit-done, log-edit-add-to-changelog): Use it.
15050 (log-edit-kill-buffer): New command.
15051
15052 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15053
15054 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15055 instead of killing the buffer.
15056
15057 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15060
15061 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15062
15063 * net/eww.el (eww-form-checkbox-selected-symbol)
15064 (eww-form-checkbox-symbol): New customizable variable.
15065 (eww-form-checkbox, eww-toggle-checkbox):
15066 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15067
15068 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15069 (shr--get-media-pref, shr--extract-best-source): New function.
15070 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15071 no :src tag was specified.
15072
15073 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15074 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15075 Use \\` to match beginning of string instead of ^.
15076 (eww-browse-with-external-browser): Provide optional URL parameter.
15077 (eww-render): Set `eww-current-title' back to "".
15078
15079 * net/shr.el (shr-tag-video): Display content for video if no
15080 poster is available.
15081 (shr-tag-audio): Add support for <audio> tag.
15082
15083 * net/eww.el (eww-text-input-types): New const.
15084 (eww-process-text-input): Treat input types in
15085 `eww-text-input-types' as text.
15086
15087 * net/shr.el (shr-tag-table): Fix comment typo.
15088
15089 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15090
15091 * net/eww.el (eww-follow-link): New command to avoid reloading
15092 pages when we follow #target links (bug#15243).
15093 (eww-quit): Special mode buffers shouldn't query before exiting.
15094
15095 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15096
15097 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15098 forms.
15099
15100 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15101
15102 * net/eww.el (eww-restore-history): Update the window title after
15103 moving in the history.
15104 (eww-current-dom): New variable used to save the current DOM.
15105
15106 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15107
15108 * vc/log-edit.el (log-edit-mode-map): Add binding for
15109 `log-edit-beginning-of-line'.
15110 (log-edit-setup-add-author): New user option.
15111 (log-edit-beginning-of-line): New command.
15112 (log-edit): Move major mode call above the contents setup so that
15113 the local variable values are already applied.
15114 (log-edit): Only insert "Author: " when
15115 `log-edit-setup-add-author' is non-nil.
15116 (log-edit): When SETUP is non-nil, position point after ": "
15117 instead of point-min.
15118
15119 2013-12-01 Glenn Morris <rgm@gnu.org>
15120
15121 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15122
15123 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15124
15125 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15126 redisplay to make sure the initial frame gets a chance to become
15127 visible. (Bug#16014)
15128
15129 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15130
15131 Support resizing frames and windows pixelwise.
15132 * cus-start.el (frame-resize-pixelwise)
15133 (window-resize-pixelwise): New entries.
15134 * emacs-lisp/debug.el (debug): Use window-total-height instead
15135 of window-total-size.
15136 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15137 * help.el (describe-bindings-internal): Use help-buffer as
15138 argument for with-help-window.
15139 (temp-buffer-max-width): New option.
15140 (resize-temp-buffer-window, help-window-setup)
15141 (with-help-window): Rewrite.
15142 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15143 dragging dividers.
15144 * window.el (frame-char-size, window-min-pixel-height)
15145 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15146 (window-min-pixel-width, window-safe-min-pixel-size)
15147 (window-combination-p, window-safe-min-size)
15148 (window-resizable-p, window--size-to-pixel)
15149 (window--pixel-to-size, window--resize-apply-p): New functions.
15150 (window-safe-min-height): Fix doc-string.
15151 (window-size, window-min-size, window--min-size-1)
15152 (window-sizable, window-sizable-p, window--min-delta-1)
15153 (window-min-delta, window--max-delta-1, window-max-delta)
15154 (window--resizable, window--resizable-p, window-resizable)
15155 (window-full-height-p, window-full-width-p, window-at-side-p)
15156 (window--in-direction-2, window-in-direction)
15157 (window--resize-reset-1, window--resize-mini-window)
15158 (window-resize, window-resize-no-error)
15159 (window--resize-child-windows-normal)
15160 (window--resize-child-windows, window--resize-siblings)
15161 (window--resize-this-window, window--resize-root-window)
15162 (window--resize-root-window-vertically)
15163 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15164 (maximize-window, minimize-window, delete-window)
15165 (quit-restore-window, window-split-min-size, split-window)
15166 (balance-windows-2, balance-windows)
15167 (balance-windows-area-adjust, balance-windows-area)
15168 (window--state-get-1, window-state-get, window--state-put-1)
15169 (window--state-put-2, window-state-put)
15170 (display-buffer-record-window, window--display-buffer):
15171 Make functions handle pixelwise sizing of windows.
15172 (display-buffer--action-function-custom-type)
15173 (display-buffer-fallback-action):
15174 Add display-buffer-in-previous-window.
15175 (display-buffer-use-some-window): Resize window to height it had
15176 before.
15177 (fit-window-to-buffer-horizontally): New option.
15178 (fit-frame-to-buffer): Describe new values.
15179 (fit-frame-to-buffer-bottom-margin): Replace with
15180 fit-frame-to-buffer-margins.
15181 (window--sanitize-margin): New function.
15182 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15183 using window-text-pixel-size.
15184
15185 2013-11-30 Glenn Morris <rgm@gnu.org>
15186
15187 * emacs-lisp/bytecomp.el (byte-compile-form):
15188 Make the `interactive-only' warning like the `obsolete' one.
15189 * comint.el (comint-run):
15190 * files.el (insert-file-literally, insert-file):
15191 * replace.el (replace-string, replace-regexp):
15192 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15193 (goto-line, insert-buffer, next-line, previous-line):
15194 Tweak `interactive-only' spec.
15195
15196 Stop keeping (most) generated cedet grammar files in the repository.
15197 * Makefile.in (semantic): New.
15198 (compile-main): Depend on semantic.
15199
15200 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15201
15202 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15203 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15204
15205 * uniquify.el (uniquify-buffer-name-style): Change default.
15206
15207 * loadup.el: Preload "uniquify".
15208
15209 * time.el (display-time-update): Update all mode lines (bug#15999).
15210
15211 * electric.el (electric-indent-mode): Enable by default.
15212 * loadup.el: Preload "electric".
15213
15214 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15215
15216 * emacs-lisp/helpers.el (string-empty-p): New function.
15217 (string-blank-p): New function.
15218
15219 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15220
15221 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15222 (Bug#14029).
15223
15224 2013-11-29 Andreas Politz <politza@fh-trier.de>
15225 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15226 allow non-lambda lists as functions.
15227 (imenu--in-alist): Don't recurse into non-subalists.
15228 (imenu): Don't pass function itself as an argument (Bug#14029).
15229
15230 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15231
15232 * progmodes/python.el (python-mode-map): Remove binding for ":".
15233 (python-indent-electric-colon): Remove command.
15234 (python-indent-post-self-insert-function): Integrate the previous code
15235 of python-indent-electric-colon. Make it conditional on
15236 electric-indent-mode.
15237 (python-mode): Add ?: to electric-indent-chars.
15238 Move python-indent-post-self-insert-function to the end of
15239 post-self-insert-hook.
15240
15241 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15242
15243 * doc-view.el (doc-view-goto-page): Update mode-line.
15244
15245 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15246
15247 2013-11-27 Glenn Morris <rgm@gnu.org>
15248
15249 * international/charprop.el, international/uni-bidi.el:
15250 * international/uni-category.el, international/uni-combining.el:
15251 * international/uni-comment.el, international/uni-decimal.el:
15252 * international/uni-decomposition.el, international/uni-digit.el:
15253 * international/uni-lowercase.el, international/uni-mirrored.el:
15254 * international/uni-name.el, international/uni-numeric.el:
15255 * international/uni-old-name.el, international/uni-titlecase.el:
15256 * international/uni-uppercase.el:
15257 Remove generated files from VCS repository.
15258
15259 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15260
15261 * filenotify.el (file-notify-add-watch): Don't special-case
15262 w32notify when computing the directory to watch.
15263
15264 2013-11-27 Glenn Morris <rgm@gnu.org>
15265
15266 Make bootstrap without generated uni-*.el files possible again.
15267 * loadup.el: Update command-line-args checking for unidata-gen.
15268 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15269 * composite.el, international/characters.el:
15270 Handle unicode tables being undefined.
15271
15272 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15273 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15274 (compile-main): Depend on leim rule.
15275 (leim): New rule.
15276 * loadup.el: Move leim-list.el to leim/ subdirectory.
15277 * startup.el (normal-top-level): No more leim directory.
15278 * international/ja-dic-cnv.el (skkdic-convert):
15279 Disable version-control and autoloads in output files.
15280 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15281 Disable version-control and autoloads in output files.
15282 * leim/quail: Move here from ../leim.
15283 * leim/quail/hangul.el (hangul-input-method-activate):
15284 Add autoload cookie.
15285 (generated-autoload-load-name): Set file-local value.
15286 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15287 (generated-autoload-load-name): Set file-local value.
15288
15289 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15290
15291 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15292 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15293 (eww-quit): Ask confirmation before quitting eww.
15294
15295 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15296
15297 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15298 reading output from Diff on MS-Windows and MS-DOS.
15299
15300 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15301
15302 * emacs-lisp/helpers.el (string-reverse): New function.
15303
15304 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15305
15306 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15307 names on MS Windows, like "/[::1]:".
15308
15309 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15310 SWITCHES.
15311
15312 2013-11-26 Glenn Morris <rgm@gnu.org>
15313
15314 * progmodes/python.el (python-indent-guess-indent-offset):
15315 Avoid corner-case error. (Bug#15975)
15316
15317 Preload leim-list.el. (Bug#4789)
15318 * loadup.el: Load leim-list.el when found.
15319 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15320
15321 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15322
15323 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15324
15325 * emacs-lisp/helpers.el (string-join): New function.
15326
15327 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15328
15329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15330 Mark as obsolete and replace it with a symbol property.
15331 (byte-compile-form): Use new 'interactive-only property.
15332 * comint.el, files.el, replace.el, simple.el:
15333 Apply new 'interactive-only properly.
15334
15335 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15336
15337 * window.el (display-buffer-at-bottom): Make sure that
15338 split-window-sensibly creates the new window on bottom
15339 (Bug#15961).
15340
15341 2013-11-23 David Kastrup <dak@gnu.org>
15342
15343 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15344 on the conflict markers when available.
15345 (smerge--get-marker): New function.
15346 (smerge-end-re, smerge-base-re): Add subgroup.
15347
15348 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * frame.el (handle-focus-in, handle-focus-out): Add missing
15351 interactive spec.
15352
15353 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15354
15355 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15356 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15357
15358 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15359
15360 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15361 (gomoku--last-pos): New var.
15362 (gomoku--intangible-chars): New const.
15363 (gomoku--intangible): New function.
15364 (gomoku-mode): Use it. Derive from special-mode.
15365 (gomoku-move-up): Adjust line count.
15366 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15367 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15368 Simplify accordingly.
15369
15370 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15371 Remove blink-cursor code.
15372 (blink-cursor-timer-function, blink-cursor-suspend):
15373 Don't special-case GUIs.
15374 (blink-cursor-mode): Use focus-in/out-hook.
15375
15376 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15377
15378 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15379 work when annotation is invisible (Bug#13886).
15380
15381 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15382
15383 * json.el (json-alist-p): Only return non-nil if the alist has
15384 simple keys (Bug#13518).
15385
15386 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15387
15388 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15389 when control-statement is the first statement in a buffer (Bug#15956).
15390
15391 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15392
15393 * imenu.el (imenu-generic-skip-comments-and-strings):
15394 New option (Bug#15560).
15395 (imenu--generic-function): Use it.
15396
15397 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15398
15399 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15400 (Bug#13898)
15401
15402 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15403
15404 * emacs-lisp/helpers.el: Add some string helpers.
15405 (string-trim-left): Removes leading whitespace.
15406 (string-trim-right): Removes trailing whitespace.
15407 (string-trim): Removes leading and trailing whitespace.
15408
15409 * subr.el (string-suffix-p): New function.
15410
15411 2013-11-23 Glenn Morris <rgm@gnu.org>
15412
15413 * progmodes/python.el (python-shell-send-file):
15414 Add option to delete file when done. (Bug#15647)
15415 (python-shell-send-string, python-shell-send-region): Use it.
15416
15417 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15418
15419 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15420 to set buffer-read-only to t, never to nil. (Bug#15938)
15421
15422 * textmodes/tex-mode.el (latex-noindent-environments):
15423 Add safe-local-variable property. (Bug#15936)
15424
15425 2013-11-23 Glenn Morris <rgm@gnu.org>
15426
15427 * textmodes/enriched.el (enriched-mode): Doc fix.
15428 * emacs-lisp/authors.el (authors-renamed-files-alist):
15429 Add enriched.doc -> enriched.txt.
15430
15431 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15432
15433 2013-11-22 Leo Liu <sdl.web@gmail.com>
15434
15435 * progmodes/octave.el (inferior-octave-startup): Spit out error
15436 message.
15437
15438 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15439
15440 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15441 Improve docstring.
15442 Add :version.
15443 (ruby-encoding-magic-comment-style): Add :version.
15444
15445 2013-11-22 Leo Liu <sdl.web@gmail.com>
15446
15447 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15448 (Bug#15076)
15449 (octave-help-mode): Adapt to change to help-mode-finish to use
15450 derived-mode-p on 2013-09-17.
15451 (inferior-octave-prompt): Also match octave-gui.
15452 (octave-kill-process): Don't ask twice. (Bug#10564)
15453
15454 2013-11-22 Leo Liu <sdl.web@gmail.com>
15455
15456 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15457 (inferior-octave-startup, inferior-octave-check-process)
15458 (inferior-octave-track-window-width-change)
15459 (octave-completion-at-point, octave-eldoc-function): Use it.
15460 (octave-kill-process): Provide confirmation. (Bug#10564)
15461
15462 2013-11-21 Leo Liu <sdl.web@gmail.com>
15463
15464 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15465 Fix obsolete variable comment-use-global-state.
15466
15467 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15468
15469 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15470 Add `octave-source-file'.
15471 (octave-source-file): New function. (Bug#15935)
15472
15473 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15474
15475 * net/eww.el (eww-local-regex): New variable.
15476 (eww): Use it to detect localhost and similar.
15477
15478 2013-11-21 Leo Liu <sdl.web@gmail.com>
15479
15480 Add completion for command `ag'.
15481 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15482 (pcomplete/ag): New function.
15483 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15484
15485 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15486
15487 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15488 (bug#14646).
15489 (make-obsolete): Remove interactive spec.
15490
15491 2013-11-21 Glenn Morris <rgm@gnu.org>
15492
15493 * startup.el (command-line-1): Use path-separator with -L.
15494
15495 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15496
15497 * emacs-lisp/package.el (describe-package-1): Add package archive
15498 to shown fields.
15499
15500 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15501
15502 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15503 Change default to "# encoding: %s" to differentiate it from the
15504 default Ruby encoding comment template.
15505
15506 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15507
15508 * ses.el (ses-mode): Doc fix. (Bug#14748)
15509
15510 2013-11-20 Leo Liu <sdl.web@gmail.com>
15511
15512 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15513
15514 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15515
15516 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15517 when rebase or bisect are in progress.
15518
15519 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15520
15521 * filenotify.el (file-notify-add-watch): Doc fix.
15522
15523 2013-11-19 Leo Liu <sdl.web@gmail.com>
15524
15525 * obsolete/rcompile.el: Mark obsolete.
15526
15527 * progmodes/compile.el (compilation-start)
15528 (compilation-goto-locus, compilation-find-file):
15529 Pass no-display-ok and handle nil value from display-buffer.
15530 (Bug#13594)
15531
15532 * window.el (display-buffer-alist, display-buffer): Document the
15533 new parameter no-display-ok. Return either a window or nil
15534 but never a non-window value.
15535
15536 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * electric.el (electric-indent-mode-map): Remove.
15539 (electric-indent-mode): Change the global-map instead (bug#15915).
15540
15541 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15542 Use add-function.
15543
15544 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * emacs-lisp/nadvice.el (remove-function): Align with
15547 add-function's behavior.
15548
15549 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15550 (gdb--string-regexp): New constant.
15551 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15552 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15553 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15554 submatch 1.
15555 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15556 Adjust use accordingly.
15557 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15558
15559 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15560
15561 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15562 interpolation curlies (Bug#15914).
15563
15564 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15565
15566 * calc/calc.el (calc-context-sensitive-enter): New variable.
15567 (calc-enter): Use `calc-context-sensitive-enter'.
15568
15569 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15570
15571 * progmodes/cfengine.el: Version bump.
15572 (cfengine-cf-promises): New defcustom to locate cf-promises.
15573 (cfengine3-vartypes): Add new "data" type.
15574 (cfengine3--current-word): New function to get current name-like
15575 word or its bounds.
15576 (cfengine3--current-function): New function to look up a CFEngine
15577 function's definition.
15578 (cfengine3-format-function-docstring): New function.
15579 (cfengine3-make-syntax-cache): New function.
15580 (cfengine3-documentation-function): New function: ElDoc glue.
15581 (cfengine3-completion-function): New function: completion glue.
15582 (cfengine3-mode): Set `compile-command',
15583 `eldoc-documentation-function', and add to
15584 `completion-at-point-functions'.
15585
15586 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15587
15588 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15589 `tramp-current-connection'.
15590
15591 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15592
15593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15594 nil/self/true/false with "end of symbol".
15595
15596 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15597
15598 * subr.el (version-regexp-alist): Fix a typo.
15599
15600 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15601
15602 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15603 "en_US.utf8" and "LC_CTYPE" to "".
15604 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15605 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15606
15607 2013-11-15 Leo Liu <sdl.web@gmail.com>
15608
15609 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15610
15611 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15612
15613 * progmodes/gud.el (ctl-x-map):
15614 Remove C-x SPC binding. (Bug#12342)
15615 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15616
15617 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
15618
15619 * subr.el (version-regexp-alist):
15620 Recognize hg, svn and darcs versions as snapshot versions.
15621
15622 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15623 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15624 (ruby--encoding-comment-required-p): Extract from
15625 `ruby-mode-set-encoding'.
15626 (ruby-mode-set-encoding): Add the ability to always insert an
15627 utf-8 encoding comment. Fix and simplify coding comment update
15628 logic.
15629
15630 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
15631
15632 * net/tramp-gvfs.el (top): Run init code only when
15633 `tramp-gvfs-enabled' is not nil.
15634 (tramp-gvfs-enabled): Check also :system bus.
15635
15636 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15637
15638 Sync with upstream verilog-mode revision 78e66ba.
15639 * progmodes/verilog-mode.el (verilog-end-of-defun)
15640 (verilog-type-completion, verilog-get-list): Remove unused funcs.
15641 (verilog-get-end-of-defun): Remove unused argument.
15642 (verilog-comment-depth): Remove unused local `e'.
15643 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15644 Don't pass arg to verilog-get-end-of-defun.
15645
15646 2013-11-14 Glenn Morris <rgm@gnu.org>
15647
15648 * obsolete/assoc.el (aget): Prefix dynamic variable.
15649
15650 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15651
15652 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * widget.el, hfy-cmap.el: Remove bogus package version number.
15655
15656 2013-11-13 Glenn Morris <rgm@gnu.org>
15657
15658 * replace.el (replace-eval-replacement):
15659 Try to give more helpful error message. (Bug#15836)
15660
15661 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15662 (archive-7z-update): Avoid custom type mismatches.
15663
15664 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15665
15666 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
15667
15668 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15669 address can be empty.
15670
15671 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15672 Accept nil SWITCHES.
15673 (tramp-gvfs-handle-write-region): Implement APPEND.
15674
15675 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
15676
15677 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15678 binary "|" operator and closing block args delimiter.
15679 Remove FIXME comment referring to Ruby 1.8-only syntax.
15680 (ruby-smie--implicit-semi-p): Not after "|" operator.
15681 (ruby-smie--closing-pipe-p): New function.
15682 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15683 (ruby-smie-rules): Indent after "|".
15684
15685 2013-11-12 Glenn Morris <rgm@gnu.org>
15686
15687 * ps-print.el (ps-face-attribute-list):
15688 Handle anonymous faces. (Bug#15827)
15689
15690 2013-11-12 Martin Rudalics <rudalics@gmx.at>
15691
15692 * window.el (display-buffer-other-frame): Fix doc-string.
15693 (Bug#15868)
15694
15695 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15696
15697 * subr.el (force-mode-line-update): Delete, move to buffer.c.
15698
15699 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
15700
15701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15702 (tramp-sh-handle-file-local-copy): Don't write a message when
15703 saving temporary files.
15704
15705 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15706 both directories are remote.
15707 (tramp-smb-handle-directory-files): Do not return double entries.
15708 Do not expand full file names.
15709 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15710 (tramp-smb-handle-write-region): Implement APPEND.
15711 (tramp-smb-get-stat-capability): Fix a stupid bug.
15712
15713 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15716
15717 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15718
15719 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15720 throwing error over malformed let/let* (bug#15814).
15721
15722 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * iswitchb.el (iswitchb-mode): Mark obsolete.
15725
15726 2013-11-11 Glenn Morris <rgm@gnu.org>
15727
15728 * international/uni-bidi.el, international/uni-category.el:
15729 * international/uni-name.el, international/uni-numeric.el:
15730 Regenerate for Unicode 6.3.0.
15731
15732 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
15733
15734 * net/tramp.el (tramp-methods):
15735 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15736 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15737
15738 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
15739
15740 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15741 Force highlighting text after Summary keyword in doc face for rpm.
15742
15743 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
15744
15745 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15746 available and the word has no wildcards, append one to the grep pattern.
15747 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15748 (ispell-complete-word): Call `ispell-lookup-words' with the value
15749 independent of `ispell-look-p'.
15750
15751 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15752
15753 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15754 Not after "||".
15755 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15756 their parent.
15757
15758 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
15761 (ruby-font-lock-keywords): Use backquote.
15762
15763 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15764
15765 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15766 (ruby-smie--backward-token): Only consider full-string matches.
15767
15768 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
15769
15770 * faces.el (describe-face): Add distant-foreground.
15771
15772 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
15773
15774 * progmodes/ruby-mode.el: Improve encoding comment handling.
15775 (ruby-encoding-magic-comment-style): New option.
15776 (ruby-custom-encoding-magic-comment-template): New option.
15777 (ruby--insert-coding-comment, ruby--detect-encoding):
15778 New functions extracted from `ruby-mode-set-encoding'.
15779 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15780 to control the style of the auto-inserted encoding comment.
15781
15782 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15783
15784 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15785 Use `smie-backward-sexp' with token argument.
15786
15787 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
15788
15789 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15790 Remove instrumentation code.
15791
15792 2013-11-08 Glenn Morris <rgm@gnu.org>
15793
15794 * progmodes/autoconf.el (autoconf-mode):
15795 Tweak comment-start-skip. (Bug#15822)
15796
15797 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15800 at bobp (bug#15826).
15801 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15802
15803 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
15804
15805 * man.el (Man-start-calling): New macro, extracted from
15806 Man-getpage-in-background.
15807 (Man-getpage-in-background): Use it.
15808 (Man-update-manpage): New command.
15809 (Man-mode-map): Bind it.
15810
15811 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15812
15813 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15814 of "and", "or", "&&" and "||".
15815 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15816 argument. Prohibit opening curly brace because it could only be a
15817 block opener in that position.
15818 (ruby-smie--forward-token, ruby-smie--backward-token):
15819 Separate "|" from "&" or "*" going after it. That can happen in block
15820 arguments.
15821 (ruby-smie--indent-to-stmt): New function, seeks the end of
15822 previous statement or beginning of buffer.
15823 (ruby-smie-rules): Use it.
15824 (ruby-smie-rules): Check if there's a ":" before a curly block
15825 opener candidate; if there is, it's a hash.
15826
15827 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15830 (cl--block-wrapper): Fix last accidental change.
15831
15832 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
15833
15834 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15835 Instrument, in order to hunt failure on hydra.
15836
15837 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15838
15839 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15840 malformed bindings form (bug#15814).
15841
15842 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15843
15844 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15845 "." compared to " @ ". This incidentally fixes some indentation
15846 examples with "do".
15847 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15848 (ruby-smie-grammar): New tokens: "and" and "or".
15849 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15850 Exclude "and" and "or". Remove "do" in order to work around token
15851 priorities.
15852 (ruby-smie-rules): Add all infix tokens. Handle the case of
15853 beginning-of-buffer.
15854
15855 2013-11-06 Glenn Morris <rgm@gnu.org>
15856
15857 * Makefile.in (setwins_almost, setwins_for_subdirs):
15858 Avoid accidental matches.
15859
15860 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * menu-bar.el (popup-menu): Use key-binding.
15863
15864 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15865
15866 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15867 menus, support also the menus produced by minor modes.
15868 (Bug#15817)
15869
15870 2013-11-06 Leo Liu <sdl.web@gmail.com>
15871
15872 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15873 DISTANCE to bound the search. All uses changed. (Bug#15808)
15874
15875 2013-11-06 Glenn Morris <rgm@gnu.org>
15876
15877 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15878 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15879 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15880
15881 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * electric.el (electric-indent-just-newline): New command.
15884 (electric-indent-mode-map): New keymap.
15885 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15886 Re-add :group which weren't redundant.
15887
15888 * electric.el (electric-indent-local-mode): New minor mode.
15889 (electric-indent-functions-without-reindent): New var.
15890 (electric-indent-post-self-insert-function): Use it.
15891 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15892
15893 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15894
15895 * international/quail.el (quail-help): Be more explicit about the
15896 meaning of the labels shown on the keys. (Bug#15800)
15897
15898 * startup.el (normal-top-level): Load the subdirs.el files before
15899 setting the locale environment. (Bug#15805)
15900
15901 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15904 via arguments so as to get the right ones (bug#15418).
15905
15906 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15907
15908 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
15909
15910 Fix problems found while writing a test suite.
15911
15912 * net/tramp-compat.el (tramp-compat-load): New defun.
15913 * net/tramp.el (tramp-handle-load): Use it.
15914
15915 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15916 "(numberp ok-if-already-exists)" correctly.
15917
15918 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
15919
15920 * international/characters.el (glyphless-char-display-control):
15921 Add usage note.
15922
15923 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
15924
15925 * progmodes/python.el (python-mode):
15926 * progmodes/scheme.el (scheme-mode):
15927 * progmodes/prolog.el (prolog-mode):
15928 * progmodes/ruby-mode.el (ruby-mode):
15929 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15930 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15931
15932 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * rect.el (rectangle--highlight-for-redisplay):
15935 * emacs-lisp/smie.el (smie--next-indent-change):
15936 Use buffer-chars-modified-tick.
15937
15938 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15939
15940 * electric.el (electric-indent-post-self-insert-function):
15941 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15942
15943 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
15944
15945 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15946
15947 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15948
15949 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15950 (bug#15786).
15951
15952 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
15955
15956 * progmodes/python.el: Fix up last change.
15957 (python-shell--save-temp-file): New function.
15958 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
15959 `string' comes from the current buffer.
15960 (python-shell-send-string-no-output): Remove `msg' arg.
15961 (python--use-fake-loc): New var.
15962 (python-shell-buffer-substring): Obey it. Try to compensate for the
15963 extra coding line added by python-shell--save-temp-file.
15964 (python-shell-send-region): Use python-shell--save-temp-file and
15965 python-shell-send-file directly. Add `nomain' argument.
15966 (python-shell-send-buffer): Use python-shell-send-region.
15967 (python-electric-pair-string-delimiter): New function.
15968 (python-mode): Use it.
15969
15970 2013-11-04 Eli Zaretskii <eliz@gnu.org>
15971
15972 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15973 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15974 environment and decoding all of the default-directory's to here
15975 from command-line.
15976 (command-line): Decode also argv[0].
15977
15978 * loadup.el: Error out if default-directory is a multibyte string
15979 when we are dumping.
15980
15981 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
15982
15983 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15984
15985 * emacs-lisp/package.el (package-menu-mode)
15986 (package-menu--print-info, package-menu--archive-predicate):
15987 Add Archive column to package list.
15988
15989 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
15990
15991 Fix problems found while writing a test suite.
15992
15993 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
15994 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
15995 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
15996 to nil when running original file name handler. Otherwise,
15997 there are problems with constructs like "$$FOO".
15998
15999 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16000 for `localname'.
16001
16002 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16003
16004 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16005
16006 * subr.el (version<, version<=, version=):
16007 Update docstrings with information for snapshot versions.
16008
16009 * helpers.el: New library for misc helper functions.
16010 (hash-table-keys): New function returning a list of hash keys.
16011 (hash-table-values): New function returning a list of hash values.
16012
16013 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16014
16015 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16016 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16017
16018 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16019
16020 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16021 checking whether point is after a 1-letter word.
16022
16023 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16024
16025 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16026 Don't infloop when expanding region over `multiline' syntax-type that
16027 begins a line (bug#15778).
16028
16029 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16032 Make it into a proper minor mode.
16033 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16034 (rectangle-mark-mode-map): New keymap.
16035 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16036
16037 2013-11-04 Glenn Morris <rgm@gnu.org>
16038
16039 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16040
16041 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16044 (ruby-smie-rules): Use smie-rule-parent instead.
16045
16046 * emacs-lisp/smie.el (smie-rule-parent): Always call
16047 smie-indent-virtual rather than only for hanging tokens.
16048 (smie--next-indent-change): New helper command.
16049
16050 2013-11-03 Glenn Morris <rgm@gnu.org>
16051
16052 * Makefile.in (abs_srcdir): Remove.
16053 (emacs): Unset EMACSLOADPATH.
16054
16055 2013-11-02 Glenn Morris <rgm@gnu.org>
16056
16057 * Makefile.in (EMACS): Use a relative filename.
16058 (abs_top_builddir): Remove.
16059 (custom-deps, finder-data, autoloads): Use --chdir.
16060
16061 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16062
16063 Use relative filenames in TAGS files.
16064 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16065 (lisptagsfiles4, TAGS): Use relative file names.
16066 (TAGS-LISP): Remove.
16067 (maintainer-clean): No more TAGS-LISP file.
16068
16069 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16070 (lisptagsfiles4): Use absolute filenames again.
16071 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16072 Remove all *loaddefs files, not just the first. Remove esh-groups.
16073 (maintainer-clean): Delete TAGS, TAGS-LISP.
16074
16075 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16076
16077 * emacs-lisp/package.el (package-version-join):
16078 Recognize snapshot versions.
16079
16080 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16081
16082 * subr.el (version-regexp-alist): Add support for snapshot versions.
16083
16084 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16085
16086 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16087 New function, replacement for `smie-rule-parent' for when we want to
16088 skip over our direct parent if it's an assignment token..
16089 (ruby-smie-rules): Use it.
16090
16091 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16092
16093 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16094 unconditionally. Remove now unnecessary forward declarations.
16095 Remove XEmacs-specific setup.
16096 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16097 (ruby-font-lock-syntactic-keywords)
16098 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16099 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16100 (ruby-here-doc-end-syntax): Remove.
16101 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16102 defined as function.
16103
16104 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16105
16106 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16107
16108 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16109
16110 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16111 table and abbrev table, `define-derived-mode' does that for us
16112 anyway.
16113
16114 2013-11-01 Glenn Morris <rgm@gnu.org>
16115
16116 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16117 files is atomic for some time, so no parallel compilation issues).
16118
16119 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16120
16121 * faces.el (face-x-resources): Add :distant-foreground.
16122 (region): Use :distant-foreground for gtk and ns.
16123
16124 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16125
16126 Allow multiple bibliographies when BibLaTeX is used rather than
16127 BibTeX.
16128 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16129 (reftex-locate-bibliography-files): Us it.
16130
16131 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16132
16133 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16134 allow comments in pbm files.
16135
16136 * term/w32-win.el (dynamic-library-alist): Support newer versions
16137 of libjpeg starting with v7: look only for the DLL from the
16138 version against which Emacs was built.
16139 Support versions of libpng beyond 1.4.x.
16140 Support libtiff v4.x.
16141
16142 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16143
16144 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16145 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16146 Add property :safe.
16147 (ruby-deep-arglist): Add property :type.
16148
16149 2013-10-31 Glenn Morris <rgm@gnu.org>
16150
16151 * Makefile.in (custom-deps, finder-data): No need to setq the target
16152 variables, we are in the right directory and the defaults work fine.
16153
16154 2013-10-30 Glenn Morris <rgm@gnu.org>
16155
16156 * Makefile.in (autoloads): Do not use abs_lisp.
16157
16158 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16159 `newline' does not respect `standard-output', so use `princ'.
16160
16161 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16162
16163 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16164 * buff-menu.el (Buffer-menu--unmark): New function.
16165 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16166
16167 2013-10-30 Glenn Morris <rgm@gnu.org>
16168
16169 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16170
16171 * emacs-lisp/package.el (lm-homepage): Declare.
16172
16173 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16174 Fix doc typos.
16175
16176 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16177
16178 * Makefile.in (finder-data, autoloads, update-subdirs)
16179 (compile-main, compile-clean, compile-always, bootstrap-clean):
16180 Check return value of cd.
16181 (compile-calc): Remove.
16182
16183 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16186
16187 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16188 (byte-compile-and-folded): New function.
16189 (=, <, >, <=, >=): Use it.
16190
16191 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16192 (path-separator, null-device, buffer-file-coding-system)
16193 (lpr-headers-switches): Check system-type before modifying them.
16194 (find-buffer-file-type-coding-system): Mark obsolete.
16195 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16196 find-file-not-found-set-buffer-file-coding-system.
16197 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16198 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16199 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16200 (w32-direct-print-region-helper, w32-direct-print-region-function)
16201 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16202 * startup.el (normal-top-level-add-subdirs-to-load-path):
16203 * ps-print.el (ps-print-region-function):
16204 * lpr.el (print-region-function): Use new name.
16205
16206 * subr.el (custom-declare-variable-early): Remove function.
16207 (custom-declare-variable-list): Remove var.
16208 (error, user-error): Remove `while' loop.
16209 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16210 (user-emacs-directory-warning, locate-user-emacs-file):
16211 Move to files.el.
16212 * simple.el (read-quoted-char-radix, read-quoted-char):
16213 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16214 Move from subr.el.
16215 * custom.el (custom-declare-variable-list): Don't process
16216 custom-declare-variable-list.
16217
16218 * progmodes/python.el (python-shell-get-buffer): New function.
16219 (python-shell-get-process): Use it.
16220 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16221 Python which encoding was used. Don't split-string since we only care
16222 about the first line. Return the temp-file, if applicable.
16223 (python-shell-send-region): Tell compile.el how to turn locations in
16224 the temp-file into locations in the source buffer.
16225
16226 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16227
16228 * subr.el (undefined): Add missing behavior from the C code for
16229 unbound keys.
16230
16231 * rect.el: Use lexical-binding. Add new rectangular region support.
16232 (rectangle-mark): New command.
16233 (rectangle--region): New var.
16234 (deactivate-mark-hook): Reset rectangle--region.
16235 (rectangle--extract-region, rectangle--insert-for-yank)
16236 (rectangle--highlight-for-redisplay)
16237 (rectangle--unhighlight-for-redisplay): New functions.
16238 (region-extract-function, redisplay-unhighlight-region-function)
16239 (redisplay-highlight-region-function): Use them to handle
16240 rectangular region.
16241 * simple.el (region-extract-function): New var.
16242 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16243 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16244 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16245 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16246 (redisplay-unhighlight-region-function)
16247 (redisplay-highlight-region-function): New vars.
16248 (redisplay--update-region-highlight): New function.
16249 (pre-redisplay-function): Use it.
16250 (exchange-point-and-mark): Don't deactivate the mark before
16251 reactivate-it anyway.
16252 * comint.el (comint-kill-region): Remove yank-handler argument.
16253 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16254 (delete-char): Remove property, since it's now part of their
16255 default behavior.
16256 (self-insert-iso): Remove property since this command doesn't exist.
16257
16258 * emacs-lisp/package.el (package--download-one-archive)
16259 (describe-package-1): Don't query the user about final newline.
16260
16261 2013-10-29 Daniel Colascione <dancol@dancol.org>
16262
16263 * net/tramp.el (tramp-methods): Document new functionality.
16264 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16265 tramp-hostname-checker if method provides one instead of scanning
16266 argument list for "%h" to decide hostname acceptability.
16267
16268 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16269
16270 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16271 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16272 Handle COPY-CONTENTS. (Bug#15737)
16273
16274 2013-10-28 Daiki Ueno <ueno@gnu.org>
16275
16276 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16277 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16278
16279 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16280
16281 * image.el (defimage, image-load-path): Doc fixes.
16282
16283 2013-10-27 Alan Mackenzie <acm@muc.de>
16284
16285 Indent statements in macros following "##" correctly.
16286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16287 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16288
16289 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16290
16291 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16292
16293 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16294
16295 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16296 after `=' is probably a new expression.
16297
16298 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16299
16300 * man.el (man-imenu-title): New option.
16301 (Man-mode-map): Add menu. (Bug#15722)
16302 (Man-mode): Add imenu to menu.
16303
16304 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16305
16306 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16307 specific in what the first arg can be: a non-keyword word,
16308 string/regexp/percent literal opener, opening paren, or unary
16309 operator followed directly by word.
16310
16311 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16314 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16315 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16316 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16317 Remove vars, they do not apply any more.
16318 (prolog-mode-abbrev-table): Remove redundant declaration.
16319 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16320 (prolog-use-smie): Remove.
16321 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16322 supported by prolog-electric-if-then-else-flag.
16323 (prolog-mode-variables, prolog-menu): Use setq-local.
16324 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16325 Remove binding to `Backspace' since this key doesn't exist anyway.
16326 Remove bindings for electric self-inserting keys.
16327 (prog-mode): Assume it's defined.
16328 (prolog-post-self-insert): New function.
16329 (prolog-mode): Use it.
16330 (prolog-indent-line, prolog-indent-level)
16331 (prolog-find-indent-of-matching-paren)
16332 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16333 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16334 (prolog-goto-next-paren, prolog-in-string-or-comment)
16335 (prolog-tokenize, prolog-inside-mline-comment)
16336 (prolog-find-start-of-mline-comment): Remove functions.
16337 (prolog-find-unmatched-paren, prolog-clause-end)
16338 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16339 (prolog-electric--if-then-else): Rename from
16340 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16341 (prolog-tokenize-searchkey): Remove const.
16342 (prolog-clause-info): Use forward-sexp.
16343 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16344 (prolog-electric-if-then-else): Remove commands.
16345 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16346 for use in post-self-insert-hook.
16347 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16348 for use in post-self-insert-hook.
16349 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16350 for use in post-self-insert-hook.
16351 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16352 adapt it for use in post-self-insert-hook.
16353
16354 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16355
16356 * emacs-lisp/ert.el (ert-run-tests-interactively):
16357 Use `completing-read'. (Bug#9756)
16358
16359 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16360
16361 * simple.el (line-move): Call line-move-1 instead of
16362 line-move-visual when the current window hscroll is zero, but
16363 temporary-goal-column indicates we will need to hscroll as result
16364 of the movement. (Bug#15712)
16365
16366 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16367
16368 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16369 capitalization. Use :visible instead of :active.
16370 Fix `ruby-indent-exp' reference. Add menu items for the generic
16371 commands that are used with SMIE.
16372 (ruby-do-end-to-brace): Insert space after `{'.
16373
16374 2013-10-25 John Anthony <john@jo.hnanthony.com>
16375
16376 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16377
16378 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16379
16380 2013-10-25 Glenn Morris <rgm@gnu.org>
16381
16382 * vc/vc.el (vc-print-log): Don't use a working revision unless
16383 one was explicitly specified. (Bug#15322)
16384
16385 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16386
16387 * subr.el (add-to-list): Preserve return value in compiler-macro
16388 (bug#15692).
16389
16390 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16391
16392 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16393 result. Ask user to retry using '-all' flag. (Bug#15701)
16394
16395 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * emacs-lisp/smie.el: New smie-config system.
16398 (smie-config): New defcustom.
16399 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16400 (smie-config-guess, smie-config-save): New commands.
16401 (smie-config--mode-local, smie-config--buffer-local)
16402 (smie-config--trace, smie-config--modefuns): New vars.
16403 (smie-config--advice, smie-config--mode-hook)
16404 (smie-config--setter, smie-config-local, smie-config--get-trace)
16405 (smie-config--guess-value, smie-config--guess): New functions.
16406 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16407 text properties. Treat "string fence" syntax like string syntax.
16408
16409 * progmodes/sh-script.el (sh-use-smie): Change default.
16410 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16411 (sh-var-value): Simplify by CSE.
16412 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16413 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16414 is used.
16415 (sh-guess-basic-offset): Use cl-incf.
16416 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16417
16418 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16419
16420 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16421 (bug#15699).
16422
16423 2013-10-24 Glenn Morris <rgm@gnu.org>
16424
16425 * Makefile.in (abs_top_srcdir): Remove.
16426 (update-subdirs): Use relative path to update-subdirs.
16427
16428 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16429
16430 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16431 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16432 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16433 Call unmsys--file-name before expand-file-name, not after it.
16434
16435 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16436
16437 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16438 (ert-test-skipped): New error.
16439 (ert-skip, ert-stats-skipped): New defuns.
16440 (ert--skip-unless): New macro.
16441 (ert-test-skipped): New struct.
16442 (ert--run-test-debugger, ert-test-result-type-p)
16443 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16444 (ert--stats-set-test-and-result, ert-char-for-test-result)
16445 (ert-string-for-test-result, ert-run-tests-batch)
16446 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16447 Handle skipped tests. (Bug#9803)
16448
16449 2013-10-24 Glenn Morris <rgm@gnu.org>
16450
16451 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16452
16453 * Makefile.in (abs_top_srcdir): New, set by configure.
16454 (update-subdirs): Correct build-aux location.
16455
16456 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16457
16458 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16459 value, whether we could auto-deduce `backend', or not.
16460
16461 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16462 with parameters" example. Simplify the "is it block or is it
16463 hash" check, but also make it more thorough.
16464
16465 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16466
16467 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16468
16469 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16470
16471 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16472 { if it is hanging.
16473
16474 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16475 :before ";".
16476
16477 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16478
16479 * progmodes/compile.el (compilation-directory-matcher)
16480 (compilation-page-delimiter):
16481 Support GNU Make-4.0 directory quoting. (Bug#15678)
16482
16483 2013-10-23 Leo Liu <sdl.web@gmail.com>
16484
16485 * ido.el (ido-tidy): Handle read-only text.
16486
16487 2013-10-23 Glenn Morris <rgm@gnu.org>
16488
16489 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16490 (emacs, compile, compile-always):
16491 Quote entities that might contain whitespace.
16492 (custom-deps, finder-data, autoloads): Use abs_lisp.
16493 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16494 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16495 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16496
16497 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16498
16499 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16500 Use `following-char'.
16501
16502 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16505 * progmodes/ruby-mode.el (ruby-smie-rules):
16506 Remove corresponding workaround. Fix indentation rule of ";" so it
16507 also applies when ";" is the parent.
16508
16509 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16510
16511 * frame.el (display-screens, display-pixel-height)
16512 (display-pixel-width, display-mm-width, display-backing-store)
16513 (display-save-under, display-planes, display-color-cells)
16514 (display-visual-class, display-monitor-attributes-list):
16515 Mention the optional ‘display’ argument in doc strings.
16516
16517 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16518
16519 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16520 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16521
16522 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16523
16524 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16525 TODO. Add "." after " @ ".
16526 (ruby-smie--at-dot-call): New function. Checks if point at method
16527 call with explicit target.
16528 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16529 to the method name tokens when it precedes them.
16530 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16531 (ruby-smie-rules): Add rule for indentation before and after "."
16532 token.
16533
16534 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * textmodes/remember.el (remember-diary-extract-entries):
16537 Avoid add-to-list.
16538
16539 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16540 an instruction.
16541
16542 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16543
16544 * progmodes/ruby-mode.el (ruby-smie-grammar):
16545 Add (almost) all infix operators.
16546 (ruby-smie--implicit-semi-p): Add new operator chars.
16547
16548 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16549 `smie-down-list'.
16550 (ruby-smie--args-separator-p): Check that there's no newline
16551 between method call and its arguments.
16552
16553 2013-10-20 Alan Mackenzie <acm@muc.de>
16554
16555 Allow comma separated lists after Java "implements".
16556
16557 * progmodes/cc-engine.el (c-backward-over-enum-header):
16558 Parse commas.
16559 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16560 from a "disallowed" list in enum fontification.
16561
16562 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16563
16564 * startup.el (default-frame-background-mode): Remove unused defvar.
16565
16566 * progmodes/verilog-mode.el (verilog-mode): Don't set
16567 comment-indent-function globally.
16568
16569 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16570
16571 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16572 Move Info menu item creation to ns-win.el.
16573
16574 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16575 in menu bar.
16576
16577 * menu-bar.el: Move GNUstep specific menus...
16578
16579 * term/ns-win.el (ns-initialize-window-system): ... to here.
16580
16581 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16582
16583 * simple.el (newline): Only run post-self-insert-hook when
16584 called interactively.
16585
16586 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16587
16588 * icomplete.el (icomplete-with-completion-tables): Add :version.
16589
16590 2013-10-19 Alan Mackenzie <acm@muc.de>
16591
16592 Fix fontification bugs with constructors and const.
16593
16594 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16595 CASE 2) Remove the check for the absence of a suffix construct
16596 after a function declaration with only types (no identifiers) in
16597 the parentheses. Also, accept a function declaration with just a
16598 type inside the parentheses, if this type can be positively
16599 recognised as such, or if a prefix keyword like "explicit" nails
16600 down the construct as a declaration.
16601
16602 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16603
16604 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16605 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16606 the problem whereby selecting a menu item that leads to a
16607 minibuffer prompt moves the cursor out of the minibuffer window,
16608 making it hard to type at the prompt. Suggested by Stefan Monnier
16609 <monnier@iro.umontreal.ca>.
16610
16611 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16612
16613 * menu-bar.el: Don't make Services menu.
16614
16615 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16616
16617 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16618 (ffap-alist): Use ffap-c++-mode for c++-mode.
16619 (ffap-c++-path): New variable.
16620 (ffap-c++-mode): New function.
16621
16622 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
16623
16624 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
16625
16626 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
16627
16628 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16629 introduced on 2013-09-08, which results in an infinite loop
16630 requesting a password.
16631
16632 2013-10-18 Glenn Morris <rgm@gnu.org>
16633
16634 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16635
16636 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
16637
16638 Sync with upstream verilog-mode revision 1a6ecec7.
16639 * progmodes/verilog-mode.el (verilog-mode-version): Update.
16640 (verilog-mode-release-date): Remove.
16641 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16642 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16643 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16644 (verilog-auto-tieoff-ignore-regexp)
16645 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16646 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16647 (verilog-signals-with, verilog-dir-cache-preserving)
16648 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16649 Doc fixes.
16650 (verilog-case-fold): New option, to control case folding in
16651 regexp searches, bug597.
16652 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16653 (verilog-string-match-fold, verilog-in-paren-count)
16654 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16655 (verilog-at-close-struct-p): New functions.
16656 (verilog-beg-block-re-ordered, verilog-extended-case-re)
16657 (verilog-forward-sexp, verilog-set-auto-endcomments)
16658 (verilog-leap-to-case-head): Handle "unique0" case.
16659 (verilog-in-constraint-re): New constant.
16660 (verilog-keywords, verilog-type-font-keywords):
16661 Add some SystemVerilog 1800-2012 keywords.
16662 (verilog-label-be): Remove unimplemented argument, bug669.
16663 (verilog-batch-execute-func): When batch expanding clear
16664 create-lockfiles to prevent spurious user locks when a file ends
16665 up not changing.
16666 (verilog-calculate-indent, verilog-calc-1)
16667 (verilog-at-close-constraint-p, verilog-at-constraint-p)
16668 (verilog-do-indent): Fix indentation of nested constraints
16669 and structures.
16670 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16671 (verilog-auto-inst-param): Use verilog-string-match-fold.
16672 (verilog-read-inst-module-matcher):
16673 Fix AUTOINST on gate primitives with #1.
16674 (verilog-read-decls): Fix double-declaring user-defined typed signals.
16675 Reads all user-defined typed variables.
16676 (verilog-read-defines): Fix reading definitions inside comments, bug647.
16677 (verilog-signals-matching-regexp)
16678 (verilog-signals-not-matching-regexp, verilog-auto):
16679 Respect verilog-case-fold.
16680 (verilog-diff-report): Fix line count.
16681 (verilog-auto-assign-modport): Remove unused local `modi'.
16682 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16683 better handle multidimensional arrays.
16684 Fix packed array ports misadding bit index in AUTOINST, bug637.
16685 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16686 to not double-declare existing outputs and inputs, respectively.
16687 (verilog-template-map): Bind U to verilog-sk-uvm-component.
16688 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16689 (verilog-sk-uvm-component): New skeleton.
16690 (verilog-submit-bug-report): Add verilog-case-fold,
16691 remove verilog-mode-release-date.
16692
16693 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
16694
16695 * subr.el (sit-for): Call (input-pending-p t) so as to behave
16696 as before.
16697
16698 2013-10-18 Reuben Thomas <rrt@sc3d.org>
16699
16700 * textmodes/remember.el (remember): Set buffer-offer-save in
16701 remember buffers (bug#13566).
16702
16703 2013-10-18 Daniel Colascione <dancol@dancol.org>
16704
16705 When evaluating forms in ielm, direct standard output to ielm
16706 buffer. Add new ielm-return-for-effect command. Remove trailing
16707 whitespace throughout.
16708
16709 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16710 (ielm-return-for-effect): New command.
16711 (ielm-send-input): Accept optional `for-effect' parameter.
16712 (ielm-eval-input): Accept optional `for-effect' parameter.
16713 Bind `standard-output' to stream we create using
16714 `ielm-standard-output-impl'. Suppress printing result when
16715 `for-effect'.
16716 (ielm-standard-output-impl): New function.
16717 (inferior-emacs-lisp-mode): Explain new features in documentation.
16718
16719 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
16720
16721 Code cleanup.
16722
16723 * net/tramp.el (tramp-debug-message): Do not check for connection
16724 buffer.
16725 (tramp-message): Use "vector" connection property.
16726
16727 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16728 (tramp-equal-remote, tramp-eshell-directory-change)
16729 * net/tramp-adb.el (tramp-adb-handle-copy-file)
16730 (tramp-adb-handle-rename-file)
16731 * net/tramp-cmds.el (tramp-list-remote-buffers)
16732 (tramp-cleanup-connection, tramp-cleanup-this-connection)
16733 * net/tramp-compat.el (tramp-compat-process-running-p)
16734 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16735 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16736 (tramp-gvfs-handle-rename-file)
16737 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16738 (tramp-set-file-uid-gid)
16739 * net/tramp-smb.el (tramp-smb-handle-copy-file)
16740 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16741 of `file-remote-p'.
16742
16743 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16744 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16745 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16746 (tramp-gw-open-network-stream): Suppress unrelated traces.
16747
16748 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16749 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16751 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16752 connection property.
16753
16754 * net/tramp-cache.el (top): Suppress traces when reading
16755 persistency file.
16756
16757 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16758 Refactor common code. Improve debug message.
16759 (tramp-maybe-open-connection)
16760 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16761 connection buffer too early.
16762
16763 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16764 from `tramp-smb-actions-with-acl'.
16765 (tramp-smb-actions-set-acl): New defconst.
16766 (tramp-smb-handle-copy-directory)
16767 (tramp-smb-action-get-acl): New defun, renamed from
16768 `tramp-smb-action-with-acl'.
16769 (tramp-smb-action-set-acl): New defun.
16770 (tramp-smb-handle-set-file-acl): Rewrite.
16771
16772 2013-10-17 Glenn Morris <rgm@gnu.org>
16773
16774 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
16775
16776 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16777
16778 * skeleton.el (skeleton-newline): Remove.
16779 (skeleton-internal-1): Use (insert "\n") instead.
16780
16781 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16782 let-bindings.
16783
16784 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16785 forward-sexp-function while we redo its job (bug#15613).
16786
16787 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
16788
16789 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16790 represented by lists.
16791
16792 2013-10-16 Glenn Morris <rgm@gnu.org>
16793
16794 * tmm.el (tmm--history): New dynamic variable.
16795 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
16796
16797 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
16798
16799 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16800 (tramp-smb-errors): Add error messages.
16801 (tramp-smb-actions-with-acl): New defconst.
16802 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16803 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16804 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16805 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16806 (tramp-smb-get-stat-capability): Fix tests.
16807
16808 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
16809
16810 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16811 (bug#15580).
16812
16813 2013-10-16 Glenn Morris <rgm@gnu.org>
16814
16815 * ansi-color.el (ansi-color-drop-regexp):
16816 Add 1J, 1K, 2K. (Bug#15617)
16817
16818 * files.el (hack-local-variables--warned-lexical): New.
16819 (hack-local-variables):
16820 Warn about misplaced lexical-binding. (Bug#15616)
16821
16822 * net/eww.el (eww-render): Always set eww-current-url,
16823 and update header line. (Bug#15622)
16824 (eww-display-html): ... Rather than just doing it here.
16825
16826 2013-10-15 Eli Zaretskii <eliz@gnu.org>
16827
16828 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16829 menu navigations commands.
16830
16831 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
16832
16833 * progmodes/subword.el (subword-capitalize): Be careful when
16834 the search for [[:alpha:]] fails (bug#15580).
16835
16836 2013-10-14 Eli Zaretskii <eliz@gnu.org>
16837
16838 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16839 to commands that scroll the menu.
16840
16841 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16842
16843 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16844 Handle methods ending with `?' and `!'.
16845
16846 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16847
16848 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16849 `japanese-cp932' to `cp932' to fix the problem where saving a
16850 source file written in Shift_JIS twice would end up having
16851 `coding: japanese-cp932' which Ruby could not recognize.
16852 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16853 in `ruby-encoding-map'.
16854 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16855 doesn't need to be explicitly declared in magic comment.
16856 (ruby-encoding-map): Add type declaration for better customize UI.
16857
16858 2013-10-13 Glenn Morris <rgm@gnu.org>
16859
16860 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16861 Occur buffers are read-only. http://bugs.debian.org/720775
16862
16863 * emacs-lisp/authors.el (authors-fixed-entries):
16864 Comment out old alpha stuff.
16865
16866 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16867
16868 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16869 to `after-save-hook' instead of `before-save-hook'.
16870 (ruby-mode-set-encoding): Use the value of coding system used to
16871 write the file. Call `basic-save-buffer-1' after modifying the
16872 buffer.
16873
16874 2013-10-13 Alan Mackenzie <acm@muc.de>
16875
16876 Fix indentation/fontification of Java enum with
16877 "implements"/generic.
16878
16879 * progmodes/cc-engine.el (c-backward-over-enum-header):
16880 Extracted from the three other places and enhanced to handle generics.
16881 (c-inside-bracelist-p): Uses new function above.
16882 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16883 function above.
16884 (c-font-lock-enum-tail): Uses new function above.
16885
16886 2013-10-13 Kenichi Handa <handa@gnu.org>
16887
16888 * international/mule-cmds.el (select-safe-coding-system): Remove a
16889 superfluous condition in chekcing whether a coding system is safe
16890 or not.
16891
16892 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16893
16894 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16895
16896 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16897
16898 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16899
16900 2013-10-13 Glenn Morris <rgm@gnu.org>
16901
16902 * menu-bar.el (menu-bar-update-buffers):
16903 Unify Buffers menu prompt string. (Bug#15576)
16904
16905 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
16906
16907 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16908 Add some entries.
16909 (authors-fixed-entries): Use accented form of name.
16910
16911 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16912
16913 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16914 method calls (bug#15594).
16915 (ruby-smie--args-separator-p): New function.
16916 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16917 recognize paren-free method calls.
16918
16919 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16920 internals of universal-argument.
16921
16922 2013-10-11 Eli Zaretskii <eliz@gnu.org>
16923
16924 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16925 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16926 dropped menu on second mouse click on the menu bar.
16927
16928 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16929
16930 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16931 (explicit-shell-file-name): Declare.
16932 (sh--vars-before-point, sh--cmd-completion-table): New functions.
16933 (sh-completion-at-point-function): New function.
16934 (sh-mode): Use it.
16935 (sh-smie--keyword-p): Remove unused argument.
16936 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16937 vars.
16938 (sh-set-shell): Always setup SMIE, even if we use the
16939 old indentation code.
16940
16941 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
16942
16943 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16944 cases of ? and =.
16945 (ruby-smie-rules): Simplify the "do" rule. The cases when the
16946 predicate would return nil are almost non-existent.
16947 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16948
16949 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16950 cache also after commands that modify the buffer but don't move
16951 point.
16952
16953 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16954
16955 * env.el (substitute-env-in-file-name): New function.
16956 (substitute-env-vars): Extend the meaning of the optional arg.
16957
16958 2013-10-10 Eli Zaretskii <eliz@gnu.org>
16959
16960 * term/w32-win.el (dynamic-library-alist): Define separate lists
16961 of GIF DLLs for versions before and after 5.0.0 of giflib.
16962 (Bug#15531)
16963
16964 2013-10-10 João Távora <joaotavora@gmail.com>
16965
16966 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16967 not locked, use last revision and current source as
16968 defaults. (Bug#15569)
16969
16970 2013-10-10 Masatake YAMATO <yamato@redhat.com>
16971
16972 * menu-bar.el (menu-bar-open): Don't use popup-menu if
16973 menu-bar is hidden.
16974
16975 2013-10-10 Martin Rudalics <rudalics@gmx.at>
16976
16977 * window.el (pop-to-buffer-same-window): Fix doc-string.
16978 (Bug#15492)
16979
16980 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16981
16982 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16983
16984 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
16985
16986 * calendar/icalendar.el (icalendar-import-file):
16987 Fix interactive spec. (Bug#15482)
16988
16989 2013-10-10 Glenn Morris <rgm@gnu.org>
16990
16991 * desktop.el (desktop-save): Default to saving in .emacs.d,
16992 since PWD is no longer in desktop-path by default. (Bug#15319)
16993
16994 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16995 now that text mode has a menu with the same entry.
16996 (menu-bar-text-mode-auto-fill): Remove now unused func.
16997 * textmodes/text-mode.el (text-mode-map):
16998 Use auto-fill help text from menu-bar.el.
16999
17000 2013-10-10 John Anthony <john@jo.hnanthony.com>
17001
17002 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17003
17004 2013-10-09 Juri Linkov <juri@jurta.org>
17005
17006 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17007 instead of this-command-keys. Add universal-argument-more and
17008 universal-argument-minus to the list of prefix commands. (Bug#15568)
17009
17010 2013-10-09 Glenn Morris <rgm@gnu.org>
17011
17012 * vc/vc-svn.el (vc-svn-create-repo):
17013 Expand paths in file://... url. (Bug#15446)
17014
17015 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17016 Add some entries.
17017 (authors): Remove unused local variables.
17018
17019 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17020
17021 * profiler.el: Create a more coherent calltree from partial backtraces.
17022 (profiler-format): Hide the tail with `invisible' so that C-s can still
17023 find the hidden elements.
17024 (profiler-calltree-depth): Don't recurse so enthusiastically.
17025 (profiler-function-equal): New hash-table-test.
17026 (profiler-calltree-build-unified): New function.
17027 (profiler-calltree-build): Use it.
17028 (profiler-report-make-name-part): Indent the calltree less.
17029 (profiler-report-mode): Add visibility specs for profiler-format.
17030 (profiler-report-expand-entry, profiler-report-toggle-entry):
17031 Expand the whole subtree when provided with a prefix arg.
17032
17033 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17034
17035 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17036 iuwu-mod token.
17037 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17038 hanging iuwu-mod token.
17039 (ruby-smie--forward-token): Do not include a dot after a token in
17040 that token.
17041 (ruby-smie--backward-token): Likewise.
17042
17043 2013-10-08 Juri Linkov <juri@jurta.org>
17044
17045 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17046 to isearch-other-control-char.
17047 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17048 and isearch-post-command-hook to post-command-hook.
17049 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17050 and isearch-post-command-hook from post-command-hook.
17051 (isearch-unread-key-sequence)
17052 (isearch-reread-key-sequence-naturally)
17053 (isearch-lookup-scroll-key, isearch-other-control-char)
17054 (isearch-other-meta-char): Remove functions.
17055 (isearch-pre-command-hook, isearch-post-command-hook):
17056 New functions based on isearch-other-meta-char rewritten
17057 relying on the new behavior of overriding-terminal-local-map
17058 that does not replace the local keymaps any more. (Bug#15200)
17059
17060 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17061
17062 Support menus on text-mode terminals.
17063 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17064 functionality.
17065
17066 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17067
17068 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17069 Move here from mouse.el.
17070 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17071 and arrow keys.
17072 (tty-menu-navigation-map): New map for TTY menu navigation.
17073
17074 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17075
17076 * frame.el (display-mouse-p): Report text-mode mouse as available
17077 on w32.
17078 (display-popup-menus-p): Report availability if mouse is
17079 available; don't condition on window-system.
17080
17081 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17082 (tty-menu-selected-face): New faces.
17083
17084 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17087 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17088 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17089 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17090 New constants.
17091 (lisp-mode-variables): New `elisp' argument.
17092 (emacs-lisp-mode): Use it.
17093 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17094 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17095
17096 * indent.el: Use lexical-binding.
17097 (indent-region): Add progress reporter.
17098 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17099 last step.
17100 (indent--next-tab-stop): New function to implement this behavior.
17101 (tab-to-tab-stop, move-to-tab-stop): Use it.
17102
17103 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17104
17105 * indent.el (indent-rigidly--current-indentation): New function.
17106 (indent-rigidly-map): New var.
17107 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17108
17109 2013-10-08 Bastien Guerry <bzg@gnu.org>
17110
17111 * register.el (insert-register): Fix 2013-10-07 change.
17112
17113 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17114
17115 * progmodes/perl-mode.el: Use lexical-binding.
17116 Remove redundant :group args.
17117 (perl-nochange): Change default to be closer to other major modes's
17118 standard behavior.
17119 (perl-indent-line): Don't consider text on current line as a
17120 valid beginning of function from which to indent.
17121
17122 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17123 with more than one argument (bug#15538).
17124
17125 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17126
17127 * vc/pcvs.el: Use lexical-binding.
17128 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17129 environment of `eval'.
17130 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17131 than a list of expressions. Adjust callers.
17132 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17133
17134 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17135
17136 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17137 case of the dot in a chained method call being on the following line.
17138
17139 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17140
17141 * electric.el (electric-indent-inhibit): New var.
17142 (electric-indent-post-self-insert-function): Use it.
17143 * progmodes/python.el (python-mode): Set it.
17144
17145 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17146 open braces.
17147
17148 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17149
17150 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17151 (css-mode): Use electric-indent-chars.
17152
17153 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17154 (font-lock-beg, font-lock-end): Move before first use.
17155 (nxml-mode): Use syntax-propertize-function.
17156 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17157 (nxml-extend-after-change-region): Remove.
17158 * nxml/xmltok.el: Use lexical-binding.
17159 (xmltok-save): Use `declare'.
17160 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17161 * nxml/nxml-util.el: Use lexical-binding.
17162 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17163 Use `declare'.
17164 * nxml/nxml-ns.el: Use lexical-binding.
17165 (nxml-ns-save): Use `declare'.
17166 (nxml-ns-prefixes-for): Avoid add-to-list.
17167 * nxml/rng-match.el: Use lexical-binding.
17168 (rng--ipattern): Use cl-defstruct.
17169 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17170 (rng-cons-group-after, rng-subst-group-after)
17171 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17172 Use closures instead of `(lambda...).
17173
17174 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17175
17176 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17177 of BEG and END.
17178
17179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17180 Use `tramp-handle-insert-file-contents'.
17181 (tramp-gvfs-handle-insert-file-contents): Remove function.
17182
17183 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17184 Use `save-restriction' in order to keep markers.
17185
17186 * net/trampver.el: Update release number.
17187
17188 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17189
17190 * progmodes/compile.el (compilation-parse-errors):
17191 Use compilation--put-prop.
17192 (compilation--ensure-parse): Check compilation-multiline.
17193
17194 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17195
17196 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17197 lexical-binding.
17198
17199 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17200
17201 * progmodes/ruby-mode.el: Fix recently added tests.
17202 (ruby-smie-grammar): Add - and +.
17203 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17204 (ruby-smie--backward-id): New functions.
17205 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17206 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17207 any more.
17208
17209 2013-10-07 Leo Liu <sdl.web@gmail.com>
17210
17211 * register.el (register-preview-delay)
17212 (register-preview-functions): New variables.
17213 (register-read-with-preview, register-preview)
17214 (register-describe-oneline): New functions.
17215 (point-to-register, window-configuration-to-register)
17216 (frame-configuration-to-register, jump-to-register)
17217 (number-to-register, view-register, insert-register)
17218 (copy-to-register, append-to-register, prepend-to-register)
17219 (copy-rectangle-to-register): Use register-read-with-preview to
17220 read register. (Bug#15525)
17221
17222 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17223
17224 * net/network-stream.el (network-stream-open-starttls): Don't add
17225 --insecure if it's already present, because that gnutls-cli
17226 rejects getting that parameter twice.
17227
17228 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17229
17230 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17231 keyword, too.
17232
17233 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17234
17235 * newcomment.el (comment-use-global-state): Change default value
17236 to t, mark obsolete (Bug#15251).
17237 (comment-beginning): In addition to `comment-to-syntax', check the
17238 value of `comment-use-global-state'.
17239
17240 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17241
17242 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17243 (ruby-comment-column): Follow the global default, by default.
17244 (ruby-smie-grammar): Add assignment syntax.
17245 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17246 open-paren, a comma, or a \.
17247 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17248 and line continuations.
17249 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17250 followed by implicit semi-colons. Add rule for string concatenation
17251 and for indentation at BOB.
17252 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17253
17254 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17255 calling next-sexp, since next-token may have skipped chars which
17256 next-sexp doesn't know should be skipped!
17257
17258 2013-10-05 Leo Liu <sdl.web@gmail.com>
17259
17260 * progmodes/octave.el (octave-send-region):
17261 Call compilation-forget-errors.
17262
17263 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17264
17265 * vc/vc-svn.el (vc-svn-find-admin-dir):
17266 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17267 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17268 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17269 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17270
17271 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17272
17273 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17274
17275 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * subr.el (read-passwd): Hide chars even when called within a context
17278 where after-change-functions is disabled (bug#15501).
17279 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17280 until we removed ourself from overriding-terminal-local-map.
17281
17282 2013-10-04 Leo Liu <sdl.web@gmail.com>
17283
17284 * progmodes/octave.el (inferior-octave-mode):
17285 Call compilation-forget-errors.
17286
17287 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17288
17289 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17290
17291 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17292
17293 * net/secrets.el (secrets-create-collection): Add optional
17294 argument ALIAS. Use proper Label keyword. Append ALIAS as
17295 dbus-call-method argument. (Bug#15516)
17296
17297 2013-10-04 Leo Liu <sdl.web@gmail.com>
17298
17299 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17300 (inferior-octave-compilation-font-lock-keywords): New variables.
17301 (compilation-error-regexp-alist)
17302 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17303 (inferior-octave-mode): Use compilation-shell-minor-mode.
17304
17305 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17306
17307 * minibuffer.el (completion--replace): Be careful that `end' might be
17308 a marker.
17309
17310 2013-10-03 Daiki Ueno <ueno@gnu.org>
17311
17312 Add support for package signature checking.
17313 * emacs-lisp/package.el (url-http-file-exists-p)
17314 (epg-make-context, epg-context-set-home-directory)
17315 (epg-verify-string, epg-context-result-for)
17316 (epg-signature-status, epg-signature-to-string)
17317 (epg-check-configuration, epg-configuration)
17318 (epg-import-keys-from-file): Declare.
17319 (package-check-signature): New user option.
17320 (package-unsigned-archives): New user option.
17321 (package-desc): Add `signed' field.
17322 (package-load-descriptor): Set `signed' field if .signed file exists.
17323 (package--archive-file-exists-p): New function.
17324 (package--check-signature): New function.
17325 (package-install-from-archive): Check package signature.
17326 (package--download-one-archive): Check archive signature.
17327 (package-delete): Remove .signed file.
17328 (package-import-keyring): New command.
17329 (package-refresh-contents): Import default keyring.
17330 (package-desc-status): Add "unsigned" status.
17331 (describe-package-1, package-menu--print-info)
17332 (package-menu-mark-delete, package-menu--find-upgrades)
17333 (package-menu--status-predicate): Support "unsigned" status.
17334
17335 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17338 the new compilation scheme using the new byte-codes.
17339
17340 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17341 (byte-pophandler): New byte codes.
17342 (byte-goto-ops): Adjust accordingly.
17343 (byte-compile--use-old-handlers): New var.
17344 (byte-compile-catch): Use new byte codes depending on
17345 byte-compile--use-old-handlers.
17346 (byte-compile-condition-case--old): Rename from
17347 byte-compile-condition-case.
17348 (byte-compile-condition-case--new): New function.
17349 (byte-compile-condition-case): New function that dispatches depending
17350 on byte-compile--use-old-handlers.
17351 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17352 when we can.
17353
17354 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17355 Optimize under `condition-case' and `catch' if
17356 byte-compile--use-old-handlers is nil.
17357 (disassemble-offset): Handle new bytecodes.
17358
17359 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17360
17361 * subr.el (error): Use `declare'.
17362 (decode-char, encode-char): Use advertised-calling-convention instead
17363 of the docstring to discourage use of the `restriction' arg.
17364
17365 2013-10-03 Daiki Ueno <ueno@gnu.org>
17366
17367 * epg.el (epg-verify-file): Add a comment saying that it does not
17368 notify verification error as a return value nor a signal.
17369 (epg-verify-string): Ditto.
17370
17371 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17372
17373 * progmodes/compile.el (compilation-start): Try globbing the arg to
17374 `cd' (bug#15417).
17375
17376 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17377
17378 Sync with Tramp 2.2.8.
17379
17380 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17381 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17382 * net/trampver.el: Update release number.
17383
17384 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17385
17386 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17387 and default-process-coding-system for darwin only.
17388
17389 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17390
17391 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17392
17393 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17394
17395 * vc/vc-git.el (vc-git-grep): Disable pager.
17396
17397 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17398
17399 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17400 Use :url instead of :homepage, as per
17401 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17402
17403 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17404 non-nil, use `syntax-ppss' (Bug#15251).
17405
17406 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17407
17408 * progmodes/octave.el (inferior-octave-startup-file):
17409 Prefer ~/.emacs.d/init_octave.m.
17410
17411 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17412
17413 * emacs-lisp/package.el (package-desc-from-define):
17414 Accept additional arguments as plist, convert them to an alist and store
17415 them in the `extras' slot.
17416 (package-generate-description-file): Convert extras alist back to
17417 plist and append to the `define-package' form arguments.
17418 (package--alist-to-plist): New function.
17419 (package--ac-desc): Add `extras' slot.
17420 (package--add-to-archive-contents): Check if the archive-contents
17421 vector is long enough, and if it is, pass its `extras' slot value
17422 to `package-desc-create'.
17423 (package-buffer-info): Call `lm-homepage', pass the returned value
17424 to `package-desc-from-define'.
17425 (describe-package-1): Render the homepage button (Bug#13291).
17426
17427 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17428 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17429
17430 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17431
17432 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17433 and default-process-coding-system to utf-8-unix (Bug#15402).
17434
17435 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17436
17437 * subr.el (looking-back): Do not recommend using looking-back.
17438
17439 2013-09-28 Alan Mackenzie <acm@muc.de>
17440
17441 Fix indentation/fontification of Java enum with "implements".
17442
17443 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17444 regexp which matches "implements", etc., in Java.
17445 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17446 specifier clauses coming after "enum".
17447 * progmodes/cc-fonts.el (c-font-lock-declarations)
17448 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17449 after "enum".
17450
17451 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17452
17453 * faces.el (region): Change ns_selection_color to
17454 ns_selection_fg_color, add ns_selection_bg_color.
17455
17456 2013-09-28 Leo Liu <sdl.web@gmail.com>
17457
17458 * progmodes/octave.el (inferior-octave-completion-table)
17459 (inferior-octave-completion-at-point): Minor tweaks.
17460
17461 * textmodes/ispell.el (ispell-lookup-words): Rename from
17462 lookup-words. (Bug#15460)
17463 (lookup-words): Obsolete.
17464 (ispell-complete-word, ispell-command-loop): All uses changed.
17465
17466 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17467
17468 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17469 (octave-mode-menu): Add octave-send-buffer.
17470 (octave-send-buffer): New function.
17471
17472 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17473
17474 * progmodes/octave.el (octave-mode-map): Add key binding for
17475 octave-lookfor.
17476 (octave-mode-menu): Add octave-lookfor.
17477 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17478 octave-lookfor.
17479 (octave-lookfor): New function.
17480
17481 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17482
17483 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17484 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17485 its convention.
17486 (cl--loop-set-iterator-function): New function.
17487 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17488 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17489 Bind `it' with `let' instead of substituting it with `cl-subst'.
17490 (cl--unused-var-p): New function.
17491 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17492 Eliminate some unused variable warnings (bug#15326).
17493
17494 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17495
17496 * doc-view.el (doc-view-scale-reset): Rename from
17497 `doc-view-reset-zoom-level'.
17498 (doc-view-scale-adjust): New command.
17499 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17500 `doc-view-scale-adjust'.
17501
17502 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17503
17504 * doc-view.el (doc-view-reset-zoom-level): New command.
17505 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17506 zoom commands (bug#15466).
17507
17508 2013-09-26 Kenichi Handa <handa@gnu.org>
17509
17510 * international/quail.el (quail-help): Make it not a command.
17511
17512 2013-09-26 Leo Liu <sdl.web@gmail.com>
17513
17514 * minibuffer.el (completion-all-sorted-completions): Make args
17515 optional as they are.
17516
17517 2013-09-25 Daniel Colascione <dancol@dancol.org>
17518
17519 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17520 specs are and that they're not evaluated.
17521
17522 2013-09-24 Sam Steingold <sds@gnu.org>
17523
17524 * midnight.el (clean-buffer-list-kill-regexps)
17525 (clean-buffer-list-kill-buffer-names): Update for the new Man
17526 buffer naming which includes the object name.
17527
17528 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17531 (eshell-parse-command, eshell-parse-pipeline): Use it since
17532 eshell-separate-commands requires a dynamic scoped var.
17533 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17534
17535 2013-09-23 Leo Liu <sdl.web@gmail.com>
17536
17537 * autoinsert.el (auto-insert-alist): Make the value of
17538 lexical-binding match its file setting.
17539
17540 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17541
17542 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17543
17544 * autoarg.el (autoarg-kp-digit-argument):
17545 * electric.el (Electric-command-loop):
17546 * kmacro.el (kmacro-step-edit-insert):
17547 Do not set universal-argument-num-events.
17548
17549 2013-09-22 Leo Liu <sdl.web@gmail.com>
17550
17551 * files.el (interpreter-mode-alist): Add octave.
17552
17553 2013-09-21 Alan Mackenzie <acm@muc.de>
17554
17555 C++: fontify identifier in declaration following "public:" correctly.
17556 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17557 to match "public", etc.
17558 (c-decl-prefix-re): Add ":" into the C++ value.
17559 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17560 bit. Add a check for a ":" preceded by "public", etc.
17561
17562 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17563
17564 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17565 recognized by GDB 7.5 and later.
17566
17567 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17568
17569 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17570
17571 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17572
17573 * subr.el (internal--call-interactively): New const.
17574 (called-interactively-p): Use it (bug#3984).
17575
17576 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17577
17578 * vc/pcvs.el (cvs-mode-ignore):
17579 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17580 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17581
17582 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17583
17584 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17585 (eshell-ls-orig-insert-directory): Remove.
17586 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17587 (eshell-ls-use-in-dired): Use advice-add/remove.
17588 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17589 Add `orig-fun' arg for use in :around advice.
17590 Make it check (redundantly) eshell-ls-use-in-dired.
17591
17592 2013-09-19 Glenn Morris <rgm@gnu.org>
17593
17594 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17595
17596 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17597
17598 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17599
17600 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17601
17602 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17603 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17604 (tramp-get-remote-python): New defuns.
17605 (tramp-get-remote-uid-with-perl)
17606 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17607 contributed by yary <not.com@gmail.com> (tiny change).
17608 (tramp-get-remote-uid-with-python)
17609 (tramp-get-remote-gid-with-python): New defuns. Python code
17610 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17611 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17612
17613 2013-09-19 Glenn Morris <rgm@gnu.org>
17614
17615 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17616
17617 * eshell/em-unix.el (eshell-remove-entries):
17618 Rename argument to avoid name-clash with global `top-level'.
17619
17620 * eshell/esh-proc.el (eshell-kill-process-function):
17621 Remove eshell-reset-after-proc from eshell-kill-hook if present.
17622 (eshell-reset-after-proc): Remove unused arg `proc'.
17623
17624 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17625 (directory-files-and-attributes): Mark unused arg.
17626
17627 * eshell/em-unix.el (eshell-remove-entries):
17628 Remove unused arg `path'. Update callers.
17629
17630 * eshell/em-hist.el (eshell-hist-parse-arguments):
17631 Remove unused arg `silent'. Update callers.
17632
17633 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17634 Fix (f)boundp mix-up.
17635
17636 * eshell/em-smart.el (eshell-smart-scroll-window)
17637 (eshell-disable-after-change):
17638 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17639
17640 2013-09-18 Alan Mackenzie <acm@muc.de>
17641
17642 Fix fontification of type when followed by "const".
17643 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17644 "known" types from fontification.
17645
17646 2013-09-18 Glenn Morris <rgm@gnu.org>
17647
17648 * emacs-lisp/chart.el (x-display-color-cells): Declare.
17649 (chart-face-list): Drop Emacsen without display-color-p.
17650
17651 * net/eww.el (libxml-parse-html-region): Declare.
17652 (eww-display-html): Explicit error if no libxml2 support.
17653
17654 * doc-view.el (doc-view-mode): Silence --without-x compilation.
17655
17656 * image.el (image-type-from-buffer, image-multi-frame-p):
17657 Remove --without-x warning/error.
17658
17659 * mouse.el (mouse-yank-primary):
17660 * term.el (term-mouse-paste):
17661 Reorder to silence --without-x compilation.
17662
17663 * mpc.el (doc-view-mode): Silence --without-x compilation.
17664
17665 * mail/rmailmm.el (rmail-mime-set-bulk-data):
17666 Silence --without-x compilation.
17667
17668 * progmodes/gud.el (gud-find-file, gud-mode):
17669 Silence --without-x compilation.
17670 (tooltip-mode): Declare.
17671
17672 * wdired.el (dired-backup-overwrite): Remove declaration.
17673 (wdired-mode-map): Add doc string.
17674
17675 * custom.el (x-get-resource): Declare.
17676
17677 * eshell/em-glob.el (ange-cache):
17678 * eshell/em-unix.el (ange-cache): Declare.
17679
17680 * faces.el (x-display-list, x-open-connection, x-get-resource):
17681 Declare.
17682
17683 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17684 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17685 Declare.
17686
17687 * frame.el (x-display-grayscale-p, x-display-name): Declare.
17688
17689 * net/gnutls.el (gnutls-log-level): Declare.
17690
17691 * net/shr.el (image-size, image-animate): Declare.
17692
17693 * simple.el (font-info): Declare.
17694
17695 * subr.el (x-popup-dialog): Declare.
17696
17697 * term/common-win.el (x-select-enable-primary)
17698 (x-last-selected-text-primary, x-last-selected-text-clipboard):
17699 Declare.
17700
17701 * term/ns-win.el (x-handle-args): Declare.
17702
17703 * term/x-win.el (x-select-enable-clipboard): Declare.
17704
17705 * term/w32-win.el (create-default-fontset): Declare.
17706
17707 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17708 Declare.
17709
17710 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17711 (fit-frame-to-buffer): Explicit error if --without-x.
17712 (mouse-autoselect-window-select): Silence compiler.
17713
17714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17715
17716 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17717 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17718 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17719 * eshell/esh-util.el (eshell-sublist):
17720 Remove unused local variables.
17721
17722 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17723
17724 * textmodes/two-column.el: Make 2C-split work for --without-x.
17725 (scroll-bar-columns): Autoload.
17726 (top-level): Require fringe when compiling.
17727
17728 2013-09-18 Leo Liu <sdl.web@gmail.com>
17729
17730 * subr.el (add-hook): Robustify to handle closure as well.
17731
17732 2013-09-17 Glenn Morris <rgm@gnu.org>
17733
17734 * simple.el (messages-buffer-mode-map): Unbind "g".
17735
17736 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17737
17738 * help-mode.el (help-mode-finish): Use derived-mode-p.
17739 Remove obsolete highlighting.
17740
17741 * play/life.el (life-mode): Use define-derived-mode. Derive from
17742 special-mode.
17743 (life): Let-bind inhibit-read-only.
17744 (life-setup): Avoid `setq'. Use `life-mode'.
17745
17746 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17747 which should not be needed any more.
17748 (package-menu-refresh, package-menu-describe-package): Use user-error.
17749
17750 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17751 (eshell-post-rewrite-command-hook): Make obsolete.
17752 (eshell-parse-command): Simplify.
17753 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17754 (eshell--cmd): Declare.
17755 (eshell-parse-pipeline): Remove unused var `final-p'.
17756 Pass a dynvar to eshell-post-rewrite-command-hook.
17757 Implement the new eshell-post-rewrite-command-function.
17758 (eshell-invoke-directly): Remove unused arg `input'.
17759 * eshell/esh-io.el (eshell-io-initialize):
17760 Use eshell-post-rewrite-command-function (bug#15399).
17761 (eshell--apply-redirections): Rename from eshell-apply-redirections;
17762 adjust to new calling convention.
17763 (eshell-create-handles): Rename args to avoid clashing with dynvar
17764 `standard-output'.
17765
17766 2013-09-17 Glenn Morris <rgm@gnu.org>
17767
17768 * simple.el (messages-buffer-mode): New major mode.
17769 (messages-buffer): New function.
17770 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17771 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17772 (ert-run-test): Use `messages-buffer' function.
17773 (ert--force-message-log-buffer-truncation): Ignore read-only.
17774 * help.el (view-echo-area-messages): Use `messages-buffer' function.
17775 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17776
17777 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17778
17779 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17780
17781 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17782
17783 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17784
17785 * icomplete.el (icomplete-in-buffer): New var.
17786 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17787 vars and replace them with functions.
17788 (icomplete-minibuffer-setup): Adjust accordingly.
17789 (icomplete--completion-table, icomplete--completion-predicate)
17790 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17791 New functions.
17792 (icomplete-forward-completions, icomplete-backward-completions)
17793 (icomplete-simple-completing-p, icomplete-exhibit)
17794 (icomplete-completions): Use them.
17795 (icomplete--in-region-buffer): New var.
17796 (icomplete--in-region-setup): New function.
17797 (icomplete-mode): Use it.
17798
17799 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17800 (bug#15379).
17801 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17802 return args and options.
17803 (eshell-eval-using-options): Use the new return value of
17804 eshell--do-opts to set the options's vars in their scope.
17805 (eshell--set-option): Rename from eshell-set-option.
17806 Add arg `opt-vals'.
17807 (eshell--process-option): Rename from eshell-process-option.
17808 Add arg `opt-vals'.
17809 (eshell--process-args): Use an `opt-vals' alist to store the options's
17810 values during their processing and return them additionally to the
17811 remaining args.
17812
17813 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
17814
17815 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17816 continuation character an operator, as far as indentation is
17817 concerned (Bug#15369).
17818
17819 2013-09-15 Martin Rudalics <rudalics@gmx.at>
17820
17821 * window.el (window--state-put-2): Don't process buffer state
17822 when buffer doesn't exist any more (Bug#15382).
17823
17824 2013-09-15 Glenn Morris <rgm@gnu.org>
17825
17826 * eshell/em-unix.el (eshell/rm):
17827 Make -f ignore missing files. (Bug#15373)
17828
17829 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
17830 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17831 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17832
17833 2013-09-14 Glenn Morris <rgm@gnu.org>
17834
17835 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17836
17837 2013-09-13 Glenn Morris <rgm@gnu.org>
17838
17839 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17840 (dired-guess-default): Make `file' available in the env. (Bug#15363)
17841
17842 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17843
17844 * frame.el (x-focus-frame): Mark as declared in frame.c.
17845
17846 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17847
17848 * ls-lisp.el: Use advice-add.
17849 (original-insert-directory): Remove.
17850 (ls-lisp--insert-directory): Rename from insert-directory; add
17851 `orig-fun' argument.
17852 (insert-directory): Advise.
17853
17854 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17855
17856 * term.el (term-emulate-terminal): Decode the command string
17857 before passing it to term-command-hook. (Bug#15337)
17858
17859 2013-09-13 Glenn Morris <rgm@gnu.org>
17860
17861 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17862
17863 * eshell/esh-ext.el (eshell-search-path): Declare.
17864
17865 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17866 Otherwise an error occurs if eshell-dirs module not loaded.
17867
17868 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17869
17870 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17871
17872 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17873 `tramp-check-proper-host'. Check for a valid method name.
17874
17875 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17876 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17877 * net/tramp-sh.el (tramp-maybe-open-connection):
17878 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17879
17880 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17881 also for hash values.
17882
17883 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17884
17885 * term/ns-win.el (parameters): Don't declare as dynamic.
17886 (before-make-frame-hook): Don't add ineffective function.
17887
17888 * eshell/*.el: Use lexical-binding (bug#15231).
17889
17890 2013-09-12 Kenichi Handa <handa@gnu.org>
17891
17892 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17893
17894 2013-09-12 Glenn Morris <rgm@gnu.org>
17895
17896 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17897 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17898
17899 * subr.el (do-after-load-evaluation): Also give compiler warnings
17900 when obsolete files are used (except by obsolete files).
17901
17902 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17903 in the status output, assume `filename' is the first. (Bug#15322)
17904
17905 * vc/vc.el (vc-deduce-fileset): Doc fix.
17906
17907 * calc/calc-help.el (Info-goto-node):
17908 * progmodes/cperl-mode.el (Info-find-node):
17909 * vc/ediff.el (Info-goto-node): Update declarations.
17910
17911 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17912
17913 * vc/vc-bzr.el (vc-compilation-mode): Declare.
17914 (vc-bzr-pull): Require vc-dispatcher.
17915 * vc/vc-git.el (vc-compilation-mode): Declare.
17916 (vc-git-pull): Require vc-dispatcher.
17917
17918 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17919
17920 * progmodes/octave.el (help-button-action): Declare.
17921
17922 * shell.el (shell-directory-tracker): Output error as a message
17923 rather than just returning it as a string.
17924 (shell-process-pushd): Remove useless use of message.
17925
17926 * dframe.el (dframe-timer-fn):
17927 * files.el (dir-locals-read-from-file):
17928 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17929 (mpc-format):
17930 * reveal.el (reveal-post-command):
17931 * saveplace.el (load-save-place-alist-from-file):
17932 * shell.el (shell-resync-dirs):
17933 * w32-common-fns.el (x-get-selection-value):
17934 * emacs-lisp/copyright.el (copyright-find-copyright):
17935 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17936 * emulation/tpu-edt.el (tpu-copy-keyfile):
17937 * play/bubbles.el (bubbles--mark-neighbourhood):
17938 * progmodes/executable.el
17939 (executable-make-buffer-file-executable-if-script-p):
17940 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17941
17942 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 Cleanup Eshell to rely less on dynamic scoping.
17945 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17946 last-value, and ext-command here. Bind `args' closer to `body'.
17947 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17948 (eshell--args): Declare new dynamic var.
17949 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
17950 last-value, and ext-command. Pass `args' to `body'.
17951 (eshell-process-args): Bind eshell--args.
17952 (eshell-set-option): Use eshell--args.
17953 * eshell/eshell.el (eshell): Use derived-mode-p.
17954 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17955 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17956 (eshell-glob-function): Declare.
17957 * eshell/esh-util.el: Require cl-lib.
17958 (eshell-read-hosts-file): Avoid add-to-list.
17959 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17960 `err'.
17961 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17962 Declare.
17963 (eshell/diff): Remove unused var `err'.
17964 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17965 `killflag'.
17966 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17967 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17968 first use.
17969 * eshell/em-glob.el (eshell-glob-matches, message-shown):
17970 Move declaration before first use.
17971 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17972 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17973 rely on cl-return.
17974
17975 2013-09-12 Glenn Morris <rgm@gnu.org>
17976
17977 * term/ns-win.el (global-map): Remove binding for ispell-next,
17978 deleted 1999-05-29. (Bug#15357)
17979
17980 2013-09-11 Glenn Morris <rgm@gnu.org>
17981
17982 * echistory.el (electric-command-history): Remove call to deleted func.
17983
17984 * play/landmark.el (landmark-mode): Fix typos.
17985
17986 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17987 Check cvs-sort-ignore-file is bound.
17988
17989 * savehist.el: No need for cl when compiling on Emacs.
17990
17991 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17992
17993 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
17994 (bug#15338).
17995 (eshell-self-insert-command, eshell-send-invisible):
17996 Remove unused argument.
17997 (eshell-handle-control-codes): Remove unused var `orig'.
17998 Avoid delete-backward-char.
17999
18000 * files.el (set-auto-mode): Simplify a bit further.
18001
18002 2013-09-11 Glenn Morris <rgm@gnu.org>
18003
18004 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18005 (set-auto-mode): Don't regexp-quote elements.
18006 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18007 * progmodes/cc-mode.el (interpreter-mode-alist):
18008 * progmodes/ruby-mode.el (interpreter-mode-alist):
18009 Revert previous change.
18010
18011 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18012
18013 * play/snake.el (snake-mode):
18014 * play/mpuz.el (mpuz-mode):
18015 * play/landmark.el (lm-mode):
18016 * play/blackbox.el (blackbox-mode):
18017 * play/5x5.el (5x5-mode):
18018 * obsolete/options.el (Edit-options-mode):
18019 * net/quickurl.el (quickurl-list-mode):
18020 * net/newst-treeview.el (newsticker-treeview-mode):
18021 * mail/rmailsum.el (rmail-summary-mode):
18022 * mail/mspools.el (mspools-mode):
18023 * locate.el (locate-mode):
18024 * ibuffer.el (ibuffer-mode):
18025 * emulation/ws-mode.el (wordstar-mode):
18026 * emacs-lisp/debug.el (debugger-mode):
18027 * array.el (array-mode):
18028 * net/eudc.el (eudc-mode): Use define-derived-mode.
18029 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18030 Move initialization into declaration.
18031 (mairix-searches-mode): Use define-derived-mode.
18032 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18033 (eudc-edit-hotlist): Use dolist.
18034 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18035 (Man-mode): Use define-derived-mode.
18036 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18037 (Info-edit-mode): Use define-derived-mode.
18038 (Info-cease-edit): Use Info-mode.
18039 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18040 into declaration.
18041 (eshell-mode): Use define-derived-mode.
18042 * chistory.el (command-history-mode-map): Rename from
18043 command-history-map.
18044 (command-history-mode): Use define-derived-mode.
18045 (Command-history-setup): Remove function.
18046 * calc/calc.el (calc-trail-mode-map): New var.
18047 (calc-trail-mode): Use define-derived-mode.
18048 (calc-trail-buffer): Set calc-main-buffer manually.
18049 * bookmark.el (bookmark-insert-annotation): New function.
18050 (bookmark-edit-annotation): Use it.
18051 (bookmark-edit-annotation-mode): Make it a proper major mode.
18052 (bookmark-send-edited-annotation): Use derived-mode-p.
18053 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18054 closer to its ideal place. Use \' to match EOS.
18055
18056 * profiler.el (profiler-calltree-find): Use function-equal.
18057
18058 2013-09-10 Glenn Morris <rgm@gnu.org>
18059
18060 * files.el (interpreter-mode-alist): Convert to regexps.
18061 (set-auto-mode): Adapt for this. (Bug#15306)
18062 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18063 Comment out unused variable.
18064 * progmodes/cc-mode.el (interpreter-mode-alist):
18065 * progmodes/python.el (interpreter-mode-alist):
18066 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18067 * progmodes/sh-script.el (sh-set-shell):
18068 No longer use interpreter-mode-alist to get list of shells.
18069
18070 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18071
18072 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18073
18074 * simple.el: Use set-temporary-overlay-map for universal-argument.
18075 (universal-argument-map): Don't use default-bindings (bug#15317).
18076 Bind switch-frame explicitly. Replace universal-argument-minus with
18077 a conditional binding.
18078 (universal-argument-num-events, saved-overriding-map): Remove.
18079 (restore-overriding-map): Remove.
18080 (universal-argument--mode): Rename from save&set-overriding-map,
18081 and rewrite.
18082 (universal-argument, universal-argument-more, negative-argument)
18083 (digit-argument): Adjust accordingly.
18084 (universal-argument-minus): Remove.
18085 (universal-argument-other-key): Remove.
18086
18087 * subr.el (with-demoted-errors): Add `format' argument.
18088
18089 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18090
18091 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18092 `tramp-cleanup-connection'.
18093
18094 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18095 parameters KEEP-DEBUG and KEEP-PASSWORD.
18096
18097 * net/tramp.el (tramp-file-name-handler):
18098 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18099 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18100 (tramp-maybe-open-connection):
18101 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18102 Use `tramp-cleanup-connection'.
18103
18104 * net/tramp-sh.el (tramp-maybe-open-connection):
18105 Catch 'uname-changed inside the progress reporter.
18106
18107 2013-09-10 Glenn Morris <rgm@gnu.org>
18108
18109 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18110
18111 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18112 returns "alternate access method" in mode (eg "-rw-r--r--.").
18113
18114 2013-09-08 Glenn Morris <rgm@gnu.org>
18115
18116 * saveplace.el (load-save-place-alist-from-file):
18117 Demote errors. (Bug#15305)
18118
18119 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18120
18121 Improve compatibility with older Emacsen, and XEmacs.
18122
18123 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18124 only if it is bound. It isn't for XEmacs.
18125 (with-tramp-progress-reporter): Do not let-bind `result'.
18126 This yields to scoping errors in XEmacs.
18127 (tramp-handle-make-auto-save-file-name): New function, moved from
18128 tramp-sh.el.
18129
18130 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18131 for `make-auto-save-file-name'.
18132 (tramp-adb--gnu-switches-to-ash):
18133 Use `tramp-compat-replace-regexp-in-string'.
18134
18135 * net/tramp-cache.el (tramp-cache-print): Call
18136 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18137
18138 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18139 bound. It isn't for XEmacs.
18140
18141 * net/tramp-compat.el (tramp-compat-copy-file):
18142 Catch `wrong-number-of-arguments' error.
18143 (tramp-compat-replace-regexp-in-string): New defun.
18144
18145 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18146 for `make-auto-save-file-name'.
18147 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18148 `copy-file'.
18149 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18150 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18151 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18152
18153 * net/tramp-gw.el (tramp-gw-open-network-stream):
18154 Use `tramp-compat-replace-regexp-in-string'.
18155
18156 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18157 Call `tramp-handle-make-auto-save-file-name'.
18158 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18159 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18160 (tramp-sh-file-inotifywait-process-filter):
18161 Use `tramp-compat-replace-regexp-in-string'.
18162 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18163
18164 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18165 for `make-auto-save-file-name'.
18166 (tramp-smb-handle-copy-directory):
18167 Call `tramp-compat-replace-regexp-in-string'.
18168 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18169 (tramp-smb-handle-copy-file): Improve error message.
18170 (tramp-smb-handle-rename-file): Rename directly only in case
18171 `newname' does not exist yet. This is a restriction of smbclient.
18172 (tramp-smb-maybe-open-connection): Rerun the function only when
18173 `auth-sources' is non-nil.
18174
18175 2013-09-08 Kenichi Handa <handa@gnu.org>
18176
18177 * international/characters.el: Set category "^" (Combining) for
18178 more characters.
18179
18180 2013-09-07 Alan Mackenzie <acm@muc.de>
18181
18182 Correctly fontify Java class constructors.
18183 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18184 in Java Mode.
18185 (c-recognize-typeless-decls): Set the Java value to t.
18186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18187 While handling a "(", add a check for, effectively, Java, and handle a
18188 "typeless" declaration there.
18189
18190 2013-09-07 Roland Winkler <winkler@gnu.org>
18191
18192 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18193 field subtitle for entry type book.
18194
18195 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18196
18197 * minibuffer.el: Make minibuffer-complete call completion-in-region
18198 rather than other way around.
18199 (completion--some, completion-pcm--find-all-completions):
18200 Don't delay signals when debugging.
18201 (minibuffer-completion-contents): Beware fields within the
18202 minibuffer contents.
18203 (completion-all-sorted-completions): Use defvar-local.
18204 (completion--do-completion, completion--cache-all-sorted-completions)
18205 (completion-all-sorted-completions, minibuffer-force-complete):
18206 Add args `beg' and `end'.
18207 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18208 (minibuffer-complete): Use completion-in-region.
18209 (completion-complete-and-exit): New fun, extracted from
18210 minibuffer-complete-and-exit.
18211 (minibuffer-complete-and-exit): Use it.
18212 (completion--complete-and-exit): Rename from
18213 minibuffer--complete-and-exit.
18214 (completion-in-region--single-word): New function, extracted from
18215 minibuffer-complete-word.
18216 (minibuffer-complete-word): Use it.
18217 (display-completion-list): Make `common-substring' argument obsolete.
18218 (completion--in-region): Call completion--in-region-1 instead of
18219 minibuffer-complete.
18220 (completion-help-at-point): Pass boundaries to
18221 minibuffer-completion-help as args rather than via an overlay.
18222 (completion-pcm--string->pattern): Use `any-delim'.
18223 (completion-pcm--optimize-pattern): New function.
18224 (completion-pcm--pattern->regex): Handle `any-delim'.
18225 * icomplete.el (icomplete-forward-completions)
18226 (icomplete-backward-completions, icomplete-completions):
18227 Adjust calls to completion-all-sorted-completions and
18228 completion--cache-all-sorted-completions.
18229 (icomplete-with-completion-tables): Default to t.
18230 * emacs-lisp/crm.el (crm--current-element): Rename from
18231 crm--select-current-element. Don't put an overlay but return the
18232 boundaries instead.
18233 (crm--completion-command): Take two new args to bind to the boundaries.
18234 (crm-completion-help): Adjust accordingly.
18235 (crm-complete): Use completion-in-region.
18236 (crm-complete-word): Use completion-in-region--single-word.
18237 (crm-complete-and-exit): Use completion-complete-and-exit.
18238
18239 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18240
18241 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18242 than dynamically.
18243
18244 2013-09-06 Juri Linkov <juri@jurta.org>
18245
18246 * info.el (Info-display-images-node): When image file doesn't exist
18247 display text version of the image if it's provided in the Info file.
18248 Otherwise, display the location of missing image from SRC attribute.
18249 Add help-echo text property from ALT attribute. (Bug#15279)
18250
18251 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18252
18253 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18254 (edit-abbrevs-mode): Use define-derived-mode.
18255
18256 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18257 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18258 that it's defined.
18259 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18260 Use define-derived-mode.
18261
18262 * epg.el (epg-start-encrypt): Minor CSE simplification.
18263
18264 2013-09-06 William Xu <william.xwl@gmail.com>
18265
18266 * arc-mode.el: Add support for 7za (bug#15264).
18267 (archive-7z-program): New var.
18268 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18269 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18270 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18271
18272 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18273
18274 Remove URL syntax.
18275
18276 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18277 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18278 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18279 (tramp-postfix-host-format, tramp-file-name-regexp)
18280 (tramp-completion-file-name-regexp)
18281 (tramp-completion-dissect-file-name)
18282 (tramp-handle-substitute-in-file-name): Remove 'url case.
18283 (tramp-file-name-regexp-url)
18284 (tramp-completion-file-name-regexp-url): Remove constants.
18285
18286 2013-09-06 Glenn Morris <rgm@gnu.org>
18287
18288 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18289
18290 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18291
18292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18293 keywords" below "here-doc beginnings" (Bug#15270).
18294
18295 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18296
18297 * subr.el (pop): Use `car-safe'.
18298 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18299 to detect unused `pop' return value.
18300
18301 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18302 var `block-regexp'.
18303 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18304 (python-fill-string): Remove unused var `marker'.
18305 (python-skeleton-add-menu-items): Remove unused var `items'.
18306
18307 * international/mule-cmds.el: Require CL.
18308 (find-coding-systems-for-charsets): Avoid add-to-list.
18309 (sanitize-coding-system-list): New function, extracted from
18310 select-safe-coding-system-interactively.
18311 (select-safe-coding-system-interactively): Use it.
18312 (read-input-method-name): Accept symbols for `default'.
18313
18314 * emacs-lisp/advice.el (defadvice): Add indent rule.
18315
18316 2013-09-05 Daniel Hackney <dan@haxney.org>
18317
18318 * dired-x.el:
18319 * net/ange-ftp.el:
18320 * net/browse-url.el:
18321 * net/dbus.el:
18322 * net/eudc.el:
18323 * net/eudcb-ldap.el:
18324 * net/eww.el:
18325 * net/imap.el:
18326 * printing.el:
18327 * vc/ediff-diff.el:
18328 * vc/ediff-init.el:
18329 * vc/ediff-merg.el:
18330 * vc/ediff-mult.el:
18331 * vc/ediff-util.el:
18332 * vc/ediff-wind.el:
18333 * vc/ediff.el:
18334 * vc/emerge.el:
18335 * vc/pcvs.el:
18336 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18337 byte compiler. Remove some unused let-bound variables.
18338
18339 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18340
18341 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18342 a "ref-cell", since it gets better optimized (bug#14883).
18343
18344 2013-09-05 Glenn Morris <rgm@gnu.org>
18345
18346 * progmodes/cc-awk.el (c-forward-sws): Declare.
18347
18348 2013-09-04 Glenn Morris <rgm@gnu.org>
18349
18350 * generic-x.el [rul-generic-mode]: Require cc-mode.
18351 (c++-mode-syntax-table): Declare.
18352 (rul-generic-mode-syntax-table): Init in the defvar.
18353
18354 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18355
18356 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18357 (vc-do-command, vc-set-async-update):
18358 * vc/vc-mtn.el (vc-mtn-dir-status):
18359 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18360 (vc-hg-pull, vc-hg-merge-branch):
18361 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18362 (vc-git-merge-branch):
18363 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18364 (vc-cvs-dir-status-files):
18365 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18366 (vc-bzr-dir-status-files):
18367 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18368 * vc/vc-annotate.el: Use lexical-binding.
18369 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18370 (vc-sentinel-movepoint): Declare.
18371 (vc-annotate): Don't use `goto-line'.
18372 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18373 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18374 (vc-sentinel-movepoint): Declare.
18375 * vc/vc-svn.el: Use lexical-binding.
18376 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18377 * vc/vc-sccs.el:
18378 * vc/vc-rcs.el: Use lexical-binding.
18379
18380 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18381 `deleted'. Don't drop errors silently.
18382
18383 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18384
18385 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18386
18387 * vc/vc.el (vc-ignore): Rewrite.
18388 (vc-default-ignore): New function.
18389 (vc-default-ignore-completion-table): Use find-ignore-file.
18390
18391 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18392 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18393 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18394 Remove. Most code moved to vc.el.
18395
18396 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18399 * net/tramp-smb.el (tramp-smb-get-file-entries):
18400 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18401 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18402
18403 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18404 Update call to it.
18405 (eww-change-select): Remove unused var `properties'.
18406 (eww-make-unique-file-name): Remove unused var `base'.
18407
18408 * finder.el (finder-compile-keywords): Don't mess with windows.
18409
18410 * calculator.el (calculator-funcall): Fix typo in last change.
18411
18412 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18413
18414 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18415 <pkg>-autoloads.el file stop us.
18416
18417 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18418 warnings, and factor out common code.
18419
18420 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18421
18422 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18423 two-character operators and whether the character preceding them
18424 changes their meaning (Bug#15208).
18425
18426 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18427
18428 Format code sent to Python shell for robustness.
18429 * progmodes/python.el (python-shell-buffer-substring):
18430 New function.
18431 (python-shell-send-region, python-shell-send-buffer): Use it.
18432
18433 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18434
18435 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18436 * net/tramp.el (tramp-user-error): ... here.
18437 (tramp-find-method, tramp-check-proper-host)
18438 (tramp-dissect-file-name, tramp-debug-message)
18439 (tramp-handle-shell-command):
18440 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18441 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18442
18443 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18444
18445 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18446
18447 * avoid.el (mouse-avoidance-point-position)
18448 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18449 returns nil.
18450
18451 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18452
18453 * progmodes/python.el (python-shell-completion-get-completions):
18454 Drop use of deleted `comint-last-prompt-overlay'.
18455 (python-nav-if-name-main): New command.
18456
18457 2013-09-01 Glenn Morris <rgm@gnu.org>
18458
18459 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18460 Avoid leading space in $wins. Otherwise the sed command used by
18461 eg compile-main ends up containing "/*.el". (Bug#15170)
18462
18463 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18464
18465 2013-08-30 Glenn Morris <rgm@gnu.org>
18466
18467 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18468 Fix is-this-a-directory logic. (Bug#15220)
18469
18470 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18471
18472 * textmodes/css-mode.el: Use SMIE.
18473 (css-smie-grammar): New var.
18474 (css-smie--forward-token, css-smie--backward-token)
18475 (css-smie-rules): New functions.
18476 (css-mode): Use them.
18477 (css-navigation-syntax-table): Remove var.
18478 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18479 (css-indent-calculate, css-indent-line): Remove functions.
18480
18481 Misc changes to reduce use of `(lambda...); and other cleanups.
18482 * cus-edit.el: Use lexical-binding.
18483 (customize-push-and-save, customize-apropos)
18484 (custom-buffer-create-internal): Use closures.
18485 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18486 * progmodes/ada-xref.el: Use setq.
18487 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18488 * dframe.el: Use lexical-binding.
18489 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18490 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18491 * descr-text.el: Use lexical-binding.
18492 (describe-text-widget, describe-text-sexp, describe-property-list):
18493 Use closures.
18494 * comint.el (comint-history-isearch-push-state): Use a closure.
18495 * calculator.el: Use lexical-binding.
18496 (calculator-number-to-string): Make it work with lexical-binding.
18497 (calculator-funcall): Same and use cl-letf.
18498
18499 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18500 (lisp--company-doc-string, lisp--company-location): New functions.
18501 (lisp-completion-at-point): Use them to improve Company support.
18502
18503 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18504 params of lambda expressions.
18505 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18506 (ruby-smie--opening-pipe-p): New function.
18507 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18508 symbols and matched |...| for formal params.
18509 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18510 from being treated as hanging. Handle "rescue".
18511
18512 2013-08-29 Glenn Morris <rgm@gnu.org>
18513
18514 * progmodes/cc-engine.el (c-pull-open-brace):
18515 Move definition before use.
18516
18517 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18520 are immutable. Don't use `unsafe' any more.
18521 (cl--defsubst-expand): Don't substitute at the same time as keeping
18522 a residual unused let-binding. Don't use `unsafe' any more.
18523
18524 2013-08-29 Glenn Morris <rgm@gnu.org>
18525
18526 * calendar/cal-china.el (calendar-chinese-year-cache):
18527 Recenter on 2015.
18528
18529 * nxml/nxml-util.el (nxml-debug-clear-inside):
18530 Use cl-loop rather than loop.
18531
18532 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18533
18534 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18535
18536 2013-08-28 Glenn Morris <rgm@gnu.org>
18537
18538 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18539
18540 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18541
18542 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18543
18544 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * simple.el (repeat-complex-command--called-interactively-skip):
18547 New function.
18548 (repeat-complex-command): Use it (bug#14136).
18549
18550 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18551 (c-define-abbrev-table): Add `doc' argument.
18552 (c-mode-abbrev-table, c++-mode-abbrev-table)
18553 (objc-mode-abbrev-table, java-mode-abbrev-table)
18554 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18555 (awk-mode-abbrev-table): Use it.
18556 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18557 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18558 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18559 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18560 Move initialization into the declaration; and remove any
18561 autoload cookie.
18562
18563 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18564 and dynamic let binding.
18565
18566 * vc/smerge-mode.el: Remove redundant :group args.
18567
18568 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18569 to load-path.
18570
18571 2013-08-28 Juri Linkov <juri@jurta.org>
18572
18573 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18574 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18575 (isearch-other-meta-char): Handle an undefined shifted printing
18576 character by downshifting it. (Bug#15200)
18577
18578 2013-08-28 Juri Linkov <juri@jurta.org>
18579
18580 * isearch.el (isearch-search): Change regexp error message for
18581 non-regexp searches. (Bug#15166)
18582
18583 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18584
18585 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18586 for portability to hosts where /bin/sh has problems.
18587
18588 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18591
18592 2013-08-27 Juri Linkov <juri@jurta.org>
18593
18594 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18595 in the keyboard macro. (Bug#15126)
18596
18597 2013-08-27 Juri Linkov <juri@jurta.org>
18598
18599 * isearch.el (isearch-quote-char): Comment out converting unibyte
18600 to multibyte, thus syncing with its `quoted-insert' counterpart.
18601 (Bug#15166)
18602
18603 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18604
18605 * window.el (display-buffer-use-some-window): Add missing
18606 argument in call of get-largest-window (Bug#15185).
18607 Reported by Stephen Leake.
18608
18609 2013-08-27 Glenn Morris <rgm@gnu.org>
18610
18611 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18612
18613 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18614
18615 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18616 from a matcher-function unless there's no more matches (bug#15161).
18617
18618 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18619
18620 * minibuffer.el: Revert change from 2013-08-20.
18621
18622 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18623 with text property `tramp-default', if appropriate.
18624 (tramp-check-proper-host): New defun.
18625 (tramp-dissect-file-name): Do not check hostname. Revert change
18626 of 2013-03-18.
18627 (tramp-backtrace): Make VEC-OR-PROC optional.
18628
18629 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18630 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18631 * net/tramp-sh.el (tramp-maybe-open-connection):
18632 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18633 Apply `tramp-check-proper-host'.
18634
18635 2013-08-26 Tassilo Horn <tsdh@gnu.org>
18636
18637 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18638 lambda expression in order to have `describe-variable' display it.
18639
18640 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18641
18642 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18643 BUF can be optional. (Bug#15186)
18644
18645 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
18646
18647 * progmodes/flymake.el (flymake-get-real-file-name-function):
18648 Fix broken customization. (Bug#15184)
18649
18650 2013-08-25 Alan Mackenzie <acm@muc.de>
18651
18652 Improve indentation of bracelists defined by macros (without "=").
18653
18654 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18655 expansion begins with "{", regard it as bracelist when it doesn't
18656 contain a ";".
18657
18658 Parse C++ inher-intro when there's a template split over 2 lines.
18659
18660 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18661 rigorously the search for "class" etc. followed by ":".
18662
18663 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18664 random languages a regexp which never matches rather than nil.
18665
18666 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18667
18668 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18669 (c-awk-regexp-one-line-possibly-open-char-list-re)
18670 (c-awk-one-line-possibly-open-regexp-re)
18671 (c-awk-one-line-non-syn-ws*-re): Remove.
18672 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18673 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18674 (c-awk-space*-unclosed-regexp-/-re): New constants.
18675 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18676 aren't regexp delimiters.
18677
18678 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18679 handling for a rare situation in AWK Mode involving unterminated
18680 strings/regexps.
18681
18682 2013-08-23 Glenn Morris <rgm@gnu.org>
18683
18684 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18685
18686 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18687
18688 * files.el (create-file-buffer): If the result would begin with
18689 spaces, prepend a "|" instead of removing them. (Bug#15162)
18690
18691 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18692
18693 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18694 text-properties (bug#15155).
18695
18696 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18697 exist any more.
18698 (calc-keypad-redraw): Remove unused var `pad'.
18699 (calc-keypad-press): Remove unused var `menu'.
18700
18701 2013-08-23 Martin Rudalics <rudalics@gmx.at>
18702
18703 * window.el (display-buffer-pop-up-frame):
18704 Call pop-up-frame-function with BUFFER current so `make-frame' will
18705 use it as the new frame's buffer (Bug#15133).
18706
18707 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18708
18709 * calendar/timeclock.el: Minor cleanups.
18710 (timeclock-ask-before-exiting, timeclock-use-display-time):
18711 Use `symbol'.
18712 (timeclock-modeline-display): Define as alias before the
18713 actual definition.
18714 (timeclock-mode-line-display): Use define-minor-mode.
18715 (timeclock-day-list-template): Make it a function, add an argument.
18716 (timeclock-day-list-required, timeclock-day-list-length)
18717 (timeclock-day-list-debt, timeclock-day-list-span)
18718 (timeclock-day-list-break): Adjust calls accordingly.
18719
18720 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18721
18722 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18723 Use read--expression so that completion works again.
18724
18725 2013-08-21 Sam Steingold <sds@gnu.org>
18726
18727 Add rudimentary inferior shell interaction
18728 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18729 (sh-set-shell): Reset it.
18730 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18731 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18732
18733 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
18734
18735 * align.el: Use lexical-binding.
18736 (align-region): Simplify accordingly.
18737
18738 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
18739
18740 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18741
18742 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18743 `non-essential' up.
18744
18745 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
18746
18747 * net/tramp.el:
18748 * net/tramp-adb.el:
18749 * net/tramp-cmds.el:
18750 * net/tramp-ftp.el:
18751 * net/tramp-gvfs.el:
18752 * net/tramp-gw.el:
18753 * net/tramp-sh.el: Don't wrap external variable declarations by
18754 `eval-when-compile'.
18755
18756 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18757
18758 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18759 now that Emacs supports ImageMagick animations.
18760
18761 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
18762
18763 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18764 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18765
18766 2013-08-16 Martin Rudalics <rudalics@gmx.at>
18767
18768 * window.el (mouse-autoselect-window-select): Do autoselect when
18769 mouse pointer is on margin.
18770
18771 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
18772
18773 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
18774
18775 2013-08-16 Glenn Morris <rgm@gnu.org>
18776
18777 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18778 Handle "Remote Directory" response of some clients. (Bug#15058)
18779
18780 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18781 Tweak warning. (Bug#14926)
18782
18783 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18784 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
18785
18786 * image-mode.el (image-mode-map): Add menu items to reverse,
18787 increase, decrease, reset animation speed.
18788 (image--set-speed, image-increase-speed, image-decrease-speed)
18789 (image-reverse-speed, image-reset-speed): New functions.
18790 (image-mode-map): Add bindings for speed commands.
18791
18792 * image.el (image-animate-get-speed, image-animate-set-speed):
18793 New functions.
18794 (image-animate-timeout): Respect image :speed property.
18795
18796 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18797
18798 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18799 previous line (bug#15101).
18800 (debugger-eval-expression, debugger-record-expression):
18801 Use read--expression (bug#15102).
18802
18803 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
18804
18805 Remove byte compiler warnings, visible when compiling with
18806 `byte-compile-force-lexical-warnings' set to t.
18807
18808 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18809 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18810 (tramp-handle-unhandled-file-name-directory)
18811 (tramp-handle-file-notify-add-watch, tramp-action-login)
18812 (tramp-action-succeed, tramp-action-permission-denied)
18813 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18814 arguments with "_".
18815
18816 * net/tramp-adb.el (tramp-adb-parse-device-names)
18817 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18818 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18819 (tramp-adb-handle-file-truename): Remove unused arguments.
18820
18821 * net/tramp-cache.el (tramp-flush-directory-property)
18822 (tramp-flush-connection-property, tramp-list-connections)
18823 (tramp-parse-connection-properties): Prefix unused arguments with "_".
18824
18825 * net/tramp-compat.el (tramp-compat-make-temp-file):
18826 Rename FILENAME to F.
18827
18828 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18829 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18830 (tramp-zeroconf-parse-workstation-device-names)
18831 (tramp-zeroconf-parse-webdav-device-names)
18832 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18833
18834 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18835 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18836
18837 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18838 arguments.
18839 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18840 (tramp-sh-handle-insert-file-contents-literally)
18841 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18842 with "_".
18843 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18844 Remove unused variables.
18845
18846 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18847 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18848 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18849
18850 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18851 Make them a defconst.
18852 (tramp-uuencode-region): Remove unused variable.
18853
18854 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18855
18856 * frameset.el (frameset--prop-setter): New function.
18857 (frameset-prop): Add gv-setter declaration.
18858 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18859 parameter was already set in FILTERED. Doc fix.
18860 (frameset--record-minibuffer-relationships): Allow saving a
18861 minibufferless frame without its corresponding minibuffer frame.
18862 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18863 frame, if the frame id matches.
18864 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18865 frames before orphaned ones.
18866 (frameset-restore): Warn about orphaned windows, instead of error out.
18867
18868 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18869
18870 * window.el (window-make-atom): Don't overwrite parameter
18871 already present.
18872 (display-buffer-in-atom-window): Handle special case where we
18873 split an already atomic window.
18874 (window--major-non-side-window, display-buffer-in-side-window)
18875 (window--side-check): Ignore minibuffer window when walking
18876 window tree.
18877 (window-deletable-p): Return 'frame only if no other frame uses
18878 our minibuffer window.
18879 (record-window-buffer): Run buffer-list-update-hook.
18880 (split-window): Make sure window--check-frame won't destroy an
18881 existing atomic window in case the new window gets nested
18882 inside.
18883 (display-buffer-at-bottom): Ignore minibuffer window when
18884 walking window tree. Don't split a side window.
18885 (pop-to-buffer): Don't set-buffer here, the select-window call
18886 should do that.
18887 (mouse-autoselect-window-select): Autoselect only if we are in the
18888 text portion of the window.
18889
18890 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18891
18892 * net/shr.el (shr-parse-image-data): New function to grab both the
18893 data itself and the Content-Type.
18894 (shr-put-image): Use it.
18895
18896 * net/eww.el (eww-display-image): Ditto.
18897
18898 * image.el (image-content-type-suffixes): New variable.
18899
18900 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18901
18902 * progmodes/python.el (python-imenu--build-tree)
18903 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18904
18905 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
18906
18907 * simple.el (backward-word): Mention the optional argument.
18908
18909 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * frameset.el (frameset--make): Rename constructor from make-frameset.
18912 (frameset-p, frameset-valid-p): Don't autoload.
18913 (frameset-valid-p): Use normal accessors.
18914
18915 2013-08-13 Glenn Morris <rgm@gnu.org>
18916
18917 * progmodes/compile.el (compile-command): Tweak example in doc.
18918 * obsolete/scribe.el (scribe-mode):
18919 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
18920
18921 * mail/feedmail.el (feedmail-confirm-outgoing)
18922 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18923
18924 * cus-start.el (truncate-partial-width-windows): Fix type.
18925
18926 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18927
18928 * net/shr.el (shr-table-horizontal-line): Fix custom type.
18929
18930 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18931
18932 * emacs-lisp/timer.el (timer--time-setter): New function.
18933 (timer--time): Use it as gv-setter.
18934
18935 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18936 setter is not a symbol.
18937
18938 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
18939
18940 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18941 if sending fails. This makes debugging easier.
18942
18943 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
18944
18945 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18946 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18947 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18948
18949 2013-08-12 Eli Zaretskii <eliz@gnu.org>
18950
18951 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18952
18953 2013-08-12 Glenn Morris <rgm@gnu.org>
18954
18955 * format.el (format-annotate-function):
18956 Handle read-only text properties in the source. (Bug#14887)
18957
18958 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18959
18960 * net/eww.el (eww-display-html): Ignore coding system errors.
18961 One web site uses "utf-8lias" as the coding system.
18962
18963 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
18964
18965 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18966
18967 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
18968
18969 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18970 (tutorial--detailed-help): Remove unused local variables.
18971 (tutorial--save-tutorial-to): Use ignore-errors.
18972 (help-with-tutorial): Use looking-at-p.
18973
18974 * view.el (view-buffer-other-window, view-buffer-other-frame):
18975 Mark unused arguments.
18976
18977 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18978 (woman-select-symbol-fonts, woman, woman-find-file)
18979 (woman-insert-file-contents, woman-non-underline-faces):
18980 Use string-match-p.
18981 (woman1-unquote): Move declaration.
18982
18983 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18984 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
18985 argument. Remove unused local variable.
18986 (xml-parse-elem-type): Use string-match-p.
18987 (xml-substitute-numeric-entities): Use ignore-errors.
18988
18989 * calculator.el (calculator): Mark unused argument.
18990 (calculator-paste, calculator-quit, calculator-integer-p):
18991 Use ignore-errors.
18992 (calculator-string-to-number, calculator-decimal, calculator-exp)
18993 (calculator-op-or-exp): Use string-match-p.
18994
18995 * dired.el (dired-buffer-more-recently-used-p): Declare.
18996 (dired-insert-set-properties, dired-insert-old-subdirs):
18997 Use ignore-errors.
18998
18999 * dired-aux.el (dired-compress): Use ignore-errors.
19000 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19001 (dired-do-async-shell-command, dired-do-shell-command)
19002 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19003 (dired-insert-subdir-validate): Use string-match-p.
19004 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19005 (dired-add-entry): Use string-match-p, looking-at-p.
19006 (dired-insert-subdir-newpos): Remove unused local variable.
19007
19008 * filenotify.el (file-notify-callback): Remove unused local variable.
19009
19010 * filesets.el (filesets-error): Mark unused argument.
19011 (filesets-which-command-p, filesets-filter-dir-names)
19012 (filesets-directory-files, filesets-get-external-viewer)
19013 (filesets-ingroup-get-data): Use string-match-p.
19014
19015 * find-file.el (ff-other-file-name, ff-other-file-name)
19016 (ff-find-the-other-file, ff-cc-hh-converter):
19017 Remove unused local variables.
19018 (ff-get-file-name): Use string-match-p.
19019 (ff-all-dirs-under): Use ignore-errors.
19020
19021 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19022 (follow-select-if-visible): Remove unused local variable.
19023
19024 * forms.el (read-file-filter): Move declaration.
19025 (forms--make-format, forms--make-parser, forms-insert-record):
19026 Quote function with #'.
19027 (forms--update): Use string-match-p. Quote function with #'.
19028
19029 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19030 (help-make-xrefs): Use looking-at-p.
19031 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19032
19033 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19034 (ibuffer-confirm-operation-on): Use string-match-p.
19035
19036 * msb.el (msb-item-handler, msb-dired-item-handler):
19037 Mark unused arguments.
19038
19039 * ses.el (ses-decode-cell-symbol)
19040 (ses-kill-override): Remove unused local variable.
19041 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19042 (ses-load): Use ignore-errors, looking-at-p.
19043 (ses-jump-safe): Use ignore-errors.
19044 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19045
19046 * tabify.el (untabify, tabify): Mark unused arguments.
19047
19048 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19049 Mark unused argument.
19050 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19051 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19052
19053 * emacs-lisp/timer.el (timer--time): Define setter with
19054 gv-define-setter to avoid deprecation warning.
19055
19056 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19057 (*record-cmpl-statistics-p*): Remove (was commented out).
19058 (cmpl-statistics-block): Remove (body was commented out).
19059 All callers changed.
19060 (add-completions-from-buffer, load-completions-from-file):
19061 Remove unused variables.
19062
19063 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19064
19065 * filecache.el (file-cache-delete-file-list):
19066 Print message only when told so.
19067 (file-cache-files-matching): Use #' in mapconcat argument.
19068
19069 * ffap.el (ffap-url-at-point): Fix reference to variable
19070 thing-at-point-default-mail-uri-scheme.
19071
19072 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19073
19074 * subr.el (define-error): New function.
19075 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19076 error-file-not-found and define with define-error.
19077 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19078 and define with define-error.
19079 * userlock.el (file-locked, file-supersession):
19080 * simple.el (mark-inactive):
19081 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19082 * progmodes/ada-mode.el (ada-mode-errors):
19083 * play/life.el (life-extinct):
19084 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19085 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19086 * nxml/rng-util.el (rng-error):
19087 * nxml/rng-uri.el (rng-uri-error):
19088 * nxml/rng-match.el (rng-compile-error):
19089 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19090 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19091 * nxml/nxml-rap.el (nxml-scan-error):
19092 * nxml/nxml-outln.el (nxml-outline-error):
19093 * net/soap-client.el (soap-error):
19094 * net/gnutls.el (gnutls-error):
19095 * net/ange-ftp.el (ftp-error):
19096 * mpc.el (mpc-proc-error):
19097 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19098 (json-number-format, json-string-escape, json-string-format)
19099 (json-key-format, json-object-format):
19100 * jka-compr.el (compression-error):
19101 * international/quail.el (quail-error):
19102 * international/kkc.el (kkc-error):
19103 * emacs-lisp/ert.el (ert-test-failed):
19104 * calc/calc.el (calc-error, inexact-result, math-overflow)
19105 (math-underflow):
19106 * bookmark.el (bookmark-error-no-filename):
19107 * epg.el (epg-error): Define with define-error.
19108
19109 * time.el (display-time-event-handler)
19110 (display-time-next-load-average): Don't call sit-for since it seems
19111 unnecessary (bug#15045).
19112
19113 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19114 Use #' instead of ' to quote functions.
19115 (checkdoc-output-mode): Use setq-local.
19116 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19117 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19118 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19119 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19120 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19121 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19122 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19123 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19124
19125 * ido.el (ido-completion-help): Fix up compiler warning.
19126
19127 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19128
19129 * frameset.el (frameset-p): Add autoload cookie.
19130 (frameset--jump-to-register): New function, based on code moved from
19131 register.el.
19132 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19133
19134 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19135 (frameset-restore, frameset-save, frameset-session-filter-alist):
19136 Remove declarations.
19137 (register-alist): Doc fix.
19138 (frameset-to-register): Move to frameset.el.
19139 (jump-to-register, describe-register-1): Remove frameset-specific code.
19140
19141 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19142
19143 * allout-widgets.el (allout-widgets-pre-command-business)
19144 (allout-widgets-post-command-business)
19145 (allout-widgets-after-change-handler)
19146 (allout-decorate-item-and-context, allout-set-boundary-marker)
19147 (allout-body-modification-handler)
19148 (allout-graphics-modification-handler): Mark ignored arguments.
19149 (allout-widgets-post-command-business)
19150 (allout-widgets-exposure-change-processor)
19151 (allout-widgets-exposure-undo-processor)
19152 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19153 (allout-parse-item-at-point, allout-decorate-item-guides)
19154 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19155 * allout.el (epa-passphrase-callback-function): Declare.
19156 (allout-overlay-insert-in-front-handler)
19157 (allout-overlay-interior-modification-handler)
19158 (allout-isearch-end-handler, allout-chart-siblings)
19159 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19160 (allout-yank-processing, allout-process-exposed)
19161 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19162 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19163 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19164 (lisp-indent-defform): Mark ignored arguments.
19165 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19166 (calculate-lisp-indent): Remove unused variables.
19167 * international/characters.el (indian-2-column, arabic-2-column)
19168 (tibetan): Mark ignored arguments.
19169 (use-cjk-char-width-table): Mark ignored arguments.
19170 Remove unused variables.
19171 * international/fontset.el (build-default-fontset-data)
19172 (x-compose-font-name, create-fontset-from-fontset-spec):
19173 Mark ignored arguments.
19174 (fontset-plain-name): Remove unused variables.
19175 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19176 (keyboard-coding-system): Mark ignored arguments.
19177 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19178 * help.el (resize-temp-buffer-window):
19179 * window.el (display-buffer-in-major-side-window)
19180 (display-buffer-in-side-window, display-buffer-in-previous-window):
19181 Remove unused variables.
19182 * isearch.el (isearch-forward-symbol):
19183 * version.el (emacs-bzr-version-bzr):
19184 * international/mule-cmds.el (current-language-environment):
19185 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19186 (x-handle-display):
19187 * term/pc-win.el (x-list-fonts, x-display-planes)
19188 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19189 (x-server-version, x-display-screens, x-display-mm-height)
19190 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19191 (x-selection-owner-p, x-own-selection-internal)
19192 (x-disown-selection-internal, x-get-selection-internal)
19193 (msdos-initialize-window-system):
19194 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19195 * term/x-win.el (x-handle-no-bitmap-icon):
19196 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19197 (vc-default-find-file-hook, vc-default-extra-menu):
19198 Mark ignored arguments.
19199
19200 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19201
19202 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19203 break-condition in the context of the debugged code (bug#12685).
19204
19205 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19206
19207 * comint.el:
19208 Do not use an overlay to highlight the last prompt. (Bug#14744)
19209 (comint-mode): Make comint-last-prompt buffer local.
19210 (comint-last-prompt): New variable.
19211 (comint-last-prompt-overlay): Remove. Superseded by
19212 comint-last-prompt.
19213 (comint-snapshot-last-prompt, comint-output-filter):
19214 Use comint-last-prompt.
19215
19216 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19217
19218 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19219 (frameset-save): Check validity of the resulting frameset.
19220
19221 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19222
19223 * ido.el (ido-record-command): Add doc string.
19224
19225 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19226
19227 * frameset.el (frameset): Do not disable creation of the default
19228 frameset-p predicate. Doc fix.
19229 (frameset-valid-p): New function, copied from the old predicate-p.
19230 Add additional checks.
19231 (frameset-restore): Check with frameset-valid-p.
19232 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19233 (frameset-name, frameset-description, frameset-properties)
19234 (frameset-states): Add docstring.
19235 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19236 (frameset-filter-alist): Doc fixes.
19237
19238 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19239
19240 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19241
19242 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19243
19244 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19245 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19246 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19247 (byte-compile-normal-call): Remove obsolescence check.
19248
19249 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19250
19251 * frameset.el (frameset-restore): Doc fix.
19252
19253 * register.el (frameset-frame-id, frameset-frame-with-id)
19254 (frameset-p, frameset-restore, frameset-save): Declare.
19255 (register-alist): Document framesets.
19256 (frameset-session-filter-alist): Declare.
19257 (frameset-to-register): New function.
19258 (jump-to-register): Implement jumping to framesets. Doc fix.
19259 (describe-register-1): Describe framesets.
19260
19261 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19262
19263 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19264
19265 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19266 Use lexical-binding.
19267
19268 * frameset.el (frameset): Use type vector, not list (incompatible
19269 change). Do not declare a new constructor, use the default one.
19270 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19271 `name' and `description', respectively, and add read-only slot
19272 `timestamp'. Doc fixes.
19273 (frameset-copy, frameset-persistent-filter-alist)
19274 (frameset-filter-alist, frameset-switch-to-gui-p)
19275 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19276 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19277 (frameset-filter-iconified, frameset-keep-original-display-p):
19278 Doc fixes.
19279 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19280 Rename from frameset-filter-(save|restore)-param. All callers changed.
19281 Doc fix.
19282 (frameset-p): Adapt to change to vector and be more thorough.
19283 Change arg name to OBJECT. Doc fix.
19284 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19285 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19286 All callers changed.
19287 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19288 All callers changed.
19289 (frameset--record-minibuffer-relationships): Rename from
19290 frameset--process-minibuffer-frames. All callers changed.
19291 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19292 Use new default constructor (again). Doc fix.
19293 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19294 All callers changed.
19295 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19296 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19297 Doc fix.
19298 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19299 PARAMETERS and WINDOW-STATE, respectively.
19300 (frameset-restore): Add new keyword argument PREDICATE.
19301 Reset frameset--target-display to nil. Doc fix.
19302
19303 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19304
19305 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19306 (bat-mode): Use it.
19307 (bat-mode-syntax-table): Mark \n as end-of-comment.
19308 (bat-font-lock-keywords): Remove comment rule.
19309
19310 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19311 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19312
19313 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19314 (byte-compile-callargs-warn): Use `push'.
19315 (byte-compile-arglist-warn): Ignore higher-order "calls".
19316 (byte-compile-file-form-autoload): Use `pcase'.
19317 (byte-compile-function-form): If quoting a symbol, check that it exists.
19318
19319 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19320
19321 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19322 and add a few popular commands found in batch files.
19323 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19324 (dos-mode): Doc fixes.
19325
19326 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19327
19328 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19329 (dos-mode): Use setq-local. Add space after "rem".
19330 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19331 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19332
19333 2013-08-07 Arni Magnusson <arnima@hafro.is>
19334
19335 * progmodes/dos.el: New file.
19336 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19337 dos-mode.
19338
19339 2013-08-06 Glenn Morris <rgm@gnu.org>
19340
19341 * calendar/calendar.el: Add new faces, and day-header-array.
19342 (calendar-weekday-header, calendar-weekend-header)
19343 (calendar-month-header): New faces.
19344 (calendar-day-header-construct): New function.
19345 (calendar-day-header-width): Also :set calendar-day-header-array.
19346 (calendar-american-month-header, calendar-european-month-header)
19347 (calendar-iso-month-header): Use calendar- faces.
19348 (calendar-generate-month):
19349 Use calendar-day-header-array for day headers; apply faces to them.
19350 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19351 (calendar-abbrev-construct): Add optional maxlen argument.
19352 (calendar-day-name-array): Doc fix.
19353 (calendar-day-name-array, calendar-abbrev-length)
19354 (calendar-day-abbrev-array):
19355 Also :set calendar-day-header-array, and maybe redraw.
19356 (calendar-day-header-array): New option. (Bug#15007)
19357 (calendar-font-lock-keywords): Set to nil and make obsolete.
19358 (calendar-day-name): Add option to use header array.
19359
19360 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19361
19362 * net/shr.el (shr-render-td): Remove debugging.
19363 (shr-render-td): Make width computation consistent by defaulting
19364 all zero-width columns to 10 characters. This may not be optimal,
19365 but it's at least consistent.
19366 (shr-make-table-1): Redo last change to fix the real problem in
19367 colspan handling.
19368
19369 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19370
19371 * files.el (cache-long-line-scans):
19372 Make obsolete alias to `cache-long-scans'.
19373
19374 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19375
19376 * frameset.el (frameset, frameset-filter-alist)
19377 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19378 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19379 (frameset-compute-pos): Rename from frameset--compute-pos,
19380 and add docstring.
19381 (frameset-move-onscreen): Use frameset-compute-pos.
19382 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19383
19384 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19385 Fix typos in docstrings.
19386
19387 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19388
19389 * frame.el (get-other-frame): Tiny cleanup.
19390
19391 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19392
19393 * vc/vc.el (vc-default-ignore-completion-table):
19394 Silence byte-compiler warning.
19395
19396 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19397 slot, which can indeed be nil.
19398 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19399 Move entry for `left' from persistent to live filter alist.
19400 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19401 Doc fixes.
19402 (frameset-filter-params): When restoring a frame, copy items added to
19403 `filtered', to avoid unwittingly modifying the original parameters.
19404 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19405 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19406
19407 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19408 to use looking-at-p instead of looking-at. (Bug#15028)
19409
19410 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 Revert introduction of isearch-filter-predicates (bug#14714).
19413 Rely on add-function instead.
19414 * isearch.el (isearch-filter-predicates): Rename it back to
19415 isearch-filter-predicate.
19416 (isearch-message-prefix): Use advice-function-mapc and advice
19417 properties to get the isearch-message-prefix.
19418 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19419 instead of run-hook-with-args-until-failure.
19420 (isearch-filter-visible): Not obsolete any more.
19421 * loadup.el: Preload nadvice.
19422 * replace.el (perform-replace): Revert to funcall
19423 instead of run-hook-with-args-until-failure.
19424 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19425 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19426 dired-isearch-filenames-toggle; make it into a proper minor mode.
19427 Use add/remove-function.
19428 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19429 Call the minor-mode rather than add/remove-hook.
19430 (dired-isearch-filter-filenames):
19431 Remove isearch-message-prefix property.
19432 * info.el (Info--search-loop): New function, extracted from Info-search.
19433 Funcall isearch-filter-predicate instead of
19434 run-hook-with-args-until-failure isearch-filter-predicates.
19435 (Info-search): Use it.
19436 (Info-mode): Use isearch-filter-predicate instead of
19437 isearch-filter-predicates.
19438
19439 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19440
19441 Do not call to `selected-window' where it is assumed by default.
19442 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19443 `window-hscroll', `window-width', `window-height', `window-buffer',
19444 `window-frame', `window-start', `window-point', `next-window'
19445 and `window-display-table'.
19446 * abbrev.el (abbrev--default-expand):
19447 * bs.el (bs--show-with-configuration):
19448 * buff-menu.el (Buffer-menu-mouse-select):
19449 * calc/calc.el (calc):
19450 * calendar/calendar.el (calendar-generate-window):
19451 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19452 (diary-make-entry):
19453 * comint.el (send-invisible, comint-dynamic-complete-filename)
19454 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19455 * completion.el (complete):
19456 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19457 * disp-table.el (describe-current-display-table):
19458 * doc-view.el (doc-view-insert-image):
19459 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19460 * ehelp.el (with-electric-help):
19461 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19462 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19463 * emacs-lisp/helper.el (Helper-help-scroller):
19464 * emulation/cua-base.el (cua--post-command-handler-1):
19465 * eshell/esh-mode.el (eshell-output-filter):
19466 * ffap.el (ffap-gnus-wrapper):
19467 * help-macro.el (make-help-screen):
19468 * hilit-chg.el (highlight-compare-buffers):
19469 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19470 * hl-line.el (global-hl-line-highlight):
19471 * icomplete.el (icomplete-simple-completing-p):
19472 * isearch.el (isearch-done):
19473 * jit-lock.el (jit-lock-stealth-fontify):
19474 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19475 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19476 * mpc.el (mpc-tagbrowser, mpc):
19477 * net/rcirc.el (rcirc-any-buffer):
19478 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19479 * play/landmark.el (landmark-max-width, landmark-max-height):
19480 * play/zone.el (zone):
19481 * progmodes/compile.el (compilation-goto-locus):
19482 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19483 * progmodes/etags.el (find-tag-other-window):
19484 * progmodes/fortran.el (fortran-column-ruler):
19485 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19486 * progmodes/verilog-mode.el (verilog-point-text):
19487 * reposition.el (reposition-window):
19488 * rot13.el (toggle-rot13-mode):
19489 * server.el (server-switch-buffer):
19490 * shell.el (shell-dynamic-complete-command)
19491 (shell-dynamic-complete-environment-variable):
19492 * simple.el (insert-buffer, set-selective-display)
19493 (delete-completion-window):
19494 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19495 (speedbar-recenter):
19496 * startup.el (fancy-splash-head):
19497 * textmodes/ispell.el (ispell-command-loop):
19498 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19499 * tutorial.el (help-with-tutorial):
19500 * vc/add-log.el (add-change-log-entry):
19501 * vc/compare-w.el (compare-windows):
19502 * vc/ediff-help.el (ediff-indent-help-message):
19503 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19504 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19505 (ediff-setup-control-frame):
19506 * vc/emerge.el (emerge-position-region):
19507 * vc/pcvs-util.el (cvs-bury-buffer):
19508 * window.el (walk-windows, mouse-autoselect-window-select):
19509 * winner.el (winner-set-conf, winner-undo): Related users changed.
19510
19511 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19512
19513 * frameset.el (frameset--set-id): Doc fix.
19514 (frameset-frame-id, frameset-frame-id-equal-p)
19515 (frameset-locate-frame-id): New functions.
19516 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19517 (frameset-restore): Use them.
19518
19519 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19520
19521 Do not call to `selected-frame' where it is assumed by default.
19522 Affected functions are `raise-frame', `redraw-frame',
19523 `frame-first-window', `frame-terminal' and `delete-frame'.
19524 * calendar/appt.el (appt-disp-window):
19525 * epg.el (epg-wait-for-completion):
19526 * follow.el (follow-delete-other-windows-and-split)
19527 (follow-avoid-tail-recenter):
19528 * international/mule.el (set-terminal-coding-system):
19529 * mail/rmail.el (rmail-mail-return):
19530 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19531 * progmodes/f90.el (f90-add-imenu-menu):
19532 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19533 * server.el (server-switch-buffer):
19534 * simple.el (delete-completion-window):
19535 * talk.el (talk):
19536 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19537 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19538 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19539 * vc/ediff.el (ediff-documentation): Related users changed.
19540 * frame.el (selected-terminal): Remove the leftover.
19541
19542 2013-08-05 Glenn Morris <rgm@gnu.org>
19543
19544 * calendar/calendar.el (calendar-generate-month):
19545 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19546 (calendar-generate-month, calendar-font-lock-keywords):
19547 Fix for calendar-day-header-width > length of any day name.
19548
19549 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19550
19551 * desktop.el (desktop-clear): Use new name of sort predicate.
19552
19553 * frameset.el (frameset): Add docstring. Move :version property to its
19554 own `version' slot.
19555 (frameset-copy): Rename from copy-frameset.
19556 (frameset-p): Check more thoroughly.
19557 (frameset-prop): Do not check for :version, which is no longer a prop.
19558 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19559 Use new :never value instead of t.
19560 (frameset-filter-alist): Expand and clarify docstring.
19561 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19562 (frameset-filter-minibuffer, frameset-filter-save-param)
19563 (frameset-filter-restore-param, frameset-filter-iconified):
19564 Add pointer to docstring of frameset-filter-alist.
19565 (frameset-filter-params): Rename filter values to be more meaningful:
19566 :never instead of t, and reverse the meanings of :save and :restore.
19567 (frameset--process-minibuffer-frames): Clarify error message.
19568 (frameset-save): Avoid unnecessary and confusing call to framep.
19569 Use new BOA constructor for framesets.
19570 (frameset--reuse-list): Doc fix.
19571 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19572 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19573 (frameset-minibufferless-first-p): Doc fix.
19574 Rename from frameset-sort-frames-for-deletion.
19575 (frameset-restore): Doc fixes. Use new function names.
19576 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19577
19578 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19579
19580 * desktop.el (desktop-restore-forces-onscreen)
19581 (desktop-restore-reuses-frames): Document :keyword constant values.
19582 (desktop-filter-parameters-alist): Remove, now identical to
19583 frameset-filter-alist.
19584 (desktop--filter-tty*): Remove, moved to frameset.el.
19585 (desktop-save-frameset, desktop-restore-frameset):
19586 Do not pass :filters argument.
19587
19588 * frameset.el (frameset-live-filter-alist)
19589 (frameset-persistent-filter-alist): New variables.
19590 (frameset-filter-alist): Use them. Add autoload cookie.
19591 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19592 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19593 `frameset--id' (it's supposed to be internal to frameset.el).
19594 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19595 (frameset--initial-params): New function.
19596 (frameset--get-frame): Use it. Doc fix.
19597 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19598 Accept :all, not 'all.
19599 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19600 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19601 with fbound symbols. Fix frame id matching, and remove matching ids if
19602 the frame being restored is deleted. Obey :delete.
19603
19604 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19605
19606 * subr.el (macrop): New function.
19607 (text-clone--maintaining): New var.
19608 (text-clone--maintain): Rename from text-clone-maintain. Use it
19609 instead of inhibit-modification-hooks.
19610
19611 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19612 a proxy, so as handle autoloads and redefinitions of the target.
19613 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19614
19615 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19616 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19617 (pcase--mutually-exclusive-p): New function.
19618 (pcase--split-consp): Use it.
19619 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
19620 mutually exclusive with the current predicate.
19621
19622 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19623 (edebug-macrop): Remove. Use `macrop' instead.
19624 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
19625 (ad-macro-p):
19626 * eshell/esh-cmd.el (eshell-macrop):
19627 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
19628
19629 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19630
19631 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19632 (advice-mapc): New function, using it.
19633 (advice-function-member-p): New function.
19634 (advice--normalize): Store the cdr in advice--saved-rewrite since
19635 that's the part that will be changed.
19636 (advice--symbol-function): New function.
19637 (advice-remove): Handle removal before the function is defined.
19638 Adjust to new advice--saved-rewrite.
19639 (advice-member-p): Use advice-function-member-p and
19640 advice--symbol-function.
19641
19642 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19643
19644 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19645 (frameset-filter-minibuffer): Doc fix.
19646 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
19647 (frameset--set-id, frameset--process-minibuffer-frames)
19648 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19649 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19650
19651 * desktop.el (desktop-clear): Only delete frames when called
19652 interactively and desktop-restore-frames is non-nil. Doc fix.
19653 (desktop-read): Set desktop-saved-frameset to nil.
19654
19655 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
19656
19657 * vc/vc.el (vc-ignore): Rewrite.
19658 (vc-default-ignore-completion-table, vc--read-lines)
19659 (vc--add-line, vc--remove-regexp): New functions.
19660
19661 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19662 (vc-svn-ignore-completion-table): New function.
19663
19664 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19665 (vc-hg-ignore-completion-table)
19666 (vc-hg-find-ignore-file): New functions.
19667
19668 * vc/vc-git.el (vc-git-ignore): Rewrite.
19669 (vc-git-ignore-completion-table)
19670 (vc-git-find-ignore-file): New functions.
19671
19672 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19673
19674 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19675 (vc-bzr-ignore-completion-table)
19676 (vc-bzr-find-ignore-file): New functions.
19677
19678 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
19679
19680 * frameset.el (frameset-prop): New function and setter.
19681 (frameset-save): Do not modify frame list passed by the caller.
19682
19683 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19686
19687 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
19688
19689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19690 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19691
19692 * custom.el (custom-initialize-default, custom-initialize-set)
19693 (custom-initialize-reset, custom-initialize-changed): Affect the
19694 toplevel-default-value (bug#6275, bug#14586).
19695 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19696 for bug#6275.
19697
19698 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19699
19700 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19701 Add cl-def* expressions.
19702
19703 * frameset.el (frameset-filter-params): Fix order of arguments.
19704
19705 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19706
19707 Move code related to saving frames to frameset.el.
19708 * desktop.el: Require frameset.
19709 (desktop-restore-frames): Doc fix.
19710 (desktop-restore-reuses-frames): Rename from
19711 desktop-restoring-reuses-frames.
19712 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19713 (desktop-clear): Clear frames too.
19714 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19715 (desktop--filter-tty*, desktop-save, desktop-read):
19716 Use frameset functions.
19717 (desktop-before-saving-frames-functions, desktop--filter-*-color)
19718 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19719 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19720 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19721 (desktop--process-minibuffer-frames, desktop-save-frames)
19722 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19723 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19724 (desktop--sort-states, desktop-restoring-frames-p)
19725 (desktop-restore-frames): Remove. Most code moved to frameset.el.
19726 (desktop-restoring-frameset-p, desktop-restore-frameset)
19727 (desktop--check-dont-save, desktop-save-frameset): New functions.
19728 (desktop--app-id): New constant.
19729 (desktop-first-buffer, desktop-buffer-ok-count)
19730 (desktop-buffer-fail-count): Move before first use.
19731 * frameset.el: New file.
19732
19733 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19734
19735 * files.el: Use lexical-binding.
19736 (dir-locals-read-from-file): Remove unused `err' variable.
19737 (hack-dir-local-variables--warned-coding): New var.
19738 (hack-dir-local-variables): Use it to avoid repeated warnings.
19739 (make-backup-file-name--default-function): New function.
19740 (make-backup-file-name-function): Use it as default.
19741 (buffer-stale--default-function): New function.
19742 (buffer-stale-function): Use it as default.
19743 (revert-buffer-insert-file-contents--default-function): New function.
19744 (revert-buffer-insert-file-contents-function): Use it as default.
19745 (insert-directory): Avoid add-to-list.
19746
19747 * autorevert.el (auto-revert-handler): Simplify.
19748 Use buffer-stale--default-function.
19749
19750 2013-08-01 Tassilo Horn <tsdh@gnu.org>
19751
19752 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19753
19754 * whitespace.el (whitespace-ensure-local-variables): New function.
19755 (whitespace-cleanup-region): Call it.
19756 (whitespace-turn-on): Call it.
19757
19758 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
19759
19760 Complete file name handlers.
19761
19762 * net/tramp.el (tramp-handle-set-visited-file-modtime)
19763 (tramp-handle-verify-visited-file-modtime)
19764 (tramp-handle-file-notify-rm-watch): New functions.
19765 (tramp-call-process): Do not bind `default-directory'.
19766
19767 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19768 Order alphabetically.
19769 <access-file, add-name-to-file, dired-call-process>:
19770 <dired-compress-file, file-acl, file-notify-rm-watch>:
19771 <file-ownership-preserved-p, file-selinux-context>:
19772 <make-directory-internal, make-symbolic-link, set-file-acl>:
19773 <set-file-selinux-context, set-visited-file-modtime>:
19774 <verify-visited-file-modtime>: Add handler.
19775 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19776
19777 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19778 <file-notify-add-watch, file-notify-rm-watch>:
19779 <set-file-times, set-visited-file-modtime>:
19780 <verify-visited-file-modtime>: Add handler.
19781 (with-tramp-gvfs-error-message)
19782 (tramp-gvfs-handle-set-visited-file-modtime)
19783 (tramp-gvfs-fuse-file-name): Remove.
19784 (tramp-gvfs-handle-file-notify-add-watch)
19785 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19786 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19787
19788 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19789 Order alphabetically.
19790 <file-notify-rm-watch>: Use default Tramp handler.
19791 <executable-find>: Remove private handler.
19792 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19793 `default-directory'.
19794 (tramp-sh-handle-executable-find)
19795 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19796 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19797 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19798 Do not use `format' in `tramp-message'.
19799
19800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19801 <file-notify-rm-watch, set-visited-file-modtime>:
19802 <verify-visited-file-modtime>: Add handler.
19803 (tramp-smb-call-winexe): Do not bind `default-directory'.
19804
19805 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
19806
19807 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19808
19809 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
19810
19811 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19812 use it.
19813 (log-view-diff-changeset): Same.
19814 (log-view-diff-common): Call backend command `previous-revision'
19815 to find out the previous revision, in both cases. Swap the
19816 variables `to' and `fr', so that `fr' usually refers to the
19817 earlier revision (Bug#14989).
19818
19819 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
19820
19821 * ibuf-ext.el (ibuffer-filter-by-filename):
19822 Make it work with dired buffers too.
19823
19824 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
19825
19826 * emacs-lisp/re-builder.el (reb-color-display-p):
19827 * files.el (save-buffers-kill-terminal):
19828 * net/browse-url.el (browse-url):
19829 * server.el (server-save-buffers-kill-terminal):
19830 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19831 Prefer nil to selected-frame for the first arg of frame-parameter.
19832
19833 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
19834
19835 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19836
19837 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
19838
19839 * minibuffer.el (completion--twq-all): Try and preserve each
19840 completion's case choice (bug#14907).
19841
19842 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19843
19844 * net/network-stream.el (open-network-stream): Mention the new
19845 :nogreeting parameter.
19846 (network-stream-open-starttls): Use the :nogreeting parameter
19847 (bug#14938).
19848
19849 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19850
19851 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19852 more natural than popping.
19853
19854 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19855 (shr-urlify): Highlight under mouse.
19856
19857 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19858
19859 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19860
19861 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19862
19863 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19864 buffer for output.
19865
19866 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19867 point-min==1. Fix search string. Fix parentheses missing.
19868
19869 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19870 assume point-min==1. Fix search string. Fix parentheses missing.
19871
19872 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19873
19874 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19875 buffer for output.
19876
19877 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19878
19879 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19880 initial frame is minibuffer-less. (Bug#14841)
19881
19882 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19883
19884 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19885 option.
19886
19887 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19888 (tramp-maybe-open-connection): Use it.
19889
19890 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19891
19892 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19893 minimal set of parameters passed when creating a frame, because
19894 the minibuffer status of a frame cannot be changed later.
19895
19896 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19897
19898 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19899 replace-regexp-in-string and inadvertent omissions in previous change.
19900 (todo-filter-items): Ensure only file names are comma-separated in
19901 name of filtered items buffer.
19902
19903 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * desktop.el: Optionally force offscreen frames back onscreen.
19906 (desktop-restoring-reuses-frames): New option.
19907 (desktop--compute-pos, desktop--move-onscreen): New functions.
19908 (desktop--make-frame): Use desktop--move-onscreen.
19909
19910 2013-07-27 Alan Mackenzie <acm@muc.de>
19911
19912 Fontify a Java generic method as a function.
19913 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19914 value to t.
19915
19916 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
19917
19918 * calendar/todo-mode.el: Add command to rename todo files.
19919 (todo-rename-file): New command.
19920 (todo-key-bindings-t): Add key binding for it. Change the
19921 bindings of todo-filter-regexp-items(-multifile) to use `x'
19922 instead of `r', since the latter is better suited to the new
19923 renaming command.
19924
19925 2013-07-27 Alan Mackenzie <acm@muc.de>
19926
19927 Make Java try-with-resources statement parse properly.
19928 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19929 (c-block-stmt-1-2-key): New language constants/variables.
19930 * progmodes/cc-engine.el (c-beginning-of-statement-1)
19931 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19932 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19933 with c-block-stmt-1-2-key.
19934
19935 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
19936
19937 * desktop.el (desktop--make-frame): Apply most frame parameters after
19938 creating the frame to force (partially or totally) offscreen frames to
19939 be restored as such.
19940
19941 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
19942
19943 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19944 (Bug#14948)
19945
19946 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19947
19948 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19949 `base' arg of backtrace-frame.
19950
19951 2013-07-26 Eli Zaretskii <eliz@gnu.org>
19952
19953 * simple.el (list-processes): Doc fix.
19954
19955 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19956
19957 * desktop.el (desktop--select-frame):
19958 Try harder to reuse existing frames.
19959
19960 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19961
19962 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19963 (edebug-eval): Use backtrace-eval.
19964 (edebug--display, edebug--recursive-edit): Don't let-bind the
19965 edebug-outer-* vars that keep track of variables we locally let-bind.
19966 (edebug-outside-excursion): Don't restore outside values of locally
19967 let-bound vars.
19968 (edebug--display): Use user-error.
19969 (cl-lexical-debug, cl-debug-env): Remove.
19970
19971 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19972
19973 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19974 are restored to be sure that they are visible before deleting any
19975 remaining ones.
19976
19977 2013-07-26 Matthias Meulien <orontee@gmail.com>
19978
19979 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19980 vc-print-root-log. (Bug#14948)
19981
19982 2013-07-26 Richard Stallman <rms@gnu.org>
19983
19984 Add aliases for encrypting mail.
19985 * epa.el (epa-mail-aliases): New option.
19986 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19987 Bind inhibit-read-only so read-only text doesn't ruin everything.
19988 (epa-mail-default-recipients): New subroutine broken out.
19989 Handle epa-mail-aliases.
19990
19991 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19992
19993 Add support for lexical variables to the debugger's `e' command.
19994 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
19995 vars, except for debugger-outer-match-data.
19996 (debugger-frame-number): Move check for "on a function call" from
19997 callers into it. Add `skip-base' argument.
19998 (debugger-frame, debugger-frame-clear): Simplify accordingly.
19999 (debugger-env-macro): Only reset the state stored in non-variables,
20000 i.e. current-buffer and match-data.
20001 (debugger-eval-expression): Rewrite using backtrace-eval.
20002 * subr.el (internal--called-interactively-p--get-frame): Remove.
20003 (called-interactively-p):
20004 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20005 `base' arg of backtrace-frame instead.
20006
20007 2013-07-26 Glenn Morris <rgm@gnu.org>
20008
20009 * align.el (align-regexp): Doc fix. (Bug#14857)
20010 (align-region): Explicit error if subexpression missing/does not match.
20011
20012 * simple.el (global-visual-line-mode):
20013 Do not duplicate the mode lighter. (Bug#14858)
20014
20015 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20016
20017 * window.el (display-buffer): In display-buffer bind
20018 split-window-keep-point to t, bug#14829.
20019
20020 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20021
20022 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20023 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20024 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20025 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20026 Change accordingly.
20027 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20028 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20029
20030 2013-07-25 Glenn Morris <rgm@gnu.org>
20031
20032 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20033
20034 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20035
20036 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20037 parameter to modify-frame-parameters if the value has not changed;
20038 this is a workaround for bug#14949.
20039 (desktop--make-frame): On cl-delete-if call, check parameter name,
20040 not full parameter.
20041
20042 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20043
20044 * vc/vc.el (vc-ignore): New function.
20045
20046 * vc/vc-svn.el (vc-svn-ignore): New function.
20047
20048 * vc/vc-hg.el (vc-hg-ignore): New function.
20049
20050 * vc/vc-git.el (vc-git-ignore): New function.
20051
20052 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20053 (vc-dir-ignore): New function.
20054
20055 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20056 (cvs-append-to-ignore): Move here from pcvs.el.
20057
20058 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20059
20060 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20061
20062 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20063
20064 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20065 (desktop-restore-frames): Warn when deleting an existing frame failed.
20066
20067 2013-07-24 Glenn Morris <rgm@gnu.org>
20068
20069 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20070
20071 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20072
20073 * filenotify.el (file-notify-supported-p):
20074 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20075 Remove functions.
20076
20077 * autorevert.el (auto-revert-use-notify)
20078 (auto-revert-notify-add-watch):
20079 * net/tramp.el (tramp-file-name-for-operation):
20080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20082 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20083 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20084 Remove `file-notify-supported-p' entry.
20085
20086 2013-07-24 Glenn Morris <rgm@gnu.org>
20087
20088 * printing.el: Replace all uses of deleted ps-windows-system,
20089 ps-lp-system, ps-flatten-list with lpr- versions.
20090
20091 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20092
20093 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20094 checked with memq (bug#14935).
20095
20096 * files.el (revert-buffer-function): Use a non-nil default.
20097 (revert-buffer-preserve-modes): Declare var to
20098 provide access to the `preserve-modes' argument.
20099 (revert-buffer): Let-bind it.
20100 (revert-buffer--default): New function, extracted from revert-buffer.
20101
20102 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20103
20104 * lpr.el: Signal print errors more prominently.
20105 (print-region-function): Don't default to nil.
20106 (lpr-print-region): New function, extracted from print-region-1.
20107 Check lpr's return value and signal an error in case of problem.
20108 (print-region-1): Use it.
20109 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20110 versions instead.
20111 (ps-printer-name): Default to nil.
20112 (ps-printer-name-option): Default to lpr-printer-switch.
20113 (ps-print-region-function): Don't default to nil.
20114 (ps-postscript-code-directory): Simplify default.
20115 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20116 (ps-string-list, ps-eval-switch, ps-flatten-list)
20117 (ps-flatten-list-1): Remove.
20118 (ps-multibyte-buffer): Avoid setq.
20119 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20120 (print-region-function, ps-print-region-function): Don't set them here.
20121
20122 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20123
20124 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20125 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20126 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20127 (ido-decorations): Doc fix.
20128
20129 * ansi-color.el: Fix old URL.
20130
20131 2013-07-23 Michael R. Mauger <michael@mauger.com>
20132
20133 * progmodes/sql.el: Version 3.3
20134 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20135 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20136 (sql-interactive-remove-continuation-prompt): Rewrite, use
20137 functions above. Fix continuation prompt and complete output line
20138 handling.
20139 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20140 redirected output buffer.
20141 (sql-mode): Restore deleted code (Bug#13591).
20142
20143 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20144
20145 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20146
20147 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20148
20149 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20150
20151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20154
20155 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20156
20157 * desktop.el (desktop-clear): Simplify; remove useless checks
20158 against invalid buffer names.
20159 (desktop-list*): Use cl-list*.
20160 (desktop-buffer-info, desktop-create-buffer): Simplify.
20161
20162 2013-07-23 Leo Liu <sdl.web@gmail.com>
20163
20164 * bookmark.el (bookmark-make-record): Restore NAME as a default
20165 value. (Bug#14933)
20166
20167 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20168
20169 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20170 extracted from autoload--insert-text.
20171 (autoload--insert-text): Remove.
20172 (autoload--print-cookie-text): New function, extracted from
20173 autoload--insert-cookie-text.
20174 (autoload--insert-cookie-text): Remove.
20175 (autoload-generate-file-autoloads): Adjust calls accordingly.
20176
20177 * winner.el (winner-hook-installed-p): Remove.
20178 (winner-mode): Simplify accordingly.
20179
20180 * subr.el (add-to-list): Fix compiler-macro when `append' is
20181 not constant. Don't use `cl-member' for the base case.
20182
20183 * progmodes/subword.el: Fix boundary case (bug#13758).
20184 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20185 own group.
20186 (subword-backward-regexp): Make it a constant.
20187 (subword-forward-internal): Don't treat a trailing capital as the
20188 beginning of a word.
20189
20190 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20191
20192 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20193 global value of tabulated-list-revert-hook (bug#14930).
20194
20195 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20196
20197 * desktop.el: Require 'cl-lib.
20198 (desktop-before-saving-frames-functions): New hook.
20199 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20200 for frames being saved. Rename from desktop--save-minibuffer-frames.
20201 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20202 Do not save frames with non-nil `desktop-dont-save' parameter.
20203 Filter out deleted frames.
20204 (desktop--find-frame): Use cl-find-if.
20205 (desktop--select-frame): Use cl-(first|second|third) to access values
20206 of desktop-mini.
20207 (desktop--make-frame): Use cl-delete-if.
20208 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20209 (desktop-restore-frames): Use cl-(first|second|third) to access values
20210 of desktop-mini. Look for visible frame at the end, not while
20211 restoring frames.
20212
20213 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20214 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20215 Use string-match-p, looking-at-p (bug#14927).
20216
20217 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20218
20219 * desktop.el (desktop-saved-frame-states):
20220 Rename from desktop--saved-states; all users changed.
20221 (desktop-save-frames): Rename from desktop--save-frames.
20222 Do not save state to desktop file.
20223 (desktop-save): Save desktop-saved-frame-states to desktop file
20224 and reset to nil.
20225 (desktop-restoring-frames-p): New function.
20226 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20227 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20228 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20229
20230 * desktop.el: Correctly restore iconified frames.
20231 (desktop--filter-iconified-position): New function.
20232 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20233
20234 2013-07-20 Glenn Morris <rgm@gnu.org>
20235
20236 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20237 Let `message' do the formatting.
20238 (def-gdb-preempt-display-buffer): Add explicit format.
20239
20240 * image-dired.el (image-dired-track-original-file):
20241 Use with-current-buffer.
20242 (image-dired-track-thumbnail): Use with-current-buffer.
20243 Avoid changing point of wrong window.
20244
20245 * image-dired.el (image-dired-track-original-file):
20246 Avoid changing point of wrong window. (Bug#14909)
20247
20248 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20249
20250 * progmodes/gdb-mi.el (gdb-done-or-error):
20251 Guard against "%" in gdb output. (Bug#14127)
20252
20253 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20254
20255 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20256 (Bug#14826)
20257
20258 * international/mule.el (coding-system-iso-2022-flags): Fix last
20259 change.
20260
20261 2013-07-20 Kenichi Handa <handa@gnu.org>
20262
20263 * international/mule.el (coding-system-iso-2022-flags):
20264 Add `8-bit-level-4'. (Bug#8522)
20265
20266 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20267
20268 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20269 (bug#14815).
20270
20271 * net/eww.el (eww-process-text-input): Allow inputting when the
20272 point is at the start of the line, as the properties aren't
20273 front-sticky.
20274
20275 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20276 degenerate widths.
20277
20278 2013-07-19 Richard Stallman <rms@gnu.org>
20279
20280 * epa.el (epa-popup-info-window): Doc fix.
20281
20282 * subr.el (split-string): New arg TRIM.
20283
20284 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20285
20286 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20287 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20288
20289 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20290
20291 * filenotify.el (file-notify--library): Rename from
20292 `file-notify-support'. Do not autoload. Adapt all uses.
20293 (file-notify-supported-p): New defun.
20294
20295 * autorevert.el (auto-revert-use-notify):
20296 Use `file-notify-supported-p' instead of `file-notify-support'.
20297 Adapt docstring.
20298 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20299
20300 * net/tramp.el (tramp-file-name-for-operation):
20301 Add `file-notify-supported-p'.
20302
20303 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20304 New defun.
20305 (tramp-sh-file-name-handler-alist): Add it as handler for
20306 `file-notify-supported-p '.
20307
20308 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20311 Add `ignore' as handler for `file-notify-*' functions.
20312
20313 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20314
20315 * simple.el (line-move-partial, line-move): Don't start vscroll or
20316 scroll-up if the current line is not taller than the window.
20317 (Bug#14881)
20318
20319 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20320
20321 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20322 highlight question marks in the method names as strings.
20323 (ruby-block-beg-keywords): Inline.
20324 (ruby-font-lock-keyword-beg-re): Extract from
20325 `ruby-font-lock-keywords'.
20326
20327 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20328
20329 * frame.el (blink-cursor-blinks): New defcustom.
20330 (blink-cursor-blinks-done): New defvar.
20331 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20332 (blink-cursor-timer-function): Check if number of blinks has been
20333 done on X and NS.
20334 (blink-cursor-suspend, blink-cursor-check): New defuns.
20335
20336 2013-07-15 Glenn Morris <rgm@gnu.org>
20337
20338 * edmacro.el (edmacro-format-keys): Fix previous change.
20339
20340 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20341
20342 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20343 The hack didn't work outside English locales anyway.
20344
20345 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20346
20347 * simple.el (define-alternatives): Rename from alternatives-define,
20348 per RMS' suggestion.
20349
20350 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20351
20352 * desktop.el (desktop-restore-frames): Change default to t.
20353 (desktop-restore-in-current-display): Now offer more options.
20354 (desktop-restoring-reuses-frames): New customization option.
20355 (desktop--saved-states): Doc fix.
20356 (desktop-filter-parameters-alist): New variable, renamed and expanded
20357 from desktop--excluded-frame-parameters.
20358 (desktop--target-display): New variable.
20359 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20360 (desktop--filter-tty*, desktop--filter-*-color)
20361 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20362 (desktop--filter-save-desktop-parm)
20363 (desktop-restore-in-original-display-p): New functions.
20364 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20365 (desktop--save-minibuffer-frames): New function, inspired by a similar
20366 function from Martin Rudalics.
20367 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20368 (desktop--restore-in-this-display-p): Remove.
20369 (desktop--find-frame): Rename from desktop--find-frame-in-display
20370 and add predicate argument.
20371 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20372 (desktop--reuse-list): New variable.
20373 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20374 New functions.
20375 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20376
20377 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20378
20379 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20380
20381 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20382
20383 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20384 Highlight conversion methods on Kernel.
20385
20386 2013-07-13 Alan Mackenzie <acm@muc.de>
20387
20388 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20389 and comment it out. This out-commenting enables certain C++
20390 declarations to be parsed correctly.
20391
20392 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20393
20394 * international/mule.el (define-coding-system): Doc fix.
20395
20396 * simple.el (default-font-height): Don't call font-info if the
20397 frame's default font didn't change since the frame was created.
20398 (Bug#14838)
20399
20400 2013-07-13 Leo Liu <sdl.web@gmail.com>
20401
20402 * ido.el (ido-read-file-name): Guard against non-symbol value.
20403
20404 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20405
20406 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20407 in nested defuns.
20408
20409 2013-07-13 Leo Liu <sdl.web@gmail.com>
20410
20411 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20412 ido-set-matches call. (Bug#6852)
20413
20414 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20415
20416 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20417 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20418 Ruby 2.0.
20419 (ruby-font-lock-keywords): Distinguish calls to functions with
20420 module-like names from module references. Highlight character
20421 literals.
20422
20423 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20424
20425 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20426 (gdb-send): Handle continued commands. (Bug#14847)
20427
20428 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20429
20430 * desktop.el (desktop--v2s): Remove unused local variable.
20431 (desktop-save-buffer): Make defvar-local; adjust docstring.
20432 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20433 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20434
20435 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20436
20437 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20438
20439 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20440
20441 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20442 (Bug#14842)
20443
20444 2013-07-12 Glenn Morris <rgm@gnu.org>
20445
20446 * doc-view.el: Require cl-lib at runtime too.
20447 (doc-view-remove-if): Remove.
20448 (doc-view-search-next-match, doc-view-search-previous-match):
20449 Use cl-remove-if.
20450
20451 * edmacro.el: Require cl-lib at runtime too.
20452 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20453 (edmacro-mismatch, edmacro-subseq): Remove.
20454
20455 * shadowfile.el: Require cl-lib.
20456 (shadow-remove-if): Remove.
20457 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20458 Use cl-remove-if.
20459
20460 * wid-edit.el: Require cl-lib.
20461 (widget-choose): Use cl-remove-if.
20462 (widget-remove-if): Remove.
20463
20464 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20465 (ebrowse-delete-if-not): Remove.
20466 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20467 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20468 Use cl-delete-if-not.
20469
20470 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20471
20472 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20473 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20474
20475 2013-07-12 Leo Liu <sdl.web@gmail.com>
20476
20477 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20478
20479 2013-07-11 Glenn Morris <rgm@gnu.org>
20480
20481 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20482 (edebug-gensym-index, edebug-gensym):
20483 Remove reimplementation of cl-gensym.
20484 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20485
20486 * thumbs.el: Require cl-lib at run-time too.
20487 (thumbs-gensym-counter, thumbs-gensym):
20488 Remove reimplementation of cl-gensym.
20489 (thumbs-temp-file): Use cl-gensym.
20490
20491 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20492 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20493 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20494 (ert--union, ert--gensym-counter, ert--gensym-counter)
20495 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20496 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20497 (ert-make-test-unbound, ert--expand-should-1)
20498 (ert--expand-should, ert--should-error-handle-error)
20499 (should-error, ert--explain-equal-rec)
20500 (ert--plist-difference-explanation, ert-select-tests)
20501 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20502 Use cl-lib functions rather than reimplementations.
20503
20504 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20505
20506 * net/tramp.el (tramp-methods): Extend docstring.
20507 (tramp-connection-timeout): New defcustom.
20508 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20509 (with-tramp-progress-reporter): Simplify.
20510 (tramp-process-actions): Improve messages.
20511
20512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20513 * net/tramp-sh.el (tramp-maybe-open-connection):
20514 Use `tramp-connection-timeout'.
20515 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20516 (Bug#14808)
20517
20518 2013-07-11 Leo Liu <sdl.web@gmail.com>
20519
20520 * ido.el (ido-read-file-name): Conform to the requirements of
20521 read-file-name. (Bug#11861)
20522 (ido-read-directory-name): Conform to the requirements of
20523 read-directory-name.
20524
20525 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20526
20527 * subr.el (delay-warning): New function.
20528
20529 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20530
20531 * simple.el (default-line-height): New function.
20532 (line-move-partial, line-move): Use it instead of computing the
20533 line height inline.
20534 (line-move-partial): Always compute ROWH. If the last line is
20535 partially-visible, but its text is completely visible, allow
20536 cursor to enter such a partially-visible line.
20537
20538 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20539
20540 Improve error messages. (Bug#14808)
20541
20542 * net/tramp.el (tramp-current-connection): New defvar, moved from
20543 tramp-sh.el.
20544 (tramp-message-show-progress-reporter-message): Remove, not
20545 needed anymore.
20546 (tramp-error-with-buffer): Show message in minibuffer.
20547 Discard input before waiting. Reset connection timestamp.
20548 (with-tramp-progress-reporter): Improve messages.
20549 (tramp-process-actions): Use progress reporter. Delete process in
20550 case of error. Improve messages.
20551
20552 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20553 Call `tramp-error-with-buffer' with vector and buffer.
20554 (tramp-current-connection): Remove.
20555 (tramp-maybe-open-connection): The car of
20556 `tramp-current-connection' are the first 3 slots of the vector.
20557
20558 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20559
20560 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20561 inside continued strings.
20562
20563 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20564
20565 Timestamp fixes for undo (Bug#14824).
20566 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20567
20568 2013-07-10 Leo Liu <sdl.web@gmail.com>
20569
20570 * files.el (require-final-newline): Allow safe local value.
20571 (Bug#14834)
20572
20573 2013-07-09 Leo Liu <sdl.web@gmail.com>
20574
20575 * ido.el (ido-read-directory-name): Handle fallback.
20576 (ido-read-file-name): Update DIR to ido-current-directory.
20577 (Bug#1516)
20578 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20579
20580 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20581
20582 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20583 "autoload". Remove "warn lower camel case" section, previously
20584 commented out. Highlight negation char. Do not highlight the
20585 target in singleton method definitions.
20586
20587 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20588
20589 * faces.el (tty-setup-hook): Declare the hook.
20590
20591 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20592 and detect when a guard/pred depends on local vars (bug#14773).
20593 (pcase--u1): Adjust caller.
20594
20595 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20596
20597 * simple.el (line-move-partial, line-move): Account for
20598 line-spacing.
20599 (line-move-partial): Avoid setting vscroll when the last
20600 partially-visible line in window is of default height.
20601
20602 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20603
20604 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20605 been used a while.
20606
20607 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20608
20609 * subr.el (read-quoted-char): Remove unused local variable `char'.
20610
20611 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20612
20613 * vc/ediff.el (ediff-version): Version update.
20614 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20615 (ediff-merge-with-ancestor-command, ediff-directories-command)
20616 (ediff-directories3-command, ediff-merge-directories-command)
20617 (ediff-merge-directories-with-ancestor-command): New functions.
20618 All are command-line interfaces to ediff: to facilitate calling
20619 Emacs with the appropriate ediff functions invoked.
20620
20621 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20622 New function.
20623 (viper-save-kill-buffer): Check if buffer is modified.
20624
20625 * emulation/viper.el (viper-version): Version update.
20626 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20627
20628 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20629
20630 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20631 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20632 (viper-intercept-ESC-key): Simplify.
20633 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20634 don't use kbd.
20635 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20636 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20637 (viper-setup-ESC-to-escape): New functions.
20638 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20639 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
20640
20641 2013-07-07 Eli Zaretskii <eliz@gnu.org>
20642
20643 * simple.el (default-font-height, window-screen-lines):
20644 New functions.
20645 (line-move, line-move-partial): Use them instead of
20646 frame-char-height and window-text-height. This makes scrolling
20647 text smoother when the buffer's default face uses a font that is
20648 different from the frame's default font.
20649
20650 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
20651
20652 * files.el (write-file): Do not display confirm dialog for NS,
20653 it does its own dialog, which can't be canceled (Bug#14578).
20654
20655 2013-07-06 Eli Zaretskii <eliz@gnu.org>
20656
20657 * simple.el (line-move-partial): Adjust the row returned by
20658 posn-at-point for the current window-vscroll. (Bug#14567)
20659
20660 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
20661
20662 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20663 (tramp-sh-file-inotifywait-process-filter): Handle file names with
20664 spaces.
20665
20666 2013-07-06 Martin Rudalics <rudalics@gmx.at>
20667
20668 * window.el (window-state-put-stale-windows): New variable.
20669 (window--state-put-2): Save list of windows without matching buffer.
20670 (window-state-put): Remove "bufferless" windows if possible.
20671
20672 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20673
20674 * simple.el (alternatives-define): Remove leftover :group keyword.
20675 Tweak docstring.
20676
20677 2013-07-06 Leo Liu <sdl.web@gmail.com>
20678
20679 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20680 (ido-enable-virtual-buffers): New variable.
20681 (ido-buffer-internal, ido-toggle-virtual-buffers)
20682 (ido-make-buffer-list): Use it.
20683 (ido-exhibit): Support turning on and off virtual buffers
20684 automatically.
20685
20686 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20687
20688 * simple.el (alternatives-define): New macro.
20689
20690 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * subr.el (read-quoted-char): Use read-key.
20693 (sit-for): Let read-event decode tty input (bug#14782).
20694
20695 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
20696
20697 * calendar/todo-mode.el: Add handling of file deletion, both by
20698 mode command and externally. Fix various related bugs.
20699 Clarify Commentary and improve some documentation strings and code.
20700 (todo-delete-file): New command.
20701 (todo-check-file): New function.
20702 (todo-show): Handle external deletion of the file we're trying to
20703 show (bug#14688). Replace called-interactively-p by an optional
20704 prefix argument to avoid problematic interaction with catch form
20705 when byte compiled (bug#14702).
20706 (todo-quit): Handle external deletion of the archive's todo file.
20707 Make sure the buffer that was visiting the archive file is still
20708 live before trying to bury it.
20709 (todo-category-completions): Handle external deletion of any
20710 category completion files.
20711 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20712 of todo files, in case of external deletion.
20713 (todo-add-file): Replace unnecessary setq by let-binding.
20714 (todo-find-archive): Check whether there are any archives.
20715 Replace unnecessary setq by let-binding.
20716 (todo-archive-done-item): Use find-file-noselect to get the
20717 archive buffer whether or not the archive already exists.
20718 Remove superfluous code. Use file size instead of buffer-file-name to
20719 check if the archive is new; if it is, update list of archives.
20720 (todo-default-todo-file): Allow nil to be a valid value for when
20721 there are no todo files.
20722 (todo-reevaluate-default-file-defcustom): Use corrected definition
20723 of todo-default-todo-file.
20724 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20725 (todo-delete-category, todo-show-categories-table)
20726 (todo-category-number): Clarify comment.
20727 (todo-filter-items): Clarify documentation string.
20728 (todo-show-current-file, todo-display-as-todo-file)
20729 (todo-reset-and-enable-done-separator): Tweak documentation string.
20730 (todo-done-separator): Make separator length window-width, since
20731 bug#2749 is now fixed.
20732
20733 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
20734
20735 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20736 Support both "gvfs-monitor-dir" and "inotifywait".
20737 (tramp-sh-file-inotifywait-process-filter): Rename from
20738 `tramp-sh-file-notify-process-filter'.
20739 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20740 (tramp-get-remote-gvfs-monitor-dir): New defuns.
20741
20742 2013-07-05 Leo Liu <sdl.web@gmail.com>
20743
20744 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20745
20746 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20747
20748 * frame.el (display-pixel-height, display-pixel-width)
20749 (display-mm-height, display-mm-width): Mention behavior on
20750 multi-monitor setups in docstrings.
20751 (w32-display-monitor-attributes-list): Declare function.
20752 (display-monitor-attributes-list): Use it.
20753
20754 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
20755
20756 * filenotify.el: New package.
20757
20758 * autorevert.el (top): Require filenotify.el.
20759 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
20760 instead.
20761 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20762 (auto-revert-notify-handler): Use `file-notify-*' functions.
20763
20764 * subr.el (file-notify-handle-event): Move function to filenotify.el.
20765
20766 * net/tramp.el (tramp-file-name-for-operation):
20767 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20768
20769 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20770 for `file-notify-add-watch' and `file-notify-rm-watch'.
20771 (tramp-process-sentinel): Improve trace.
20772 (tramp-sh-handle-file-notify-add-watch)
20773 (tramp-sh-file-notify-process-filter)
20774 (tramp-sh-handle-file-notify-rm-watch)
20775 (tramp-get-remote-inotifywait): New defuns.
20776
20777 2013-07-03 Juri Linkov <juri@jurta.org>
20778
20779 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20780 call of `occur-read-primary-args' to interactive spec.
20781
20782 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20783 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
20784
20785 2013-07-03 Matthias Meulien <orontee@gmail.com>
20786
20787 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20788 `Buffer-menu-multi-occur'. Add it to the menu.
20789 (Buffer-menu-mode): Document it in docstring.
20790 (Buffer-menu-multi-occur): New command. (Bug#14673)
20791
20792 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20793
20794 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20795 keywords and built-ins.
20796
20797 2013-07-03 Glenn Morris <rgm@gnu.org>
20798
20799 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
20800
20801 Make info-xref checks case-sensitive by default
20802 * info.el (Info-find-node, Info-find-in-tag-table)
20803 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20804 Add option for exact case matching of nodes.
20805 * info-xref.el (info-xref): New custom group.
20806 (info-xref-case-fold): New option.
20807 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20808
20809 2013-07-03 Leo Liu <sdl.web@gmail.com>
20810
20811 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20812
20813 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20814
20815 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20816 middle of block statement initially, lower the depth. Remove
20817 FIXME comment, not longer valid. Remove middle of block statement
20818 detection, no need to do that anymore since we've been using
20819 `ruby-parse-region' here.
20820
20821 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
20822
20823 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20824
20825 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
20826
20827 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20828
20829 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
20830
20831 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20832 (desktop-restore-in-current-display): New customization option.
20833 (desktop--excluded-frame-parameters): Add `font'.
20834 (desktop--save-frames): Rename from desktop--save-windows.
20835 (desktop--restore-in-this-display-p): New function.
20836 (desktop--make-full-frame): Remove unwanted width/height from
20837 full(width|height) frames.
20838 (desktop--restore-frames): Rename from desktop--restore-windows.
20839 Obey desktop-restore-current-display. Do not delete old frames or
20840 select a new frame unless we were able to restore at least one frame.
20841
20842 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20843
20844 * files.el (find-file-noselect): Simplify conditional expression.
20845
20846 * textmodes/remember.el (remember-append-to-file):
20847 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20848
20849 Add `remember-notes' function to store random notes across Emacs
20850 restarts.
20851 * textmodes/remember.el (remember-data-file): Add :set callback to
20852 affect notes buffer (if any).
20853 (remember-notes): New command.
20854 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20855 New defcustoms for the `remember-notes' function.
20856 (remember-notes-save-and-bury-buffer): New command.
20857 (remember-notes-mode-map): New variable.
20858 (remember-mode): New minor mode.
20859 (remember-notes--kill-buffer-query): New function.
20860 * startup.el (initial-buffer-choice): Add notes to custom type.
20861
20862 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20863
20864 * bindings.el (right-char, left-char): Don't call sit-for, this is
20865 no longer needed. Use arithmetic comparison only for numerical
20866 arguments.
20867
20868 * international/mule-cmds.el (select-safe-coding-system):
20869 Handle the case of FROM being a string correctly. (Bug#14755)
20870
20871 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20872
20873 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20874 progression on degenerate tables.
20875 (shr-rescale-image): ImageMagick animated images currently don't work.
20876
20877 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20878
20879 Some fixes and improvements for desktop frame restoration.
20880 It is still experimental and disabled by default.
20881 * desktop.el (desktop--save-windows): Put the selected frame at
20882 the head of the list.
20883 (desktop--make-full-frame): New function.
20884 (desktop--restore-windows): Try to re-select the frame that was
20885 selected upon saving. Do not abort if some frames fail to restore,
20886 just show an error message and continue. Set up maximized frames
20887 so they have default non-maximized dimensions.
20888
20889 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20890
20891 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20892 Don't start heredoc inside a string or comment.
20893
20894 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20895
20896 * bindings.el (visual-order-cursor-movement): New defcustom.
20897 (right-char, left-char): Provide visual-order cursor motion by
20898 calling move-point-visually. Update the doc strings.
20899
20900 2013-06-28 Kenichi Handa <handa@gnu.org>
20901
20902 * international/mule.el (define-coding-system): New coding system
20903 properties :inhibit-null-byte-detection,
20904 :inhibit-iso-escape-detection, and :prefer-utf-8.
20905 (set-buffer-file-coding-system): If :charset-list property of
20906 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20907 appropriate for setting.
20908
20909 * international/mule-cmds.el (select-safe-coding-system):
20910 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20911 multibyte characters, return utf-8 (or one of its siblings).
20912
20913 * international/mule-conf.el (prefer-utf-8): New coding system.
20914 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20915 files.
20916
20917 2013-06-28 Ivan Kanis <ivan@kanis.fr>
20918
20919 * net/shr.el (shr-render-region): New function.
20920
20921 * net/eww.el: Autoload `eww-browse-url'.
20922
20923 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
20924
20925 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20926 Adapt to `package-desc-version' being a list.
20927 Use `package--ac-desc-version' to retrieve version from a package
20928 archive element.
20929
20930 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
20931
20932 New experimental feature to save&restore window and frame setup.
20933 * desktop.el (desktop-save-windows): New defcustom.
20934 (desktop--saved-states): New var.
20935 (desktop--excluded-frame-parameters): New defconst.
20936 (desktop--filter-frame-parms, desktop--find-frame-in-display)
20937 (desktop--restore-windows, desktop--save-windows): New functions.
20938 (desktop-save): Call `desktop--save-windows'.
20939 (desktop-read): Call `desktop--restore-windows'.
20940
20941 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20942
20943 * net/shr.el (add-face-text-property): Remove compat definition.
20944
20945 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20946
20947 * info.el (Info-try-follow-nearest-node): Move search for footnote
20948 above search for node name to prevent missing a footnote (bug#14717).
20949
20950 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20951
20952 * obsolete/otodo-mode.el: Add obsolescence info to file header.
20953
20954 2013-06-27 Leo Liu <sdl.web@gmail.com>
20955
20956 * net/eww.el (eww-read-bookmarks): Check file size.
20957
20958 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20959
20960 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20961 advice--pending if newdef is nil or an autoload (bug#13820).
20962 (advice-mapc): New function.
20963
20964 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20965
20966 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20967 probably.
20968 (eww-mode-map): Add a menu bar.
20969 (eww-add-bookmark): New command.
20970 (eww-bookmark-mode): New mode and commands.
20971 (eww-add-bookmark): Remove newlines from the title.
20972 (eww-bookmark-browse): Don't bug out if it's the only window.
20973
20974 2013-06-26 Glenn Morris <rgm@gnu.org>
20975
20976 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20977 (hfy-size): Handle ttys. (Bug#14668)
20978
20979 * info-xref.el: Update for Texinfo 5 change in *note format.
20980 (info-xref-node-re, info-xref-note-re): New constants.
20981 (info-xref-check-buffer): Use info-xref-note-re.
20982
20983 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20984
20985 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20986
20987 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20988 nil terminate the loop (bug#14718).
20989
20990 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20991
20992 * net/eww.el: Rework history traversal. When going forward/back,
20993 put these actions into the history, too, so that they can be
20994 replayed.
20995 (eww-render): Move the history reset to the correct buffer.
20996
20997 2013-06-25 Juri Linkov <juri@jurta.org>
20998
20999 * files-x.el (modify-dir-local-variable): Change the header comment
21000 in the file with directory local variables. (Bug#14692)
21001
21002 * files-x.el (read-file-local-variable-value): Add `default'.
21003 (Bug#14710)
21004
21005 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21006
21007 * net/eww.el (eww-make-unique-file-name): Create a unique file
21008 name before saving to entering `y' accidentally asynchronously.
21009
21010 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21011
21012 * net/eww.el (eww-download): New command and keystroke.
21013
21014 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21015
21016 * net/eww.el (eww-copy-page-url): Change name of command.
21017
21018 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21019 be more consistent with Info and dired.
21020
21021 * net/eww.el (eww-mode-map): Ditto.
21022
21023 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21024
21025 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21026 packages from archives.
21027 (package-archive-contents): Change format; include obsolete packages.
21028 (package-desc): Use `dir' to mark builtin packages.
21029 (package--from-builtin): Set the `dir' field to `builtin'.
21030 (generated-autoload-file, version-control): Declare.
21031 (package-compute-transaction): Change first arg and return value to be
21032 lists of package-descs. Adjust to new package-archive-contents format.
21033 (package--add-to-archive-contents): Adjust to new
21034 package-archive-contents format.
21035 (package-download-transaction): Arg is now a list of package-descs.
21036 (package-install): If `pkg' is a package name, pass it as
21037 a requirement, so it is subject to the usual (e.g. disabled) checks.
21038 (describe-package): Accept package-desc as well.
21039 (describe-package-1): Describe a specific package-desc. Add links to
21040 other package-descs for the same package name.
21041 (package-menu-describe-package): Pass the actual package-desc.
21042 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21043 works correctly.
21044 (package-desc-status): New function.
21045 (package-menu--refresh): New function, extracted
21046 from package-menu--generate.
21047 (package-menu--generate): Use it.
21048 (package-delete): Update package-alist.
21049 (package-menu-execute): Don't call package-initialize.
21050
21051 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21052 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21053 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21054 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21055 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21056 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21057
21058 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21059
21060 * window.el (window--state-get-1): Workaround for bug#14527.
21061 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21062
21063 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21064
21065 * net/eww.el (eww-back-url): Implement the history by stashing all
21066 the data into a list.
21067 (eww-forward-url): Allow going forward in the history, too.
21068
21069 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21070
21071 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21072 for values and use read--expression for expressions (bug#14710).
21073 (read-file-local-variable): Avoid setq.
21074 (read-file-local-variable-mode): Use minor-mode-list.
21075
21076 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21077
21078 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21079 for DOI URLs.
21080
21081 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21082
21083 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21084 Update imenu-support when dialect changes.
21085
21086 2013-06-25 Leo Liu <sdl.web@gmail.com>
21087
21088 * ido.el (ido-read-internal): Allow forward slash on windows.
21089
21090 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21091
21092 * net/eww.el (eww): Start of strings is \\`, not ^.
21093
21094 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21095
21096 * net/shr.el (shr-browse-url): Fix interactive spec.
21097
21098 * net/eww.el (eww): Add a trailing slash to domain names.
21099
21100 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21101
21102 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21103
21104 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21105
21106 * net/shr.el (shr-browse-url): Use an external browser if given a
21107 prefix.
21108
21109 * net/eww.el (eww-external-browser): Move to shr.
21110
21111 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21112
21113 * net/eww.el (eww): Work more correctly for file: URLs.
21114 (eww-detect-charset): Allow quoted charsets.
21115 (eww-yank-page-url): New command and keystroke.
21116
21117 2013-06-24 Daiki Ueno <ueno@gnu.org>
21118
21119 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21120 file name of gpg executable.
21121 (epg-context-program): New function.
21122 (epg-context-home-directory): New function.
21123 (epg-context-set-program): New function.
21124 (epg-context-set-home-directory): New function.
21125 (epg--start): Use `epg-context-program' instead of
21126 'epg-gpg-program'.
21127 (epg--list-keys-1): Likewise.
21128
21129 2013-06-24 Leo Liu <sdl.web@gmail.com>
21130
21131 * ido.el (ido-read-internal): Fix bug#14620.
21132
21133 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21134
21135 * faces.el (face-documentation): Simplify.
21136 (read-face-attribute, tty-find-type, x-resolve-font-name):
21137 Use `string-match-p'.
21138 (list-faces-display): Use `string-match-p'. Simplify.
21139 (face-spec-recalc): Check face to avoid face alias loops.
21140 (read-color): Use `string-match-p' and non-capturing parenthesis.
21141
21142 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21143
21144 * net/shr.el (shr-rescale-image): Use the new
21145 :max-width/:max-height functionality.
21146
21147 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21148
21149 * net/eww.el (eww-search-prefix): New variable.
21150 (eww): Use it.
21151 (eww-external-browser): New variable.
21152 (eww-mode-map): New keystroke.
21153 (eww-browse-with-external-browser): New command.
21154
21155 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21156
21157 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21158
21159 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21160 Don't skip aligning the next header field when padding is 0;
21161 otherwise, field width is not respected unless the title is as
21162 wide as the field.
21163
21164 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21165
21166 * emacs-lisp/package.el (package-el-version): Remove.
21167 (package-process-define-package): Fix inf-loop.
21168 (package-install): Allow symbols as arguments again.
21169
21170 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21171
21172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21173 add some more keyword-like methods.
21174 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21175
21176 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21177
21178 * bs.el (bs-buffer-show-mark): Make defvar-local.
21179 (bs-mode): Use setq-local.
21180
21181 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21182 (emacs-lock--try-unlocking): Make defvar-local.
21183
21184 2013-06-22 Glenn Morris <rgm@gnu.org>
21185
21186 * play/cookie1.el (cookie-apropos): Minor simplification.
21187
21188 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21189
21190 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21191
21192 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21193 `regexp-opt', it breaks the build during dumping.
21194
21195 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21196
21197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21198 Highlight keyword-like methods on Kernel and Module with
21199 font-lock-builtin-face.
21200 (auto-mode-alist): Consolidate different entries into one regexp
21201 and add more *file-s.
21202
21203 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21204
21205 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21206
21207 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21208 (diary-entry): Use it in the action of this button type instead of
21209 diary-goto-entry.
21210
21211 * calendar/todo-mode.el: New version.
21212 (todo-add-category): Append new category to end of file and give
21213 it the highest number, instead of putting it at the beginning and
21214 giving it 0. Incorporate noninteractive functionality.
21215 (todo-forward-category): Adapt to 1-based category numbering.
21216 Allow skipping over archived categories.
21217 (todo-backward-category): Derive from todo-forward-category.
21218 (todo-backward-item, todo-forward-item): Make noninteractive and
21219 delegate interactive part to new commands. Make sensitive to done items.
21220 (todo-categories): Make value an alist of category names and
21221 vectors of item counts.
21222 (todo-category-beg): Make a defconst.
21223 (todo-category-number): Use 1 instead of 0 as initial value.
21224 (todo-category-select): Make sensitive to overlays, optional item
21225 highlighting and done items.
21226 (todo-delete-item): Make sensitive to overlays and marked and done items.
21227 (todo-edit-item): Make sensitive to overlays and editing of
21228 date/time header optional. Add format checks.
21229 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21230 no-op if point is not on an item. Advertise using todo-edit-quit.
21231 (todo-edit-mode): Make sensitive to new format, font-locking, and
21232 multiple todo files.
21233 (todo-insert-item, todo-insert-item-here): Derive from
21234 todo-basic-insert-item and extend functionality.
21235 (todo-item-end, todo-item-start): Make sensitive to done items.
21236 (todo-item-string): Don't return text properties. Restore point.
21237 (todo-jump-to-category): Make sensitive to multiple todo files and
21238 todo archives. Use extended category completion.
21239 (todo-lower-item, todo-raise-item): Rename to *-priority and
21240 derive from todo-set-item-priority.
21241 (todo-mode): Derive from special-mode. Make sensitive to new
21242 format, font-locking and multiple todo files. Make read-only.
21243 (todo-mode-map): Don't suppress digit keys, so they can supply
21244 prefix arguments. Add many new key bindings.
21245 (todo-prefix): Insert as an overlay instead of file text.
21246 Change semantics from diary date expression to purely visual mark.
21247 (todo-print): Rename to todo-print-buffer. Make buffer display
21248 features printable. Remove option to restrict number of items
21249 printed. Add option to print to file.
21250 (todo-print-function): Rename to todo-print-buffer-function.
21251 (todo-quit): Extend to handle exiting new todo modes.
21252 (todo-remove-item): Make sensitive to overlays.
21253 (todo-save): Extend to buffers of filtered items.
21254 (todo-show): Make sensitive to done items, multiple todo files and
21255 new todo modes. Offer to convert legacy todo file before creating
21256 first new todo file.
21257 (todo-show-priorities): Rename to todo-top-priorities.
21258 Change semantics of value 0.
21259 (todo-top-priorities): Rename to todo-filter-top-priorities,
21260 derive from todo-filter-items and extend functionality.
21261 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21262 and extend functionality to other types of filtered items.
21263 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21264 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21265 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21266 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21267 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21268 (todo-edit-mode-hook, todo-entry-prefix-function)
21269 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21270 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21271 (todo-initials, todo-insert-threshold, todo-item-string-start)
21272 (todo-line-string, todo-menu, todo-mode-hook)
21273 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21274 (todo-print-priorities, todo-remove-separator)
21275 (todo-save-top-priorities-too, todo-string-count-lines)
21276 (todo-string-multiline-p, todo-time-string-format)
21277 (todo-tmp-buffer-name): Remove.
21278 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21279 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21280 (todo-edit-category-diary-inclusion)
21281 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21282 (todo-edit-file, todo-edit-item-date-day)
21283 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21284 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21285 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21286 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21287 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21288 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21289 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21290 (todo-filter-top-priorities-multifile, todo-find-archive)
21291 (todo-find-filtered-items-file, todo-go-to-source-item)
21292 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21293 (todo-jump-to-archive-category, todo-lower-category)
21294 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21295 (todo-move-category, todo-move-item, todo-next-button)
21296 (todo-next-item, todo-padded-string, todo-powerset)
21297 (todo-previous-button, todo-previous-item)
21298 (todo-print-buffer-to-file, todo-raise-category)
21299 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21300 (todo-set-category-number, todo-set-item-priority)
21301 (todo-set-top-priorities-in-category)
21302 (todo-set-top-priorities-in-file, todo-show-categories-table)
21303 (todo-sort-categories-alphabetically-or-numerically)
21304 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21305 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21306 (todo-toggle-item-header, todo-toggle-item-highlighting)
21307 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21308 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21309 (todo-unarchive-items, todo-unmark-category): New commands.
21310 (todo-absolute-file-name, todo-add-to-buffer-list)
21311 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21312 (todo-basic-insert-item, todo-category-completions)
21313 (todo-category-number, todo-category-string-matcher-1)
21314 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21315 (todo-check-format, todo-clear-matches)
21316 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21317 (todo-current-category, todo-date-string-matcher)
21318 (todo-define-insertion-command, todo-diary-expired-matcher)
21319 (todo-diary-goto-entry, todo-diary-item-p)
21320 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21321 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21322 (todo-done-item-section-p, todo-done-separator)
21323 (todo-done-string-matcher, todo-files, todo-filter-items)
21324 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21325 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21326 (todo-insert-category-line, todo-insert-item-from-calendar)
21327 (todo-insert-sort-button, todo-insert-with-overlays)
21328 (todo-insertion-command-name, todo-insertion-key-bindings)
21329 (todo-label-to-key, todo-longest-category-name-length)
21330 (todo-make-categories-list, todo-mode-external-set)
21331 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21332 (todo-modes-set-3, todo-multiple-filter-files)
21333 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21334 (todo-read-category, todo-read-date, todo-read-dayname)
21335 (todo-read-file-name, todo-read-time)
21336 (todo-reevaluate-category-completions-files-defcustom)
21337 (todo-reevaluate-default-file-defcustom)
21338 (todo-reevaluate-filelist-defcustoms)
21339 (todo-reevaluate-filter-files-defcustom)
21340 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21341 (todo-reset-done-separator, todo-reset-done-separator-string)
21342 (todo-reset-done-string, todo-reset-global-current-todo-file)
21343 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21344 (todo-reset-prefix, todo-set-categories)
21345 (todo-set-date-from-calendar, todo-set-show-current-file)
21346 (todo-set-top-priorities, todo-short-file-name)
21347 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21348 (todo-total-item-counts, todo-update-buffer-list)
21349 (todo-update-categories-display, todo-update-categories-sexp)
21350 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21351 New functions.
21352 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21353 New major modes.
21354 (todo-categories, todo-display, todo-edit, todo-faces)
21355 (todo-filtered): New defgroups.
21356 (todo-archived-only, todo-button, todo-category-string, todo-date)
21357 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21358 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21359 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21360 (todo-add-item-if-new-category, todo-always-add-time-string)
21361 (todo-categories-align, todo-categories-archived-label)
21362 (todo-categories-category-label, todo-categories-diary-label)
21363 (todo-categories-done-label, todo-categories-number-separator)
21364 (todo-categories-todo-label, todo-categories-totals-label)
21365 (todo-category-completions-files, todo-completion-ignore-case)
21366 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21367 (todo-done-separator-string, todo-done-string)
21368 (todo-files-function, todo-filter-done-items, todo-filter-files)
21369 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21370 (todo-initial-category, todo-initial-file, todo-item-mark)
21371 (todo-legacy-date-time-regexp, todo-mode-line-function)
21372 (todo-nondiary-marker, todo-number-prefix)
21373 (todo-print-buffer-function, todo-show-current-file)
21374 (todo-show-done-only, todo-show-first, todo-show-with-done)
21375 (todo-skip-archived-categories, todo-top-priorities-overrides)
21376 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21377 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21378 New defcustoms.
21379 (todo-category-done, todo-date-pattern, todo-date-string-start)
21380 (todo-diary-items-buffer, todo-done-string-start)
21381 (todo-filtered-items-buffer, todo-item-start)
21382 (todo-month-abbrev-array, todo-month-name-array)
21383 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21384 (todo-top-priorities-buffer): New defconsts.
21385 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21386 (todo-categories-with-marks, todo-category-string-face)
21387 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21388 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21389 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21390 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21391 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21392 (todo-font-lock-keywords, todo-global-current-todo-file)
21393 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21394 (todo-insertion-commands-args)
21395 (todo-insertion-commands-args-genlist)
21396 (todo-insertion-commands-names, todo-insertion-map)
21397 (todo-key-bindings-t, todo-key-bindings-t+a)
21398 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21399 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21400 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21401 (todo-visited): New variables.
21402
21403 2013-06-21 Glenn Morris <rgm@gnu.org>
21404
21405 * play/cookie1.el (cookie-apropos): Add optional display argument.
21406 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21407 (psychoanalyze-pinhead): Use cookie-doctor.
21408
21409 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21410
21411 * emacs-lisp/package.el (tar-get-file-descriptor)
21412 (tar--extract): Declare.
21413
21414 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21415
21416 Extend flymake's warning predicate to be a function (bug#14217).
21417 * progmodes/flymake.el (flymake-warning-predicate): New.
21418 (flymake-parse-line): Use it.
21419 (flymake-warning-re): Make obsolete alias to
21420 `flymake-warning-predicate'.
21421
21422 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21423
21424 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21425 (package-obsolete-list): Remove.
21426 (package-activate): Remove min-version argument. Add `force' argument.
21427 Adjust to new package-alist format.
21428 (package-mark-obsolete): Remove.
21429 (package-unpack): Force reload of the package's autoloads.
21430 (package-installed-p): Check builtins if the installed package is not
21431 recent enough.
21432 (package-initialize): Don't reset package-obsolete-list.
21433 Don't specify which package version to activate.
21434 (package-process-define-package, describe-package-1)
21435 (package-menu--generate): Adjust to new package-alist format.
21436
21437 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21438
21439 * allout-widgets.el (allout-widgets-mode-off)
21440 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21441 (allout-widgets-post-command-business)
21442 (allout-widgets-after-copy-or-kill-function)
21443 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21444 (allout-decorate-item-and-context)
21445 (allout-graphics-modification-handler): Fix typos in docstrings.
21446 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21447
21448 * cmuscheme.el (scheme-start-file): Doc fix.
21449 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21450 (scheme-input-filter): Use `string-match-p'.
21451
21452 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21453
21454 * dired-x.el: Use Dired consistently in docstrings.
21455
21456 * dired.el: Use Dired consistently in docstrings.
21457 (dired-readin, dired-mode): Use `setq-local'.
21458 (dired-switches-alist): Make defvar-local.
21459 (dired-buffers-for-dir): Use `zerop'.
21460 (dired-safe-switches-p, dired-switches-escape-p)
21461 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21462 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21463 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21464 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21465 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21466 (dired-toggle-marks, dired-mark-files-containing-regexp)
21467 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21468 (dired-flag-auto-save-files, dired-flag-backup-files):
21469 Use `looking-at-p'.
21470 (dired-mark-files-regexp, dired-build-subdir-alist):
21471 Use `string-match-p', `looking-at-p'.
21472
21473 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21474 (direct-print-region-helper): Use `string-match-p'.
21475
21476 2013-06-21 Leo Liu <sdl.web@gmail.com>
21477
21478 * comint.el (comint-redirect-results-list-from-process):
21479 Fix infinite loop.
21480
21481 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21482
21483 * net/eww.el (eww-update-header-line-format): Quote % characters.
21484
21485 2013-06-21 Glenn Morris <rgm@gnu.org>
21486
21487 * play/cookie1.el (cookie): New custom group.
21488 (cookie-file): New option.
21489 (cookie-check-file): New function.
21490 (cookie): Make it interactive. Make start and end messages optional.
21491 Interactively, display the result. Default to cookie-file.
21492 (cookie-insert): Default to cookie-file.
21493 (cookie-snarf): Make start and end messages optional.
21494 Default to cookie-file. Use with-temp-buffer.
21495 (cookie-read): Rename from read-cookie.
21496 Make start and end messages optional. Default to cookie-file.
21497 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21498 Do not autoload it.
21499 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21500 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21501
21502 2013-06-21 Leo Liu <sdl.web@gmail.com>
21503
21504 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21505
21506 2013-06-21 Glenn Morris <rgm@gnu.org>
21507
21508 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21509
21510 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21511 Daniel Hackney <dan@haxney.org>
21512
21513 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21514 Consolidate the single-file vs tarball code.
21515 (package-desc-suffix): New function.
21516 (package-desc-full-name): Don't bother inlining it.
21517 (package-load-descriptor): Return the new package-desc.
21518 (package-mark-obsolete): Remove unused arg `package'.
21519 (package-unpack): Make it work for single files as well.
21520 Make it update package-alist.
21521 (package--make-autoloads-and-stuff): Rename from
21522 package--make-autoloads-and-compile. Don't compile any more.
21523 (package--compile): New function.
21524 (package-generate-description-file): New function, extracted from
21525 package-unpack-single.
21526 (package-unpack-single): Remove.
21527 (package--with-work-buffer): Add indentation and debugging info.
21528 (package-download-single): Remove.
21529 (package-install-from-archive): Rename from package-download-tar, make
21530 it take a pkg-desc, and make it work for single files as well.
21531 (package-download-transaction): Simplify.
21532 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21533 external tar program.
21534 (package-install-from-buffer): Remove `pkg-desc' argument.
21535 Use package-tar-file-info for tar-mode buffers.
21536 (package-install-file): Simplify accordingly.
21537 (package-archive-base): Change to take a pkg-desc.
21538 * tar-mode.el (tar--check-descriptor): New function, extracted from
21539 tar-get-descriptor.
21540 (tar-get-descriptor): Use it.
21541 (tar-get-file-descriptor): New function.
21542 (tar--extract): New function, extracted from tar-extract.
21543 (tar--extract): Use it.
21544 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21545 case the summary uses non-ascii. Adjust to new calling convention of
21546 package-tar-file-info.
21547
21548 2013-06-21 Leo Liu <sdl.web@gmail.com>
21549
21550 * comint.el (comint-redirect-results-list-from-process):
21551 Fix random delay. (Bug#14681)
21552
21553 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21554
21555 * profiler.el (profiler-format-number): Use log, not log10.
21556
21557 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21558
21559 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21560
21561 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21562
21563 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21564 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21565 yet available.
21566 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21567 (AUTOGENEL): ... here.
21568 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21569 (cl--defsubst-expand): Use it.
21570
21571 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21572
21573 * subr.el (log10): Move here from C code, and declare as obsolete.
21574 All uses of (log10 X) replaced with (log X 10).
21575
21576 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21577
21578 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21579 Declare with `defvar-local'.
21580 (tabulated-list-use-header-line, tabulated-list-entries)
21581 (tabulated-list-padding, tabulated-list-printer)
21582 (tabulated-list-sort-key): Declare with `defvar-local'.
21583 (tabulated-list-init-header, tabulated-list-print-fake-header):
21584 Use `setq-local'.
21585
21586 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21587
21588 * arc-mode.el (archive-mode): Add `archive-write-file' to
21589 `write-contents-functions' also for remote files. (Bug#14652)
21590
21591 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21592
21593 * cus-edit.el (custom-commands): Fix typos.
21594 (custom-display): Fix tooltip text.
21595 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21596 Fix typos in docstrings.
21597 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21598 (custom-unlispify-menu-entry, custom-magic-value-create)
21599 (custom-add-see-also, custom-group-value-create): Use ?\s.
21600 (custom-guess-type, customize-apropos, editable-field)
21601 (custom-face-value-create): Use `string-match-p'.
21602 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21603
21604 * custom.el (custom-load-symbol): Use `string-match-p'.
21605
21606 * ansi-color.el: Convert to lexical binding.
21607 (ansi-colors): Fix URL.
21608 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21609 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21610 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21611
21612 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21613
21614 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21615
21616 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21617
21618 2013-06-19 Tom Tromey <tromey@redhat.com>
21619
21620 * net/eww.el (eww-top-url): Remove.
21621 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21622 (eww-render): Set new variables. Don't set eww-top-url.
21623 (eww-handle-link): Handle "prev", "home", and "contents".
21624 Downcase the rel text.
21625 (eww-top-url): Choose best top URL.
21626
21627 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21628
21629 * net/eww.el: Rewrite to implement form elements "by hand" instead of
21630 relying in widget.el. Using widget.el leads to too many
21631 user interface inconsistencies.
21632 (eww-self-insert): Implement entering commands in text fields.
21633 (eww-process-text-input): New function to make text input field editing
21634 work.
21635 (eww-submit): Rewrite to use the new-style form methods.
21636 (eww-select-display): Display the correct selected item.
21637 (eww-change-select): Implement changing the select value.
21638 (eww-toggle-checkbox): Implement radio/checkboxes.
21639 (eww-update-field): Fix compilation error.
21640 (eww-tag-textarea): Implement <textarea>.
21641
21642 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21643 we don't shadow mode-specific bindings.
21644
21645 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21646 nothing to push.
21647
21648 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21649
21650 2013-06-19 Glenn Morris <rgm@gnu.org>
21651
21652 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21653
21654 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21655
21656 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21657 not needed.
21658
21659 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21660
21661 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21662
21663 * net/browse-url.el (browse-url-browser-function):
21664 `eww-browse-url' has the right calling signature, `eww' does not.
21665
21666 2013-06-19 Glenn Morris <rgm@gnu.org>
21667
21668 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21669 Only eval autoloaded macros.
21670 (byte-compile-autoload): Only give the macro warning for macros.
21671
21672 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21673 (ps-underlined-faces): Declare.
21674
21675 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21676 (speedbar-add-supported-extension): Declare.
21677
21678 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21679 Don't include a date stamp in the header of the generated file;
21680 it leads to needless differences between output files.
21681
21682 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21683
21684 * net/secrets.el (secrets-struct-secret-content-type):
21685 Replace check of introspection data by a test call of "CreateItem".
21686 Some servers do not offer introspection.
21687
21688 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21689
21690 * electric.el (electric-pair-mode): Improve interaction with
21691 electric-layout-mode.
21692 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21693 (electric-pair-syntax): Use text-mode-syntax-table in comments
21694 and strings.
21695 (electric-pair--insert): New function.
21696 (electric-pair-post-self-insert-function): Use it and
21697 electric--after-char-pos.
21698
21699 2013-06-19 Leo Liu <sdl.web@gmail.com>
21700
21701 * progmodes/octave.el (octave-help): Fix regexp.
21702
21703 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21704
21705 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21706 (shr-table-horizontal-line): Allow nil as a value, and change the
21707 default.
21708 (shr-insert-table-ruler): Respect the nil value.
21709
21710 2013-06-18 Tom Tromey <tromey@barimba>
21711
21712 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21713 New defvars.
21714 (eww-open-file): New defun.
21715 (eww-render): Initialize new variables.
21716 (eww-display-html): Handle "link" and "a".
21717 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21718 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
21719 (eww-back-url): Rename from eww-previous-url.
21720 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21721 New defuns.
21722
21723 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
21724
21725 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21726 Distinguish ternary operator tokens from slash symbol and slash
21727 char literal.
21728
21729 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21730
21731 Convert symbol prettification into minor mode and global minor mode.
21732
21733 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21734 `prog-prettify-symbols', and make a local defvar instead of defcustom.
21735 (prettify-symbols--keywords): Rename from
21736 `prog-prettify-symbols-alist' and make a local defvar.
21737 (prettify-symbols--compose-symbol): Rename from
21738 `prog--prettify-font-lock-compose-symbol'.
21739 (prettify-symbols--make-keywords): Rename from
21740 `prog-prettify-font-lock-symbols-keywords' and simplify.
21741 (prog-prettify-install): Remove.
21742 (prettify-symbols-mode): New minor mode, based on
21743 `prog-prettify-install'.
21744 (turn-on-prettify-symbols-mode): New function.
21745 (global-prettify-symbols-mode): New globalized minor mode.
21746
21747 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21748 * progmodes/cfengine.el (cfengine3-mode):
21749 * progmodes/perl-mode.el (perl-mode): Don't call
21750 `prog-prettify-install'; set `prettify-symbols-alist' instead.
21751
21752 2013-06-18 Juri Linkov <juri@jurta.org>
21753
21754 * files-x.el (modify-file-local-variable-message): New function.
21755 (modify-file-local-variable)
21756 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21757 and call `modify-file-local-variable-message' when it's non-nil.
21758 (add-file-local-variable, delete-file-local-variable)
21759 (add-file-local-variable-prop-line)
21760 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21761 and use it. (Bug#9820)
21762
21763 2013-06-18 Juri Linkov <juri@jurta.org>
21764
21765 * emulation/vi.el (vi-shell-op):
21766 * emulation/vip.el (vip-execute-com, ex-command):
21767 * emulation/viper-cmd.el (viper-exec-bang):
21768 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21769 the call of `shell-command-on-region'. (Bug#14637)
21770
21771 * simple.el (shell-command-on-region): Doc fix.
21772
21773 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21774
21775 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21776 (bug#14633).
21777
21778 2013-06-18 Glenn Morris <rgm@gnu.org>
21779
21780 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21781
21782 * newcomment.el (comment-search-forward, comment-search-backward):
21783 Doc fix. (Bug#14376)
21784
21785 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21786
21787 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21788 (buffer-face-mode-invoke): Doc fix.
21789
21790 2013-06-18 Matthias Meulien <orontee@gmail.com>
21791
21792 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21793 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21794
21795 2013-06-18 Glenn Morris <rgm@gnu.org>
21796
21797 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21798 Replace obsolete function generic-make-keywords with its expansion.
21799
21800 * progmodes/python.el (ffap-alist): Declare.
21801
21802 * textmodes/reftex.el (bibtex-mode-map): Declare.
21803
21804 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21805
21806 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21807 (package-unpack, package-unpack-single): Return the pkg-dir.
21808 (package-download-transaction): Use it to update package-alist.
21809
21810 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21811
21812 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21813 possible choice.
21814
21815 2013-06-17 Juri Linkov <juri@jurta.org>
21816
21817 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21818
21819 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21820
21821 * emacs-lisp/package.el (package-load-descriptor):
21822 Remove `with-syntax-table' call, `read' doesn't need it.
21823 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21824
21825 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21826
21827 * startup.el (command-line): Expand package name returned by
21828 `package--description-file' (bug#14639).
21829
21830 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21831
21832 * emacs-lisp/package.el (package-load-descriptor): Do not call
21833 `emacs-lisp-mode', just use its syntax table.
21834
21835 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21836
21837 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21838 `font-lock-extra-managed-props' if any prettifying keyword is added.
21839 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21840 (prog-mode): Use `setq-local'.
21841
21842 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21843
21844 * international/characters.el (standard-case-table): Set syntax of ?»
21845 and ?« to punctuation.
21846
21847 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21848
21849 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21850 Save relevant match data before calling `syntax-ppss' (bug#14595).
21851
21852 2013-06-15 Juri Linkov <juri@jurta.org>
21853
21854 * files-x.el (modify-file-local-variable-prop-line): Add local
21855 variables to the end of the existing comment on the first line.
21856 Use `file-auto-mode-skip' to skip interpreter magic line,
21857 and also skip XML declaration.
21858
21859 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21860
21861 * startup.el (package--builtin-versions): New var.
21862 (package-subdirectory-regexp): Remove.
21863 (package--description-file): Hard code its value instead.
21864
21865 * emacs-lisp/package.el: Don't activate packages older than builtin.
21866 (package-obsolete-list): Rename from package-obsolete-alist, and make
21867 it into a simple list of package-desc.
21868 (package-strip-version): Remove.
21869 (package-built-in-p): Use package--builtin-versions.
21870 (package-mark-obsolete): Simplify.
21871 (package-process-define-package): Mark it obsolete if older than the
21872 builtin version.
21873 (package-handle-response): Use line-end-position.
21874 (package-read-archive-contents, package--download-one-archive):
21875 Simplify.
21876 (package--add-to-archive-contents): Skip if older than the builtin or
21877 installed version.
21878 (package-menu-describe-package): Fix last change.
21879 (package-list-unversioned): New var.
21880 (package-menu--generate): Use it.
21881
21882 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21883 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21884 (autoload-builtin-package-versions): New variable.
21885 (autoload-generate-file-autoloads): Use them.
21886 Remove the list of autoloaded functions/macros from the
21887 (autoload...) comments.
21888
21889 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21890
21891 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21892
21893 * simple.el (line-move-partial): Don't jump to the next screen
21894 line as soon as it becomes visible. Instead, continue enlarging
21895 the vscroll until the portion of a tall screen line that's left on
21896 display is about the height of the frame's default font.
21897 (Bug#14567)
21898
21899 2013-06-15 Glenn Morris <rgm@gnu.org>
21900
21901 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21902 compilation-error-regexp-alist void, or local while let-bound.
21903
21904 * progmodes/make-mode.el (makefile-mode-syntax-table):
21905 Treat "=" as punctuation. (Bug#14614)
21906
21907 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
21908
21909 * help-fns.el (describe-variable):
21910 Add extra line for permanent-local variables.
21911
21912 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
21913
21914 * progmodes/scheme.el (scheme-font-lock-keywords-2):
21915 Add export, import, library. (Bug#9164)
21916 (library): Set indent function.
21917
21918 2013-06-14 Glenn Morris <rgm@gnu.org>
21919
21920 * term/xterm.el (xterm--query):
21921 Stop after first matching handler. (Bug#14615)
21922
21923 2013-06-14 Ivan Kanis <ivan@kanis.fr>
21924
21925 Add support for dired in saveplace.
21926 * dired.el (dired-initial-position-hook): New variable.
21927 (dired-initial-position): Call hook to place cursor position.
21928 * saveplace.el (save-place-to-alist): Add dired position.
21929 (save-place-dired-hook): New function.
21930
21931 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
21932
21933 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21934 through a symbol rather than letrec.
21935
21936 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
21937 (package-desc): Add `dir' field.
21938 (package-desc-full-name): New function.
21939 (package-load-descriptor): Combine the two arguments. Don't use `load'.
21940 (package-maybe-load-descriptor): Remove.
21941 (package-load-all-descriptors): Just call package-load-descriptor.
21942 (package--disabled-p): New function.
21943 (package-desc-vers, package-desc-doc): Remove aliases.
21944 (package--dir): Remove function.
21945 (package-activate): Check if a package is disabled.
21946 (package-process-define-package): New function, extracted from
21947 define-package.
21948 (define-package): Turn into a place holder.
21949 (package-unpack-single, package-tar-file-info):
21950 Use package--description-file.
21951 (package-compute-transaction): Use package--disabled-p.
21952 (package-download-transaction): Don't call
21953 package-maybe-load-descriptor since they're all loaded anyway.
21954 (package-install): Change argument to be a pkg-desc.
21955 (package-delete): Use a single pkg-desc argument.
21956 (describe-package-1): Use package-desc-dir instead of package--dir.
21957 Use package-desc property instead of package-symbol.
21958 (package-install-button-action): Adjust accordingly.
21959 (package--push): Rewrite.
21960 (package-menu--print-info): Adjust accordingly. Change the ID format
21961 to be a pkg-desc.
21962 (package-menu-describe-package, package-menu-get-status)
21963 (package-menu--find-upgrades, package-menu-mark-upgrades)
21964 (package-menu-execute, package-menu--name-predicate):
21965 Adjust accordingly.
21966 * startup.el (package--description-file): New function.
21967 (command-line): Use it.
21968 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21969 Use package-desc-version.
21970
21971 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21972 (byte-compile-preprocess): Use it.
21973 (byte-compile-file-form-defalias): Try a bit harder to use macros we
21974 can't quite recognize.
21975 (byte-compile-add-to-list): Remove.
21976 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21977 (cconv-closure-convert): Add assertion.
21978
21979 * emacs-lisp/map-ynp.el: Use lexical-binding.
21980 (map-y-or-n-p): Remove unused vars `tail' and `object'.
21981 Factor out some repeated code.
21982
21983 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21984
21985 * subr.el (with-eval-after-load): New macro.
21986 (eval-after-load): Allow form to be a function.
21987 take advantage of lexical-binding.
21988 (do-after-load-evaluation): Use dolist and adjust to new format.
21989 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21990
21991 2013-06-13 Juri Linkov <juri@jurta.org>
21992
21993 * replace.el (perform-replace): Display "symbol " and other search
21994 modes from `isearch-message-prefix' in the *Help* buffer.
21995
21996 * isearch.el (isearch-query-replace): Add " symbol" and other
21997 possible search modes from `isearch-message-prefix' to the prompt.
21998 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
21999 when reading a regexp to collect.
22000
22001 2013-06-13 Juri Linkov <juri@jurta.org>
22002
22003 * isearch.el (word-search-regexp): Match whitespace if the search
22004 string begins or ends in whitespace. The LAX arg is applied to
22005 both ends of the search string. Use `regexp-quote' and explicit
22006 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22007 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22008 boundaries are replaced with symbol boundaries, and characters
22009 between symbols match non-word non-symbol syntax. (Bug#14602)
22010
22011 2013-06-13 Juri Linkov <juri@jurta.org>
22012
22013 * isearch.el (isearch-del-char): Don't exceed the length of
22014 `isearch-string' by the prefix arg. (Bug#14563)
22015
22016 2013-06-13 Juri Linkov <juri@jurta.org>
22017
22018 * isearch.el (isearch-yank-word, isearch-yank-line)
22019 (isearch-char-by-name, isearch-quote-char)
22020 (isearch-printing-char, isearch-process-search-char):
22021 Add optional count prefix arg. (Bug#14563)
22022
22023 * international/isearch-x.el
22024 (isearch-process-search-multibyte-characters):
22025 Add optional count prefix arg.
22026
22027 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22028
22029 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22030 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22031 lexical-binding.
22032
22033 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22034
22035 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22036
22037 2013-06-13 Glenn Morris <rgm@gnu.org>
22038
22039 * startup.el (tty-handle-args):
22040 Don't just discard "--" and anything after. (Bug#14608)
22041
22042 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22043
22044 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22045
22046 Implement changes in Secret Service API. Make it backward compatible.
22047 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22048 (secrets-create-item): Use it. Prefix properties with interface.
22049
22050 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22051
22052 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22053 (term-emulate-terminal): Respect term-suppress-hard-newline.
22054
22055 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22056
22057 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22058 Only remove a `thumb-file' overlay. (Bug#14548)
22059
22060 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22061
22062 * mail/reporter.el (reporter-submit-bug-report):
22063 Handle missing package-name. (Bug#14600)
22064
22065 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22066
22067 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22068 (reftex-citation-prompt, reftex-default-bibliography)
22069 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22070 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22071 (reftex-bib-sort-author, reftex-bib-sort-year)
22072 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22073 (reftex-extract-bib-entries-from-thebibliography)
22074 (reftex-get-bibkey-default, reftex-get-bib-names)
22075 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22076 (reftex-format-bib-entry, reftex-parse-bibitem)
22077 (reftex-format-bibitem, reftex-do-citation)
22078 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22079 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22080 (reftex-insert-bib-matches, reftex-format-citation)
22081 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22082 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22083 existing comments into docstrings.
22084
22085 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22086
22087 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22088
22089 2013-06-12 Andreas Schwab <schwab@suse.de>
22090
22091 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22092 for auto-save files.
22093
22094 2013-06-12 Glenn Morris <rgm@gnu.org>
22095
22096 * ido.el (ido-delete-ignored-files): Remove.
22097 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22098 Go back to calling ido-ignore-item-p directly.
22099
22100 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22101
22102 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22103
22104 * ido.el (ido-delete-ignored-files): New function,
22105 split from ido-make-file-list-1.
22106 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22107 (ido-make-file-list-1): Use ido-delete-ignored-files.
22108
22109 2013-06-12 Leo Liu <sdl.web@gmail.com>
22110
22111 * progmodes/octave.el (inferior-octave-startup)
22112 (inferior-octave-completion-table)
22113 (inferior-octave-track-window-width-change)
22114 (octave-eldoc-function-signatures, octave-help)
22115 (octave-find-definition): Use single quoted strings.
22116 (inferior-octave-startup-args): Change default value.
22117 (inferior-octave-startup): Do not hard code "-i" and
22118 "--no-line-editing".
22119 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22120 (inferior-octave-directory-tracker): Use it.
22121 (octave-goto-function-definition): Robustify.
22122 (octave-help): Support highlighting operators in 'See also'.
22123 (octave-find-definition): Find subfunctions only in Octave mode.
22124
22125 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22126
22127 * help-fns.el (help-fns--compiler-macro): If the handler function is
22128 named, then put a link to it.
22129 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22130 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22131 (cl-typep): Use it.
22132 (cl-eval-when): Simplify debug spec.
22133 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22134 compiler-macro function instead of setting `compiler-macro-file'.
22135
22136 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22137
22138 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22139 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22140
22141 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22142 Daniel Hackney <dan@haxney.org>
22143
22144 First part of Daniel Hackney's patch to package.el.
22145 * emacs-lisp/package.el: Use defstruct.
22146 (package-desc): New, main struct.
22147 (package--bi-desc, package--ac-desc): New structs, used to describe the
22148 format in external files.
22149 (package-desc-vers): Replace with package-desc-version accessor.
22150 (package-desc-doc): Replace with package-desc-summary accessor.
22151 (package-activate-1): Remove `package' arg since the pkg-vec now
22152 includes the name.
22153 (define-package): Use package-desc-from-define.
22154 (package-unpack-single): Change file-name arg to be a symbol.
22155 (package--add-to-archive-contents): Use package-desc-create and new
22156 accessor functions to package--ac-desc.
22157 (package-buffer-info, package-tar-file-info): Return a package-desc.
22158 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22159 arg to be a package-desc.
22160 (package-install-file): Adjust accordingly. Use \' to match EOS.
22161 (package--from-builtin): New function.
22162 (describe-package-1, package-menu--generate): Use it.
22163 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22164 (package-generate-autoloads): Idem and return the name of the file.
22165 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22166 Change pkg-info arg to be a package-desc.
22167 Use package-make-ac-desc.
22168 (package-upload-file): Use \' to match EOS.
22169 * finder.el (finder-compile-keywords): Use package-make-builtin.
22170
22171 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22172
22173 * vc/vc.el (vc-deduce-fileset): Change error message.
22174 (vc-read-backend): New function.
22175 (vc-next-action): Use it.
22176
22177 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22178
22179 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22180 (prolog-font-lock-keywords): Use regexp-opt instead.
22181 Don't manually highlight strings.
22182 (prolog-mode-variables): Simplify comment-start-skip.
22183 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22184
22185 * emacs-lisp/generic.el (generic--normalise-comments)
22186 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22187 (generic-mode-set-comments): Use them.
22188 (generic-bracket-support): Use setq-local.
22189 (generic-make-keywords-list): Declare obsolete.
22190
22191 2013-06-11 Glenn Morris <rgm@gnu.org>
22192
22193 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22194 Prettify after setting font-lock-defaults. (Bug#14574)
22195
22196 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22197
22198 * replace.el (query-replace, occur-read-regexp-defaults-function)
22199 (replace-search):
22200 * subr.el (declare-function, number-sequence, local-set-key)
22201 (substitute-key-definition, locate-user-emacs-file)
22202 (with-silent-modifications, split-string, eval-after-load):
22203 Fix typos, remove unneeded backslashes and reflow some docstrings.
22204
22205 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22206
22207 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22208 default for Elisp files.
22209
22210 2013-06-11 Glenn Morris <rgm@gnu.org>
22211
22212 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22213 although define-derived-mode was doing this anyway. (Bug#14583)
22214
22215 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22216
22217 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22218 Fix make-variable-buffer-local call to refer to the correct variable.
22219
22220 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22221
22222 * eshell/em-term.el (eshell-visual-commands)
22223 (eshell-visual-subcommands, eshell-visual-options):
22224 Add summary line to docstrings. Add cross-references.
22225
22226 2013-06-10 Glenn Morris <rgm@gnu.org>
22227
22228 * epa.el (epa-read-file-name): New function. (Bug#14510)
22229 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22230
22231 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22232
22233 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22234 output redirection to be ignored with visual commands.
22235
22236 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22237
22238 * eshell/em-term.el (eshell-visual-command-p): New function.
22239 (eshell-term-initialize): Move long lambda to separate function
22240 eshell-visual-command-p.
22241 * eshell/em-dirs.el (eshell-dirs-initialize):
22242 * eshell/em-script.el (eshell-script-initialize):
22243 Add missing #' to lambda.
22244
22245 2013-06-08 Leo Liu <sdl.web@gmail.com>
22246
22247 * progmodes/octave.el (octave-add-log-current-defun): New function.
22248 (octave-mode): Set add-log-current-defun-function.
22249 (octave-goto-function-definition): Do not move point if not found.
22250 (octave-find-definition): Enhance to try subfunctions first.
22251
22252 2013-06-08 Glenn Morris <rgm@gnu.org>
22253
22254 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22255 (byte-compile-backward-char, byte-compile-backward-word):
22256 Improve previous change, to handle non-explicit nil.
22257
22258 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22259
22260 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22261 (smie--opener/closer-at-point): New function.
22262 (smie--matching-block-data): Use it. Don't match from right after an
22263 opener or right before a closer. Obey smie-blink-matching-inners.
22264 Don't signal a mismatch for repeated inners like "switch..case..case".
22265
22266 2013-06-07 Leo Liu <sdl.web@gmail.com>
22267
22268 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22269 to t. (Bug#14303)
22270 (octave-function-header-regexp): Fix. (Bug#14570)
22271 (octave-help-mode-finish-hook, octave-help-mode-finish):
22272 Remove. Just use temp-buffer-show-hook.
22273
22274 * newcomment.el (comment-search-backward): Revert last change.
22275 (Bug#14434)
22276
22277 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22278
22279 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22280
22281 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22282 through xargs, to avoid failure due to MS-Windows limitations on
22283 command-line length.
22284
22285 2013-06-06 Glenn Morris <rgm@gnu.org>
22286
22287 * font-lock.el (lisp-font-lock-keywords-2):
22288 Treat user-error like error.
22289
22290 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22291 (byte-compile-backward-char, byte-compile-backward-word):
22292 Handle explicit nil arguments. (Bug#14565)
22293
22294 2013-06-05 Alan Mackenzie <acm@muc.de>
22295
22296 * isearch.el (isearch-allow-prefix): New user option.
22297 (isearch-other-meta-char): Don't exit isearch when a prefix
22298 argument is typed whilst `isearch-allow-prefix' is non-nil.
22299 (Bug#9706)
22300
22301 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22302
22303 * autorevert.el (auto-revert-notify-handler): Use memq.
22304 Hide assertion failure.
22305
22306 * skeleton.el: Use cl-lib.
22307 (skeleton-further-elements): Use defvar-local.
22308 (skeleton-insert): Use cl-progv.
22309
22310 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22311
22312 * progmodes/prog-mode.el (prog-prettify-symbols)
22313 (prog-prettify-install): Update docstrings.
22314
22315 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22316
22317 * simple.el: Move all the prog-mode code to prog-mode.el.
22318 * progmodes/prog-mode.el: New file.
22319 * loadup.el: Add prog-mode.el.
22320
22321 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22322
22323 * simple.el (prog-prettify-symbols): Add version.
22324 (prog-prettify-install): Add convenience function to prettify symbols.
22325
22326 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22327 (perl--augmented-font-lock-keywords-1)
22328 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22329 variables and use it.
22330
22331 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22332 (cfengine3-mode): Remove unneeded variable and use it.
22333
22334 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22335 (lisp--augmented-font-lock-keywords-1)
22336 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22337 Remove unneeded variables and use it.
22338
22339 2013-06-05 João Távora <joaotavora@gmail.com>
22340
22341 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22342 to point when opening the connection. (Bug#14380)
22343
22344 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22345
22346 * subr.el (load-history-regexp, load-history-filename-element)
22347 (eval-after-load, after-load-functions, do-after-load-evaluation)
22348 (eval-next-after-load, display-delayed-warnings)
22349 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22350 definition of save-match-data.
22351 (overriding-local-map): Remove accidental obsolescence declaration.
22352
22353 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22354
22355 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22356
22357 Generalize symbol prettify support to prog-mode and implement it
22358 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22359 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22360 (prog--prettify-font-lock-compose-symbol)
22361 (prog-prettify-font-lock-symbols-keywords): New variables and
22362 functions to support symbol prettification.
22363 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22364 (lisp--augmented-font-lock-keywords-1)
22365 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22366 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22367 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22368 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22369 Implement prettify of -> => :: strings.
22370 * progmodes/perl-mode.el (perl-prettify-symbols)
22371 (perl--font-lock-compose-symbol)
22372 (perl--font-lock-symbols-keywords): Move to prog-mode.
22373 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22374 (perl-font-lock-keywords-1)
22375 (perl-font-lock-keywords-2): Remove explicit prettify support.
22376 (perl--augmented-font-lock-keywords)
22377 (perl--augmented-font-lock-keywords-1)
22378 (perl--augmented-font-lock-keywords-2, perl-mode):
22379 Implement prettify support.
22380
22381 2013-06-05 Leo Liu <sdl.web@gmail.com>
22382
22383 Re-implement SMIE matching block highlight using
22384 show-paren-data-function. (Bug#14395)
22385 * emacs-lisp/smie.el (smie-matching-block-highlight)
22386 (smie--highlight-matching-block-overlay)
22387 (smie--highlight-matching-block-lastpos)
22388 (smie-highlight-matching-block)
22389 (smie-highlight-matching-block-mode): Remove.
22390 (smie--matching-block-data-cache): New variable.
22391 (smie--matching-block-data): New function.
22392 (smie-setup): Use smie--matching-block-data for
22393 show-paren-data-function.
22394
22395 * progmodes/octave.el (octave-mode-menu): Fix.
22396 (octave-find-definition): Skip garbage lines.
22397
22398 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22399
22400 Fix compilation error with simultaneous dynamic+lexical scoping.
22401 Add warning when a defvar appears after the first let-binding.
22402 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22403 (byte-compile-close-variables): Initialize it.
22404 (byte-compile--declare-var): New function.
22405 (byte-compile-file-form-defvar)
22406 (byte-compile-file-form-define-abbrev-table)
22407 (byte-compile-file-form-custom-declare-variable): Use it.
22408 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22409 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22410 (byte-compile-bind): Handle dynamic bindings that shadow
22411 lexical bindings.
22412 (byte-compile-unbind): Make arg non-optional.
22413 (byte-compile-let): Simplify.
22414 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22415 (cconv--analyse-function, cconv-analyse-form): Populate it.
22416 Protect byte-compile-bound-variables to limit the scope of defvars.
22417 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22418 Remove unneeded rule for `declare'.
22419
22420 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22421 so as to avoid depending on cl-adjoin at run-time.
22422 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22423
22424 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22425 (macroexp--warn-and-return): Use it.
22426
22427 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22428
22429 * subr.el: Convert to lexical binding.
22430 (overriding-local-map): Make obsolete.
22431 (add-to-list): Doc fix. Add compiler macro.
22432 (read-key): Swap values of local maps.
22433
22434 2013-06-05 Leo Liu <sdl.web@gmail.com>
22435
22436 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22437
22438 2013-06-04 Leo Liu <sdl.web@gmail.com>
22439
22440 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22441 (compilation-auto-jump): Suppress the "Mark set" message to give
22442 way to exit message.
22443
22444 2013-06-04 Alan Mackenzie <acm@muc.de>
22445
22446 Remove faulty optimization from indentation calculation.
22447 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22448 search limit based on 2000 characters back from indent-point.
22449
22450 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22451
22452 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22453
22454 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22455
22456 * emacs-lisp/lisp.el: Use lexical-binding.
22457 (lisp--local-variables-1, lisp--local-variables): New functions.
22458 (lisp--local-variables-completion-table): New var.
22459 (lisp-completion-at-point): Use it complete let-bound vars.
22460
22461 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22462 eagerly (bug#14422).
22463
22464 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22465
22466 * autorevert.el (auto-revert-notify-enabled)
22467 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22468 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22469 (auto-revert-notify-handler): Handle also gfilenotify.
22470
22471 * subr.el (file-notify-handle-event): New defun. Replacing ...
22472 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22473 Remove.
22474
22475 2013-06-03 Juri Linkov <juri@jurta.org>
22476
22477 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22478 `M-s h .'. (Bug#14427)
22479
22480 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22481 command `hi-lock-face-symbol-at-point'.
22482 (hi-lock-face-symbol-at-point): New command.
22483 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22484 (hi-lock-menu): Add `highlight-symbol-at-point'.
22485 (hi-lock-mode): Doc fix.
22486
22487 * isearch.el (isearch-forward-symbol-at-point): New command.
22488 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22489 (isearch-highlight-regexp): Add a regexp which matches
22490 words/symbols for word/symbol mode.
22491
22492 * subr.el (find-tag-default-bounds): New function with the body
22493 mostly moved from `find-tag-default'.
22494 (find-tag-default): Move most code to `find-tag-default-bounds',
22495 call it and apply `buffer-substring-no-properties' afterwards.
22496
22497 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22498
22499 * eshell/em-term.el (eshell-term-initialize):
22500 Use `cl-intersection' rather than `intersection'.
22501
22502 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22503
22504 * vc/log-view.el: Doc fix.
22505 (log-view-mode-map): Copy keymap from `special-mode-map'.
22506
22507 2013-06-02 Eric Ludlam <zappo@gnu.org>
22508
22509 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22510 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22511 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22512 (eieio-unbound, eieio-default-superclass)
22513 (eieio--define-field-accessors, method-static, method-before)
22514 (method-primary, method-after, method-num-lists)
22515 (method-generic-before, method-generic-primary)
22516 (method-generic-after, method-num-slots)
22517 (eieio-specialized-key-to-generic-key)
22518 (eieio--check-type, class-v, class-p)
22519 (eieio-class-name, define-obsolete-function-alias)
22520 (eieio-class-parents-fast, eieio-class-children-fast)
22521 (same-class-fast-p, class-constructor, generic-p)
22522 (generic-primary-only-p, generic-primary-only-one-p)
22523 (class-option-assoc, class-option, eieio-object-p)
22524 (class-abstract-p, class-method-invocation-order)
22525 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22526 (eieio-class-un-autoload, eieio-defclass)
22527 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22528 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22529 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22530 (eieio-defgeneric-reset-generic-form)
22531 (eieio-defgeneric-form-primary-only)
22532 (eieio-defgeneric-reset-generic-form-primary-only)
22533 (eieio-defgeneric-form-primary-only-one)
22534 (eieio-defgeneric-reset-generic-form-primary-only-one)
22535 (eieio-unbind-method-implementations)
22536 (eieio--defmethod, eieio--typep)
22537 (eieio-perform-slot-validation, eieio-validate-slot-value)
22538 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22539 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22540 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22541 (eieio-slot-name-index, eieio-class-slot-name-index)
22542 (eieio-set-defaults, eieio-initarg-to-attribute)
22543 (eieio-attribute-to-initarg, eieio-c3-candidate)
22544 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22545 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22546 (eieio-class-precedence-list, eieio-generic-call-methodname)
22547 (eieio-generic-call-arglst, eieio-generic-call-key)
22548 (eieio-generic-call-next-method-list)
22549 (eieio-pre-method-execution-functions, eieio-generic-call)
22550 (eieio-generic-call-primary-only, eieiomt-method-list)
22551 (eieiomt-optimizing-obarray, eieiomt-install)
22552 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22553 (eieio-generic-form, eieio-defmethod, make-obsolete)
22554 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22555 (defclass): Remove `eval-and-compile' from macro.
22556 (call-next-method, shared-initialize): Instead of using
22557 `scoped-class' variable, use new eieio--scoped-class, and
22558 eieio--with-scoped-class.
22559 (initialize-instance): Rename local variable 'scoped-class' to
22560 'this-class' to remove ambiguitity from old global.
22561
22562 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22563 eieio.el.
22564 (eieio--scoped-class-stack): New variable.
22565 (eieio--scoped-class): New fcn.
22566 (eieio--with-scoped-class): New scoping macro.
22567 (eieio-defclass): Use pushnew instead of add-to-list.
22568 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22569 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22570 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22571 `scoped-class' variable, use new eieio--scoped-class, and
22572 eieio--with-scoped-class.
22573
22574 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22575
22576 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22577
22578 * eshell/esh-ext.el (eshell-external-command): Pass args to
22579 `eshell-find-interpreter'.
22580 (eshell-find-interpreter): Add new second parameter ARGS.
22581
22582 * eshell/em-script.el (eshell-script-initialize): Add second arg
22583 to the function added as MATCH to `eshell-interpreter-alist'.
22584
22585 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22586 the function added as MATCH to `eshell-interpreter-alist'.
22587
22588 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22589 (eshell-visual-options): New defcustom.
22590 (eshell-escape-control-x): Adapt docstring.
22591 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22592 `eshell-visual-options' in addition to `eshell-visual-commands'.
22593 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22594
22595 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22596
22597 * progmodes/python.el (python-indent-block-enders): Add break,
22598 continue and raise keywords.
22599
22600 2013-06-01 Glenn Morris <rgm@gnu.org>
22601
22602 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22603
22604 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22605 * progmodes/cc-cmds.el (delete-forward-p):
22606 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22607 * progmodes/cc-engine.el (buffer-syntactic-context):
22608 * progmodes/cc-fonts.el (face-property-instance):
22609 * progmodes/cc-mode.el (set-keymap-parents):
22610 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22611 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22612 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22613 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22614 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22615
22616 * progmodes/cc-vars.el (other): Emacs has this widget since
22617 at least 21.1, so don't (re)define it.
22618
22619 * eshell/em-cmpl.el (eshell-cmpl-initialize):
22620 Replace the obsolete alias pcomplete-arg-quote-list.
22621
22622 2013-06-01 Leo Liu <sdl.web@gmail.com>
22623
22624 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22625 punctuation syntax.
22626 (inferior-octave-minimal-columns)
22627 (inferior-octave-last-column-width): New variables.
22628 (inferior-octave-track-window-width-change): New function.
22629 (inferior-octave-mode): Adjust column width so that Octave output,
22630 for example from 'ls', can fit into the window nicely.
22631
22632 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22633
22634 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22635 Highlight expansions inside regexp literals.
22636
22637 2013-05-31 Glenn Morris <rgm@gnu.org>
22638
22639 * obsolete/sym-comp.el (symbol-complete):
22640 Replace obsolete completion-annotate-function.
22641
22642 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22643
22644 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22645
22646 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22647 New function, checks if point is inside a literal that allows
22648 expression expansion.
22649 (ruby-syntax-propertize-expansion): Use it.
22650 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22651 around the body.
22652
22653 2013-05-30 Juri Linkov <juri@jurta.org>
22654
22655 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22656 to "\M-si".
22657 (isearch-invisible): New variable.
22658 (isearch-forward): Doc fix.
22659 (isearch-mode): Set `isearch-invisible'
22660 to the value of `search-invisible'.
22661 (isearch-toggle-case-fold): Doc fix.
22662 (isearch-toggle-invisible): New command.
22663 (isearch-query-replace): Let-bind `search-invisible'
22664 to the value of `isearch-invisible'.
22665 (isearch-search): Use `isearch-invisible' instead of
22666 `search-invisible'. Let-bind `search-invisible'
22667 to the value of `isearch-invisible'. (Bug#11378)
22668
22669 2013-05-30 Juri Linkov <juri@jurta.org>
22670
22671 * replace.el (perform-replace): Avoid `isearch-range-invisible'
22672 call when `query-flag' is nil and `search-invisible' is non-nil.
22673 (Bug#11746)
22674
22675 2013-05-30 Glenn Morris <rgm@gnu.org>
22676
22677 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22678
22679 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22680 (cc-require): Suppress spurious "noruntime" warnings.
22681 (cc-require-when-compile): Use fboundp, for sake of compiler.
22682
22683 * progmodes/cc-mode.el: Move load of cc-vars before that of
22684 cc-langs (which in turn loads cc-vars), to quieten compiler.
22685
22686 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22687
22688 * paren.el: Simplify the code.
22689 (show-paren-mode): Always start the timer.
22690 (show-paren--idle-timer): Rename from show-paren-idle-timer.
22691 (show-paren--overlay, show-paren--overlay-1): Rename from
22692 show-paren-overlay and show-paren-overlay-1, and initialize to an
22693 overlay rather than to nil.
22694 (show-paren-function): Misc cleanup and simplifications.
22695
22696 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22697
22698 * paren.el (show-paren-data-function): New hook.
22699 (show-paren--default): New function, extracted from show-paren-function.
22700 (show-paren-function): Use show-paren-data-function.
22701
22702 2013-05-30 Glenn Morris <rgm@gnu.org>
22703
22704 * ielm.el (ielm-map, ielm-complete-symbol):
22705 Use completion-at-point rather than obsolete functions.
22706 (inferior-emacs-lisp-mode): Doc fix.
22707 Set completion-at-point-functions, rather than
22708 comint-dynamic-complete-functions.
22709
22710 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22711 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22712 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22713
22714 * image.el (image-animated-p): Tweak definition.
22715
22716 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22717 (rlogin-process-connection-type): Tweak default. Add set-after.
22718 (rlogin-host): Doc fix.
22719 (rlogin): Tweak prompt.
22720 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22721
22722 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22723 * progmodes/tcl.el (inferior-tcl-mode-map):
22724 Use completion-at-point rather than obsolete alias.
22725
22726 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22727
22728 * minibuffer.el (read-file-name-completion-ignore-case):
22729 Move before completion--in-region, for eager macro expansion.
22730
22731 2013-05-29 Juri Linkov <juri@jurta.org>
22732
22733 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22734 for total count of matching lines. Add `global-matches' for total
22735 count of matches. Rename `matches' to `lines' for count of
22736 matching lines. Add `matches' for count of matches.
22737 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
22738 to `prev-line' for line number of prev match endpt.
22739 Increment `matches' for every match. Print the number of
22740 matching lines in the header.
22741 (occur-context-lines): Rename `lines' to `curr-line'.
22742 Rename `prev-lines' to `prev-line'. (Bug#14017)
22743
22744 2013-05-29 Juri Linkov <juri@jurta.org>
22745
22746 * replace.el (perform-replace): Add `skip-read-only-count',
22747 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22748 Increment them for corresponding conditions and report the number
22749 of skipped occurrences in the final message. (Bug#11746)
22750 (query-replace, query-replace-regexp, query-replace-regexp-eval)
22751 (replace-string, replace-regexp): Doc fix.
22752
22753 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22754
22755 * emacs-lisp/trace.el (trace--read-args): Provide a default.
22756
22757 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22758 prog-mode-map (bug#14504).
22759
22760 2013-05-29 Leo Liu <sdl.web@gmail.com>
22761
22762 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22763 (octave-help): Small simplification.
22764
22765 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22766 off the highlight first.
22767
22768 2013-05-29 Glenn Morris <rgm@gnu.org>
22769
22770 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22771 Handle idlwave-last-system-routine-info-cons-cell being nil.
22772
22773 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22774 (idlwave-write-paths): Simplify via with-temp-buffer.
22775
22776 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22777 * emulation/cua-rect.el: Also load cua-base at run time.
22778
22779 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22780 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22781 (cperl-imenu-on-info): Require imenu.
22782
22783 2013-05-28 Alan Mackenzie <acm@muc.de>
22784
22785 Handle "capitalised keywords" correctly.
22786 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22787
22788 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
22789
22790 * eshell/em-unix.el: Add -r option to cp.
22791
22792 2013-05-28 Glenn Morris <rgm@gnu.org>
22793
22794 * vc/vc-arch.el (vc-exec-after): Declare.
22795 (vc-switches): Autoload.
22796 * vc/vc-bzr.el: No need to require vc when compiling.
22797 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22798 (vc-resynch-buffer, vc-dir-refresh): Declare.
22799 (vc-setup-buffer, vc-switches): Autoload.
22800 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22801 (vc-resynch-buffer): Declare.
22802 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22803 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22804 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22805 (grep-read-regexp, grep-read-files, grep-expand-template)
22806 (vc-dir-refresh): Declare.
22807 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22808 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22809 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22810 * vc/vc-mtn.el (vc-exec-after): Declare.
22811 (vc-switches): Autoload.
22812 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22813 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22814 (vc-file-tree-walk): Declare.
22815 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22816 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22817 (vc-tag-precondition, vc-rename-master): Autoload.
22818 * vc/vc-svn.el (vc-exec-after): Declare.
22819 (vc-switches, vc-setup-buffer): Autoload.
22820 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22821 Autoload.
22822 (vc-resynch-buffer): Declare.
22823
22824 * obsolete/fast-lock.el (byte-compile-warnings):
22825 Don't warn about obsolete features in this obsolete file.
22826
22827 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22828 Move definition before use.
22829
22830 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22831 (dun-unix-verbs): Remove dun-zippy.
22832 (dun-zippy): Remove function.
22833
22834 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22835
22836 2013-05-27 Juri Linkov <juri@jurta.org>
22837
22838 * replace.el (replace-search): New function with code moved out
22839 from `perform-replace'.
22840 (replace-highlight, replace-dehighlight): Move function definitions
22841 up closer to `replace-search'. (Bug#11746)
22842
22843 2013-05-27 Juri Linkov <juri@jurta.org>
22844
22845 * replace.el (perform-replace): Ignore invisible matches.
22846 In addition to checking `query-replace-skip-read-only', also
22847 filter out matches by calling `run-hook-with-args-until-failure'
22848 on `isearch-filter-predicates', and also check `search-invisible'
22849 for t or call `isearch-range-invisible'.
22850 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22851
22852 2013-05-27 Juri Linkov <juri@jurta.org>
22853
22854 * isearch.el (isearch-filter-predicates): Rename from
22855 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22856 (isearch-message-prefix): Display text from the property
22857 `isearch-message-prefix' of the currently active filters.
22858 (isearch-search): Don't compare `isearch-filter-predicate' with
22859 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22860 on `isearch-filter-predicates'. Also check `search-invisible' for t
22861 or call `isearch-range-invisible'.
22862 (isearch-filter-visible): Make obsolete.
22863 (isearch-lazy-highlight-search):
22864 Call `run-hook-with-args-until-failure' on
22865 `isearch-filter-predicates' and use `isearch-range-invisible'.
22866
22867 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22868 `isearch-filter-predicates' instead of `funcall'ing
22869 `isearch-filter-predicate'.
22870 (Info-mode): Set `Info-isearch-filter' to
22871 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22872
22873 * dired-aux.el (dired-isearch-filter-predicate-orig):
22874 Remove variable.
22875 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22876 (dired-isearch-filenames-end): Add and remove
22877 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22878 instead of changing the value of `isearch-filter-predicate'.
22879 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22880 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22881 Put property `isearch-message-prefix' to "filename " on
22882 `dired-isearch-filter-filenames'.
22883
22884 * wdired.el (wdired-change-to-wdired-mode):
22885 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22886 locally instead of changing `isearch-filter-predicate'.
22887 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22888
22889 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22890
22891 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22892 return the commit hash (Bug#14459). Also set the
22893 `vc-git-detached' property.
22894 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22895 (vc-git-mode-line-string): Use the same help-echo format whether
22896 in detached mode or not, because we know the actual revision now.
22897 When in detached mode, shorten the revision to 7 chars.
22898
22899 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22900
22901 * emacs-lisp/easy-mmode.el (define-minor-mode):
22902 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22903 mode hook and provide a docstring.
22904
22905 2013-05-27 Alan Mackenzie <acm@muc.de>
22906
22907 Remove spurious syntax-table text properties inserted by C-y.
22908 * progmodes/cc-mode.el (c-after-change): Also clear hard
22909 syntax-table property with value nil.
22910
22911 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
22912
22913 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22914 when reading the events; the buffer layout shall not be changed.
22915
22916 2013-05-27 Leo Liu <sdl.web@gmail.com>
22917
22918 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22919 New variable.
22920 (inferior-octave-directory-tracker): Automatically re-sync
22921 default-directory.
22922 (octave-help): Improve handling of 'See also'.
22923
22924 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22925
22926 * doc-view.el: Minor naming convention tweaks.
22927 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22928
22929 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22930 even if there's no `display' property yet (bug#14435).
22931
22932 2013-05-25 Eli Zaretskii <eliz@gnu.org>
22933
22934 * subr.el (unmsys--file-name): Rename from reveal-filename.
22935
22936 * Makefile.in (custom-deps, finder-data, autoloads)
22937 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22938 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22939 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22940
22941 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22942
22943 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22944 error-completion on the first 2 args of condition-case (bug#14446).
22945 Don't burp at EOB.
22946
22947 2013-05-25 Leo Liu <sdl.web@gmail.com>
22948
22949 * comint.el (comint-previous-matching-input): Do not flood the
22950 *Messages* buffer with trivial messages.
22951
22952 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22953
22954 * progmodes/flymake.el (flymake-nop): Don't return a string.
22955 (flymake-set-at): Fix typo.
22956
22957 * simple.el (read--expression): New function, extracted from
22958 eval-expression. Set completion-at-point-functions (bug#14465).
22959 (eval-expression, eval-minibuffer): Use it.
22960
22961 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
22962
22963 * progmodes/flymake.el (flymake-save-buffer-in-file)
22964 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22965 (flymake-selected-frame, flymake-log, flymake-ins-after)
22966 (flymake-set-at, flymake-get-buildfile-from-cache)
22967 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22968 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22969 Refine the doc string.
22970 (flymake-get-file-name-mode-and-masks): Reformat.
22971 (flymake-get-real-file-name-function): Fix a minor bug.
22972
22973 2013-05-24 Juri Linkov <juri@jurta.org>
22974
22975 * progmodes/grep.el (grep-mode-font-lock-keywords):
22976 Support =linenumber= format used by git-grep for lines with
22977 function names. (Bug#13549)
22978
22979 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22980
22981 * progmodes/octave.el (octave-smie-rules): Return nil rather than
22982 0 after a semi-colon; it works better for smie-auto-fill.
22983 (octave--indent-new-comment-line): New function.
22984 (octave-indent-new-comment-line): Use it (indirectly).
22985 (octave-mode): Don't disable smie-auto-fill. Use add-function to
22986 modify comment-line-break-function.
22987
22988 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22989 (smie-setup): Use add-function to set it.
22990
22991 2013-05-24 Sam Steingold <sds@gnu.org>
22992
22993 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
22994 argument (before the `interactive' argument).
22995
22996 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * image-mode.el (image-mode-winprops): Add winprops to
22999 image-mode-winprops-alist before running
23000 image-mode-new-window-functions.
23001 * doc-view.el (doc-view-new-window-function): Don't delay
23002 doc-view-goto-page via timers (bug#14435).
23003
23004 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23005
23006 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23007 (doc-view-desktop-save-buffer): New function.
23008 (doc-view-restore-desktop-buffer): New function.
23009 (desktop-buffer-mode-handlers):
23010 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23011 handler.
23012 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23013 `desktop-save-buffer' function.
23014
23015 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23016
23017 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23018 (tramp-gvfs-file-name-handler): Raise a user error when
23019 `tramp-gvfs-enabled' is nil.
23020 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23021 Do not raise a user error when loading package. (Bug#14447)
23022
23023 * net/xesam.el: Move to obsolete/.
23024
23025 2013-05-24 Glenn Morris <rgm@gnu.org>
23026
23027 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23028
23029 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23030
23031 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23032 (Info-find-node, Man-getpage-in-background): Declare.
23033
23034 * mail/unrmail.el (unrmail):
23035 Replace obsolete detect-coding-with-priority.
23036
23037 * net/socks.el (socks-split-string): Use this rather than split-string.
23038 (socks-nslookup-host): Update for above change.
23039 (dynamic-choice, s5-dynamic-choice-match)
23040 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23041 Comment out unused code.
23042
23043 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23044 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23045 (gud-tooltip-echo-area): Make obsolete.
23046 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23047
23048 * progmodes/js.el (js--optimize-arglist): Declare.
23049
23050 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23051
23052 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23053 (ediff-window-C): Declare.
23054
23055 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23056 Tweak requires to silence compiler.
23057
23058 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23059 (he-search-string, he-tried-table, he-expand-list)
23060 (he-init-string, he-string-member, he-substitute-string)
23061 (he-reset-string): Declare.
23062
23063 * obsolete/options.el (list-options): Use custom-variable-p,
23064 rather than obsolete alias.
23065
23066 2013-05-23 Sam Steingold <sds@gnu.org>
23067
23068 * simple.el (shell-command-on-region): Pass the `replace' argument
23069 down to `call-process-region' to comply with the doc as reported on
23070 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23071
23072 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23073
23074 * emacs-lisp/smie.el (smie-indent-forward-token)
23075 (smie-indent-backward-token): Handle string tokens (bug#14381).
23076
23077 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23078
23079 * ielm.el (ielm-menu): New menu.
23080 (inferior-emacs-lisp-mode): Set comment-start.
23081
23082 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23083
23084 * textmodes/reftex.el (reftex-ref-style-toggle):
23085 Fix deactivate action.
23086
23087 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23088 Add cleveref macros.
23089
23090 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23091 Accept options for bibliography commands.
23092 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23093 Add addbibresource. Basic Biblatex support.
23094
23095 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23096
23097 * net/tramp-gvfs.el (top):
23098 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23099 when loading package. (Bug#14447)
23100
23101 2013-05-23 Glenn Morris <rgm@gnu.org>
23102
23103 * progmodes/js.el: No need to load comint when compiling.
23104 (ring-insert, comint-send-string, comint-send-input)
23105 (comint-last-input-end, ido-chop): Declare.
23106
23107 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23108 * vc/ediff-mult.el: Adjust requires.
23109 (ediff-directories-internal, ediff-directory-revisions-internal)
23110 (ediff-patch-file-internal): Declare.
23111 * vc/ediff-ptch.el: Adjust requires.
23112 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23113 (ediff-find-file): Autoload.
23114 * vc/ediff-util.el: No need to load ediff when compiling.
23115 (ediff-regions-internal): Declare.
23116 * vc/ediff-wind.el: Adjust requires.
23117 (ediff-compute-toolbar-width): Define when compiling.
23118 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23119 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23120 (dired-get-filename, dired-get-marked-files)
23121 (ediff-last-dir-patch, ediff-patch-default-directory)
23122 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23123 (ediff-patch-buffer-internal): Declare.
23124
23125 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23126 (ispell-process, ispell-buffer-local-words, lm-summary)
23127 (lm-section-start, lm-section-end): Declare.
23128 (checkdoc-ispell-init): Simplify.
23129
23130 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23131 (he-string-member, he-reset-string, he-substitute-string): Declare.
23132
23133 * eshell/em-ls.el: Adjust requires.
23134 (eshell-glob-regexp): Declare.
23135 * eshell/em-tramp.el: Adjust requires.
23136 (eshell-parse-command): Autoload.
23137 * eshell/em-xtra.el: Adjust requires.
23138 (eshell-parse-command): Autoload.
23139 * eshell/esh-ext.el: Adjust requires.
23140 (eshell-parse-command, eshell-close-handles): Autoload.
23141 * eshell/esh-io.el: Adjust requires.
23142 (eshell-output-filter): Autoload.
23143 * eshell/esh-util.el: No need to load tramp when compiling.
23144 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23145 Declare.
23146 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23147 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23148 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23149 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23150 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23151 * eshell/esh-opt.el, eshell/esh-proc.el:
23152 * eshell/esh-var.el: Adjust requires.
23153 * eshell/eshell.el: Do not require esh-util twice.
23154 (eshell-add-input-to-history): Declare.
23155 (eshell-command): Check history module is active before using it.
23156
23157 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23158
23159 2013-05-22 Leo Liu <sdl.web@gmail.com>
23160
23161 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23162
23163 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23164
23165 * autorevert.el (auto-revert-notify-add-watch)
23166 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23167 it indicates changes in file modification time.
23168
23169 2013-05-22 Glenn Morris <rgm@gnu.org>
23170
23171 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23172 Always delete the autoloaded function from the noruntime and
23173 unresolved functions lists.
23174
23175 * allout.el: No need to load epa, epg, overlay when compiling.
23176 (epg-context-set-passphrase-callback, epg-list-keys)
23177 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23178 (epg-key-user-id-list): Declare.
23179
23180 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23181 (viper-set-parsing-style-toggling-macro)
23182 (viper-set-emacs-state-searchstyle-macros):
23183 Use called-interactively-p on Emacs.
23184 (viper-looking-back): Make it an obsolete alias. Update callers.
23185 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23186 Use looking-back rather than viper-looking-back.
23187 (viper-tmp-insert-at-eob, viper-enlarge-region)
23188 (viper-read-string-with-history, viper-register-to-point)
23189 (viper-append-to-register, viper-change-state-to-vi)
23190 (viper-backward-char-carefully, viper-forward-char-carefully)
23191 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23192 (viper-change-state-to-emacs): Declare.
23193 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23194 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23195 * emulation/viper-mous.el: Do not load viper-cmd.
23196 (viper-backward-char-carefully, viper-forward-char-carefully)
23197 (viper-forward-word, viper-adjust-window): Declare.
23198
23199 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23200
23201 * progmodes/idlw-help.el (idlwave-help-fontify):
23202 Use called-interactively-p.
23203
23204 * term/w32console.el (w32-get-console-codepage)
23205 (w32-get-console-output-codepage): Declare.
23206
23207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23208 Remove unnecessary declarations.
23209 (dframe-message): Doc fix.
23210
23211 * info.el (dframe-select-attached-frame, dframe-current-frame):
23212 Declare.
23213
23214 * speedbar.el (speedbar-message): Make it an obsolete alias.
23215 Update all callers.
23216 (speedbar-with-attached-buffer)
23217 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23218 (speedbar-with-writable): Use backquote.
23219 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23220 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23221 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23222 rather than speedbar- aliases.
23223 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23224 (speedbar-make-specialized-keymap, speedbar-insert-button)
23225 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23226 (speedbar-do-function-pointer): Declare.
23227 (rmail-speedbar-button, rmail-speedbar-find-file)
23228 (rmail-speedbar-move-message):
23229 Use dframe-with-attached-buffer rather than speedbar- alias.
23230 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23231 (dframe-message, speedbar-make-specialized-keymap)
23232 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23233 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23234 (speedbar-insert-button, dframe-select-attached-frame)
23235 (dframe-maybee-jump-to-attached-frame)
23236 (speedbar-change-initial-expansion-list)
23237 (speedbar-previously-used-expansion-list-name): Declare.
23238 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23239 Use dframe-message, dframe-with-attached-buffer rather than
23240 speedbar- aliases.
23241 (gud-sentinel): Silence compiler.
23242 * progmodes/vhdl-mode.el (speedbar-refresh)
23243 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23244 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23245 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23246 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23247 (speedbar-file-lists, speedbar-make-tag-line)
23248 (speedbar-line-directory, speedbar-goto-this-file)
23249 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23250 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23251 (speedbar-make-button, speedbar-reset-scanners)
23252 (speedbar-files-item-info, speedbar-line-text)
23253 (speedbar-find-file-in-frame, speedbar-set-timer)
23254 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23255 (speedbar-with-writable): Do not (re)define it.
23256 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23257 rather than speedbar- alias.
23258
23259 2013-05-21 Leo Liu <sdl.web@gmail.com>
23260
23261 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23262 menu items.
23263 (octave-mode): Tweak fill-nobreak-predicate.
23264 (inferior-octave-startup): Check process to avoid infinite loop.
23265 (inferior-octave): Pop to buffer first to show abornmal process
23266 exit information.
23267
23268 2013-05-21 Glenn Morris <rgm@gnu.org>
23269
23270 * printing.el (pr-menu-bar): Define when compiling.
23271
23272 2013-05-21 Leo Liu <sdl.web@gmail.com>
23273
23274 * progmodes/octave.el (octave-auto-fill): Remove.
23275 (octave-indent-new-comment-line): Improve.
23276 (octave-mode): Use auto fill mode through
23277 comment-line-break-function and fill-nobreak-predicate.
23278 (octave-goto-function-definition): Support DEFUN_DLD.
23279 (octave-beginning-of-defun): Small tweak.
23280 (octave-help): Show parent directory.
23281
23282 2013-05-21 Glenn Morris <rgm@gnu.org>
23283
23284 * files.el (dired-unmark):
23285 * progmodes/gud.el (gdb-input): Update declarations.
23286
23287 * calculator.el (electric, ehelp): No need to load when compiling.
23288 (Electric-command-loop, electric-describe-mode): Declare.
23289
23290 * doc-view.el (doc-view-current-converter-processes): Move before use.
23291
23292 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23293 Move MODE-set-explicitly definition before use.
23294
23295 * international/mule-diag.el (mule-diag):
23296 Don't use obsolete window-system-version.
23297
23298 * mail/feedmail.el (smtpmail): No need to load when compiling.
23299 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23300
23301 * mail/mail-utils.el (rfc822): No need to load when compiling.
23302 (rfc822-addresses): Autoload it.
23303 (mail-strip-quoted-names): Trivial simplification.
23304
23305 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23306 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23307
23308 * net/snmp-mode.el (tempo): Don't duplicate requires.
23309
23310 * progmodes/prolog.el (info): No need to load when compiling.
23311 (comint): Require before shell requires it.
23312 (Info-goto-node): Autoload it.
23313 (Info-follow-nearest-node): Declare.
23314 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23315
23316 * textmodes/artist.el (picture-mode-exit): Declare.
23317
23318 * textmodes/reftex-parse.el (reftex-parse-from-file):
23319 Trivial rewrite so the compiler can parse it better.
23320
23321 2013-05-20 Leo Liu <sdl.web@gmail.com>
23322
23323 * progmodes/octave.el (octave-help-mode-map)
23324 (octave-help-mode-finish-hook): New variables.
23325 (octave-help-mode, octave-help-mode-finish): New functions.
23326 (octave-help): Use octave-help-mode.
23327
23328 2013-05-20 Glenn Morris <rgm@gnu.org>
23329
23330 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23331
23332 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23333
23334 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23335 start at point, so that expansion starting right after opening
23336 slash in a regexp is recognized.
23337 (ruby-syntax-before-regexp-re): New defvar, extracted from
23338 ruby-syntax-propertize-function. Since the value of this regexp
23339 is looked up at runtime now, we should be able to turn
23340 `ruby-syntax-methods-before-regexp' into a defcustom later.
23341 (ruby-syntax-propertize-function): Split regexp matching into two
23342 parts, for opening and closing slashes. That allows us to skip
23343 over string interpolations and support multiline regexps.
23344 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23345 for them, which calls `ruby-syntax-propertize-expansion'.
23346 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23347 call to `ruby-syntax-propertize-function'.
23348 (ruby-syntax-propertize-expansion): Extracted from
23349 `ruby-syntax-propertize-expansions'. Handles one expansion.
23350 (ruby-syntax-propertize-percent-literal): Leave point right after
23351 the percent symbol, so that the expression expansion rule can
23352 propertize the contents.
23353 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23354 heredoc openers.
23355 (ruby-syntax-propertize-expansions): Remove.
23356
23357 2013-05-18 Juri Linkov <juri@jurta.org>
23358
23359 * man.el (Man-default-man-entry): Remove `-' from the end
23360 of the default value. (Bug#14400)
23361
23362 2013-05-18 Glenn Morris <rgm@gnu.org>
23363
23364 * comint.el (comint-password-prompt-regexp):
23365 Allow "password for XXX" where XXX contains colons (eg https://...).
23366
23367 2013-05-18 Leo Liu <sdl.web@gmail.com>
23368
23369 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23370 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23371 (octave-source-directories): Don't check process.
23372 (octave-source-directories, octave-find-definition): Doc fix.
23373
23374 2013-05-18 Glenn Morris <rgm@gnu.org>
23375
23376 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23377 Remove backspace/delete bindings. (Bug#14392)
23378
23379 * cus-dep.el (custom-make-dependencies): Sort the output.
23380 (custom-versions-load-alist): Convert comment to doc.
23381
23382 2013-05-17 Leo Liu <sdl.web@gmail.com>
23383
23384 * newcomment.el (comment-search-backward): Stricter in finding
23385 comment start. (Bug#14303)
23386
23387 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23388 (octave-comment-start-skip): Properly anchored.
23389
23390 2013-05-17 Leo Liu <sdl.web@gmail.com>
23391
23392 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23393 Clean up when turned off. (Bug#14395)
23394 (smie--highlight-matching-block-overlay): No longer buffer-local.
23395 (smie-highlight-matching-block): Adjust.
23396
23397 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23398
23399 Doc string fix for "nanoseconds" (Bug#14406).
23400 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23401 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23402
23403 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23404
23405 * calc/calc-units.el (math-extract-units): Preserve powers
23406 of units.
23407
23408 2013-05-17 Leo Liu <sdl.web@gmail.com>
23409
23410 * subr.el (delete-consecutive-dups): New function.
23411 * ido.el (ido-set-matches-1): Use it.
23412 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23413 * ido.el (ido-remove-consecutive-dups): Remove.
23414
23415 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23416
23417 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23418 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23419 regexp-opt's `words'.
23420
23421 2013-05-16 Leo Liu <sdl.web@gmail.com>
23422
23423 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23424 (smie--highlight-matching-block-overlay)
23425 (smie--highlight-matching-block-lastpos)
23426 (smie--highlight-matching-block-timer): New variables.
23427 (smie-highlight-matching-block): New function.
23428 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23429 (smie-setup): Conditionally enable smie-blink-matching-open.
23430
23431 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23432
23433 Sync with upstream verilog-mode r840.
23434 * progmodes/verilog-mode.el (verilog-mode-version)
23435 (verilog-mode-release-date): Update.
23436 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23437 (verilog-sig-tieoff): Fix string error on
23438 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23439 (verilog-read-decls): Fix parameters confusing
23440 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23441
23442 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23443
23444 * subr.el (reveal-filename): New function.
23445
23446 * loadup.el: Compute Emacs executable versions on MS-Windows,
23447 where executables have the .exe extension. Add a hard link
23448 emacs-XX.YY.ZZ.exe on MS-Windows.
23449
23450 * Makefile.in (XARGS_LIMIT): New variable.
23451 (custom-deps, finder-data, autoloads)
23452 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23453 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23454 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23455 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23456
23457 2013-05-16 Leo Liu <sdl.web@gmail.com>
23458
23459 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23460 (octave-mode-menu, octave-mode-map): Remove its uses.
23461
23462 2013-05-16 Reto Zimmermann <reto@gnu.org>
23463
23464 Sync with upstream vhdl mode v3.34.2.
23465 * progmodes/vhdl-mode.el: Use `push' throughout.
23466 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23467 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23468 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23469 (vhdl-actual-generic-name): New option to derive actual generic name.
23470 (vhdl-port-paste-signals): Replace formal by actual generics.
23471 (vhdl-beautify): New name for old group vhdl-align. Update users.
23472 (vhdl-beautify-options): New option.
23473 (vhdl-last-input-event): New compat alias. Use throughout.
23474 (vhdl-goto-line): Replace user level function `goto-line'.
23475 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23476 vhdl-fix-statement-buffer.
23477 (vhdl-create-mode-menu): Add some entries.
23478 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23479 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23480 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23481 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23482 to force statements on one line.
23483 (vhdl-remove-trailing-spaces-region):
23484 New, split from vhdl-remove-trailing-spaces.
23485 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23486 Respect vhdl-beautify-options.
23487 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23488 (vhdl-update-sensitivity-list): Not add with index if exists without.
23489 Not include array index with signal. Ignore keywords in comments.
23490 (vhdl-get-visible-signals): Regexp tweaks.
23491 (vhdl-template-component-inst): Handle empty library.
23492 (vhdl-template-type): Add template for 'enum' type.
23493 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23494 Use vhdl-replace-string.
23495 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23496 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23497 (vhdl-speedbar-initialize): Update for above name change.
23498 (vhdl-compose-wire-components): Fix in handling of constants.
23499 (vhdl-error-regexp-emacs-alist): New variable.
23500 (vhdl-error-regexp-add-emacs): New function;
23501 adds support for new compile.el (Emacs 22+)
23502 (vhdl-generate-makefile-1): Change target order for single lib. units.
23503 Allow use of absolute file names.
23504
23505 2013-05-16 Leo Liu <sdl.web@gmail.com>
23506
23507 * simple.el (prog-indent-sexp): Indent enclosing defun.
23508
23509 2013-05-15 Glenn Morris <rgm@gnu.org>
23510
23511 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23512 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23513 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23514 (whitespace-highlight): Move to whitespace group.
23515
23516 * comint.el (comint-source):
23517 * pcmpl-linux.el (pcmpl-linux):
23518 * shell.el (shell-faces):
23519 * eshell/esh-opt.el (eshell-opt):
23520 * international/ccl.el (ccl): Remove empty custom groups.
23521
23522 * completion.el (dynamic-completion-mode):
23523 * jit-lock.el (jit-lock-debug-mode):
23524 * minibuffer.el (completion-in-region-mode):
23525 * type-break.el (type-break-mode-line-message-mode)
23526 (type-break-query-mode):
23527 * emulation/tpu-edt.el (tpu-edt-mode):
23528 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23529 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23530 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23531
23532 * term/xterm.el (xterm): Change parent group to terminals.
23533
23534 * master.el (master): Remove empty custom group.
23535 (master-mode): Remove unused :group argument.
23536 * textmodes/refill.el (refill): Remove empty custom group.
23537 (refill-mode): Remove unused :group argument.
23538
23539 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23540
23541 * cus-dep.el: Provide a feature.
23542 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23543 Don't mistakenly ignore files whose basenames match a basename
23544 from preloaded-file-list (eg cedet/ede/simple.el).
23545 Add a fallback method for getting :group.
23546
23547 2013-05-15 Juri Linkov <juri@jurta.org>
23548
23549 * isearch.el (isearch-char-by-name): Rename from
23550 `isearch-insert-char-by-name'. Doc fix.
23551 (isearch-forward): Mention `isearch-char-by-name' in
23552 the docstring. (Bug#13348)
23553
23554 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23555 `exit-minibuffer' instead of
23556 `isearch-nonincremental-exit-minibuffer'.
23557 (isearch-edit-string): Remove mention of
23558 `isearch-nonincremental-exit-minibuffer' from docstring.
23559 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23560 (isearch-forward-exit-minibuffer)
23561 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23562
23563 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23564
23565 * loadup.el: Just use unversioned DOC.
23566
23567 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23568 literals as extending to EOB.
23569 (nxml-last-fontify-end): Remove unused variable.
23570 (nxml-after-change1): Use with-silent-modifications.
23571 (nxml-extend-after-change-region): Simplify.
23572 (nxml-extend-after-change-region1): Remove function.
23573 (nxml-after-change1): Don't adjust for dependent regions.
23574 (nxml-fontify-matcher): Simplify.
23575 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23576 (xmltok-add-dependent): Remove function.
23577 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23578 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23579 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23580 unclosed <[[, <?, comment, and other literals as extending to EOB.
23581 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23582 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23583 Remove functions.
23584 (rng-do-some-validation-1): Don't mark dependent regions.
23585 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23586 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23587 (nxml-clear-dependent-regions): Remove functions.
23588 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23589 (nxml-ensure-scan-up-to-date):
23590 Don't clear&mark dependent regions.
23591
23592 2013-05-15 Leo Liu <sdl.web@gmail.com>
23593
23594 * progmodes/octave.el (octave-goto-function-definition):
23595 Improve and fix callers.
23596
23597 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23598
23599 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23600 the setter (bug#14387).
23601
23602 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23603 surrounding group (bug#14402).
23604
23605 2013-05-14 Juri Linkov <juri@jurta.org>
23606
23607 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23608 (Bug#14390)
23609
23610 2013-05-14 Glenn Morris <rgm@gnu.org>
23611
23612 * progmodes/f90.el (f90-imenu-generic-expression):
23613 Fix typo in 2013-05-08 change. (Bug#14402)
23614
23615 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23616
23617 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23618 Remove signals for which replies are never received.
23619
23620 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23621
23622 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23623 (gdb-handler-alist, gdb-handler-number): Remove variables.
23624 (gdb-handler-list): New variable.
23625 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23626 (gdb-pending-handler-p, gdb-handle-reply)
23627 (gdb-remove-all-pending-triggers): New functions.
23628 (gdb-discard-unordered-replies): New defcustom.
23629 (gdb-handler): New defstruct.
23630 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
23631 instead of gdb-pending-triggers. Update docstring.
23632 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
23633 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23634 (gdb-var-update-handler, def-gdb-auto-update-trigger)
23635 (def-gdb-auto-update-handler, gdb-get-changed-registers)
23636 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23637 (gdb-frame-handler): Pending triggers are now automatically managed.
23638 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23639 Remove argument.
23640 (gdb-input): Automatically handles pending triggers. Update docstring.
23641 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23642 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23643 Update comments.
23644 (gdb-done-or-error): Now use gdb-handle-reply.
23645
23646 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23647
23648 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23649 gdb-debug-log.
23650
23651 2013-05-14 Glenn Morris <rgm@gnu.org>
23652
23653 * subr.el (user-emacs-directory-warning): New option.
23654 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
23655
23656 2013-05-14 Leo Liu <sdl.web@gmail.com>
23657
23658 * progmodes/octave.el (octave-font-lock-keywords): Fix error
23659 during redisplay.
23660 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23661 (octave-font-lock-texinfo-comment): Fix invalid search bound
23662 error: wrong side of point.
23663
23664 2013-05-14 Glenn Morris <rgm@gnu.org>
23665
23666 * progmodes/flymake.el (flymake-xml-program): New option.
23667 (flymake-xml-init): Use it.
23668
23669 * term/xterm.el: Provide a feature.
23670
23671 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
23672
23673 2013-05-13 Glenn Morris <rgm@gnu.org>
23674
23675 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23676 Add compat aliases as a hack workaround. (Bug#14384)
23677
23678 2013-05-13 Leo Liu <sdl.web@gmail.com>
23679
23680 * progmodes/octave.el (octave-indent-comment): Fix indentation for
23681 ###, and %!.
23682 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23683 C-M-q.
23684 (octave-comment-start-skip): Include %!.
23685 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23686
23687 2013-05-12 Leo Liu <sdl.web@gmail.com>
23688
23689 * progmodes/octave.el (inferior-octave-startup): Store the value
23690 of __octave_srcdir__ for octave-source-directories.
23691 (inferior-octave-check-process): New function refactored out of
23692 inferior-octave-send-list-and-digest.
23693 (octave-source-directories)
23694 (octave-find-definition-filename-function): New variables.
23695 (octave-source-directories)
23696 (octave-find-definition-default-filename): New functions.
23697 (octave-find-definition): Improve to find functions implemented in C++.
23698
23699 2013-05-12 Glenn Morris <rgm@gnu.org>
23700
23701 * calendar/diary-lib.el (diary-outlook-format-1):
23702 Don't include dayname in the output. (Bug#14349)
23703
23704 2013-05-11 Glenn Morris <rgm@gnu.org>
23705
23706 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23707
23708 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23709 Treat cc-provide like provide.
23710
23711 2013-05-11 Kevin Ryde <user42@zip.com.au>
23712
23713 * cus-dep.el (custom-make-dependencies):
23714 Use generated-autoload-load-name for the sake of files such
23715 such cedet/semantic/bovine/c.el, where the base file name
23716 is not in load-path. (Bug#5277)
23717
23718 2013-05-11 Glenn Morris <rgm@gnu.org>
23719
23720 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23721 Provide features.
23722
23723 2013-05-11 Leo Liu <sdl.web@gmail.com>
23724
23725 * progmodes/octave.el (octave-indent-comment): Improve.
23726 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23727 (octave-eldoc-function-signatures, octave-eldoc-function):
23728 New functions.
23729 (octave-mode, inferior-octave-mode): Add eldoc support.
23730
23731 2013-05-11 Richard Stallman <rms@gnu.org>
23732
23733 * epa.el (epa-decrypt-file): Take output file name as argument
23734 and read it using `interactive'.
23735
23736 2013-05-11 Leo Liu <sdl.web@gmail.com>
23737
23738 * progmodes/octave.el (octave-beginning-of-line)
23739 (octave-end-of-line): Check before using up-list because it jumps
23740 out of more syntactic contructs since moving to smie.
23741 (octave-indent-comment): New function.
23742 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
23743 (octave-begin-keywords, octave-end-keywords)
23744 (octave-reserved-words, octave-smie-bnf-table)
23745 (octave-smie-rules): Add new keywords from Octave 3.6.4.
23746
23747 2013-05-11 Glenn Morris <rgm@gnu.org>
23748
23749 * faces.el (internal-face-x-get-resource):
23750 * frame.el (ns-display-monitor-attributes-list):
23751 * calc/calc-aent.el (math-to-radians-2):
23752 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23753 Fix declarations.
23754
23755 * calc/calc-menu.el: Make it loadable in isolation.
23756
23757 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23758 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23759 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23760 (eudc-bbdb-query-internal): Require 'bbdb.
23761
23762 * lpr.el (lpr-headers-switches):
23763 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23764
23765 * progmodes/sql.el (sql-login-params): Fix and improve :type.
23766
23767 * emulation/edt-mapper.el: In batch mode, error rather than hang.
23768
23769 * term.el (term-set-escape-char): Make it idempotent.
23770
23771 2013-05-10 Leo Liu <sdl.web@gmail.com>
23772
23773 * progmodes/octave.el (inferior-octave-completion-table):
23774 No longer a function and all uses changed. Use cache to speed up
23775 completion due to bug#11906.
23776 (octave-beginning-of-defun): Re-write to be more general.
23777
23778 2013-05-10 Glenn Morris <rgm@gnu.org>
23779
23780 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23781
23782 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
23783
23784 * comint.el (comint-redirect-send-command-to-process): Use :around
23785 rather than :override for comint-redirect-filter.
23786 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23787 Call it instead of comint-redirect-original-filter-function (which
23788 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
23789
23790 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
23791
23792 * frame.el (display-monitor-attributes-list): Add NS case.
23793 (ns-display-monitor-attributes-list): Declare.
23794
23795 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
23796
23797 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
23798
23799 2013-05-09 Glenn Morris <rgm@gnu.org>
23800
23801 * international/fontset.el (vertical-centering-font-regexp):
23802 Set standard-value.
23803
23804 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23805
23806 * bookmark.el (bookmark-search-delay):
23807 * cus-start.el (vertical-centering-font-regexp):
23808 * ps-mule.el (ps-mule-font-info-database-default):
23809 * ps-print.el (ps-default-fg, ps-default-bg):
23810 * type-break.el (type-break-good-break-interval):
23811 * whitespace.el (whitespace-indentation-regexp)
23812 (whitespace-space-after-tab-regexp):
23813 * emacs-lisp/testcover.el (testcover-1value-functions)
23814 (testcover-noreturn-functions, testcover-progn-functions)
23815 (testcover-prog1-functions):
23816 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23817 * eshell/em-glob.el (eshell-glob-translate-alist):
23818 * play/tetris.el (tetris-tty-colors):
23819 * progmodes/cpp.el (cpp-face-default-list):
23820 * progmodes/flymake.el (flymake-allowed-file-name-masks):
23821 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23822 (idlwave-help-browser-generic-args):
23823 * progmodes/make-mode.el (makefile-special-targets-list):
23824 * progmodes/python.el (python-shell-virtualenv-path):
23825 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23826 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23827 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23828 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23829 * textmodes/reftex-vars.el (reftex-format-label-function):
23830 * textmodes/remember.el (remember-diary-file): Fix custom types.
23831
23832 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23833 Add :version.
23834
23835 2013-05-09 Leo Liu <sdl.web@gmail.com>
23836
23837 * progmodes/octave.el (inferior-octave-completion-at-point):
23838 Restore file completion. (Bug#14300)
23839 (inferior-octave-startup): Fix incorrect highlighting for the
23840 first prompt.
23841
23842 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23843
23844 * progmodes/ruby-mode.el: First cut at SMIE support.
23845 (ruby-use-smie): New var.
23846 (ruby-smie-grammar): New constant.
23847 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23848 (ruby-smie--forward-token, ruby-smie--backward-token)
23849 (ruby-smie-rules): New functions.
23850 (ruby-mode-variables): Setup SMIE if applicable.
23851
23852 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23853
23854 * simple.el (line-move-visual): Signal beginning/end of buffer
23855 only if vertical-motion moved less than it was requested. Avoids
23856 silly incorrect error messages when there are display strings with
23857 multiple newlines at EOL.
23858
23859 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23860
23861 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23862 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23863 (prolog-char-quote-workaround):
23864 * progmodes/cperl-mode.el (cperl-under-as-char):
23865 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23866 Mark as obsolete.
23867 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23868 their declaration.
23869 (vhdl-mode-syntax-table-init): Remove.
23870
23871 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23872 last change.
23873
23874 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23875 syntax for "_".
23876 (ld-script-font-lock-keywords):
23877 Change regexps to use things like \_< and \_>.
23878
23879 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23880 Change all regexps to use things like \_< and \_>.
23881
23882 * progmodes/autoconf.el (autoconf-definition-regexp)
23883 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23884 Handle a _ with symbol syntax.
23885 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23886
23887 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23888 Consolidate declaration.
23889 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23890 the declaration.
23891 (ada-create-syntax-table): Remove.
23892 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23893 already has the right syntax nowadays.
23894 (ada-goto-next-word): Don't change the syntax of "_".
23895
23896 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23897 with-wrapper-hook.
23898
23899 2013-05-08 Sam Steingold <sds@gnu.org>
23900
23901 * thingatpt.el (thing-at-point): Accept optional second argument
23902 NO-PROPERTIES to strip the text properties from the return value.
23903 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23904 to `thing-at-point' instead of stripping the properties ourselves.
23905 Also, when `thing-at-point' fails to find a url, prepend "http://"
23906 to the filename at point on the assumption that the user is
23907 pointing at something like gnu.org/gnu.
23908
23909 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
23910
23911 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23912 * faces.el (crm-separator):
23913 Silence byte-compiler.
23914
23915 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23916 (tool-bar-map): Remove unneeded defvars.
23917
23918 2013-05-08 Leo Liu <sdl.web@gmail.com>
23919
23920 Re-work a fix for bug#10994 based on Le Wang's patch.
23921 * ido.el (ido-remove-consecutive-dups): New helper.
23922 (ido-completing-read): Use it.
23923 (ido-chop): Revert fix for bug#10994.
23924
23925 2013-05-08 Adam Spiers <emacs@adamspiers.org>
23926
23927 * cus-edit.el (custom-save-variables):
23928 Pretty-print long values. (Bug#14187)
23929
23930 2013-05-08 Glenn Morris <rgm@gnu.org>
23931
23932 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23933 (m4-mode-syntax-table): Init in the defvar.
23934 (m4-mode-abbrev-table): Let define-derived-mode define it.
23935
23936 2013-05-08 Tom Tromey <tromey@redhat.com>
23937
23938 * progmodes/m4-mode.el (m4-mode-syntax-table):
23939 Do not treat "_" as word constituent. (Bug#14167)
23940
23941 2013-05-07 Glenn Morris <rgm@gnu.org>
23942
23943 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23944 Remove explicit eshell-isearch-cancel-map.
23945
23946 * progmodes/f90.el (f90-smart-end-names): New option.
23947 (f90-smart-end): Doc fix.
23948 (f90-end-block-optional-name): New constant.
23949 (f90-block-match): Respect f90-smart-end-names.
23950
23951 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23952
23953 * progmodes/octave.el (octave-smie-forward-token): Be more careful
23954 about implicit semi-colons (bug#14218).
23955
23956 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23957
23958 * frame.el (display-monitor-attributes-list)
23959 (frame-monitor-attributes): New functions.
23960
23961 2013-05-06 Leo Liu <sdl.web@gmail.com>
23962
23963 * progmodes/octave.el (octave-syntax-propertize-function): Change
23964 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
23965 (octave-font-lock-keywords): Use octave-operator-regexp.
23966 (octave-completion-at-point): Rename from
23967 octave-completion-at-point-function.
23968 (inferior-octave-directory-tracker): Robustify.
23969 (octave-text-functions): Remove and fix its uses. No such things
23970 any more.
23971
23972 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23973
23974 * emacs-lisp/trace.el (trace--display-buffer): New function.
23975 (trace-make-advice): Use it.
23976
23977 2013-05-06 Juri Linkov <juri@jurta.org>
23978
23979 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
23980 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23981 Doc fix.
23982 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23983 in the help string. (Bug#12985)
23984
23985 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
23986
23987 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
23988
23989 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23990
23991 * progmodes/perl-mode.el: Add support for here documents.
23992 (perl-syntax-propertize-function): Match here-doc markers.
23993 (perl-syntax-propertize-special-constructs): Find their end.
23994 (perl-imenu-generic-expression): Use [:alnum:].
23995
23996 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
23997 (advice--add-function): Refresh the advice if already present
23998 (bug#14317).
23999
24000 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24001
24002 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24003
24004 2013-05-06 Glenn Morris <rgm@gnu.org>
24005
24006 * w32-fns.el (w32-charset-info-alist): Declare.
24007
24008 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24009 of its defcustom properties.
24010 (eshell-cmpl-initialize): No need to load pcomplete.
24011
24012 * generic-x.el: No need to require comint when compiling.
24013
24014 * net/eudc-export.el: Make it loadable without bbdb.
24015 (top-level): Use require rather than load-library.
24016 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24017 (eudc-batch-export-records-to-bbdb)
24018 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24019 Require bbdb.
24020
24021 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24022
24023 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24024 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24025 some tweaks, instead.
24026
24027 2013-05-05 Leo Liu <sdl.web@gmail.com>
24028
24029 * progmodes/octave.el (octave-font-lock-keywords)
24030 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24031 (inferior-octave-send-list-and-digest): Improve error message.
24032 (octave-mode, inferior-octave-mode): Use setq-local.
24033 (octave-help): Set info-lookup-mode.
24034
24035 2013-05-05 Richard Stallman <rms@gnu.org>
24036
24037 * vc/compare-w.el (compare-windows-whitespace):
24038 Treat no-break space as whitespace.
24039
24040 * mail/rmailsum.el (rmail-summary-rmail-update):
24041 Detect empty summary and don't change selected message.
24042 (rmail-summary-goto-msg): Likewise.
24043
24044 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24045 Doc fixes, rename args.
24046
24047 2013-05-05 Alan Mackenzie <acm@muc.de>
24048
24049 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24050
24051 2013-05-05 Juri Linkov <juri@jurta.org>
24052
24053 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24054 to not add the length of the summary segment to the return value.
24055 (Bug#14125)
24056
24057 2013-05-05 Leo Liu <sdl.web@gmail.com>
24058
24059 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24060 (inferior-octave-output-filter): Remove.
24061 (octave-send-region, inferior-octave-startup): Fix callers.
24062 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24063 (octave-binary-file-extensions): New user variable.
24064 (octave-find-definition): Confirm if opening binary files.
24065 (octave-help-file): Use octave-find-definition to get the binary
24066 confirmation.
24067 (octave-help): Adjust for octave-help-file change.
24068
24069 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24070
24071 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24072 Merge the two entries that handle function definitions.
24073 (pascal--syntax-propertize): New const.
24074 (pascal-mode): Use it. Use setq-local.
24075
24076 2013-05-04 Glenn Morris <rgm@gnu.org>
24077
24078 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24079 (diary-from-outlook): Respect diary-from-outlook-function.
24080
24081 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24082
24083 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24084 Move the declaration from C.
24085 (read-minibuffer, eval-minibuffer): Move from C.
24086 (completion-setup-function): Avoid minibuffer-completion-contents.
24087
24088 2013-05-03 Leo Liu <sdl.web@gmail.com>
24089
24090 * progmodes/octave.el (octave-font-lock-keywords): Do not
24091 dehighlight 'end' in comments or strings.
24092 (octave-completing-read, octave-goto-function-definition):
24093 New helpers.
24094 (octave-help-buffer): New user variable.
24095 (octave-help-file, octave-help-function): New button types.
24096 (octave-help): New command and bind it to C-h ;.
24097 (octave-find-definition): New command and bind it to M-.
24098 (user-error): Alias to error if not defined.
24099
24100 2013-05-02 Leo Liu <sdl.web@gmail.com>
24101
24102 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24103 for \. (bug#14332)
24104 (octave-font-lock-keywords): Include [ and {.
24105
24106 2013-05-02 Leo Liu <sdl.web@gmail.com>
24107
24108 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24109 (inferior-octave): Remove calling comint-mode and return the buffer.
24110 (inferior-octave-startup): Cosmetic changes.
24111
24112 2013-05-02 Leo Liu <sdl.web@gmail.com>
24113
24114 * progmodes/octave.el (octave-syntax-propertize-function):
24115 Include the case when ' is at line beginning. (Bug#14336)
24116
24117 2013-05-02 Glenn Morris <rgm@gnu.org>
24118
24119 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24120 * desktop.el (vc-dir-mode): Just autoload it here.
24121
24122 2013-05-02 Alan Mackenzie <acm@muc.de>
24123
24124 Eliminate variable c-standard-font-lock-fontify-region-function.
24125 * progmodes/cc-mode.el
24126 (c-standard-font-lock-fontify-region-function): Remove.
24127 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24128
24129 2013-05-01 Leo Liu <sdl.web@gmail.com>
24130
24131 * progmodes/octave.el: Compatible with older emacs-24 releases.
24132 (inferior-octave-has-built-in-variables): Remove. Built-in
24133 variables were removed from Octave in 2007.
24134 (inferior-octave-startup): Fix uses.
24135 (comint-line-beginning-position): Remove compatibility code for
24136 emacs 21.
24137
24138 2013-05-01 Juri Linkov <juri@jurta.org>
24139
24140 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24141
24142 2013-05-01 Juri Linkov <juri@jurta.org>
24143
24144 * comint.el (comint-previous-matching-input): Don't print message
24145 "History item: %d" when `isearch-mode' is active.
24146 (comint-history-isearch-message): Print message "History item: %d"
24147 when `comint-input-ring-index' is not empty and this function is
24148 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24149
24150 2013-05-01 Leo Liu <sdl.web@gmail.com>
24151
24152 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24153 definitions. Use completion-at-point to insert keywords.
24154 (octave-abbrev-start): Remove.
24155 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24156
24157 2013-04-30 Leo Liu <sdl.web@gmail.com>
24158
24159 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24160 change.
24161
24162 2013-04-30 Alan Mackenzie <acm@muc.de>
24163
24164 Handle arbitrarily long C++ member initialisation lists.
24165 * progmodes/cc-engine.el (c-back-over-member-initializers):
24166 new function.
24167 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24168 (most) member init lists.
24169
24170 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24171
24172 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24173 variable.
24174
24175 2013-04-30 Leo Liu <sdl.web@gmail.com>
24176
24177 * progmodes/octave.el (octave-variables): Remove. No builtin
24178 variables any more. All converted to functions.
24179 (octave-font-lock-keywords, octave-completion-at-point-function):
24180 Fix uses.
24181 (octave-font-lock-texinfo-comment): New user variable.
24182 (octave-texinfo-font-lock-keywords): New variable for texinfo
24183 comment block.
24184 (octave-function-comment-block): New face.
24185 (octave-font-lock-texinfo-comment): New function.
24186 (octave-mode): Font lock texinfo comment block.
24187
24188 2013-04-29 Leo Liu <sdl.web@gmail.com>
24189
24190 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24191 indexing expression.
24192 (octave-continuation-string): Do not use \.
24193 (inferior-octave-complete-impossible): Remove.
24194 (inferior-octave-completion-table)
24195 (inferior-octave-completion-at-point): Remove its uses.
24196 (inferior-octave-startup): completion_matches was introduced to
24197 Octave in 1996 so safe to assume it.
24198 (octave-function-file-comment): Improve to follow how Octave does it.
24199 (octave-update-function-file-comment): Tweak.
24200
24201 2013-04-29 Leo Liu <sdl.web@gmail.com>
24202
24203 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24204 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24205 (octave-function-file-comment): Fix typo.
24206 (octave-sync-function-file-names): Use read-char-choice.
24207
24208 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24209
24210 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24211 to t for the less important warnings.
24212
24213 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24214
24215 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24216
24217 2013-04-27 Glenn Morris <rgm@gnu.org>
24218
24219 * vc/log-view.el (log-view-current-entry):
24220 Treat "---" separator lines as part of the following rev. (Bug#14169)
24221
24222 2013-04-27 Juri Linkov <juri@jurta.org>
24223
24224 * subr.el (read-number): Doc fix about using it by interactive
24225 code letter `n'. (Bug#14254)
24226
24227 2013-04-27 Juri Linkov <juri@jurta.org>
24228
24229 * desktop.el (desktop-auto-save-timeout): New option.
24230 (desktop-file-checksum): New variable.
24231 (desktop-save): Add optional arg `auto-save' and don't auto-save
24232 if nothing changed.
24233 (desktop-auto-save-timer): New variable.
24234 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24235 (after-init-hook): Call `desktop-auto-save-set-timer'.
24236 Suggested by Reuben Thomas <rrt@sc3d.org> in
24237 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24238
24239 2013-04-27 Leo Liu <sdl.web@gmail.com>
24240
24241 * progmodes/octave.el (octave-function-file-p)
24242 (octave-skip-comment-forward, octave-function-file-comment)
24243 (octave-update-function-file-comment): New functions.
24244 (octave-mode-map): Bind C-c ; to
24245 octave-update-function-file-comment.
24246 (octave-mode-menu): Add octave-update-function-file-comment.
24247 (octave-mode, inferior-octave-mode): Fix doc-string.
24248 (octave-insert-defun): Conform to Octave's coding convention.
24249 (Bug#14285)
24250
24251 * files.el (basic-save-buffer): Don't let errors in
24252 before-save-hook prevent saving buffer.
24253
24254 2013-04-20 Roland Winkler <winkler@gnu.org>
24255
24256 * faces.el (read-face-name): Use completing-read if arg multiple
24257 is nil.
24258
24259 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24260
24261 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24262 displayed, move point to after the totals line.
24263 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24264 for the details.
24265
24266 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24267
24268 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24269 Add current dir to the load-path.
24270 (package-generate-autoloads): Don't rely on
24271 autoload-ensure-default-file.
24272
24273 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24274
24275 * textmodes/remember.el (remember-store-in-files): Document that
24276 the file name format is passed to `format-time-string'.
24277
24278 2013-04-26 Leo Liu <sdl.web@gmail.com>
24279
24280 * progmodes/octave.el (octave-sync-function-file-names): New function.
24281 (octave-mode): Use it in before-save-hook.
24282
24283 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24284
24285 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24286 (bug#14274).
24287
24288 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24289 \n and comment, even if it's not an implicit ; (bug#14218).
24290
24291 2013-04-26 Glenn Morris <rgm@gnu.org>
24292
24293 * subr.el (read-number): Once more use `read' rather than
24294 `string-to-number', to trap non-numeric input. (Bug#14254)
24295
24296 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24297
24298 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24299 Use `syntax-multiline' text property consistently instead of
24300 `font-lock-multiline'. (Bug#14237)
24301
24302 2013-04-26 Glenn Morris <rgm@gnu.org>
24303
24304 * emacs-lisp/shadow.el (list-load-path-shadows):
24305 No longer necessary to check for duplicate simple.el, since
24306 2012-07-07 change to init_lread to not include installation lisp
24307 directories in load-path when running uninstalled. (Bug#14270)
24308
24309 2013-04-26 Leo Liu <sdl.web@gmail.com>
24310
24311 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24312 (octave-mode, inferior-octave-mode): Use setq-local.
24313 (octave-not-in-string-or-comment-p): Rename to
24314 octave-in-string-or-comment-p.
24315 (octave-in-comment-p, octave-in-string-p)
24316 (octave-in-string-or-comment-p): Replace defsubst with defun.
24317
24318 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24319
24320 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24321
24322 2013-04-25 Bastien Guerry <bzg@gnu.org>
24323
24324 * textmodes/remember.el (remember-data-directory)
24325 (remember-directory-file-name-format): Fix custom types.
24326
24327 2013-04-25 Leo Liu <sdl.web@gmail.com>
24328
24329 * progmodes/octave.el (octave-completion-at-point-function):
24330 Make use of inferior octave process.
24331 (octave-initialize-completions): Remove.
24332 (inferior-octave-completion-table): New function.
24333 (inferior-octave-completion-at-point): Use it.
24334 (octave-completion-alist): Remove.
24335
24336 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24337
24338 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24339 (opascal-mode-syntax-table): New var.
24340 (opascal-literal-kind, opascal-is-literal-end)
24341 (opascal-literal-token-at): Rewrite.
24342 (opascal--literal-start-re, opascal-font-lock-keywords)
24343 (opascal--syntax-propertize): New constants.
24344 (opascal-font-lock-defaults): Adjust.
24345 (opascal-mode): Use them. Set comment-<foo> variables as well.
24346 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24347 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24348 (delphi-other-face, opascal-other-face): Remove face variables.
24349 (opascal-save-state): Remove macro.
24350 (opascal-fontifying-progress-step): Remove constant.
24351 (opascal--ignore-changes): Remove var.
24352 (opascal-set-token-property, opascal-parse-next-literal)
24353 (opascal-is-stable-literal, opascal-complete-literal)
24354 (opascal-is-literal-start, opascal-face-of)
24355 (opascal-parse-region, opascal-parse-region-until-stable)
24356 (opascal-fontify-region, opascal-after-change)
24357 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24358 (opascal-debug-parse-region, opascal-debug-parse-window)
24359 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24360 (opascal-debug-fontify-buffer): Remove.
24361 (opascal-debug-mode-map): Adjust accordingly.
24362
24363 2013-04-25 Leo Liu <sdl.web@gmail.com>
24364
24365 Merge octave-mod.el and octave-inf.el into octave.el with some
24366 cleanups.
24367 * progmodes/octave.el: New file renamed from octave-mod.el.
24368 * progmodes/octave-inf.el: Merged into octave.el.
24369 * progmodes/octave-mod.el: Renamed to octave.el.
24370
24371 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24372
24373 * textmodes/reftex-vars.el
24374 (reftex-label-ignored-macros-and-environments): New defcustom.
24375
24376 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24377
24378 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24379
24380 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24381 (smie-indent-keyword): Improve the check to ensure that the next
24382 comment is really on the same line.
24383 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24384
24385 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24386 semi-colons if the line is not otherwise empty (bug#14218).
24387
24388 2013-04-25 Glenn Morris <rgm@gnu.org>
24389
24390 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24391
24392 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24393
24394 * progmodes/opascal.el (opascal-set-token-property): Rename from
24395 opascal-set-text-properties and only set `token' (bug#14134).
24396 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24397 (opascal-literal-text-properties): Remove.
24398 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24399 Adjust callers.
24400
24401 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24402
24403 * textmodes/remember.el (remember-handler-functions): Add an
24404 option for a new handler `remember-store-in-files'.
24405 (remember-data-directory, remember-directory-file-name-format):
24406 New options.
24407 (remember-store-in-files): New function to store remember notes
24408 as separate files within a directory.
24409
24410 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24411
24412 * progmodes/compile.el (compilation-next-error-function):
24413 Pass "formats" to compilation-find-file (bug#11777).
24414
24415 2013-04-24 Glenn Morris <rgm@gnu.org>
24416
24417 * vc/vc-bzr.el (vc-bzr-print-log):
24418 * vc/vc-hg.el (vc-hg-print-log):
24419 * vc/vc-svn.el (vc-svn-print-log):
24420 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24421
24422 * vc/vc-bzr.el (vc-bzr-print-log):
24423 * vc/vc-cvs.el (vc-cvs-print-log):
24424 * vc/vc-git.el (vc-git-print-log):
24425 * vc/vc-hg.el (vc-hg-print-log):
24426 * vc/vc-mtn.el (vc-mtn-print-log):
24427 * vc/vc-rcs.el (vc-rcs-print-log):
24428 * vc/vc-sccs.el (vc-sccs-print-log):
24429 * vc/vc-svn.el (vc-svn-print-log):
24430 * vc/vc.el (vc-print-log-internal): Doc fixes.
24431
24432 2013-04-23 Glenn Morris <rgm@gnu.org>
24433
24434 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24435 Remove venerable code attempting to avoid substitute-command-keys.
24436
24437 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24438
24439 * textmodes/reftex-vars.el (reftex-label-regexps):
24440 Call `reftex-compile-variables' after changes to this variable.
24441
24442 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24443
24444 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24445 Use lexical-binding.
24446 (jit-lock-force-redisplay): Use markers, check buffer's continued
24447 existence and beware narrowed buffers.
24448 (jit-lock-fontify-now): Adjust call accordingly.
24449
24450 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24451
24452 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24453 to avoid misleading the user.
24454
24455 2013-04-22 Leo Liu <sdl.web@gmail.com>
24456
24457 * info-look.el: Prefer latex2e.info. (Bug#14240)
24458
24459 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24460
24461 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24462
24463 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24464 * net/tramp.el (tramp-call-process): ... here.
24465 (tramp-set-completion-function, tramp-parse-putty):
24466 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24467 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24468 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24469 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24470 (tramp-call-local-coding-command): Use `tramp-call-process'
24471 instead of `tramp-compat-call-process'.
24472
24473 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24474 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24475 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24476 (tramp-find-inline-compress): Improve traces.
24477 (tramp-maybe-send-script): Check for Perl binary.
24478 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24479
24480 2013-04-22 Daiki Ueno <ueno@gnu.org>
24481
24482 * epg.el (epg-context-pinentry-mode): New function.
24483 (epg-context-set-pinentry-mode): New function.
24484 (epg--start): Pass --pinentry-mode option to gpg command.
24485
24486 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24487
24488 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24489 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24490 `completion-at-point'. (Bug#13774)
24491
24492 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24493 default key binding for `describe-distribution' has been moved to
24494 `C-h C-o'. (Bug#13970)
24495
24496 2013-04-21 Glenn Morris <rgm@gnu.org>
24497
24498 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24499 Add doc strings.
24500 (vc-print-log): Clarify interactive prompt.
24501
24502 2013-04-20 Glenn Morris <rgm@gnu.org>
24503
24504 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24505 No longer include timestamp etc information.
24506
24507 2013-04-20 Roland Winkler <winkler@gnu.org>
24508
24509 * faces.el (read-face-name): Bug fix, return just one face if arg
24510 multiple is nil. (Bug#14209)
24511
24512 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24513
24514 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24515 (remove-function): Autoload.
24516
24517 * comint.el (comint-redirect-original-filter-function): Remove.
24518 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24519 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24520 (vc-cvs-annotate-command):
24521 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24522 * progmodes/prolog.el (prolog-consult-compile):
24523 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24524 Use add/remove-function instead.
24525 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24526 (gud-tooltip-process-output, gud-tooltip-tips):
24527 Use add/remove-function instead.
24528 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24529 (scheme-interaction-mode, exit-scheme-interaction-mode):
24530 Use add/remove-function instead.
24531
24532 * vc/vc-dispatcher.el: Use lexical-binding.
24533 (vc--process-sentinel): Rename from vc-process-sentinel.
24534 Change last arg to be the code to run. Don't use vc-previous-sentinel
24535 and vc-sentinel-commands any more.
24536 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24537 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24538
24539 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24540
24541 * progmodes/sh-script.el (sh-imenu-generic-expression):
24542 Handle function names with a single character. (Bug#14111)
24543
24544 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24545
24546 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24547 for subroutines defined in an eval (bug#14182).
24548
24549 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24550
24551 * bookmark.el (bookmark-completing-read): Improve handling of empty
24552 string (bug#14176).
24553
24554 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24555
24556 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24557
24558 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24559
24560 New faster Imenu implementation (bug#14058).
24561 * progmodes/python.el (python-imenu-prev-index-position)
24562 (python-imenu-format-item-label-function)
24563 (python-imenu-format-parent-item-label-function)
24564 (python-imenu-format-parent-item-jump-label-function):
24565 New vars.
24566 (python-imenu-format-item-label)
24567 (python-imenu-format-parent-item-label)
24568 (python-imenu-format-parent-item-jump-label)
24569 (python-imenu--put-parent, python-imenu--build-tree)
24570 (python-imenu-create-index, python-imenu-create-flat-index)
24571 (python-util-popn): New functions.
24572 (python-mode): Set imenu-create-index-function to
24573 python-imenu-create-index.
24574
24575 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24576
24577 * winner.el (winner-active-region): Use region-active-p, activate-mark
24578 and deactivate-mark (bug#14225).
24579
24580 * simple.el (deactivate-mark): Don't inline it.
24581
24582 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24583
24584 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24585
24586 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24587
24588 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24589 file extensions from the archive-mode entry in order to prefer
24590 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24591
24592 2013-04-18 Leo Liu <sdl.web@gmail.com>
24593
24594 * bindings.el (help-event-list): Add ?\?.
24595
24596 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24597
24598 * subr.el (with-wrapper-hook): Declare obsolete.
24599 * simple.el (filter-buffer-substring-function): New hook.
24600 (filter-buffer-substring): Use it.
24601 (filter-buffer-substring-functions): Mark obsolete.
24602 * minibuffer.el (completion-in-region-function): New hook.
24603 (completion-in-region): Use it.
24604 (completion-in-region-functions): Mark obsolete.
24605 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24606 * abbrev.el (abbrev-expand-function): New hook.
24607 (expand-abbrev): Use it.
24608 (abbrev-expand-functions): Mark obsolete.
24609 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24610 and :filter-return.
24611
24612 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24613
24614 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24615 and do not care about match data.
24616
24617 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24618
24619 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24620 completion tables when completing error conditions and
24621 `declare' arguments.
24622 (lisp-complete-symbol, field-complete): Mark as obsolete.
24623 (check-parens): Unmatched parens are user errors.
24624 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24625
24626 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
24627
24628 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24629 command changed buffer (ie. `flyspell-pre-buffer' is not current
24630 buffer), which prevents making decisions based on invalid value of
24631 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
24632 cause an error when `flyspell-pre-point' was nil after switching
24633 buffers.
24634 (flyspell-post-command-hook): No longer needs to change buffers when
24635 checking pre-word. While at it remove unnecessary progn.
24636
24637 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
24638
24639 * textmodes/ispell.el (ispell-add-per-file-word-list):
24640 Fix `flyspell-correct-word-before-point' error when accepting
24641 words and `coment-padding' is an integer by using
24642 `comment-normalize-vars' (Bug #14214).
24643
24644 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24645
24646 New defun movement commands.
24647 * progmodes/python.el (python-nav--syntactically)
24648 (python-nav--forward-defun, python-nav-backward-defun)
24649 (python-nav-forward-defun): New functions.
24650
24651 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24652
24653 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24654 (python-syntax-context): Use named compiler-macro for backwards
24655 compatibility with Emacs 24.x.
24656
24657 2013-04-17 Leo Liu <sdl.web@gmail.com>
24658
24659 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24660 octave-hide-process-buffer.
24661
24662 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24663
24664 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24665 (bug#14216).
24666
24667 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
24668
24669 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24670 Fix adjustment of offset when receiving incomplete responses from GDB
24671 (bug#14129).
24672
24673 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24674
24675 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24676 python-mode-abbrev-table.
24677 (python-skeleton-define): Adjust accordingly.
24678 (python-mode-abbrev-table): New table that inherits from it so that
24679 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24680
24681 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24682 (abbrev-symbol): Use it.
24683 (abbrev--before-point): Use it since we already handle inheritance.
24684
24685 2013-04-16 Leo Liu <sdl.web@gmail.com>
24686
24687 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24688 binding to info-lookup-symbol.
24689
24690 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
24691
24692 * minibuffer.el (completion--twq-all):
24693 * term/ns-win.el (ns-initialize-window-system):
24694 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24695
24696 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24697
24698 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24699 global bindings.
24700
24701 * doc-view.el (doc-view-start-process): Handle url-handler directories.
24702
24703 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
24704
24705 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24706 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24707 to nil.
24708 (ruby-end-of-defun): Remove the unused arg, change the docstring
24709 to reflect that this function is only used as the value of
24710 `end-of-defun-function'.
24711 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24712 to reflect an earlier change that beginning/end-of-defun functions
24713 jump between methods in a class definition, as well as top-level
24714 functions.
24715
24716 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24717
24718 * minibuffer.el (minibuffer-complete): Don't just scroll
24719 a *Completions* that's been iconified.
24720 (minibuffer-force-complete): Make sure repetitions do cycle when going
24721 through completion-in-region -> minibuffer-complete.
24722
24723 2013-04-15 Alan Mackenzie <acm@muc.de>
24724
24725 Correct the placement of c-cpp-delimiters when there're #s not at
24726 col 0.
24727
24728 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24729 place a submatch around the #.
24730 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24731 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
24732 on the #, not BOL.
24733
24734 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24735
24736 * emacs-lisp/nadvice.el: Properly test names when adding advice.
24737 (advice--member-p): New arg `name'.
24738 (advice--add-function, advice-member-p): Use it (bug#14202).
24739
24740 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
24741
24742 Reformulate java imenu-generic-expression.
24743 The old expression contained ill formed regexps.
24744
24745 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24746 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24747 (cc-imenu-java-method-arg-regexp): New defconsts.
24748 (cc-imenu-java-build-type-args-regex): New defun.
24749 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24750 handling of spaces in the regexp.
24751
24752 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24753
24754 * textmodes/ispell.el (ispell-command-loop): Remove
24755 flyspell highlight of a word when ispell accepts it (bug #14178).
24756
24757 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
24758
24759 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24760 uses code from the previous `ange-ftp-run-real-handler'.
24761 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24762 only in case that function exist. This is needed for proper
24763 unloading of Tramp.
24764
24765 2013-04-15 Tassilo Horn <tsdh@gnu.org>
24766
24767 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24768
24769 * textmodes/reftex.el (reftex-compile-variables): Use it.
24770
24771 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24772
24773 * files.el (normal-mode): Only use default major-mode if no other mode
24774 was specified.
24775
24776 * emacs-lisp/trace.el (trace-values): New function.
24777
24778 * files.el: Allow : in local variables (bug#14089).
24779 (hack-local-variable-regexp): New var.
24780 (hack-local-variables-prop-line, hack-local-variables): Use it.
24781
24782 2013-04-13 Roland Winkler <winkler@gnu.org>
24783
24784 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
24785 data before it gets modified by bibtex-beginning-of-entry.
24786
24787 2013-04-13 Roland Winkler <winkler@gnu.org>
24788
24789 * textmodes/bibtex.el (bibtex-url): Doc fix.
24790
24791 2013-04-13 Roland Winkler <winkler@gnu.org>
24792
24793 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24794 does not visit a BibTeX file, exclude it from the list of buffers
24795 returned by bibtex-initialize.
24796
24797 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
24798
24799 * window.el (split-window): Remove interactive form, since as a
24800 command this function is a special case of split-window-below.
24801 Correct doc string.
24802
24803 2013-04-12 Roland Winkler <winkler@gnu.org>
24804
24805 * faces.el (read-face-name): Do not override value of arg default.
24806 Allow single faces and strings as default values. Remove those
24807 elements from return value that are not faces.
24808 (describe-face): Simplify.
24809 (face-at-point): New optional args thing and multiple so that this
24810 function can provide the same functionality previously provided by
24811 read-face-name.
24812 (make-face-bold, make-face-unbold, make-face-italic)
24813 (make-face-unitalic, make-face-bold-italic, invert-face)
24814 (modify-face, read-face-and-attribute): Use face-at-point.
24815
24816 * cus-edit.el (customize-face, customize-face-other-window)
24817 * cus-theme.el (custom-theme-add-face)
24818 * face-remap.el (buffer-face-set)
24819 * facemenu.el (facemenu-set-face): Use face-at-point.
24820
24821 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
24822
24823 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24824
24825 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24826
24827 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24828 off leading { and trailing } from field values.
24829
24830 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
24831
24832 * emacs-lisp/timer.el (timer--check): New function.
24833 (timer--time, timer-set-function, timer-event-handler): Use it.
24834 (timer-set-idle-time): Simplify.
24835 (timer--activate): CSE.
24836 (timer-event-handler): Give more info in error message.
24837 (internal-timer-start-idle): New function, moved from C.
24838
24839 * mpc.el (mpc-proc): Add `restart' argument.
24840 (mpc-proc-cmd): Use it.
24841 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24842 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24843 less often.
24844
24845 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24846
24847 * progmodes/sh-script.el: Implement `sh-mode' own
24848 `add-log-current-defun-function' (bug#14112).
24849 (sh-current-defun-name): New function.
24850 (sh-mode): Use the function.
24851
24852 2013-04-09 Bastien Guerry <bzg@gnu.org>
24853
24854 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24855
24856 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24857
24858 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24859
24860 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24861 timer (bug#14156).
24862
24863 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24864
24865 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24866 declaration.
24867
24868 2013-04-07 Leo Liu <sdl.web@gmail.com>
24869
24870 * pcmpl-x.el: New file.
24871
24872 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24873
24874 Do not set x-display-name until X connection is established.
24875 This is needed to prevent from weird situation described at
24876 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24877 * frame.el (make-frame): Set x-display-name after call to
24878 window system initialization function, not before.
24879 * term/x-win.el (x-initialize-window-system): Add optional
24880 display argument and use it.
24881 * term/w32-win.el (w32-initialize-window-system):
24882 * term/ns-win.el (ns-initialize-window-system):
24883 * term/pc-win.el (msdos-initialize-window-system):
24884 Add compatible optional display argument.
24885
24886 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24887
24888 * files.el (normal-backup-enable-predicate): On MS-Windows and
24889 MS-DOS compare truenames of temporary-file-directory and of the
24890 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24891 don't fail comparison by compare-strings. Also, compare file
24892 names case-insensitively on MS-Windows and MS-DOS.
24893
24894 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24895
24896 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24897 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24898
24899 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24900
24901 * whitespace.el (whitespace-color-on, whitespace-color-off):
24902 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24903
24904 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
24905
24906 * ispell.el (ispell-set-spellchecker-params):
24907 Really set `ispell-args' for all equivs.
24908
24909 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24910
24911 * ido.el (ido-completions): Use extra elements of ido-decorations
24912 (bug#14143).
24913 (ido-decorations): Update docstring.
24914
24915 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
24916
24917 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24918 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24919 nil during initialization, in order not to miss changes since the
24920 file was opened. (Bug#14140)
24921
24922 2013-04-05 Leo Liu <sdl.web@gmail.com>
24923
24924 * kmacro.el (kmacro-call-macro): Fix bug#14135.
24925
24926 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24927
24928 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24929
24930 2013-04-04 Glenn Morris <rgm@gnu.org>
24931
24932 * electric.el (electric-pair-inhibit-predicate): Add :version.
24933
24934 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
24935
24936 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24937 when a package is required several times (bug#14082).
24938
24939 2013-04-04 Roland Winkler <winkler@gnu.org>
24940
24941 * faces.el (read-face-name): Behave as promised by the docstring.
24942 Assume that arg default is a list of faces.
24943 (describe-face): Call read-face-name with list of default faces.
24944
24945 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24946
24947 * bookmark.el: Fix deletion of bookmarks (bug#13972).
24948 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24949 (bookmark-bmenu-execute-deletions): Only skip first line if it's
24950 the header.
24951 (bookmark-exit-hook-internal): Save even if list is empty.
24952
24953 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
24954
24955 * emacs-lisp/package.el (package-pinned-packages): New var.
24956 (package--add-to-archive-contents): Obey it (bug#14118).
24957
24958 2013-04-03 Alan Mackenzie <acm@muc.de>
24959
24960 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24961 Also adapt to the new values of element 7 of a parse state.
24962
24963 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24964 parameter `not-in-delimiter'. Handle being inside comment opener.
24965 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24966 character in case we're typing a '*' after a '/'.
24967 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24968 instead by passing the parameter to c-state-pp-to-literal.
24969
24970 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24971 for elt. 7 of a parse state.
24972
24973 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
24974
24975 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24976 * international/latin1-disp.el, international/mule-util.el:
24977 * language/cyril-util.el, language/european.el, language/ind-util.el:
24978 * language/lao-util.el, language/thai.el, language/tibet-util.el:
24979 * language/tibetan.el, language/viet-util.el:
24980 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24981
24982 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24983
24984 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24985 (electric-pair-post-self-insert-function): Use it.
24986 (electric-pair-default-inhibit): New function, extracted from
24987 electric-pair-post-self-insert-function.
24988
24989 2013-03-31 Roland Winkler <winkler@gnu.org>
24990
24991 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24992
24993 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24994
24995 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
24996
24997 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
24998
24999 Un-indent after "pass" and "return" statements (Bug#13888)
25000 * progmodes/python.el (python-indent-block-enders): New var.
25001 (python-indent-calculate-indentation): Use it.
25002
25003 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25004
25005 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25006 defun. Defining it as defalias could introduce too eager
25007 byte-compiler optimization. (Bug#14030)
25008
25009 2013-03-30 Chong Yidong <cyd@gnu.org>
25010
25011 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25012
25013 2013-03-30 Leo Liu <sdl.web@gmail.com>
25014
25015 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25016 (kmacro-execute-from-register): Pass the keyboard macro to
25017 kmacro-call-macro or repeating won't work correctly.
25018
25019 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25020
25021 * progmodes/subword.el: Back to using `forward-symbol'.
25022
25023 * subr.el (forward-whitespace, forward-symbol)
25024 (forward-same-syntax): Move from thingatpt.el.
25025
25026 2013-03-29 Leo Liu <sdl.web@gmail.com>
25027
25028 * kmacro.el (kmacro-to-register): New command.
25029 (kmacro-execute-from-register): New function.
25030 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25031
25032 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25033
25034 * mpc.el: Use defvar-local and setq-local.
25035 (mpc--proc-connect): Connection failures are not bugs.
25036 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25037 (mpc-volume-map): Bind to the up-events.
25038
25039 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25040
25041 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25042 instead of `forward-symbol'.
25043
25044 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25045
25046 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25047 (edebug--recursive-edit): Use it.
25048 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25049 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25050
25051 2013-03-28 Leo Liu <sdl.web@gmail.com>
25052
25053 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25054
25055 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25056
25057 * facemenu.el (list-colors-callback): New defvar.
25058 (list-colors-redisplay): New function.
25059 (list-colors-display): Install list-colors-redisplay as the
25060 revert-buffer-function. (Bug#14063)
25061
25062 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25063
25064 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25065 and suffixes don't overlap (bug#14061).
25066
25067 * case-table.el: Use lexical-binding.
25068 (case-table-get-table): New function.
25069 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25070
25071 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25072
25073 * progmodes/subword.el: Add `superword-mode' to do word motion
25074 over symbol_words (parallels and leverages `subword-mode' which
25075 does word motion inside MixedCaseWords).
25076
25077 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25078
25079 * eshell/em-unix.el: Move su and sudo to...
25080 * eshell/em-tramp.el: ...Eshell tramp module.
25081
25082 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25083
25084 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25085 Change return value to be a sexp. Delay `get-buffer' to after
25086 restoring the desktop (bug#13951).
25087
25088 2013-03-26 Leo Liu <sdl.web@gmail.com>
25089
25090 * register.el: Move semantic tag handling back to
25091 cedet/semantic/senator.el. (Bug#14052)
25092
25093 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25094
25095 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25096 into the prompt either (bug#13963).
25097
25098 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25099
25100 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25101 part of "(error-foo)".
25102
25103 2013-03-24 Juri Linkov <juri@jurta.org>
25104
25105 * replace.el (list-matching-lines-prefix-face): New defcustom.
25106 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25107 `occur-engine' if `face-differs-from-default-p' returns t.
25108 (occur-engine): Add `,' inside backquote construct to evaluate
25109 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25110 Pass `prefix-face' to the functions `occur-context-lines' and
25111 `occur-engine-add-prefix'.
25112 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25113 `prefix-face' and propertize the prefix with `prefix-face'.
25114 (Bug#14017)
25115
25116 2013-03-24 Leo Liu <sdl.web@gmail.com>
25117
25118 * nxml/rng-valid.el (rng-validate-while-idle)
25119 (rng-validate-quick-while-idle): Guard against deleted buffer.
25120 (Bug#13999)
25121
25122 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25123 is the last entry in kill-buffer-hook.
25124
25125 * files.el (kill-buffer-hook): Doc fix.
25126
25127 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25128
25129 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25130 Make it safe-local.
25131
25132 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25133
25134 2013-03-23 Leo Liu <sdl.web@gmail.com>
25135
25136 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25137 Remove.
25138
25139 * nxml/rng-valid.el (rng-validate-mode)
25140 (rng-after-change-function, rng-do-some-validation):
25141 * nxml/rng-maint.el (rng-validate-buffer):
25142 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25143 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25144 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25145 (nxml-extend-after-change-region): Use with-silent-modifications.
25146
25147 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25148 timer-idle-list.
25149
25150 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25151 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25152 timer-idle-list. (Bug#13999)
25153
25154 2013-03-23 Juri Linkov <juri@jurta.org>
25155
25156 * info.el (info-index-match): New face.
25157 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25158 main pattern and add text properties with the new face to matches
25159 in index entries relative to the beginning of the index entry.
25160 (Bug#14015)
25161
25162 2013-03-21 Eric Ludlam <zappo@gnu.org>
25163
25164 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25165 Inhibit read only while inserting objects.
25166
25167 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25168
25169 * progmodes/cfengine.el: Update docs to mention
25170 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25171 symbol motion. Remove "_" from the word syntax.
25172
25173 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25174
25175 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25176 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25177
25178 2013-03-20 Juri Linkov <juri@jurta.org>
25179
25180 * info.el (Info-next-reference-or-link)
25181 (Info-prev-reference-or-link): New functions.
25182 (Info-next-reference, Info-prev-reference): Use them.
25183 (Info-try-follow-nearest-node): Handle footnote navigation.
25184 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25185
25186 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25187
25188 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25189 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25190
25191 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25192
25193 Suppress unnecessary non-ASCII chatter during build process.
25194 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25195 (batch-skkdic-convert): Suppress most of the chatter.
25196 It's not needed so much now that machines are faster,
25197 and its non-ASCII component was confusing; see Dmitry Gutov in
25198 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25199
25200 2013-03-20 Leo Liu <sdl.web@gmail.com>
25201
25202 * ido.el (ido-chop): Fix bug#10994.
25203
25204 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25205
25206 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25207 Remove vars.
25208 (whitespace-color-on, whitespace-color-off):
25209 Use `font-lock-fontify-buffer' (Bug#13817).
25210
25211 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25212
25213 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25214 remapping in mode-line.
25215 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25216
25217 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25218
25219 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25220 value for `whitespace-line' face (Bug#13875).
25221 (whitespace-font-lock-keywords): Change description.
25222 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25223 the constructed keywords instead.
25224 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25225
25226 2013-03-19 Leo Liu <sdl.web@gmail.com>
25227
25228 * progmodes/compile.el (compilation-display-error): New command.
25229 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25230 C-o. (Bug#13992)
25231
25232 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25233
25234 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25235
25236 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25237
25238 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25239
25240 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25241
25242 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25243
25244 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25245 * net/tramp-gvfs.el (top):
25246 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25247 (tramp-handle-shell-command): Use it.
25248 (tramp-dissect-file-name): Raise an error when hostname is a
25249 method name, and neither method nor user is specified.
25250
25251 * net/trampver.el: Update release number.
25252
25253 2013-03-18 Leo Liu <sdl.web@gmail.com>
25254
25255 Make sure eldoc can be turned off properly.
25256 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25257 eldoc-mode.
25258 (eldoc-display-message-p): Revert last change.
25259 (eldoc-display-message-no-interference-p)
25260 (eldoc-print-current-symbol-info): Tweak.
25261
25262 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25263
25264 * doc-view.el (doc-view-new-window-function): Check the new window
25265 overlay's display property instead the char property of the
25266 buffer's first char. Use `with-selected-window' instead of
25267 `save-window-excursion' with `select-window'.
25268 (doc-view-document->bitmap): Check the current doc-view overlay's
25269 display property instead the char property of the buffer's first char.
25270
25271 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25272
25273 Automate the build of ja-dic.el (Bug#13984).
25274 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25275 from the input, rather than assume that it's been done for us by the
25276 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25277 the current date into a ja-dic.el comment, as that complicates
25278 regression testing.
25279
25280 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25281
25282 * whitespace.el: Fix double evaluation.
25283 (whitespace-space, whitespace-hspace, whitespace-tab)
25284 (whitespace-newline, whitespace-trailing, whitespace-line)
25285 (whitespace-space-before-tab, whitespace-indentation)
25286 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25287 obsolete defvars.
25288 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25289 (whitespace-color-on): Use a single font-lock-add-keywords call.
25290 Fix double-evaluation of face variables.
25291
25292 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25293
25294 * net/tramp-adb.el (tramp-adb-parse-device-names):
25295 Use `start-process' instead of `call-process'. Otherwise, the
25296 function might be blocked under MS Windows. (Bug#13299)
25297
25298 2013-03-17 Leo Liu <sdl.web@gmail.com>
25299
25300 Extend eldoc to display info in the mode-line. (Bug#13978)
25301 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25302 (eldoc-mode-line-string): New variable.
25303 (eldoc-minibuffer-message): New function.
25304 (eldoc-message-function): New variable.
25305 (eldoc-message): Use it.
25306 (eldoc-display-message-p)
25307 (eldoc-display-message-no-interference-p):
25308 Support eldoc-post-insert-mode.
25309
25310 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25311 (eval-expression): Run it.
25312
25313 2013-03-17 Roland Winkler <winkler@gnu.org>
25314
25315 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25316 strings in the list of return values.
25317
25318 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25319
25320 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25321 radix before checking for HMS forms.
25322
25323 2013-03-16 Leo Liu <sdl.web@gmail.com>
25324
25325 * progmodes/scheme.el: Add indentation and font-locking for λ.
25326 (Bug#13975)
25327
25328 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25329
25330 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25331 token before point (bug#13942).
25332
25333 2013-03-16 Leo Liu <sdl.web@gmail.com>
25334
25335 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25336
25337 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25338
25339 * startup.el (command-line-normalize-file-name): Fix handling of
25340 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25341 <xfq.free@gmail.com> in
25342 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25343
25344 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25345
25346 Sync with Tramp 2.2.7.
25347
25348 * net/trampver.el: Update release number.
25349
25350 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25351
25352 * doc-view.el: Fix bug#13887.
25353 (doc-view-insert-image): Don't modify overlay associated to
25354 non-live windows, and implement horizontal centering of image in
25355 case it's smaller than the window.
25356 (doc-view-new-window-function): Force redisplay of new windows on
25357 doc-view buffers.
25358
25359 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25360
25361 * saveplace.el (save-place-alist-to-file): Don't sort
25362 `save-place-alist', just pretty-print it (bug#13882).
25363
25364 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25365
25366 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25367 Check whether `default-file-name-coding-system' is bound.
25368 It isn't in XEmacs.
25369
25370 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25371
25372 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25373 backquotes for `obsolete' (bug#13929).
25374
25375 * international/mule.el (find-auto-coding): Include file name in
25376 obsolescence warning (bug#13922).
25377
25378 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25379
25380 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25381 for CFEngine 3-specific indentation.
25382 (cfengine3-indent-line): Use it. Fix up category regex.
25383 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25384
25385 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25386
25387 * type-break.el (type-break-file-name):
25388 * textmodes/remember.el (remember-data-file):
25389 * strokes.el (strokes-file):
25390 * shadowfile.el (shadow-initialize):
25391 * saveplace.el (save-place-file):
25392 * ps-bdf.el (bdf-cache-file):
25393 * progmodes/idlwave.el (idlwave-config-directory):
25394 * net/quickurl.el (quickurl-url-file):
25395 * international/kkc.el (kkc-init-file-name):
25396 * ido.el (ido-save-directory-list-file):
25397 * emulation/viper.el (viper-custom-file-name):
25398 * emulation/vip.el (vip-startup-file):
25399 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25400 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25401
25402 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25403
25404 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25405 * language/thai-word.el: Switch to UTF-8.
25406
25407 See ChangeLog.16 for earlier changes.
25408
25409 ;; Local Variables:
25410 ;; coding: utf-8
25411 ;; End:
25412
25413 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25414
25415 This file is part of GNU Emacs.
25416
25417 GNU Emacs is free software: you can redistribute it and/or modify
25418 it under the terms of the GNU General Public License as published by
25419 the Free Software Foundation, either version 3 of the License, or
25420 (at your option) any later version.
25421
25422 GNU Emacs is distributed in the hope that it will be useful,
25423 but WITHOUT ANY WARRANTY; without even the implied warranty of
25424 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25425 GNU General Public License for more details.
25426
25427 You should have received a copy of the GNU General Public License
25428 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.