]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
ruby-mode: Expect regexp after { or | too
[gnu-emacs] / lisp / ChangeLog
1 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
2
3 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
4 beginning of regexp also after open brace or vertical bar.
5 (Bug#20026)
6
7 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * battery.el (battery-echo-area-format): Simplify default.
10 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
11 for AC adapter.
12
13 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
14 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
15 do it.
16
17 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
18
19 * net/browse-url.el (browse-url-firefox): Remove outdated
20 MS-Windows limitations.
21
22 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
23
24 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
25 obsolete.
26 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
27 Don't clean up postal addresses if ldap-ignore-attribute-codings
28 is set. Combine mail addresses into one field. (Bug#17720)
29 (eudc-ldap-simple-query-internal):
30 Call eudc-ldap-cleanup-record-filtering-addresses instead of
31 eudc-ldap-cleanup-record-simple.
32 (eudc-ldap-get-field-list): Likewise.
33
34 2015-03-05 Ivan Shmakov <ivan@siamics.net>
35
36 * net/eww.el (eww-html-p): New function (bug#20009).
37 (eww-render): Use it.
38
39 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
40
41 * desktop.el (desktop-buffer-info): Write docstring.
42 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
43 unquote lamda.
44
45 * emacs-lisp/package.el (package-refresh-contents): Update doc.
46
47 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
48
49 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
50
51 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 Replace *-function vars with generic functions in cl-generic.
54 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
55 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
56 (cl--generic-t-generalizer): New const.
57 (cl--generic-make-method): Rename from `cl--generic-method-make'.
58 (cl--generic-make): Change calling convention.
59 (cl--generic): Add `options' field.
60 (cl-generic-function-options): New function.
61 (cl-defgeneric): Rewrite handling of options. Add support for :method
62 options and allow the use of a default body.
63 (cl-generic-define): Save options in the corresponding new field.
64 (cl-defmethod): Fix ordering of qualifiers.
65 (cl-generic-define-method): Use cl-generic-generalizers.
66 (cl--generic-get-dispatcher): Change calling convention, and change
67 calling convention of the returned function as well so as to take the
68 list of methods separately from the generic function object, so that it
69 can receive the original generic function object.
70 (cl--generic-make-next-function): New function, extracted from
71 cl--generic-make-function.
72 (cl--generic-make-function): Use it.
73 (cl-generic-method-combination-function): Remove.
74 (cl--generic-cyclic-definition): New error.
75 (cl-generic-call-method): Take a generic function object rather than
76 its name.
77 (cl-method-qualifiers): New alias.
78 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
79 don't segregate by qualifiers here any more.
80 (cl--generic-standard-method-combination): Segregate by qualifiers
81 here instead. Add support for the `:extra' qualifier.
82 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
83 (cl-generic-generalizers, cl-generic-combine-methods):
84 New generic functions.
85 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
86 Use the new "default method in defgeneric" functionality, change
87 calling convention to receive a generic function object.
88 (cl--generic-head-used): New var.
89 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
90 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
91 New consts.
92 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
93 (eieio--generic-subclass-generalizer): New consts.
94 (cl-generic-generalizers): New methods.
95 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
96 (eieio--generic-static-object-generalizer): New consts.
97 (cl-generic-generalizers) <(head eieio--static)>: New method.
98 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
99 Unfold closures like lambdas.
100
101 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
102
103 * autorevert.el (auto-revert-notify-add-watch):
104 Fix handler installation. (Bug#20000)
105
106 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
107
108 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
109 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
110 (eww): Do not end error messages with a period.
111
112 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
113
114 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
115 New user option.
116 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
117 names starting with a space.
118 (tramp-methods): Add `tramp-default-port' for "adb".
119 (tramp-adb-parse-device-names): Add traces. Return device names
120 with port, if present.
121 (tramp-adb-handle-directory-files-and-attributes): Quote all
122 remote file names.
123 (tramp-adb-get-device): New defun.
124 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
125 Use it.
126 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
127 variables. Remove checks for listed devices.
128
129 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
130
131 * net/tramp.el (tramp): Add :link property.
132 (tramp-login-prompt-regexp): Allow also "user", as required by
133 Fritz!Box telnet.
134 (tramp-autoload-file-name-handler): Use "/".
135 (tramp-handle-unhandled-file-name-directory): Return nil when
136 required by the spec.
137
138 * net/tramp-cache.el (tramp-dump-connection-properties):
139 Use `with-temp-file'.
140
141 * net/tramp-sh.el (tramp-perl-file-attributes)
142 (tramp-perl-directory-files-and-attributes): Escape apostrophs in
143 file names.
144 (tramp-do-file-attributes-with-stat): Quote file name.
145 (tramp-sh-handle-directory-files-and-attributes): Fall back to
146 `tramp-handle-directory-files-and-attributes' in case of problems.
147 (tramp-do-directory-files-and-attributes-with-stat)
148 (tramp-sh-handle-file-name-all-completions)
149 (tramp-sh-handle-delete-directory)
150 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
151 Normalize use of "cd".
152 (tramp-do-directory-files-and-attributes-with-stat): Use the
153 `quoting-style' arg of `ls' if possible. Make it also working for
154 file names with apostrophs.
155 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
156 in proper order.
157 (tramp-do-copy-or-rename-file-via-buffer)
158 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
159 (tramp-get-remote-locale): Accept also \r in output.
160 (tramp-get-ls-command-with-quoting-style): New defun.
161 (tramp-get-inline-coding): Set `default-directory' to a local
162 directory. Sporadically, `call-process-region' does not handle a
163 remote default directory properly.
164
165 * net/trampver.el: Update release number.
166
167 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
168
169 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
170 .dat files for aspell dicts are also searched for in location
171 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
172 variable.
173
174 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
175
176 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
177 (ispell-hunspell-fill-dictionary-entry)
178 (ispell-find-hunspell-dictionaries)
179 (ispell-set-spellchecker-params): New generic name for
180 `ispell-hunspell-dictionary-equivs-alist'.
181 (ispell-aspell-add-aliases): Also use
182 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
183 standard dict names.
184
185 2015-03-03 Glenn Morris <rgm@gnu.org>
186
187 * net/browse-url.el (browse-url-firefox-startup-arguments):
188 Make obsolete.
189 (browse-url-firefox): Doc fix. Remove -remote, which no longer
190 exists in Firefox 36. (Bug#19921)
191 (browse-url-firefox-sentinel): Remove function.
192
193 2015-03-03 Eli Zaretskii <eliz@gnu.org>
194
195 * frame.el (blink-cursor-timer-function): Don't increment
196 blink-cursor-blinks-done counter when a menu is active on a w32
197 frame. (Bug#19925)
198
199 2015-03-03 Juri Linkov <juri@linkov.net>
200
201 * comint.el (comint-line-beginning-position): Revert searching for
202 the prompt when comint-use-prompt-regexp is non-nil because it
203 doesn't distinguish input from output. Check the field property
204 `output' for the case when comint-use-prompt-regexp is nil.
205 (Bug#19710)
206
207 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
208
209 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
210 with PAGER=cat. (Bug#19870)
211
212 2015-03-03 Glenn Morris <rgm@gnu.org>
213
214 * textmodes/flyspell.el (flyspell-duplicate-distance):
215 Bump :version.
216
217 2015-03-03 Eli Zaretskii <eliz@gnu.org>
218
219 * textmodes/text-mode.el (text-mode-syntax-table): Make some
220 punctuation character behave as word-constituent, for more
221 compatibility with Unicode.
222
223 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
224
225 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
226
227 Improve string search in `flyspell-word-search-*`. (Bug#16800)
228 * flyspell.el (flyspell-duplicate-distance): Limit default search
229 distance for duplicated words to 40000.
230 (flyspell-word-search-backward, flyspell-word-search-forward):
231 Search as full word with defined casechars, not as substring.
232
233 2015-03-03 Juri Linkov <juri@linkov.net>
234
235 Better support for the case of typing RET on the prompt in comint.
236 * comint.el (comint-get-old-input-default): Go to the field end
237 when comint-use-prompt-regexp is nil.
238 (comint-line-beginning-position): Check if point is already
239 on the prompt before searching for the prompt when
240 comint-use-prompt-regexp is non-nil. (Bug#19710)
241
242 2015-03-03 Eli Zaretskii <eliz@gnu.org>
243
244 * frame.el (frame-notice-user-settings): Refresh the value of
245 frame parameters after calling tty-handle-reverse-video.
246 Call face-set-after-frame-default with the actual parameters, to avoid
247 resetting colors back to unspecified.
248 (set-background-color, set-foreground-color): Pass the foreground
249 and background colors to face-set-after-frame-default. (Bug#19802)
250
251 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
252
253 * net/network-stream.el (network-stream-open-tls): Respect the
254 :end-of-capability setting.
255
256 2015-03-03 Juri Linkov <juri@linkov.net>
257
258 Revert the previous change of comint-line-beginning-position callers,
259 and modify comint-line-beginning-position instead.
260
261 * comint.el (comint-history-isearch-search)
262 (comint-history-isearch-message, comint-history-isearch-wrap):
263 Use comint-line-beginning-position instead of field-beginning.
264 (comint-send-input): Use either end-of-line or field-end
265 depending on comint-use-prompt-regexp.
266 (comint-line-beginning-position): Search backward
267 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
268 Use field-beginning instead of line-beginning-position
269 if comint-use-prompt-regexp is nil. (Bug#19710)
270
271 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
272
273 * calendar/todo-mode.el (todo-item-done): When done items are
274 hidden, restore point to its location prior to invoking this
275 command. (Bug#19727)
276
277 2015-03-03 Eli Zaretskii <eliz@gnu.org>
278
279 * textmodes/artist.el (artist-ellipse-compute-fill-info):
280 Use mapcar, not mapc, to create the other half of fill-info.
281 (Bug#19763)
282
283 2015-03-03 Nicolas Petton <nicolas@petton.fr>
284
285 * emacs-lisp/authors.el (authors-ignored-files)
286 (authors-renamed-files-alist): Additions.
287
288 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
291 tempfile for ControlPath. (Bug#19702)
292
293 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
294
295 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
296 ControlPath if possible. (Bug#19702)
297
298 2015-03-03 Glenn Morris <rgm@gnu.org>
299
300 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
301 (authors-valid-file-names, authors-renamed-files-alist): Additions.
302
303 2015-03-03 Alan Mackenzie <acm@muc.de>
304
305 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
306 * progmodes/cc-mode.el (c-font-lock-init):
307 Set font-lock-extend-region-functions to nil.
308
309 2015-03-03 Daniel Colascione <dancol@dancol.org>
310
311 * emacs-lisp/generator.el: Make globals conform to elisp
312 style throughout. Use more efficient font-lock patterns.
313 (cps-inhibit-atomic-optimization): Rename from
314 `cps-disable-atomic-optimization'.
315 (cps--gensym): New macro; replaces `cl-gensym' throughout.
316 (cps-generate-evaluator): Move the `iter-yield' local macro
317 definition here
318 (iter-defun, iter-lambda): from here.
319
320 (iter-defun): Use `macroexp-parse-body'.
321
322 2015-03-03 Daniel Colascione <dancol@dancol.org>
323
324 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * progmodes/gud.el: Use lexical-binding (bug#19966).
327
328 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
329
330 2015-03-03 Daniel Colascione <dancol@dancol.org>
331
332 * emacs-lisp/generator.el: Make globals conform to elisp
333 style throughout. Use more efficient font-lock patterns.
334 (cps-inhibit-atomic-optimization): Rename from
335 `cps-disable-atomic-optimization'.
336 (cps--gensym): New macro; replaces `cl-gensym' throughout.
337 (cps-generate-evaluator): Move the `iter-yield' local macro
338 definition here...
339 (iter-defun, iter-lambda): ...from here.
340
341 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
342
343 * emacs-lisp/package.el (package-autoremove): Fix if logic.
344
345 2015-03-03 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (window--dump-frame): For pixel height return total
348 number of frame's lines.
349
350 2015-03-03 Daniel Colascione <dancol@dancol.org>
351
352 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
353
354 * emacs-lisp/generator.el (iter-defun): Correctly propagate
355 docstrings and declarations to underlying function.
356
357 2015-03-02 Daniel Colascione <dancol@dancol.org>
358
359 * emacs-lisp/generator.el: New file.
360
361 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
362 `vc-responsible-backend'.
363
364 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
365
366 * vc/vc-hooks.el (vc-state, vc-working-revision):
367 Use `vc-responsible-backend' in order to support unregistered files.
368
369 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
370
371 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
372 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
373 master name.
374
375 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
376
377 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
378
379 * net/shr.el (shr-insert): Remove soft hyphens.
380 (shr-insert): Also remove soft hypens from non-folded text.
381
382 2015-02-28 Eli Zaretskii <eliz@gnu.org>
383
384 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
385 when the charset is only given by the HTML <head>, and allow to
386 specify the encoding with "C-x RET c".
387
388 2015-02-27 Mark Laws <mdl@60hz.org>
389
390 Support daemon mode on MS-Windows (bug#19688)
391 * server.el (server-process-filter): Force GUI frames on
392 MS-Windows in daemon mode, even if a TTY frame was requested.
393
394 * frameset.el (frameset-keep-original-display-p): Don't assume
395 windows-nt cannot be in daemon mode.
396
397 * frame.el (window-system-for-display): Don't assume windows-nt
398 cannot be in daemon mode.
399
400 2015-02-26 Ivan Shmakov <ivan@siamics.net>
401
402 * faces.el (face-list-p): Split from face-at-point.
403 (face-at-point): Use it.
404 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
405
406 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
407
408 * vc/vc.el (vc-annotate-switches): New defcustom.
409 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
410 (vc-bzr-annotate-command): Use vc-switches.
411 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
412 (vc-cvs-annotate-command): Use vc-switches.
413 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
414 (vc-git-annotate-command): Use vc-switches.
415 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
416 (vc-hg-annotate-command): Use vc-switches.
417 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
418 (vc-mtn-annotate-command): Use vc-switches.
419 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
420 (vc-svn-annotate-command): Use vc-switches.
421
422 2015-02-26 Alan Mackenzie <acm@muc.de>
423
424 Handle "#" operator properly inside macro. Fix coding bug.
425
426 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
427 On finding a "#" which looks like the start of a macro, check it
428 isn't already inside a macro.
429
430 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
431 "safe" position into the list of them when this is beyond our
432 current position.
433
434 2015-02-26 Martin Rudalics <rudalics@gmx.at>
435
436 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
437 the menu frame is dead. (Bug#19728)
438
439 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
440
441 python.el: Handle tabs in python-indent-dedent-line.
442 * progmodes/python.el (python-indent-dedent-line): Fixes for
443 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
444
445 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
446
447 * progmodes/python.el (python-indent-context): Respect user
448 indentation after comment.
449
450 2015-02-26 Tassilo Horn <tsdh@gnu.org>
451
452 * textmodes/reftex-vars.el (featurep): Conditionalize value of
453 reftex-label-regexps in order to stay compatible with XEmacs 21.5
454 which has no explicitly numbered groups in regexps (bug#19714).
455
456 2015-02-26 Daiki Ueno <ueno@gnu.org>
457
458 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
459 integer before comparison.
460
461 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
462
463 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
464
465 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
466
467 * emacs-lisp/check-declare.el (check-declare-warn):
468 Use compilation-style warnings.
469 (check-declare-files): Make sure that
470 `check-declare-warning-buffer' is in `compilation-mode'.
471
472 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
473
474 * emacs-lisp/check-declare.el (check-declare-ext-errors):
475 New defcustom.
476 (check-declare): New defgroup.
477 (check-declare-verify): When `check-declare-ext-errors' is
478 non-nil, warn about an unfound function, instead of saying
479 "skipping external file".
480
481 2015-02-25 Tassilo Horn <tsdh@gnu.org>
482
483 * textmodes/reftex-vars.el (reftex-include-file-commands):
484 Call reftex-set-dirty on changes.
485
486 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
489 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
490 save-excursion.
491
492 2015-02-24 Glenn Morris <rgm@gnu.org>
493
494 * mail/rmailsum.el (rmail-summary-previous-all)
495 (rmail-summary-previous-msg): Simplify.
496
497 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
498
499 * simple.el (region-active-p): Fix doc to say non-nil.
500
501 2015-02-24 Samer Masterson <nosefrog@gmail.com>
502
503 * eshell/em-hist.el (eshell-hist-parse-word-designator):
504 Return args joined with " ".
505 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
506 (eshell-hist-parse-modifier): Pass mod a list instead of a string
507 (bug#18960).
508
509 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
510
511 * comint.el (comint-mode-map): Fix obvious typo.
512
513 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
514
515 * filecache.el (file-cache-filter-regexps):
516 Add lock files. (Bug#19516)
517
518 2015-02-24 Glenn Morris <rgm@gnu.org>
519
520 * mail/rmailsum.el (rmail-summary-next-all)
521 (rmail-summary-previous-all, rmail-summary-next-msg):
522 Fix handling of optional argument. (Bug#19916)
523
524 * progmodes/f90.el (f90-beginning-of-subprogram)
525 (f90-end-of-subprogram, f90-match-end):
526 Handle continued strings where the continuation does not start
527 with "&" and happens to match our regexp. (Bug#19809)
528
529 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
530
531 * comint.el (comint-clear-buffer): New command.
532 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
533
534 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
535
536 Use ${EXEEXT} more uniformly in makefiles
537 * Makefile.in (EMACS): Append ${EXEEXT}.
538
539 2015-02-23 Sam Steingold <sds@gnu.org>
540
541 * files.el (recover-session): Handle `auto-save-list-file-prefix'
542 being a directory (empty non-directory part).
543
544 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
545
546 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
547 instead of sasl-scram-sha-1, as the former is the name that can be
548 required.
549
550 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
551 (sasl-scram-sha-1-client-final-message)
552 (sasl-scram-sha-1-authenticate-server): Move to end of file.
553
554 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
555
556 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
557 (Bug#19826)
558
559 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
562 and :documentation. Change return value format accordingly.
563 * emacs-lisp/cl-generic.el (cl--generic-lambda):
564 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
565 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
566
567 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
568
569 Introduce `xref-etags-mode'.
570 * progmodes/xref.el (xref-etags-mode--saved): New variable.
571 (xref-etags-mode): New minor mode. (Bug#19466)
572
573 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
575 * dom.el (dom-previous-sibling): New function.
576
577 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
578
579 * bindings.el (ctl-x-map): There is no 'C-;'.
580 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
581 Perhaps some other binding should be chosen. (Bug#19826)
582
583 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
584
585 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
586
587 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
588
589 * autorevert.el (auto-revert-notify-add-watch)
590 (auto-revert-notify-handler, auto-revert-buffers): Handle also
591 buffers without an associated file, like dired buffers. (Bug#16112)
592
593 2015-02-21 Dima Kogan <dima@secretsauce.net>
594
595 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
596 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
597 wrappers. Call (auto-revert-buffers) consequently in order to
598 install handlers.
599
600 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
601
602 Sync with upstream verilog-mode revision 0d6420b.
603 * progmodes/verilog-mode.el (verilog-mode-version): Update.
604 (vector-skip-list): Remove.
605 (verilog-auto-inst-port, verilog-auto-inst-port-list)
606 (verilog-auto-inst, verilog-auto-inst-param):
607 Use arguments rather than vector-skip.
608 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
609 modport if signal attachment is itself a modport.
610 Reported by Matthew Lovell.
611
612 2015-02-21 Reto Zimmermann <reto@gnu.org>
613
614 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
615 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
616 (vhdl-doc-release-notes): Update.
617 (vhdl-standard): Add VHDL'08 option.
618 (vhdl-sensitivity-list-all): New option.
619 (vhdl-directive-keywords): Add psl.
620 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
621 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
622 (vhdl-imenu-generic-expression): Add context, directive.
623 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
624 (vhdl-template-map-init): Add vhdl-template-context.
625 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
626 (vhdl-create-mode-menu): Add some entries.
627 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
628 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
629 New constants.
630 (vhdl-directives): New variable.
631 (vhdl-words-init, vhdl-template-process)
632 (vhdl-template-replace-header-keywords): Support VHDL'08.
633 (vhdl-abbrev-list-init): Add vhdl-directives.
634 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
635 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
636 (vhdl-lineup-comment): Handle block comments and directives.
637 (vhdl-beginning-of-directive, vhdl-template-context)
638 (vhdl-template-context-hook): New functions.
639 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
640 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
641 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
642 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
643 (vhdl-scan-context-clause): Add context.
644
645 2015-02-20 Glenn Morris <rgm@gnu.org>
646
647 * calendar/solar.el (solar-sunrise-sunset-string):
648 Shorten message a little.
649 (sunrise-sunset): Use message rather than a window. (Bug#19859)
650
651 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
652 (f90-font-lock-keywords-2): Some F2008 additions.
653
654 2015-02-19 Dima Kogan <dima@secretsauce.net>
655
656 * autorevert.el (auto-revert-buffers-counter)
657 (auto-revert-buffers-counter-lockedout): New variables.
658 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
659 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
660 suppressed by lockout. (Bug#18958)
661
662 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
665 returns classes, not class names (bug#19891).
666
667 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
668
669 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
670
671 2015-02-18 Kelly Dean <kelly@prtime.org>
672
673 * register.el (jump-to-register):
674 * emacs-lisp/lisp.el (check-parens):
675 Push mark before goto-char so user doesn't lose his previous place.
676
677 2015-02-18 Kelly Dean <kelly@prtime.org>
678
679 * rect.el (rectangle-mark-mode):
680 Suppress superfluous "Mark set" message from push-mark.
681
682 2015-02-18 Kelly Dean <kelly@prtime.org>
683
684 * help-mode.el (help-go-back, help-go-forward, help-follow):
685 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
686 * winner.el (winner-redo):
687 * windmove.el (windmove-do-window-select):
688 * register.el (jump-to-register, increment-register, insert-register)
689 (append-to-register, prepend-to-register):
690 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
691 (set-visited-file-name):
692 * emacs-lisp/lisp.el (kill-backward-up-list):
693 Use user-error instead of error. (Bug#14480)
694
695 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
698 assumptions about window ordering.
699
700 2015-02-16 Kelly Dean <kelly@prtime.org>
701
702 * files.el (insert-file-contents-literally): Fix docstring typo.
703
704 2015-02-16 Kelly Dean <kelly@prtime.org>
705
706 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
707 arguments correctly. (Bug#19685)
708 (define-minor-mode): Clarify docstring.
709 Clarify mode switch messages for minor modes. (Bug#19690)
710
711 2015-02-16 Kelly Dean <kelly@prtime.org>
712
713 * emacs-lisp/package-x.el (package-upload-buffer-internal):
714 Create valid tar files. (Bug#19536)
715
716 2015-02-16 Kelly Dean <kelly@prtime.org>
717
718 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
719 (Bug#19059)
720
721 2015-02-16 Kelly Dean <kelly@prtime.org>
722
723 * help-mode.el (help-do-xref): Prevent duplicated display of Info
724 buffer, and prevent interference with existing buffer. (Bug#13190)
725
726 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
727
728 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
729
730 * progmodes/python.el (python-shell-font-lock-post-command-hook):
731 Do not deactivate mark on fontification.
732
733 2015-02-16 Ivan Shmakov <ivan@siamics.net>
734
735 * net/eww.el: Fix desktop support. (Bug#19226)
736 (eww-mode): Add autoload cookie.
737 (eww-restore-desktop): Use inhibit-read-only.
738
739 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
740 add-hook works correctly even if the file is not yet loaded.
741
742 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
745 eieio-constructor.
746 (set-slot-value): Mark as obsolete.
747 (eieio-object-class-name): Improve call to eieio-class-name.
748 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
749 (object-slots): Use it. Declare obsolete.
750 (eieio-constructor): Merge it with `make-instance'.
751 (initialize-instance): Use `dolist'.
752 (eieio-override-prin1, eieio-edebug-prin1-to-string):
753 Use eieio--class-print-name.
754
755 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
756 (eieio-class-name): Make it do what the docstring claims.
757 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
758 (eieio--slot-name-index): Simplify accordingly.
759 (eieio-barf-if-slot-unbound): Pass the class object rather than its
760 name to `slot-unbound'.
761
762 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
763 than on eieio-constructor.
764
765 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
768 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
769 about relationship between `type', `named', and `slots'.
770 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
771 value of `cl-struct-type' property.
772
773 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
774
775 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
776 with PAGER=cat. (Bug#19870)
777
778 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
779
780 * emacs-lisp/package.el (package-read-all-archive-contents):
781 Don't build the compatibility table.
782 (package-refresh-contents, package-initialize): Do build the
783 compatibility table.
784 (package--build-compatibility-table): New function.
785 (describe-package-1): Describe why a package is incompatible.
786
787 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
790 of the parent.
791 (cl--assertion-failed): New function.
792 (cl-assertion-failed): Move in from cl-lib.el.
793
794 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
795 as children of its parents.
796 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
797 (cl-typep): Reimplement using define-inline.
798 (cl-assert): Use cl--assertion-failed.
799 (cl-struct-slot-value): Use define-inline.
800
801 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
802
803 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
804 (flyspell-generic-check-word-p): Mark as obsolete.
805
806 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
807
808 * emacs-lisp/package.el (package--compatibility-table): New var.
809 (package--add-to-compatibility-table): New function.
810 (package-read-all-archive-contents): Populate compatibility table.
811 (package--incompatible-p): Also look in dependencies.
812 (describe-package-1): Fix "incompat" handling.
813
814 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
815
816 * net/rfc2104.el: Moved here from lisp/gnus.
817
818 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
819
820 * net/sasl-scram-rfc.el: New file.
821
822 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
823 Add SCRAM-SHA-1 first.
824 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
825 entry (bug#17636).
826
827 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
828
829 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
830 <ul>.
831
832 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
833
834 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
835 (gdb-inferior-filter): Don't pop up the buried output buffer when
836 `gdb-display-io-nopopup' is non-nil.
837
838 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
839
840 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
841
842 * progmodes/python.el (python-shell-font-lock-kill-buffer):
843 Don't require a running process.
844 (python-shell-font-lock-post-command-hook): Fontify only if the
845 shell process is running.
846
847 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * hi-lock.el (hi-lock-unface-buffer): Don't call
850 font-lock-remove-keywords if not needed (bug#19796).
851
852 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
853
854 * emacs-lisp/package.el (package-install): Invert the second
855 argument, for better backwards compatibility.
856 (package-install-button-action, package-reinstall)
857 (package-menu-execute): Account for the change.
858
859 2015-02-11 Nicolas Petton <nicolas@petton.fr>
860
861 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
862 version of seq-reverse that works on sequences in Emacs 24.
863 Bump seq.el version to 1.2.
864
865 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
866
867 * emacs-lisp/package.el (package--incompatible-p): New function.
868 Return non-nil if PKG has no chance of being installable.
869 (package--emacs-version-list): New variable.
870 (describe-package-1, package-desc-status)
871 (package-menu--print-info, package-menu--status-predicate):
872 Account for the "incompat" status.
873
874 2015-02-11 Martin Rudalics <rudalics@gmx.at>
875
876 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
877 Rename frame parameter `maximized' to `fullscreen-restore'.
878 Restore fullwidth/-height after fullboth state. Update doc-strings.
879
880 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
881
882 * net/shr.el (shr-insert): Make sure the space inserted has the
883 right font (for width).
884 (shr-fill-line): Preserve background colours when indenting/folding.
885 (shr-ensure-paragraph): Don't insert a new paragraph as the first
886 item in a <li>.
887
888 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
889
890 * net/shr.el (shr-use-fonts): New variable.
891 (shr-fill-text): Rename from "fold".
892 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
893 New functions.
894 (shr-insert): Just insert, don't fill the text. Filling is now
895 done afterwards per display unit.
896 (shr-fill-lines, shr-fill-line): New functions to fill text on a
897 per-unit base.
898 (shr-find-fill-point): Take a "beginning" parameter.
899 (shr-indent): Indent using the :width display parameter when using
900 fonts.
901 (shr-parse-style): Ignore "inherit" values, since we already do that.
902 (shr-tag-img): Remove the insertion states.
903 (shr-tag-blockquote): New-style filling.
904 (shr-tag-dd): Ditto.
905 (shr-tag-li): Ditto.
906 (shr-mark-fill): New function to mark lines that need filling.
907 (shr-tag-h1): Use a larger font.
908 (shr-tag-table-1): Get the natural and suggested widths in one
909 rendering.
910 (shr-tag-table): Create the "fixed" version of the table only once
911 so that we can cache data in the table.
912 (shr-insert-table): Get colspan calculations right by having
913 zero-width columns after colspan ones.
914 (shr-expand-alignments): New function to make :align-to specs work
915 right when rendered in one buffer and displayed in another one.
916 (shr-insert-table-ruler): Use :align-to to get the widths right.
917 (shr-make-table): Cache more.
918 (shr-make-table-1): Use the new <td> data layout.
919 (shr-pixel-buffer-width): New function.
920 (shr-render-td): Add a caching layer.
921 (shr-dom-max-natural-width): New function.
922 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
923 (shr-tag-tt): New function.
924 (shr-tag-hr): Compute the right length when using fonts.
925 (shr-table-widths): Off-by-one error in width computation.
926 (shr-expand-newlines): Remove dead code.
927 (shr-insert-table): Extend background colors to the end of the column.
928 (shr-insert-table): Only copy the background, not underline and
929 the like.
930 (shr-face-background): New function.
931
932 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
933
934 python.el: Improved shell font lock respecting markers. (Bug#19650)
935
936 * progmodes/python.el
937 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
938 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
939 (python-shell-font-lock-post-command-hook): Fontify by copying text
940 properties from fontified buffer to shell, keeping markers unchanged.
941 (python-shell-font-lock-turn-off): Fix typo.
942 (python-util-text-properties-replace-name): Delete function.
943
944 2015-02-09 Nicolas Petton <nicolas@petton.fr>
945
946 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
947 return sequence elements in correct order.
948
949 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
950
951 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
952
953 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
956
957 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
958 case where the default value would be re-interpreted as a form!
959
960 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
961
962 * help-fns.el (help-fns--signature): Keep doc for keymap.
963
964 2015-02-09 Kelly Dean <kelly@prtime.org>
965
966 * desktop.el: Save mark-ring less verbosely.
967 (desktop-var-serdes-funs): New var.
968 (desktop-buffer-info, desktop-create-buffer): Use it.
969 (desktop-file-version): Update to 208.
970
971 2015-02-09 Leo Liu <sdl.web@gmail.com>
972
973 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
974
975 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
976
977 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
978
979 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
980
981 Port to platforms lacking test -a and -o
982 * Makefile.in (compile-clean):
983 * net/tramp-sh.el (tramp-find-executable):
984 Prefer '&&' and '||' to 'test -a' and 'test -o'.
985
986 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
987
988 * newcomment.el (comment-line): Fix missing paren.
989
990 2015-02-08 Ulrich Müller <ulm@gentoo.org>
991
992 * play/gamegrid.el: Update comment to reflect that the
993 'update-game-score' helper program is now setgid by default.
994
995 2015-02-08 David Kastrup <dak@gnu.org>
996
997 * subr.el (apply-partially): Use lexical binding here.
998
999 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1000
1001 * newcomment.el (comment-line): New command.
1002
1003 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1004
1005 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1006
1007 * outline.el (outline-show-entry): Fix one invisible char for the
1008 file's last outline. (Bug#19493)
1009
1010 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * subr.el (indirect-function): Change advertised calling convention.
1013
1014 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1015
1016 python.el: Fix completion-at-point. (Bug#19667)
1017
1018 * progmodes/python.el
1019 (python-shell-completion-native-get-completions): Force process buffer.
1020 (python-shell-completion-at-point): Handle case where call is not
1021 in a shell buffer.
1022
1023 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1024
1025 python.el: Fix shell font-lock multiline input. (Bug#19744)
1026
1027 * progmodes/python.el
1028 (python-shell-font-lock-post-command-hook): Handle multiline input.
1029
1030 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1031
1032 python.el: Make shell font-lock respect markers. (Bug#19650)
1033
1034 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1035 Use `erase-buffer`.
1036 (python-shell-font-lock-comint-output-filter-function):
1037 Handle newlines.
1038 (python-shell-font-lock-post-command-hook): Respect markers on
1039 text fontification.
1040
1041 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1042
1043 python.el: Keep eldoc visible while typing args. (Bug#19637)
1044 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1045 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1046 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1047
1048 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1049
1050 Fix hideshow integration. (Bug#19761)
1051 * progmodes/python.el
1052 (python-hideshow-forward-sexp-function): New function based on
1053 Carlos Pita <carlosjosepita@gmail.com> patch.
1054 (python-mode): Make `hs-special-modes-alist` use it and initialize
1055 the end regexp with the empty string to avoid skipping parens.
1056
1057 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1058
1059 * progmodes/python.el (python-check-custom-command): Do not use
1060 defvar-local for compat with Emacs<24.3.
1061
1062 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1063
1064 * frame.el (frame-notice-user-settings):
1065 Update `frame-size-history'.
1066 (make-frame): Update `frame-size-history'.
1067 Call `frame-after-make-frame'.
1068 * faces.el (face-set-after-frame-default): Remove call to
1069 frame-can-run-window-configuration-change-hook.
1070
1071 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1072
1073 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1074 `vc-cvs-command' (bug#19732).
1075
1076 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1077
1078 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1079 New functions.
1080 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1081 (seq--drop-list, seq--take-list, seq--take-while-list):
1082 Better docstring.
1083
1084 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1085
1086 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1087 `image-kill-buffer' instead.
1088
1089 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1090
1091 * net/ldap.el (ldap-search-internal): Fix docstring.
1092
1093 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1094
1095 * subr.el (define-error): The error conditions may be constant
1096 lists, so use `append' to concatenate them.
1097
1098 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1099
1100 * net/network-stream.el (network-stream-open-tls): Respect the
1101 :end-of-capability setting.
1102
1103 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1104
1105 * emacs-lisp/package.el (package--sort-by-dependence):
1106 New function. Return PACKAGE-LIST sorted by dependencies.
1107 (package-menu-execute): Use it to delete packages in order.
1108 (package--sort-deps-in-alist): New function.
1109 (package-menu-mark-install): Can mark dependencies.
1110 (package--newest-p): New function.
1111 (package-delete): Don't deselect when deleting an older version of
1112 an upgraded package.
1113
1114 * emacs-lisp/package.el: Add missing (require 'subr-x)
1115
1116 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1119 hyphenated (bug#19263).
1120
1121 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1122 of variable interpolation (bug#19751).
1123
1124 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1125
1126 * json.el (json-end-of-file): New error (bug#19768).
1127 (json-pop, json-read): Use it.
1128
1129 2015-02-05 Kelly Dean <kelly@prtime.org>
1130
1131 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1132 `describe-variable'.
1133
1134 * help-fns.el (describe-function-or-variable): New function.
1135
1136 * help.el (help-map): Bind `describe-function-or-variable' to o.
1137 (help-for-help-internal): Document o key.
1138
1139 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1142 special (:documentation ...) feature.
1143 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1144 (eieio-make-child-predicate): Same.
1145 (eieio-copy-parents-into-subclass): Remove unused arg.
1146 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1147 `pname' var.
1148 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1149 callers accordingly.
1150
1151 * emacs-lisp/cconv.el (cconv--convert-function):
1152 Add `docstring' argument.
1153 (cconv-convert): Use it to handle the new (:documentation ...) form.
1154 (cconv-analyze-form): Handle the new (:documentation ...) form.
1155
1156 * emacs-lisp/bytecomp.el:
1157 (byte-compile-initial-macro-environment): Use macroexp-progn.
1158 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1159 (byte-compile-file-form-defvar-function): Rename from
1160 byte-compile-file-form-define-abbrev-table.
1161 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1162 (byte-compile): Use byte-compile-top-level rather than
1163 byte-compile-lambda so we can compile non-values.
1164 (byte-compile-form): Add warnings for failed uses of lexical vars via
1165 quoted symbols.
1166 (byte-compile-unfold-bcf): Improve message for failed inlining.
1167 (byte-compile-make-closure): Handle new format of internal-make-closure
1168 for dynamically-generated docstrings.
1169
1170 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1171 (open-line): Delete like all other commands, instead of killing.
1172 (delete-active-region): Don't define any return any value.
1173
1174 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1175 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1176 default.
1177
1178 2015-02-04 Sam Steingold <sds@gnu.org>
1179
1180 * progmodes/python.el (python-indent-calculate-indentation):
1181 Avoid the error when computing top-level indentation.
1182
1183 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1186
1187 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1188 (mail-mode-flyspell-verify): Fix last change.
1189 (flyspell-external-point-words, flyspell-large-region):
1190 Avoid add-to-list on local vars.
1191
1192 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1193
1194 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1195 void-variable error.
1196
1197 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1198
1199 * image-mode.el (image-kill-buffer): New command.
1200 (image-mode-map): Bind it to k.
1201
1202 * emacs-lisp/package.el (package-delete): Remove package from
1203 `package-selected-packages' even if it can't be deleted.
1204 (package-installed-p): Accept package-desc objects.
1205 (package-install): Can be used to mark dependencies as
1206 selected. When given a package-desc object which is already
1207 installed, the package is not downloaded again, but it is marked
1208 as selected (if it wasn't already).
1209 (package-reinstall): Accept package-desc objects.
1210
1211 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1212
1213 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1214 (package--get-deps): delete-dups when ONLY is nil.
1215 (package-autoremove): Warn the user if `package-selected-packages'
1216 is empty.
1217
1218 (package--user-selected-p): New function.
1219 (package-delete, package-install, package-install-from-buffer):
1220 Use it
1221 (package-selected-packages): Mention it.
1222
1223 (package-initialize): Don't populate `package-selected-packages'.
1224 (package-install-user-selected-packages, package-autoremove):
1225 Special handling for empty `package-selected-packages'.
1226 (package-install): Fix when PKG is a package-desc.
1227
1228 (package-desc-status): Add "dependency" status to the Package
1229 Menu.
1230 (package-menu--status-predicate, package-menu--print-info)
1231 (package-menu-mark-delete, package-menu--find-upgrades)
1232 (package-menu--status-predicate, describe-package-1): Use it
1233
1234 (package--removable-packages): New function.
1235 (package-autoremove): Use it.
1236 (package-menu-execute): Offer to remove unneeded packages.
1237
1238 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1239 tar-desc.
1240
1241 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1242
1243 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1244 (package-delete): New NOSAVE argument.
1245
1246 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1249 (tramp-open-shell, tramp-maybe-open-connection): Set also
1250 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1251
1252 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1253
1254 * emacs-lisp/package.el (package--find-non-dependencies):
1255 New function.
1256 (package-initialize): Use it to populate `package-selected-packages'.
1257 (package-menu-execute): Clean unnecessary `and'.
1258 (package--get-deps): Fix returning duplicates.
1259
1260 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1261
1262 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1263 Use it as default.
1264 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1265 (Bug#19731)
1266
1267 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1268
1269 * emacs-lisp/package.el (package-delete): Remove package from
1270 package-selected-packages.
1271 (package-autoremove): Remove unneeded variable.
1272
1273 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1274
1275 * emacs-lisp/package.el (package-selected-packages): Fix :type
1276 (package-install): Rename ARG to MARK-SELECTED.
1277 (package--get-deps): Fix for indirect dependencies.
1278 (package-used-elsewhere-p): Rename to
1279 (package--used-elsewhere-p): New function.
1280 (package-reinstall, package-user-selected-packages-install)
1281 (package-autoremove): Use sharp-quote.
1282 (package-user-selected-packages-install): Reindent and rename to
1283 (package-install-user-selected-packages): New function.
1284
1285 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1286
1287 * emacs-lisp/package.el: Don't allow deleting dependencies.
1288
1289 (package-used-elsewhere-p): New function.
1290 (package-delete): Use it, return now an error when trying to
1291 delete a package used as dependency by another package.
1292
1293 Add a reinstall package command.
1294 (package-reinstall): New function.
1295
1296 Add a package-autoremove command.
1297 (package-selected-packages): New user var.
1298 (package-install): Add an optional arg to notify interactive use.
1299 Fix docstring. Save installed package to
1300 packages-installed-directly.
1301 (package-install-from-buffer): Same.
1302 (package-user-selected-packages-install): Allow installing all
1303 packages in packages-installed-directly at once.
1304 (package--get-deps): New function.
1305 (package-autoremove): New function.
1306 (package-install-button-action): Call package-install with
1307 interactive arg.
1308 (package-menu-execute): Same but only for only for not installed
1309 packages.
1310
1311 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1314 and eieio-make-child-predicate.
1315 (eieio-class-parents): Use eieio--class-object.
1316 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1317 (slot-exists-p): Use find-class.
1318
1319 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1320 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1321 convention for eieio-class-def.
1322 (eieio-build-class-list): Remove function, unused.
1323 (eieio-method-def): Remove button type, unused.
1324 (eieio-class-def): Inherit from help-function-def.
1325 (eieio--defclass-regexp): New constant.
1326 (find-function-regexp-alist): Use it.
1327 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1328 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1329 Remove functions.
1330
1331 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1332 Use cl-check-type everywhere instead.
1333 (eieio-class-object): Remove, use find-class instead when needed.
1334 (class-p): Don't inline.
1335 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1336 such as eieio classes, as objects. Don't inline.
1337 (object-p): Mark as obsolete.
1338 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1339 (eieio--generic-tagcode): Avoid `class-p'.
1340 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1341 (eieio-defclass-internal): Use current-load-list rather than
1342 `class-location'.
1343
1344 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1345
1346 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1349 since it may be "equivalent" in some sense, yet different (bug#19734).
1350
1351 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1352
1353 * outline.el (outline-font-lock-face): Add docstring.
1354 (outline-invisible-p): Improve docstring.
1355 (outline-invent-heading): Add docstring.
1356 (outline-promote): Improve docstring.
1357 (outline-demote): Improve docstring.
1358 (outline-head-from-level): Improve docstring.
1359 (outline-end-of-heading): Add docstring.
1360 (outline-next-visible-heading): Improve docstring.
1361 (outline-previous-visible-heading): Improve docstring.
1362 (outline-hide-region-body): Improve docstring.
1363 (outline-flag-subtree): Add docstring.
1364 (outline-end-of-subtree): Add docstring.
1365 (outline-headers-as-kill): Improve docstring.
1366
1367 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1368
1369 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1370 (hide-entry): Declare as obsolete.
1371 (outline-show-entry): Rename from `show-entry'.
1372 (show-entry): Declare as obsolete.
1373 (outline-hide-body): Rename from `hide-body'.
1374 (hide-body): Declare as obsolete.
1375 (outline-hide-region-body): Rename from `hide-region-body'.
1376 (hide-region-body): Declare as obsolete.
1377 (outline-show-all): Rename from `show-all'.
1378 (show-all): Declare as obsolete.
1379 (outline-hide-subtree): Rename from `hide-subtree'.
1380 (hide-subtree): Declare as obsolete.
1381 (outline-hide-leaves): Rename from `hide-leaves'.
1382 (hide-leaves): Declare as obsolete.
1383 (outline-show-subtree): Rename from `show-subtree'.
1384 (show-subtree): Declare as obsolete.
1385 (outline-hide-sublevels): Rename from `hide-sublevels'.
1386 (hide-sublevels): Declare as obsolete.
1387 (outline-hide-other): Rename from `hide-other'.
1388 (hide-other): Declare as obsolete.
1389 (outline-show-children): Rename from `show-children'.
1390 (show-children): Declare as obsolete.
1391 (outline-show-branches): Rename from `show-branches'.
1392 (show-branches): Declare as obsolete.
1393
1394 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1395
1396 * outline.el (outline-mode): Clean up docstring.
1397 (font-lock-warning-face): Remove obsolete declaration.
1398 (outline-font-lock-face): Remove obsolete comment.
1399
1400 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1401
1402 * lisp/custom.el (defface): Set `indent' to 1.
1403
1404 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1405
1406 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1407
1408 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1409
1410 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1411 is set, but user has just been asked whether they really want to
1412 kill Emacs (for example with a ‘Modified buffers exist; exit
1413 anyway?’ prompt), do not ask them for another confirmation.
1414
1415 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1416
1417 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1418 (calc-convert-units): Check for missing units.
1419 (math-consistent-units-p): Strengthen the test for consistent units.
1420
1421 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
1422 `calc-convert-exact-units' and assign it a keybinding.
1423
1424 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1425 "un" keybinding.
1426
1427 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1430
1431 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1432
1433 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1434 punctuation syntax since to allow bibtex fields with values such
1435 as {Test 1) and 2)} (bug#19205, bug#19707).
1436 (reftex--prepare-syntax-tables): New function.
1437 (reftex-mode): Use it.
1438
1439 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1440
1441 python.el: New non-global state dependent indentation engine.
1442 (Bug#18319, Bug#19595)
1443 * progmodes/python.el (python-syntax-comment-or-string-p):
1444 Accept PPSS as argument.
1445 (python-syntax-closing-paren-p): New function.
1446 (python-indent-current-level)
1447 (python-indent-levels): Mark obsolete.
1448 (python-indent-context): Return more context cases.
1449 (python-indent--calculate-indentation)
1450 (python-indent--calculate-levels): New functions.
1451 (python-indent-calculate-levels): Use them.
1452 (python-indent-calculate-indentation, python-indent-line):
1453 (python-indent-line-function): Rewritten to use new API.
1454 (python-indent-dedent-line): Simplify logic.
1455 (python-indent-dedent-line-backspace): Use `unless`.
1456 (python-indent-toggle-levels): Delete function.
1457
1458 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1459
1460 * subr.el (posnp): Correct docstring of `posnp'.
1461 (posn-col-row): Make it work with all mouse position objects.
1462 * textmodes/artist.el (artist-mouse-draw-continously):
1463 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1464
1465 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1466
1467 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1468
1469 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1470
1471 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1472 Adapt docstring.
1473 (file-notify--descriptor): New defun.
1474 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1475 Adapt docstring. Handle multiple values for
1476 `file-notify-descriptors' entries. (Bug#18880)
1477
1478 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1479 `file-notify-descriptors', the implementation has been changed.
1480
1481 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1482
1483 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1484 On MS-Windows, bind coding-system-for-read to the console output
1485 codepage. (Bug#19458)
1486
1487 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 Unbreak `mouse-action' property in text buttons.
1490 * button.el (push-button): Fix regression from 2012-12-06.
1491
1492 2015-01-28 Glenn Morris <rgm@gnu.org>
1493
1494 * progmodes/sh-script.el (sh-mode): Doc fix.
1495 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1496
1497 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1498
1499 Fix dired quoting bug with "Hit`N`Hide".
1500 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1501
1502 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 Tighten up the tagcode used for eieio and cl-struct objects.
1505 * loadup.el: Load cl-preloaded.
1506 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1507 slot of the tag symbol to :quick-object-witness-check.
1508 (eieio-object-p): Use :quick-object-witness-check.
1509 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1510 * emacs-lisp/cl-preloaded.el: New file.
1511 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1512 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1513 (cl--make-usage-args): Strip away &aux args.
1514 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1515 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1516 (cl-defstruct): Use `declare' and cl-struct-define.
1517 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1518 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1519
1520 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1521
1522 * emacs-lisp/cl.el (cl--function-convert):
1523 Merge cache that cl--labels-convert adds (bug#19699).
1524
1525 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1526
1527 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1528 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1529 (tar-header-serialize): New functions.
1530 (tar-current-position): Split from tar-current-descriptor.
1531 (tar-current-descriptor): Use it.
1532 (tar-new-entry): New command.
1533 (tar-mode-map): Bind it.
1534
1535 2015-01-27 Sam Steingold <sds@gnu.org>
1536
1537 * progmodes/python.el (python-check-custom-command): Buffer local
1538 because it usually includes the buffer name.
1539 (python-check-command): Set to epylint when pyflakes is not available.
1540
1541 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1542
1543 * isearch.el (isearch-process-search-char): Add docstring.
1544
1545 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1546
1547 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1548
1549 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1550
1551 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1552 for the case cl-flet or cl-labels form is wrapped with lexical-let
1553 (bug#19613).
1554
1555 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1558 (cl--generic): The method-table is now a (list-of cl--generic-method).
1559 (cl--generic-member-method): New function.
1560 (cl-generic-define-method): Use it.
1561 (cl--generic-build-combined-method, cl--generic-cache-miss):
1562 Adapt to new method-table.
1563 (cl--generic-no-next-method-function): Add `method' argument.
1564 (cl-generic-call-method): Adapt to new method representation.
1565 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1566 (cl-find-method, cl-method-qualifiers): New functions.
1567 (cl--generic-method-info): Adapt to new method representation.
1568 Return a string for the qualifiers.
1569 (cl--generic-describe):
1570 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1571 (eieio-all-generic-functions, eieio-method-documentation):
1572 Adjust to new method representation.
1573
1574 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1575
1576 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1579 (cl-generic-method-combination-function): New var.
1580 (cl--generic-lambda): Remove `with-cnm' arg.
1581 (cl-defmethod): Change accordingly.
1582 (cl-generic-define-method): Don't check qualifiers validity.
1583 Preserve all qualifiers in `method-table'.
1584 (cl-generic-call-method): New function.
1585 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1586 (cl--generic-build-combined-method): Adjust to new format of method-table
1587 and use cl-generic-method-combination-function.
1588 (cl--generic-standard-method-combination): New function, extracted from
1589 cl--generic-build-combined-method.
1590 (cl--generic-cnm-sample): Adjust to new format of method-table.
1591
1592 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1593 instead of :primary.
1594
1595 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1596 Remove obsolete function.
1597
1598 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1599
1600 * net/shr.el (shr-make-table-1): Fix colspan typo.
1601 (shr-make-table-1): Add comments.
1602 (shr-make-table-1): Make colspan display more sensibly.
1603
1604 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1605 slightly.
1606
1607 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1610 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1611 (bug#19672).
1612 (cl--generic-typeof-types): Add support for `sequence'.
1613 (cl-defmethod): Add non-keywords in the qualifiers.
1614
1615 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1616
1617 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1618 `defgroup' (regression from the previous change here).
1619
1620 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1621
1622 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1623 credentials error message.
1624
1625 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1626
1627 * net/ldap.el (ldap-password-read): Validate password before
1628 caching it.
1629 (ldap-search-internal): Handle ldapsearch error conditions.
1630
1631 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1632
1633 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1634
1635 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1636
1637 * net/eudc.el (eudc-expand-inline): Always restore former server
1638 and protocol.
1639
1640 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1641
1642 * net/eudcb-ldap.el: Don't nag the user in case a default base is
1643 provided by the LDAP system configuration file.
1644
1645 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1646
1647 * net/eudc.el (eudc-format-query): Preserve the
1648 eudc-inline-query-format ordering of attributes in the returned list.
1649 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1650 Append the LDAP wildcard character to the last attribute value.
1651
1652 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1653
1654 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1655 Downcase field names of LDAP results.
1656 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1657
1658 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1659
1660 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1661 (ldap-search-internal): Send password to ldapsearch through a pipe
1662 instead of via the command line.
1663
1664 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1665
1666 * net/ldap.el: Require password-cache.
1667 (ldap-password-read): New function.
1668 (ldap-search-internal): Call ldap-password-read when it is
1669 configured to be called.
1670
1671 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1672
1673 * net/eudc-vars.el (eudc-expansion-overwrites-query):
1674 Change default to nil.
1675
1676 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1677
1678 * net/eudc.el (eudc-expand-inline): Ignore text properties of
1679 string-to-expand.
1680
1681 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1682
1683 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1684 format that includes first name and surname.
1685
1686 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1687
1688 * net/eudc-vars.el (eudc-inline-query-format): Change default to
1689 query email and first name instead of surname.
1690
1691 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1692
1693 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1694
1695 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1696
1697 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1698 eudc-server-hotlist.
1699 (eudc-server-hotlist): Move from eudc.el and make defcustom.
1700 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1701 (eudc-set-server): Allow setting protocol to nil.
1702 (eudc-expand-inline): Support hotlist-only expansions when server
1703 is not set.
1704
1705 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1708 (cl--generic-build-combined-method): Use it.
1709
1710 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
1711
1712 Don't downcase system diagnostics' first letters
1713 * emacs-lisp/bytecomp.el (byte-compile-file):
1714 * ffap.el (find-file-at-point):
1715 * files.el (insert-file-1):
1716 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1717 (ange-ftp-copy-file-internal):
1718 * progmodes/etags.el (visit-tags-table):
1719 Keep diagnostics consistent with system's.
1720 * ffap.el (ffap-machine-p):
1721 Ignore case while comparing diagnostics.
1722
1723 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1726 arg (bug#19645).
1727 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1728 body with a docstring.
1729
1730 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/xref.el (xref-location-marker, xref-location-group):
1733 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1734 counterparts.
1735
1736 * progmodes/etags.el (xref-location-marker): Same.
1737
1738 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1739 (xref--inhibit-mark-current): Rename from
1740 `xref--inhibit-mark-selected'. Update the usages.
1741 (xref-quit): Reword the docstring. Kill buffers after quitting
1742 windows instead of before.
1743 (xref--insert-xrefs): Tweak help-echo.
1744 (xref--read-identifier-history, xref--read-pattern-history):
1745 New variables.
1746 (xref--read-identifier, xref-find-apropos): Use them.
1747
1748 2015-01-21 Ulrich Müller <ulm@gentoo.org>
1749
1750 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1751 Allow the 'update-game-score' helper program to run suid or sgid.
1752
1753 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * emacs-lisp/eieio.el: Use cl-defmethod.
1756 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1757 (eieio-object-name-string): Declare as obsolete.
1758
1759 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1760 (eieio--specializers-apply-to-class-p): New function.
1761 (eieio-all-generic-functions): Use it.
1762 (eieio-method-documentation): Use it as well as cl--generic-method-info.
1763 Change format of return value.
1764 (eieio-help-class): Adapt accordingly.
1765
1766 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1767 errors when there's a `before' but no `primary' (bug#19645).
1768 (next-method-p): Return nil rather than signal an error.
1769 (eieio-defgeneric): Remove bogus (fboundp 'method).
1770
1771 * emacs-lisp/eieio-speedbar.el:
1772 * emacs-lisp/eieio-datadebug.el:
1773 * emacs-lisp/eieio-custom.el:
1774 * emacs-lisp/eieio-base.el: Use cl-defmethod.
1775
1776 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1777 (cl--generic-setf-rewrite): Setup the setf expander right away.
1778 (cl-defmethod): Make sure the setf expander is setup before we expand
1779 the body.
1780 (cl-defmethod): Silence byte-compiler warnings.
1781 (cl-generic-define-method): Shuffle code to change return value.
1782 (cl--generic-method-info): New function, extracted from
1783 cl--generic-describe.
1784 (cl--generic-describe): Use it.
1785
1786 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1789 the major mode. Remap `quit-window' to `xref-quit'.
1790 (xref--xref-buffer-mode): Inherit from special-mode.
1791
1792 xref: Keep track of temporary buffers (bug#19466).
1793 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1794 (xref--inhibit-mark-selected): New variables.
1795 (xref--mark-selected): New function.
1796 (xref--show-location): Maybe add the buffer to
1797 `xref--temporary-buffers', add `xref--mark-selected' to
1798 `buffer-list-update-hook' there.
1799 (xref--window): Add docstring.
1800 (xref-quit): Rename from `xref--quit'. Update both references.
1801 Add KILL argument. When it's non-nil, kill the temporary buffers
1802 that haven't been selected by the user.
1803 (xref--show-xref-buffer): Change the second argument to alist,
1804 extract the values for `xref--window' and
1805 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
1806 `buffer-list-update-hook' to each buffer in the list.
1807 (xref--show-xrefs): Move the logic of calling `xref-find-function'
1808 here. Save the difference between buffer lists before and after
1809 it's called as "temporary buffers", and `pass it to
1810 `xref-show-xrefs-function'.
1811 (xref--find-definitions, xref-find-references)
1812 (xref-find-apropos): Update accordingly.
1813
1814 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
1815
1816 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1817
1818 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emacs-lisp/eieio-generic.el: Remove.
1821 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
1822 * emacs-lisp/eieio-compat.el: New file.
1823 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1824 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1825 Remove unused function.
1826 (eieio-defclass): Move to eieio-compat.el.
1827 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1828 (macroexp--expand-all): Use it.
1829 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1830
1831 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1832
1833 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1834 major modes should use `add-function' to alter value of the variable.
1835 * hexl.el (hexl-mode):
1836 * ielm.el (inferior-emacs-lisp-mode):
1837 * progmodes/cfengine.el (cfengine3-mode):
1838 * progmodes/elisp-mode (emacs-lisp-mode):
1839 * progmodes/octave.el (octave-mode):
1840 * progmodes/python.el (python-mode):
1841 * simple.el (read--expression): Set `eldoc-documentation-function'
1842 using `add-function' so the default value is always used.
1843
1844 * descr-text.el (describe-char-eldoc): New function returning
1845 basic Unicode codepoint information (e.g. name) about character
1846 at point. It is meant to be used as a default value of the
1847 `eldoc-documentation-function' variable.
1848 (describe-char-eldoc--format, describe-char-eldoc--truncate):
1849 New helper functions for `describe-char-eldoc' function.
1850
1851 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1852
1853 * textmodes/paragraphs.el (sentence-end-base): Include an
1854 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1855 and a closing single quote (’) as an end of a quote.
1856
1857 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1858
1859 * textmodes/tildify.el (tildify-double-space-undos): A new
1860 variable specifying whether pressing space in `tildify-mode' after
1861 a space has been replaced with hard space undos the substitution.
1862 (tildify-space): Add code branch for handling `tildify-doule-space'.
1863
1864 * textmodes/tildify.el (tildify-space): A new function
1865 which can be used as a `post-self-insert-hook' to automatically
1866 convert spaces into hard spaces.
1867 (tildify-space-pattern): A new variable specifying pattern where
1868 `tildify-space' should take effect.
1869 (tildify-space-predicates): A new variable specifying list of
1870 predicate functions that all must return non-nil for
1871 `tildify-space' to take effect.
1872 (tildify-space-region-predicate): A new functions meant to be
1873 used as a predicate in `tildify-space-predicates' list.
1874 (tildify-mode): A new minor mode enabling `tildify-space' as a
1875 `post-self-insert-hook'
1876
1877 2015-01-20 Daniel Colascione <dancol@dancol.org>
1878
1879 * vc/vc-dir.el (vc-dir): Default to repository root, not
1880 default-directory.
1881
1882 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1883
1884 * progmodes/etags.el (xref-etags-location): New class.
1885 (xref-make-etags-location): New function.
1886 (etags--xref-find-definitions): Use it.
1887 (xref-location-marker): New method implementation.
1888
1889 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1890 (xref--insert-xrefs): Expand help-echo string.
1891
1892 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * ido.el: Update Customization instructions.
1895
1896 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1897
1898 Define Ido keymaps once (bug#17000).
1899 * ido.el (ido-common-completion-map)
1900 (ido-file-dir-completion-map)
1901 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1902 bindings when each variable is defined.
1903 (ido-completion-map): Move definition.
1904 (ido-init-completion-maps): Noop.
1905 (ido-common-initialization): Don't call it.
1906 (ido-setup-completion-map): Improve doc-string, cleanup.
1907
1908 2015-01-19 Ivan Shmakov <ivan@siamics.net>
1909
1910 * cus-dep.el (custom-make-dependencies): Ensure that
1911 default-directory is interpreted as a directory (see bug#19140.)
1912
1913 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/xref.el (xref--display-position):
1916 Set `other-window-scroll-buffer'.
1917 (xref-goto-xref): Use `user-error'.
1918
1919 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1920
1921 * progmodes/xref.el (xref--display-history): New variable.
1922 (xref--window-configuration): Remove.
1923 (xref--save-to-history): New function.
1924 (xref--display-position): Use it. Add new argument.
1925 (xref--restore-window-configuration): Remove.
1926 (xref--show-location, xref-show-location-at-point):
1927 Update accordingly.
1928 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1929 (xref--quit): New command.
1930 (xref-goto-xref): Use it.
1931 (xref--xref-buffer-mode-map): Bind `q' to it.
1932
1933 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
1934
1935 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1936 indentation or at eol.
1937
1938 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1941 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1942 New functions.
1943 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1944
1945 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1946 `newname' argument.
1947
1948 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1949 introduction of a new dispatch argument.
1950 (cl--generic-cache-miss): Handle dispatch on an argument which was not
1951 considered as dispatchable for this method.
1952 (cl-defmethod): Warn when adding a method to an obsolete generic function.
1953 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1954
1955 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1956
1957 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
1958
1959 * emacs-lisp/package.el (package--append-to-alist): Rename from
1960 `package--add-to-alist'
1961 Updated docstring due to new name.
1962
1963 2015-01-18 Leo Liu <sdl.web@gmail.com>
1964
1965 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1966 multiple evaluation. (Bug#19519)
1967
1968 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1969 error. (Bug#19434)
1970
1971 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1974 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1975 New functions.
1976 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1977
1978 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1979 or print is nil.
1980 (cl-struct-type-p): New function.
1981
1982 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1983 (cl-defmethod): Add edebug spec.
1984 (cl--generic-build-combined-method): Fix call to
1985 cl-no-applicable-method.
1986 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1987 (cl--generic-isnot-nnm-p): New function.
1988 (cl--generic-lambda): Use it to add support for cl-next-method-p.
1989 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1990 (cl-next-method-p): New function.
1991
1992 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1993
1994 * version.el (emacs-repository-get-version): Update docstring.
1995
1996 2015-01-17 Ivan Shmakov <ivan@siamics.net>
1997
1998 * files.el (find-file-other-window, find-file-other-frame):
1999 Use mapc instead of mapcar. (Bug#18175)
2000
2001 * files.el (dir-locals-collect-variables): Use default-directory
2002 in place of the file name while working on non-file buffers, just
2003 like hack-dir-local-variables already does. (Bug#19140)
2004
2005 * textmodes/enriched.el (enriched-encode):
2006 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2007 (Bug#18246)
2008
2009 * desktop.el (desktop-read): Do not call desktop-clear when no
2010 desktop file is found. (Bug#18371)
2011
2012 * misearch.el (multi-isearch-unload-function): New function.
2013 (misearch-unload-function): New alias. (Bug#19566)
2014
2015 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2018 class-constructor, and make it an alias for `identity'.
2019 Update all callers.
2020
2021 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2022 argument here (bug#19620)...
2023 (defclass): ...instead of in the constructor here.
2024
2025 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2026
2027 * emacs-lisp/package.el (package-archive-priorities):
2028 Specify correct type.
2029
2030 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2031
2032 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2033 Remove.
2034 (emacs-repository-get-version): Discard the Bazaar case.
2035 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2036 emacs-bzr-version-dirstate and move from version.el to here.
2037 (vc-bzr-working-revision): Use it.
2038
2039 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2042 eieio--scoped-class any more.
2043
2044 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2045 (eieio--scoped-class): Remove function.
2046 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2047 (eieio--slot-name-index): Don't check the :protection anymore.
2048 (eieio-initializing-object): Remove var.
2049 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2050
2051 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 Improve handling of doc-strings and describe-function for cl-generic.
2054
2055 * help-mode.el (help-function-def): Add optional arg `type'.
2056
2057 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2058 as it's a symbol.
2059 (help-fns-short-filename): New function.
2060 (describe-function-1): Use it. Use autoload-do-load.
2061
2062 * emacs-lisp/find-func.el: Use lexical-binding.
2063 (find-function-regexp): Don't rule out `defgeneric'.
2064 (find-function-regexp-alist): Document new possibility of including
2065 a function instead of a regexp.
2066 (find-function-search-for-symbol): Implement that new possibility.
2067 (find-function-library): Don't assume that `function' is a symbol.
2068 (find-function-do-it): Remove unused var `orig-buf'.
2069
2070 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2071 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2072 (eieio--method-optimize-primary): Don't mess with the docstring.
2073 (defgeneric): Keep the `args' in the docstring.
2074 (defmethod): Don't use the method's docstring for the generic
2075 function's docstring.
2076
2077 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2078 (eieio-defclass-autoload): Don't record the superclasses any more.
2079 (eieio-defclass-internal): Reuse the old class object if it was just an
2080 autoload stub.
2081 (eieio--class-precedence-list): Load the class if it's autoloaded.
2082
2083 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2084 override an autoload.
2085 (cl-generic-current-method-specializers): Replace dyn-bind variable
2086 with a lexically-scoped macro.
2087 (cl--generic-lambda): Update accordingly.
2088 (cl-generic-define-method): Record manually in the load-history with
2089 type `cl-defmethod'.
2090 (cl--generic-get-dispatcher): Minor optimization.
2091 (cl--generic-search-method): New function.
2092 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2093 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2094 specializers and the function's arguments.
2095
2096 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2097
2098 * emacs-lisp/package.el (package--read-pkg-desc):
2099 New function. Read a `define-package' form in current buffer.
2100 Return the pkg-desc, with desc-kind set to KIND.
2101 (package-dir-info): New function. Find package information for a
2102 directory. The return result is a `package-desc'.
2103 (package-install-from-buffer): Install packages from dired buffer.
2104 (package-install-file): Install packages from directory.
2105 (package-desc-suffix)
2106 (package-install-from-archive)
2107 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2108 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2109 value.
2110
2111 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2112
2113 * emacs-lisp/package.el: Provide repository priorities.
2114 (package-archive-priorities): New variable.
2115 (package--add-to-alist): New function.
2116 (package--add-to-archive-contents): Use it.
2117 (package-menu--find-upgrades): Use it as well. Small clean up to
2118 make the use of the package name here explicit.
2119 (package-archive-priority): New function.
2120 (package-desc-priority-version): New function.
2121
2122 2015-01-16 Daniel Colascione <dancol@dancol.org>
2123
2124 * cus-start.el (all): Make `ring-bell-function' customizable.
2125
2126 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2129 vc-svn-after-dir-status's second argument. (Bug#19429)
2130
2131 2015-01-16 Samer Masterson <samer@samertm.com>
2132
2133 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2134 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2135
2136 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2137
2138 * dom.el (dom-strings): New function.
2139
2140 * files.el (directory-files-recursively): Don't use the word
2141 "path" for a file name.
2142
2143 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2144
2145 * calc/calc-units.el (math-units-in-expr-p)
2146 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2147 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2148
2149 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2152 (cl--labels-convert): Use it to ask the macro what is its replacement
2153 in the #'f case.
2154
2155 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2156 Return the value of the primary rather than the after method.
2157
2158 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2159 (eieio--generic-tagcode): New function.
2160 (cl-generic-tagcode-function): Use it.
2161 (eieio--generic-tag-types): New function.
2162 (cl-generic-tag-types-function): Use it.
2163 (eieio-object-p): Tighten up the test.
2164
2165 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2166
2167 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * emacs-lisp/cl-generic.el: New file.
2170
2171 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2172 (cl-load-time-value, cl-labels): Use closures rather than
2173 backquoted lambdas.
2174 (cl-macrolet): Use `eval' to create the function value, and support CL
2175 style arguments in for the defined macros.
2176
2177 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * net/eww.el: Use lexical-binding.
2180 (eww-links-at-point): Remove unused arg.
2181 (eww-mode-map): Inherit from special-mode-map.
2182 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2183
2184 2015-01-13 Alan Mackenzie <acm@muc.de>
2185
2186 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2187 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2188 New function which walks the stack to discover whether we're compiling
2189 or loading.
2190 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2191 (cc-bytecomp-is-loading): New defsubst.
2192 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2193 Use the above defsubsts.
2194 (cc-require-when-compile, cc-bytecomp-defvar)
2195 (cc-bytecomp-defun): Simplify conditionals.
2196 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2197 "Borrow" this function from cc-bytecomp.el.
2198 (c-get-current-file): Reformulate using the above.
2199 (c-lang-defconst): Prevent duplicate entries of file names in a
2200 symbol's 'source property.
2201 (c-lang-const): Use cc-bytecomp-is-compiling.
2202 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2203 Use cc-bytecomp-is-compiling.
2204
2205 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2208 (bug#19552).
2209
2210 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2211
2212 * menu-bar.el (menu-bar-goto-menu): Before calling
2213 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2214 (Bug#19554)
2215
2216 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2217
2218 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2219 cookie (Bug#19554).
2220
2221 * frame.el (frame-notice-user-settings): Remove code dealing with
2222 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2223 only if `window-system-frame-alist' or `default-frame-alist' ask
2224 for it.
2225 (make-frame): Update frame-adjust-size-history if needed.
2226
2227 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2228
2229 Have 'make' output better GEN names
2230 * Makefile.in (PHONY_EXTRAS): New macro.
2231 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2232 relevant files' time stamps are ignored.
2233 (custom-deps, $(lisp)/cus-load.el, finder-data)
2234 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2235 (custom-deps, $(lisp)/cus-load.el, finder-data)
2236 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2237 ($(lisp)/subdirs.el, update-subdirs):
2238 Output more-accurate destination names with GEN.
2239
2240 Say "ELC foo.elc" instead of "GEN foo.elc"
2241 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2242 New macros.
2243 ($(THEFILE)c, .el.elc): Use them.
2244
2245 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2246
2247 * files.el (directory-files-recursively): Do not include
2248 superfluous remote file names.
2249
2250 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2251
2252 * net/eww.el (eww): Interpret anything that looks like a protocol
2253 designator as a full URL.
2254
2255 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2256
2257 * net/shr.el (shr-urlify): Don't bother the user about
2258 invalidly-encoded display strings.
2259
2260 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2261
2262 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2263 (bug#19555).
2264
2265 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2266
2267 * net/eww.el (eww): Always interpret URLs that start with https?:
2268 as plain URLs, even if they have spaces in them (bug#19556).
2269 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2270 software" as an URL.
2271 (eww): Don't interpret "org/foo" as an URL.
2272 (eww): Clear the title when loading so that we don't display
2273 misleading information.
2274
2275 2015-01-10 Daniel Colascione <dancol@dancol.org>
2276
2277 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2278 by analogy with dired.
2279
2280 2015-01-09 Daniel Colascione <dancol@dancol.org>
2281
2282 * progmodes/js.el (js--function-heading-1-re)
2283 (js--function-prologue-beginning): Parse ES6 generator function
2284 declarations. (That is, "function* name()").
2285
2286 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2289 that creates functions, and most of the sanity checks.
2290 Mark as obsolete the <class>-child-p function.
2291 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2292 (eieio--class, eieio--object): Use cl-defstruct.
2293 (eieio--object-num-slots): Define manually.
2294 (eieio-defclass-autoload): Use eieio--class-make.
2295 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2296 `(lambda...) definitions and most of the sanity checks to `defclass'.
2297 Mark as obsolete the <class>-list-p function, the <class> variable and
2298 the <initarg> variables. Use pcase-dolist.
2299 (eieio-defclass): New compatibility function.
2300 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2301 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2302
2303 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * emacs-lisp/eieio-generic.el: New file.
2306 * emacs-lisp/eieio-core.el: Move all generic function code to
2307 eieio-generic.el.
2308 (eieio--defmethod): Declare.
2309
2310 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2311 function code to eieio-generic.el.
2312 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2313 eieio-generic.el.
2314 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2315 to eieio--generic-call.
2316 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2317 <class>-child type.
2318
2319 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2322 Don't use <class> as a variable.
2323
2324 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2325 (call-next-method): Simplify.
2326 (clone): Obey eieio-backward-compatibility.
2327
2328 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2329 (eieio-read-generic): Use `generic-p' instead.
2330
2331 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2332 (eieio-defclass-autoload): Obey it.
2333 (eieio--class-object): Improve error behavior.
2334 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2335 every use site.
2336 (eieio--defgeneric-form-primary-only): Rename from
2337 eieio-defgeneric-form-primary-only; update all callers.
2338 (eieio--defgeneric-form-primary-only-one): Rename from
2339 eieio-defgeneric-form-primary-only-one; update all callers.
2340 (eieio-defgeneric-reset-generic-form)
2341 (eieio-defgeneric-reset-generic-form-primary-only)
2342 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2343 (eieio--method-optimize-primary): New function to replace them.
2344 (eieio--defmethod, eieio-defmethod): Use it.
2345 (eieio--perform-slot-validation): Rename from
2346 eieio-perform-slot-validation; update all callers.
2347 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2348 Change `class' to be a class object. Update all callers.
2349 (eieio--validate-class-slot-value): Rename from
2350 eieio-validate-class-slot-value. Change `class' to be a class object.
2351 Update all callers.
2352 (eieio-oset-default): Accept class object as well.
2353 (eieio--generic-call-primary-only): Rename from
2354 eieio-generic-call-primary-only. Update all callers.
2355
2356 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2357 Improve error messages.
2358 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2359 well as user-defined types. Emit errors for legacy types like
2360 <class>-child and <class>-list, if not eieio-backward-compatibility.
2361
2362 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2365 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2366 Change `class' arg to be a class object. Update all callers.
2367 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2368 (eieio-default-superclass): Set var to the class object.
2369 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2370 Change print behavior to affect class objects rather than
2371 class symbols.
2372
2373 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2374 (eieio-class-parents-fast): Remove macro.
2375 (eieio--class-option-assoc): Rename from class-option-assoc.
2376 Update all callers.
2377 (eieio--class-option): Rename from class-option. Change `class' arg to
2378 be a class object. Update all callers.
2379 (eieio--class-method-invocation-order): Rename from
2380 class-method-invocation-order. Change `class' arg to be a class
2381 object. Update all callers.
2382 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2383 a list of class objects rather than names.
2384 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2385 for accessors to class allocated slots.
2386 (eieio--perform-slot-validation-for-default): Rename from
2387 eieio-perform-slot-validation-for-default. Update all callers.
2388 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2389 Update all callers. Use push.
2390 (eieio-copy-parents-into-subclass): Adjust to new content of
2391 `parent' field. Use dolist.
2392 (eieio-oref): Remove support for providing a class rather than
2393 an object.
2394 (eieio-oref-default): Prefer class objects over class names.
2395 (eieio--slot-originating-class-p): Rename from
2396 eieio-slot-originating-class-p. Update all callers. Use `or'.
2397 (eieio--slot-name-index): Turn check into assertion.
2398 (eieio--class-slot-name-index): Rename from
2399 eieio-class-slot-name-index. Change `class' arg to be a class object.
2400 Update all callers.
2401 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2402 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2403 Update all callers.
2404 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2405 Update all callers.
2406 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2407 Update all callers.
2408 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2409 Update all callers.
2410 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2411 Update all callers. Adjust to new `parent' content.
2412 (eieio--class-precedence-list): Rename from -class-precedence-list.
2413 Update all callers.
2414 (eieio-generic-call): Use autoloadp and autoload-do-load.
2415 Slight simplification.
2416 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2417 return value of `eieio-generic-form'.
2418 (eieiomt-add): Index the hashtable with class objects rather than
2419 class names.
2420 (eieio-generic-form): Accept class objects as well.
2421
2422 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2423 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2424 (eieio-persistent-validate/fix-slot-value):
2425 Change `class' arg to be a class object. Update all callers.
2426
2427 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2430 additionally to class names.
2431
2432 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2433 (object): Remove first (constant) slot; rename second to `class-tag'.
2434 (eieio--object-class-object, eieio--object-class-name): New funs
2435 to replace eieio--object-class.
2436 (eieio--class-object, eieio--class-p): New functions.
2437 (same-class-fast-p): Make it a defsubst, change its implementation
2438 to check the class objects rather than their names.
2439 (eieio-object-p): Rewrite.
2440 (eieio-defclass): Adjust the object initialization according to the new
2441 object layout.
2442 (eieio--scoped-class): Declare it returns a class object (not a class
2443 name any more). Adjust calls accordingly (along with calls to
2444 eieio--with-scoped-class).
2445 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2446 its class arg to be a class object. Adjust callers accordingly.
2447 (eieio-slot-originating-class-p): Make its start-class arg a class
2448 object. Adjust all callers.
2449 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2450 Make its `class' arg a class object. Adjust all callers.
2451
2452 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2453 Use eieio--slot-name-index rather than eieio-slot-name-index.
2454
2455 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2458 name argument.
2459 (eieio-object-name): Use eieio-object-name-string.
2460 (eieio--object-names): New const.
2461 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2462 using a hashtable rather than a built-in slot.
2463 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2464 (clone): Don't mess with the object's "name".
2465
2466 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2467 (eieio-object-value-get): Use eieio-object-set-name-string.
2468
2469 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2470 (eieio--object): Remove `name' field.
2471 (eieio-defclass): Adjust to new convention where constructors don't
2472 take an "object name" any more.
2473 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2474 (eieio-validate-slot-value, eieio-oset-default)
2475 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2476 (eieio-generic-call-primary-only): Simplify.
2477
2478 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2479 Use call-next-method.
2480 (eieio-constructor): Rename from `constructor'.
2481 (eieio-persistent-convert-list-to-object): Drop objname.
2482 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2483 eieio--object-num-slots.
2484 (eieio-named): Use a normal slot.
2485 (slot-missing) <eieio-named>: Remove.
2486 (eieio-object-name-string, eieio-object-set-name-string, clone)
2487 <eieio-named>: New methods.
2488
2489 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2492 (method-*): Add a "eieio--" prefix to those constants.
2493
2494 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2495
2496 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2497
2498 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2501 `eieio-default-superclass'.
2502
2503 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2504
2505 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2506 (eieio-object-value-to-abstract): Simplify.
2507
2508 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2509 (eieio-build-class-alist): Use dolist.
2510 (eieio-all-generic-functions): Adjust to use of hashtables.
2511
2512 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2513 symbol-hashtable. It contains a hashtable instead of an obarray.
2514 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2515 `eieio-method-obarray'.
2516 (generic-primary-only-p, generic-primary-only-one-p):
2517 Slight optimization.
2518 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2519 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2520 (eieio-class-un-autoload): Use autoload-do-load.
2521 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2522 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2523 Don't hardcode the value of eieio--object-num-slots.
2524 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2525 Use a closure rather than a backquoted lambda.
2526 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2527 function-documentation property.
2528 (eieio-slot-originating-class-p, eieio-slot-name-index)
2529 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2530 (eieio-generic-form): Adjust to use of hashtables.
2531 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2532 additional class argument.
2533 (eieio-generic-call-methodname): Remove, unused.
2534
2535 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2536 Prefer \' to $.
2537
2538 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2539
2540 * simple.el (line-move-visual): When converting X pixel coordinate
2541 to temporary-goal-column, adjust the value for right-to-left
2542 screen lines. This fixes vertical-motion, next/prev-line, etc.
2543
2544 2015-01-08 Glenn Morris <rgm@gnu.org>
2545
2546 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2547
2548 2015-01-07 K. Handa <handa@gnu.org>
2549
2550 * international/ccl.el (define-ccl-program): Improve the docstring.
2551
2552 2015-01-06 Sam Steingold <sds@gnu.org>
2553
2554 * shell.el (shell-display-buffer-actions): Remove,
2555 use `display-buffer-alist' instead.
2556
2557 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2558
2559 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2560 to the references.
2561
2562 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * minibuffer.el (completion-category-defaults): New var.
2565 Set unicode-name to use substring completion.
2566 (completion-category-defaults): Set it to nil.
2567
2568 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2569
2570 Add mouse interaction to xref.
2571 * progmodes/xref.el (xref--button-map): New variable.
2572 (xref--mouse-2): New command.
2573 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2574 the inserted references.
2575
2576 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2577
2578 Less 'make' chatter for lisp dir
2579 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2580 to make it clearer that the caller must specify it.
2581 (compile-onefile): Remove, replacing by ...
2582 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2583 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2584 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2585 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2586 Use AM_V_GEN to lessen 'make' chatter.
2587 (.el.elc): Omit duplicate comment.
2588
2589 Less 'make' chatter in batch mode
2590 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2591 * emacs-lisp/bytecomp.el (byte-compile-file):
2592 * files.el (save-buffer, basic-save-buffer):
2593 * international/quail.el (quail-update-leim-list-file):
2594 Don't output messages like "Generating ..." in batch mode.
2595
2596 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2597
2598 Unbreak `mouse-action' property in text buttons.
2599 * button.el (push-button): Fix regression from 2012-12-06.
2600
2601 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2602
2603 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2604
2605 * menu-bar.el (menu-bar-goto-menu): Use it.
2606
2607 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2608
2609 * progmodes/xref.el (xref--window-configuration): New variable.
2610 (xref-show-location-at-point): New command.
2611 (xref--restore-window-configuration): New function.
2612 (xref-next-line, xref-prev-line): Delegate to
2613 `xref-show-location-at-point'.
2614 (xref--location-at-point): Don't signal the error.
2615 (xref-goto-xref): Do that here instead.
2616 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2617 to `pre-command-hook'.
2618 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2619 `previous-line'. Additionally bind `xref-next-line' and
2620 `xref-prev-line' to `n' and `p' respectively.
2621 Bind `xref-show-location-at-point' to `C-o'.
2622
2623 2015-01-01 Eli Zaretskii <eliz@gnu.org>
2624
2625 * tool-bar.el (tool-bar-local-item)
2626 (tool-bar-local-item-from-menu): Call force-mode-line-update to
2627 make sure the tool-bar changes show on display.
2628
2629 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
2630
2631 Sync with Tramp 2.2.11.
2632
2633 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2634 Make an alias for `default-toplevel-value' if it doesn't exist.
2635
2636 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2637 Use `tramp-compat-delete-directory'.
2638
2639 * net/trampver.el: Update release number.
2640
2641 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
2642
2643 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2644 for remote files. (Bug#19449)
2645
2646 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
2647
2648 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2649
2650 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2651
2652 Less 'make' chatter in lisp directory
2653 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2654 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2655 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2656
2657 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
2658
2659 * info.el (info-display-manual): Limit the completion alternatives
2660 to currently visited manuals if prefix argument is non-nil.
2661
2662 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2663
2664 * Makefile.in (semantic): Simplify.
2665
2666 2014-12-30 Juri Linkov <juri@linkov.net>
2667
2668 * net/eww.el (eww-isearch-next-buffer): New function.
2669 (eww-mode): Set multi-isearch-next-buffer-function to it.
2670
2671 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
2672
2673 * progmodes/xref.el (xref-find-definitions): Mention "no
2674 identifier at point" case in the docstring.
2675
2676 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2677 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2678 and `separator-tag-file' items.
2679
2680 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2681
2682 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2683 This is instead of system-name, which is both wrong here and obsolete.
2684 * desktop.el (desktop-save-frameset):
2685 * dnd.el (dnd-get-local-file-uri):
2686 * nxml/rng-uri.el (rng-uri-file-name-1):
2687 Prefer (system-name) to system-name, and avoid naming
2688 locals 'system-name'.
2689 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
2690
2691 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2692
2693 * menu-bar.el (menu-bar-next-tag-other-window)
2694 (menu-bar-next-tag): Remove.
2695
2696 2014-12-29 K. Handa <handa@gnu.org>
2697
2698 * international/mule.el (make-translation-table-from-alist):
2699 Accept nil or zero-length vector for FROM and TO.
2700
2701 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2702
2703 * net/eww.el (eww-mode): Truncate overlong lines for prettier
2704 display when resizing.
2705
2706 * net/shr.el (shr-width): Default to using the window width when
2707 rendering.
2708
2709 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2710
2711 Unbreak jumping to an alias's definition.
2712 * emacs-lisp/find-func.el (find-function-library): Return a pair
2713 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2714 (find-function-noselect): Use it.
2715 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2716 `elisp--xref-identifier-location', incorporate logic from
2717 `elisp--xref-find-definitions', use the changed
2718 `find-function-library' return value.
2719
2720 2014-12-29 Juri Linkov <juri@linkov.net>
2721
2722 * comint.el (comint-history-isearch-message): Use field-beginning
2723 instead of comint-line-beginning-position - that's more fixes for
2724 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2725 (comint-history-isearch-message): Fix args of isearch-message-prefix.
2726
2727 2014-12-29 Juri Linkov <juri@linkov.net>
2728
2729 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2730 (vc-dir-mode-map): Bind it to "\C-o".
2731 (vc-dir-menu-map): Add it to menu.
2732
2733 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2734
2735 * progmodes/etags.el (find-tag-other-window)
2736 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2737 (tags-apropos): Declare obsolete.
2738
2739 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2740 with xref ones.
2741
2742 2014-12-28 Eli Zaretskii <eliz@gnu.org>
2743
2744 * international/mule.el (define-coding-system): Fix typos in the
2745 doc string.
2746
2747 2014-12-28 Kenichi Handa <handa@gnu.org>
2748
2749 * international/mule.el (define-coding-system): Improve the doc
2750 string.
2751
2752 2014-12-28 Ivan Shmakov <ivan@siamics.net>
2753
2754 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2755 elements in tables (bug#19444).
2756
2757 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2758 (bug#19445).
2759
2760 2014-12-28 Juri Linkov <juri@linkov.net>
2761
2762 * vc/compare-w.el: Require diff-mode for diff faces.
2763 (compare-windows-removed, compare-windows-added): New faces
2764 inheriting from diff faces.
2765 (compare-windows): Define obsolete face alias.
2766 (compare-windows-highlight): Replace face `compare-windows' with
2767 new faces `compare-windows-added' and `compare-windows-removed'
2768 (bug#19451).
2769 (compare-windows-get-recent-window): Signal an error when
2770 no other window is found (bug#19170).
2771
2772 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2775 Skip features that have no sources.
2776
2777 * simple.el (execute-extended-command):
2778 When `suggest-key-bindings' is nil, don't.
2779
2780 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2781
2782 python.el: Native readline completion.
2783 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2784 (python-shell-completion-native-enable)
2785 (python-shell-completion-native-output-timeout): New defcustoms.
2786 (python-shell-completion-native-interpreter-disabled-p)
2787 (python-shell-completion-native-try)
2788 (python-shell-completion-native-setup)
2789 (python-shell-completion-native-turn-off)
2790 (python-shell-completion-native-turn-on)
2791 (python-shell-completion-native-turn-on-maybe)
2792 (python-shell-completion-native-turn-on-maybe-with-msg)
2793 (python-shell-completion-native-toggle): New functions.
2794 (python-shell-completion-native-get-completions): New function.
2795 (python-shell-completion-at-point): Use it.
2796
2797 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2798
2799 python.el: Enhance shell user interaction and deprecate
2800 python-shell-get-or-create-process.
2801 * progmodes/python.el (python-shell-get-process-or-error):
2802 New function.
2803 (python-shell-with-shell-buffer): Use it.
2804 (python-shell-send-string, python-shell-send-region)
2805 (python-shell-send-buffer, python-shell-send-defun)
2806 (python-shell-send-file, python-shell-switch-to-shell): Use it.
2807 Add argument MSG to display user-friendly message when no process
2808 is running.
2809 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2810 (python-shell-make-comint): Rename argument SHOW from POP.
2811 Use display-buffer instead of pop-to-buffer.
2812 (run-python): Doc fix. Return process.
2813 (python-shell-get-or-create-process): Make obsolete.
2814
2815 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2816
2817 * progmodes/python.el (python-shell-buffer-substring):
2818 Handle cornercase when region sent starts at point-min.
2819
2820 2014-12-27 Eli Zaretskii <eliz@gnu.org>
2821
2822 * language/misc-lang.el (composition-function-table): Add Syriac
2823 characters and also ZWJ/ZWNJ.
2824 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2825 for the details.
2826
2827 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2828
2829 python.el: Fix message when sending region.
2830 * progmodes/python.el (python-shell-send-region): Rename argument
2831 send-main from nomain. Fix message.
2832 (python-shell-send-buffer): Rename argument send-main from arg.
2833
2834 python.el: Cleanup temp files even with eval errors.
2835 * progmodes/python.el (python-shell-send-file): Make file-name
2836 mandatory. Fix temp file removal in the majority of cases.
2837
2838 python.el: Handle file encoding for shell.
2839 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2840 (python-shell--save-temp-file): Write file with proper encoding.
2841 (python-shell-buffer-substring): Add coding cookie for detected
2842 encoding to generated content. Fix blank lines when removing
2843 if-name-main block.
2844 (python-shell-send-file): Handle file encoding.
2845 (python-info-encoding-from-cookie)
2846 (python-info-encoding): New functions.
2847
2848 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2849
2850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2851 Use `tramp-rsh-end-of-line', it ought to be more robust.
2852
2853 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2856 (bug#19397).
2857
2858 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2861
2862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2863 as end-of-line delimeter for passwords, when running on MS Windows.
2864
2865 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2868 of indent-line-function (bug#19433).
2869
2870 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2871
2872 Fix line numbers on Python shell.
2873 * progmodes/python.el (python-shell--save-temp-file): Do not
2874 append coding cookie.
2875 (python-shell-send-string): Generalize for
2876 python-shell-send-region.
2877 (python--use-fake-loc): Delete var.
2878 (python-shell-buffer-substring): Cleanup fake-loc logic.
2879 (python-shell-send-region): Remove fake-loc logic, simplify.
2880
2881 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2882
2883 * progmodes/python.el (python-indent-post-self-insert-function):
2884 Make colon to re-indent only for dedenters, handling
2885 multiline-statements gracefully.
2886
2887 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * net/tramp.el (tramp-handle-insert-file-contents):
2890 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2891
2892 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2893
2894 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2895 arg MARKER.
2896 (tramp-get-remote-path): Use it.
2897
2898 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * subr.el (redisplay-dont-pause): Mark as obsolete.
2901
2902 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2905 (tramp-accept-process-output): Use nil as argument for
2906 `accept-process-output', when there is a gateway prepended.
2907
2908 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2909 wrong debug buffer.
2910 (tramp-gw-open-connection): Set process coding system 'binary.
2911 (tramp-gw-open-network-stream): Handle HTTP error 403.
2912
2913 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2914 wrong debug buffer.
2915 (tramp-maybe-open-connection): Set connection property "gateway".
2916
2917 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * subr.el (sit-for): Tweak docstring (bug#19381).
2920
2921 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2922
2923 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2924 stage to after `diff-index' (bug#19386).
2925
2926 2014-12-27 João Távora <joaotavora@gmail.com>
2927
2928 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2929 `electric-pair-mode' (bug#19356).
2930
2931 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2932
2933 elisp-xref-find: Don't create buffers eagerly.
2934
2935 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2936 into `elisp--company-location'.
2937 (elisp--identifier-completion-table): Rename to
2938 `elisp--identifier-completion-table', and do not include just any
2939 symbols with a property list.
2940 (elisp-completion-at-point): Revert the 2014-12-25 change.
2941 (elisp--xref-identifier-file): New function.
2942 (elisp--xref-find-definitions): Use it.
2943
2944 * emacs-lisp/find-func.el (find-function-library): New function,
2945 extracted from `find-function-noselect'.
2946
2947 * progmodes/xref.el (xref-elisp-location): New class.
2948 (xref-make-elisp-location): New function.
2949 (xref-location-marker): New implementation.
2950
2951 2014-12-27 Juri Linkov <juri@linkov.net>
2952
2953 * minibuffer.el (minibuffer-completion-help):
2954 Use shrink-window-if-larger-than-buffer in window-height
2955 when temp-buffer-resize-mode is nil.
2956
2957 * window.el (with-displayed-buffer-window): Remove window-height
2958 from the action alist in the temp-buffer-window-show call
2959 when window-height is handled explicitly afterwards (bug#19355).
2960
2961 2014-12-27 Juri Linkov <juri@linkov.net>
2962
2963 Support subdirectories when saving places in dired.
2964 * saveplace.el (toggle-save-place, save-place-to-alist)
2965 (save-places-to-alist, save-place-dired-hook):
2966 Use dired-current-directory instead of dired-directory (bug#19436).
2967 (save-place-dired-hook): Add check for alist to make the new
2968 format future-proof to allow other possible formats.
2969
2970 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2971
2972 python.el: Generate clearer shell buffer names.
2973 * progmodes/python.el (python-shell-get-process-name)
2974 (python-shell-internal-get-process-name): Use `buffer-name`.
2975 (python-shell-internal-get-or-create-process): Simplify.
2976
2977 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
2978
2979 Add basic xref apropos implementation to elisp-mode.
2980
2981 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2982 Filter out nil results.
2983 (elisp--xref-find-apropos): New function.
2984 (elisp-xref-find): Use it.
2985
2986 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2987
2988 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
2989
2990 * dired-aux.el (dired-maybe-insert-subdir):
2991 Make dired-maybe-insert-subdir always skip trivial files.
2992
2993 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
2994 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 Consolidate cross-referencing commands.
2997
2998 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2999 `C-x 5 .' from etags.el to xref.el.
3000
3001 * progmodes/xref.el: New file.
3002
3003 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3004 (elisp--identifier-location): New function, extracted from
3005 `elisp--company-location'.
3006 (elisp--company-location): Use it.
3007 (elisp--identifier-completion-table): New variable.
3008 (elisp-completion-at-point): Use it.
3009 (emacs-lisp-mode): Set the local values of `xref-find-function'
3010 and `xref-identifier-completion-table-function'.
3011 (elisp-xref-find, elisp--xref-find-definitions)
3012 (elisp--xref-identifier-completion-table): New functions.
3013
3014 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3015 favor of `xref--marker-ring'.
3016 (tags-lazy-completion-table): Autoload.
3017 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3018 (find-tag-noselect): Use `xref-push-marker-stack'.
3019 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3020 (etags--xref-limit): New constant.
3021 (etags-xref-find, etags--xref-find-definitions): New functions.
3022
3023 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3024
3025 * cus-start.el (resize-mini-windows): Make it customizable.
3026
3027 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3028
3029 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3030 to (info "(emacs)Contributing"). (Bug#19299)
3031
3032 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3033
3034 * window.el (mouse-autoselect-window-position-1): New variable.
3035 (mouse-autoselect-window-cancel)
3036 (mouse-autoselect-window-select, handle-select-window):
3037 With delayed autoselection select window only if mouse moves after
3038 selecting its frame.
3039
3040 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3041
3042 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3043 remote file names. (Bug#18782)
3044
3045 2014-12-23 Sam Steingold <sds@gnu.org>
3046
3047 * shell.el (shell-display-buffer-actions): New user option.
3048 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3049 `pop-to-buffer-same-window'.
3050
3051 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3054 (js-syntax-propertize-regexp): Use it to recognize "slash in
3055 a character class" (bug#19397).
3056
3057 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * completion.el: Use post-self-insert-hook (bug#19400).
3060 (completion-separator-self-insert-command)
3061 (completion-separator-self-insert-autofilling): Remove.
3062 (completion-separator-chars): New var.
3063 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3064 of changing the keymap.
3065 (completion--post-self-insert): New function.
3066 (dynamic-completion-mode): Use it instead of rebinding keys.
3067 (cmpl--completion-string): Rename from completion-string.
3068 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3069
3070 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3071
3072 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3073 by leveraging `syntax-ppss'.
3074
3075 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3076
3077 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3078
3079 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3080
3081 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3082
3083 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3084
3085 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3086
3087 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3088
3089 * let-alist.el (let-alist): Enable access to deeper alists by
3090 using dots inside the dotted symbols.
3091
3092 2014-12-19 Alan Mackenzie <acm@muc.de>
3093
3094 Make C++11 uniform init syntax work.
3095 New keywords "final" and "override".
3096 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3097 New function.
3098 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3099 new function.
3100 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3101 carefully for "are we at a declarator?" using
3102 c-back-over-member-initializers.
3103 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3104 and "override" in the C++ value.
3105
3106 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3107
3108 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3109
3110 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3111
3112 * net/nsm.el (nsm-save-host): Don't save the host name twice
3113 (bug#19269).
3114
3115 2014-12-18 Sam Steingold <sds@gnu.org>
3116
3117 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3118 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3119 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3120 * menu-bar.el (menu-bar-buffer-vector): Extract from
3121 `menu-bar-update-buffers'.
3122 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3123 (buffer-menu-open): New user command, bound globally to C-f10,
3124 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3125 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3126 convert the value returned by `mouse-buffer-menu-map' to a list
3127 acceptable to `popup-menu' for `buffer-menu-open'.
3128
3129 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3130
3131 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3132
3133 2014-12-18 Sam Steingold <sds@gnu.org>
3134
3135 * emacs-lisp/package.el: Avoid compilation warning by declaring
3136 the `find-library-name' function.
3137 (package-activate-1): Fix the `with-demoted-errors' calls:
3138 the first argument must be a string literal.
3139
3140 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3141
3142 Add code for "preserving" window sizes.
3143 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3144 `preserve-size' t.
3145 (dired-mark-pop-up): Preserve size of window showing marked files.
3146 * electric.el (Electric-pop-up-window):
3147 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3148 with `preserve-size' t.
3149 * minibuffer.el (minibuffer-completion-help):
3150 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3151 (Bug#19355). Preserve size of completions window.
3152 * register.el (register-preview): Preserve size of register
3153 preview window.
3154 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3155 with `preserve-size' t (Bug#1291).
3156 * window.el (with-displayed-buffer-window): Add calls to
3157 `window-preserve-size'.
3158 (window-min-pixel-size, window--preservable-size)
3159 (window-preserve-size, window-preserved-size)
3160 (window--preserve-size, window--min-size-ignore-p): New functions.
3161 (window-min-size, window-min-delta, window--resizable)
3162 (window--resize-this-window, split-window-below)
3163 (split-window-right): Amend doc-string.
3164 (window--min-size-1, window-sizable, window--size-fixed-1)
3165 (window-size-fixed-p, window--min-delta-1)
3166 (frame-windows-min-size, window--max-delta-1, window-resize)
3167 (window--resize-child-windows, window--resize-siblings)
3168 (enlarge-window, shrink-window, split-window): Handle preserving
3169 window sizes.
3170 (adjust-window-trailing-edge): Handle preserving window
3171 sizes. Signal user-error instead of an error when there's no
3172 window above or below.
3173 (window--state-put-2): Handle horizontal scroll bars.
3174 (window--display-buffer): Call `preserve-size' if asked for.
3175 (display-buffer): Mention `preserve-size' alist member in doc-string.
3176 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3177 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3178 scroll bar on ispell's windows. Don't count window lines and
3179 don't deal with dedicated windows.
3180 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3181 do the window handling.
3182 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3183 (ispell-display-buffer): New function to reuse, create and fit
3184 window to ispell's buffers. (Bug#3413)
3185
3186 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3187
3188 * emacs-lisp/package.el (package-activate): Do not re-activate or
3189 reload the dependencies (bug#19390).
3190
3191 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3194 (c-update-modeline):
3195 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3196 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3197 (c-mode-base-map): Use c-subword-mode.
3198
3199 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3200
3201 * international/mule-diag.el (describe-font-internal):
3202 Display additional info returned by font-info.
3203
3204 * linum.el (linum--face-width): Rename from linum--face-height,
3205 and use the new functionality of font-info.
3206 (linum-update-window): Use linum--face-width and frame-char-width,
3207 instead of approximating with height.
3208
3209 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3212 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3213
3214 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3215 and a docstring.
3216 (package-activate): Call itself on dependencies on PACKAGE with
3217 the same FORCE argument. Pass FORCE as RELOAD into
3218 `package-activate-1' (bug#19390).
3219
3220 2014-12-17 Sam Steingold <sds@gnu.org>
3221
3222 * emacs-lisp/package.el (package--list-loaded-files):
3223 Handle `(nil ...)' elements in `load-history'.
3224
3225 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3226
3227 * net/tramp-sh.el (tramp-histfile-override): New variable.
3228 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3229
3230 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * vc/vc.el: Improve `dir-status-files' description.
3233
3234 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3235 file-truename on load-history elements (bug#19390).
3236
3237 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3238
3239 * emacs-lisp/seq.el: New file.
3240
3241 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3244 is 0 and there is no input pending.
3245
3246 2014-12-15 Juri Linkov <juri@linkov.net>
3247
3248 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3249 only on the return value (bug#19383).
3250
3251 2014-12-15 Juri Linkov <juri@linkov.net>
3252
3253 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3254 the wrapped search by the length of the search string to be able
3255 to lazy-highlight the whole search string at point (bug#19353).
3256
3257 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3258
3259 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3260
3261 2014-12-14 Alan Mackenzie <acm@muc.de>
3262
3263 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3264
3265 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3266
3267 * let-alist.el: Add lexical binding.
3268
3269 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3270
3271 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3272 for the "Version" column, to accomodate date-and-time-based versions.
3273
3274 2014-12-14 Cameron Desautels <camdez@gmail.com>
3275
3276 * cus-edit.el (custom-unsaved-options): New function, extracted
3277 from `customize-unsaved'.
3278 (custom-unsaved): Use it.
3279 (custom-prompt-customize-unsaved-options): New function.
3280 (Bug#19328)
3281
3282 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3283
3284 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3285
3286 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3287
3288 Move ASYNC argument to the `diff' VC command to the fifth
3289 position, for better compatibility with existing third-party code,
3290 and document it.
3291
3292 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3293 backend `diff' command in the last position.
3294
3295 * vc/vc-svn.el (vc-svn-diff):
3296 * vc/vc-src.el (vc-src-diff):
3297 * vc/vc-sccs.el (vc-sccs-diff):
3298 * vc/vc-rcs.el (vc-rcs-diff):
3299 * vc/vc-mtn.el (vc-mtn-diff):
3300 * vc/vc-hg.el (vc-hg-diff):
3301 * vc/vc-git.el (vc-git-diff):
3302 * vc/vc-dav.el (vc-dav-diff):
3303 * vc/vc-cvs.el (vc-cvs-diff):
3304 * vc/vc-bzr.el (vc-bzr-diff):
3305 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3306
3307 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3308
3309 * emacs-lisp/cconv.el (cconv--analyze-use):
3310 Rename from cconv--analyse-use.
3311 (cconv--analyze-function): Rename from cconv--analyse-function.
3312 (cconv-analyze-form): Rename from cconv-analyse-form.
3313
3314 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3315
3316 * net/shr.el (shr-next-link): Don't error out at eob.
3317
3318 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3319
3320 * isearch.el (isearch-open-necessary-overlays): Open overlay
3321 ending at point (bug#19333).
3322
3323 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
3325 * net/shr.el (shr-fold-text): New function.
3326 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3327 alt/title texts.
3328 (shr-fold-text): Inhibit state from being altered.
3329
3330 * files.el (directory-files-recursively): Really check whether
3331 files are symlinks.
3332 (directory-name-p): New function.
3333 (directory-files-recursively): Use it.
3334
3335 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3336
3337 * emacs-lisp/package.el (package--list-loaded-files): New function
3338 to list files in a given directory which correspond to already
3339 loaded files.
3340 (package-activate-1): Reload files given by `package--list-loaded-files'.
3341 Fix bug#10125, bug#18443, and bug#18448.
3342
3343 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3344
3345 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3346
3347 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * simple.el (password-word-equivalents): Add "passcode", used for
3350 numeric secrets like PINs or RSA tokens.
3351
3352 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3353
3354 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3355 order to determine `tramp-own-remote-path'.
3356
3357 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3358
3359 * progmodes/python.el (python-shell-parse-command):
3360 Quote `python-shell-interpreter`. (Bug#19289)
3361
3362 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3365 (python-indent-levels): Document extra value.
3366 (python-indent-calculate-indentation): Return `noindent' in strings.
3367 (python-indent-post-self-insert-function)
3368 (python-indent-calculate-levels): Handle new value.
3369
3370 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3371
3372 * net/network-stream.el (network-stream-open-starttls): No need to
3373 check for the availability of `gnutls-available-p'.
3374
3375 * files.el (directory-files-recursively): Don't follow symlinks to
3376 other directories.
3377
3378 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3379
3380 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3381 * vc/vc.el: latest-on-branch-p is no longer a public method.
3382
3383 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3384 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3385 Remove `rollback' method, to be replaced in the future by uncommit.
3386
3387 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3390 that there is empty output.
3391
3392 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3395 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3396
3397 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3398
3399 * let-alist.el: Add new package and macro.
3400
3401 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3402
3403 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3404 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3405 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3406
3407 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3408
3409 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3410 trouble with ls over ftp. These flags result in ls returning no
3411 output, causing Tramp-breakage. (bug#19192)
3412
3413 2014-12-10 Andreas Schwab <schwab@suse.de>
3414
3415 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3416
3417 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3418
3419 * files.el (directory-files-recursively):
3420 Use `file-name-all-completions' instead of `directory-files' for
3421 greater speed.
3422
3423 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3424 <object>.
3425
3426 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3427
3428 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3429 and Puppetfile.
3430 (ruby-toggle-string-quotes): New command that allows you to quickly
3431 toggle between single-quoted and double-quoted string literals.
3432
3433 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3434
3435 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3436 list, avoids problems witt names containing hyphens.
3437
3438 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3439
3440 Sync with upstream verilog-mode revision aa4b777.
3441 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3442 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3443 (verilog-set-auto-endcomments): Automatically comment property/
3444 endproperty blocks to match other similar blocks like sequence/
3445 endsequence, function/endfunction, etc. Reported by Alex Reed.
3446 (verilog-set-auto-endcomments): Fix end comments for functions of
3447 type void, etc. Detect the function- or task-name when
3448 auto-commenting blocks that lack an explicit portlist.
3449 Reported by Alex Reed.
3450 (verilog-nameable-item-re): Fix nameable items that can have an
3451 end-identifier to include endchecker, endgroup, endprogram,
3452 endproperty, and endsequence. Reported by Alex Reed.
3453 (verilog-preprocessor-re, verilog-beg-of-statement):
3454 Fix indentation of property/endproperty around pre-processor
3455 directives. Reported by Alex Reed.
3456 (verilog-label-be): When auto-commenting a buffer, consider
3457 auto-comments on all known keywords (not just a subset thereof).
3458 Reported by Alex Reed.
3459 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3460 Reported by Alex Reed.
3461 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3462 Fix hanging with many curly-bracket pairs, bug663.
3463 (verilog-do-indent): Fix electric tab deleting form-feeds.
3464 Note caused by indent-line-to deleting tabls pre 24.5.
3465 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3466 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3467 (verilog-read-always-signals, verilog-auto-sense-sigs)
3468 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3469 bug844. Reported by Greg Hilton.
3470
3471 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3472
3473 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3474 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3475 'foreach', and 'do' keywords.
3476 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3477 Fix labeling do-while blocks, bug842.
3478 (verilog-backward-token): Fix indenting sensitivity lists with
3479 named events, bug840.
3480
3481 2014-12-09 Reto Zimmermann <reto@gnu.org>
3482
3483 Sync with upstream vhdl mode v3.36.1.
3484 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3485 (vhdl-compiler-alist): Anchor all error regexps.
3486 (vhdl-compile-use-local-error-regexp): Change default to nil.
3487 (vhdl-asort, vhdl-anot-head-p): Remove.
3488 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3489 Remove optional argument of vhdl-aget and update all callers.
3490 (vhdl-import-project): Also set `vhdl-compiler'.
3491
3492 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3493
3494 * files.el (find-files): New function.
3495
3496 * net/shr.el (shr-dom-print): Don't print comments.
3497 (shr-tag-svg): Give inline SVG images the right type.
3498
3499 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3500 certificates in the header line.
3501 (eww-invalid-certificate, eww-valid-certificate): New faces.
3502
3503 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3504
3505 * progmodes/python.el (inferior-python-mode):
3506 Set `comint-prompt-read-only` to `t` only locally.
3507
3508 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3509
3510 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3511 (nsm-format-certificate): Include more data about the connection.
3512 (nsm-query): Fill the text to that it looks nicer.
3513 (nsm-check-protocol): Also warn if using SSL3 or older.
3514
3515 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3518
3519 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3520
3521 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3522
3523 * info.el (Info-mode-map): Remove left-over binding.
3524
3525 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3526 (avl-tree--root): Remove redundant defsetf.
3527
3528 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3529
3530 * net/nsm.el (network-security-level): Remove the detailed
3531 description, which was already outdated, and refer the users to
3532 the manual.
3533 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3534 (bug#19153).
3535
3536 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3537
3538 * net/eww.el (eww-buffers-mode): New major mode.
3539 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3540 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3541 New commands/functions (bug#19131).
3542
3543 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3544
3545 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3546 'file-name-handler-alist' since the gnutls library can't use those
3547 (bug#15866).
3548
3549 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3552 when FILES is non-nil (bug#19304).
3553
3554 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3555
3556 * vc/vc-arch.el: Move to obsolete directory so a test framework
3557 won't trip over bit-rot in it. There has been no Arch snapshot
3558 for nine years.
3559
3560 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3561
3562 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3563 previous behavior.
3564 (eww-copy-page-url): Add doc string.
3565
3566 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3567
3568 * net/eww.el (eww): Move history recording here...
3569 (eww-browse-url): ... from here (bug#19253).
3570
3571 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3572 iterating over possible buffer names.)
3573
3574 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3575
3576 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3577 (eww-current-buffer): Compilation fix for bug#18550 patch.
3578
3579 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3580
3581 * net/eww.el (eww-list-histories): Restore the history in the
3582 correct buffer (bug#18550).
3583
3584 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
3586 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3587 displaying shortened titles first (bug#16398).
3588
3589 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3590
3591 * progmodes/python.el: Recognize docstrings.
3592 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3593 New functions.
3594 (python-mode): Use them.
3595
3596 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3597
3598 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3599 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3600 (newsticker--treeview-create-groups-menu)
3601 (newsticker--treeview-create-tree-menu): Remove.
3602 (newsticker--treeview-tree-open-menu): New.
3603 (newsticker-treeview-tree-click): Pass event to
3604 `newsticker-treeview-tree-do-click'.
3605 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3606
3607 2014-12-05 Juri Linkov <juri@linkov.net>
3608
3609 * comint.el (comint-history-isearch-search)
3610 (comint-history-isearch-wrap): Use field-beginning instead of
3611 comint-line-beginning-position.
3612 (comint-send-input): Go to the end of the field instead of the end
3613 of the line to accept whole multi-line input.
3614 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3615
3616 2014-12-05 Juri Linkov <juri@linkov.net>
3617
3618 * minibuffer.el (minibuffer-completion-help):
3619 Compare selected-window with minibuffer-window to check whether
3620 completions should be displayed near the minibuffer. (Bug#17809)
3621 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3622
3623 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * vc/vc-mtn.el (vc-mtn-root):
3626 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3627
3628 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3631 of the whole pipe when indenting an opening keyword after a |.
3632 Generalize this treatment to opening keywords like "while" (bug#18031).
3633
3634 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * simple.el (newline): Place the hook buffer-locally,
3637 to make sure it's first.
3638
3639 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3640 Fix handling of symbols with different syntax at beginning/end or with
3641 symbol rather than word syntax.
3642
3643 2014-12-05 Eli Zaretskii <eliz@gnu.org>
3644
3645 * simple.el (line-move): If noninteractive, call line-move-1, not
3646 forward-line, since the former is compatible with line-move-visual
3647 both in terms of the column to which it moves and the return
3648 value. (Bug#19211)
3649
3650 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * vc/ediff-init.el (ediff-odd-p): Remove.
3653 (ediff-background-face): Use cl-oddp instead.
3654 (ediff-buffer-live-p): Make it a defsubst.
3655
3656 * tooltip.el (tooltip-region-active-p): Remove.
3657
3658 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3659 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3660
3661 * fringe.el (fringe-bitmap-p): Make it a plain function.
3662
3663 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3664 (class-p, generic-p, eieio-object-p, class-abstract-p):
3665 Make them defsubst, so as to avoid corner case problems where
3666 the arg might be evaluated in the condition-case, or it can't be passed
3667 to higher-order functions like `cl-some'.
3668
3669 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3670
3671 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3672 and remove old menu-related code.
3673
3674 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3675
3676 * net/eww.el (eww-display-pdf): Let mailcap determine how to
3677 display PDF files (bug#19270).
3678
3679 2014-12-05 Juri Linkov <juri@linkov.net>
3680
3681 Compare with the most recent window by default.
3682 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3683 (compare-windows-get-recent-window)
3684 (compare-windows-get-next-window): New functions.
3685 (compare-windows, compare-windows-sync-default-function):
3686 Use `compare-windows-get-window-function' instead of `next-window'.
3687 (compare-windows): Add diff/match messages with region boundaries.
3688 (Bug#19170)
3689
3690 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
3693
3694 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3695
3696 * net/shr.el (shr--extract-best-source): Ignore non-text children.
3697
3698 2014-12-04 Eli Zaretskii <eliz@gnu.org>
3699
3700 Implement copying of a buffer portion while preserving visual order.
3701 * simple.el (bidi-directional-controls-chars)
3702 (bidi-directional-non-controls-chars): New variables.
3703 (squeeze-bidi-context-1, squeeze-bidi-context)
3704 (line-substring-with-bidi-context)
3705 (buffer-substring-with-bidi-context): New functions.
3706
3707 * files.el (file-tree-walk): Doc fix.
3708
3709 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
3710 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3711
3712 * autoinsert.el (auto-insert-alist): Update C/C++ header and
3713 program support to match more extensions. Replace non-alnum
3714 characters when generating include guards (headers) and check for
3715 more extensions when generating includes (programs)
3716 (bug#19254).
3717
3718 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
3719
3720 * files.el (file-tree-walk): Fix docstring.
3721
3722 2014-12-03 Karl Fogel <kfogel@red-bean.com>
3723
3724 Fix bug whereby saving files hung in VC hook.
3725
3726 Saving a buffer visiting a file under SVN control would hang if
3727 the remote repository were unreachable, because the VC hooks tried
3728 to run "svn status -u" on the file, where the "-u" tells svn to
3729 get update information from the remote repository.
3730 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3731
3732 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3733 argument and always pass "-v" to "svn status", never "-u".
3734
3735 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/inline.el: Fix up copyright header.
3738 (inline-quote, inline-const-p, inline-const-val, inline-error):
3739 Silence compiler warnings.
3740 (inline-letevals): Fix edebug spec.
3741 (inline--testconst-p): Consider lambda expressions as const-p.
3742 (inline--getconst-val): Use inline--testconst-p.
3743
3744 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3745 and change default to stay in the minibuffer when called from
3746 the minibuffer (bug#19250).
3747 (lazy-completion-table): Use this new argument to preserve the
3748 old behavior.
3749
3750 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3751 incorrect lexical elements (bug#19250).
3752
3753 2014-12-03 A. N. Other <none@example.com>
3754
3755 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3756
3757 2014-12-02 Glenn Morris <rgm@gnu.org>
3758
3759 * whitespace.el (whitespace-big-indent-regexp): Add :version.
3760
3761 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
3762
3763 * subr.el (filter): New macro. Because it's just silly for a Lisp
3764 not to have this in 2014. And VC needs it.
3765
3766 * vc.el: All backends: API simplification: Abolish dir-status.
3767 It's replaced by dir-status-files.
3768
3769 * vc.el: All backends: API simplification: Remove 4th
3770 'default-state' argument from vc-dir-status files and its backend
3771 methods - no backend method ever set it. It was used only in the
3772 fallback method to to set a default of 'up-to-date, though a
3773 convoluted call chain obscured this.
3774
3775 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3776
3777 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3778 improving behavior on directories using multiple file-oriented VCSes.
3779
3780 * vc/vc.el: All backends: API simplification; clear-headers
3781 is no longer a public method. It is now local to the one place
3782 it's used, in the RCS steal-lock method.
3783
3784 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3785
3786 * vc/vc.el: In all backends: API simplification; could-register
3787 is no longer a public method. (vc-cvs.el still has a private
3788 implementation.)
3789
3790 * vc/vc.el: In all backends: API cleanup; the backend diff method
3791 takes an explicit async flag. This eliminates a particularly ugly
3792 global.
3793
3794 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3795 VC randomly/unpredictably fails without it; cause not yet established.
3796
3797 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 Merge some of the differences from the standalone CC-mode.
3800 The main change is to only use the `category' text-property only when
3801 available. For that many calls are changed to use c-get-char-property,
3802 c-next-single-property-change, c-sc-scan-lists,
3803 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3804
3805 * progmodes/cc-mode.el (c-just-done-before-change): New var.
3806 (c-basic-common-init): Initialize it.
3807 (c-common-init): Only use mode-require-final-newline when available.
3808 (c-before-change): Check and set c-just-done-before-change.
3809 (c-after-change): Re-set c-just-done-before-change.
3810 (c-advise-fl-for-region): New macro.
3811 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3812 (font-lock-after-change-function, jit-lock-after-change):
3813 Advise if needed.
3814
3815 * progmodes/cc-langs.el (c-modified-constant): New lang var.
3816 (c-known-type-key): Don't make a list just to throw it away.
3817
3818 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3819 Handle the case where categories are not available.
3820 (c-record-parse-state-state, c-replay-parse-state-state):
3821 Handle marker values.
3822 (c-before-change-check-<>-operators): Look for the `syntax-table'
3823 property rather than for the corresponding `category'.
3824 (c-looking-at-decl-block): Remove unused var
3825 `c-disallow-comma-in-<>-arglists'.
3826 (c-forward-<>-arglist-recur): Remove unused var
3827 `orig-record-found-types'.
3828
3829 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3830 (c-use-category): New const.
3831 (c-next-single-property-change): New macro.
3832 (c-region-is-active-p): Prefer region-active-p when available.
3833 (c-search-backward-char-property): Fix old min/max typo; probably
3834 a copy/paste error.
3835 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3836 Turn them into macros that obey c-use-category.
3837 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3838 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3839 (c-sc-scan-lists, c-sc-parse-partial-sexp)
3840 (c-looking-at-non-alphnumspace): New macros.
3841 (c-sc-parse-partial-sexp-no-category): New function.
3842 (c-emacs-features): Add `category-properties' element.
3843
3844 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3845 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3846 not available.
3847 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3848 (c-indent-line-or-region): Use c-region-is-active-p.
3849
3850 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3851 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3852 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3853 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3854 (cc-bytecomp-obsolete-fun): Delete unused functions.
3855
3856 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3857
3858 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3859
3860 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3861 dom.el changes.
3862
3863 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3866 current "project" rather than just the current directory.
3867 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3868 the file names make sense.
3869
3870 * vc/smerge-mode.el (smerge-swap): New command.
3871
3872 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3873
3874 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3875
3876 * net/newst-treeview.el (newsticker--treeview-item-show):
3877 Check window liveliness before measuring its width.
3878
3879 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3880 Pass correct status to `newsticker--sentinel-work'.
3881 (newsticker--sentinel-work): Use "newsticker--download-error" as
3882 guid in order to prevent multiple "Could not download..."
3883 messages. (Bug#19166)
3884
3885 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3886
3887 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3888 correct buffer (bug#19225).
3889
3890 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3891
3892 * net/nsm.el (network-security-level): Change the default to `medium'.
3893
3894 * net/eww.el (eww): Leave point in a place that doesn't cause
3895 scrolling when displaying "Loading...".
3896
3897 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3898
3899 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3900 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3901 'merge-branch'. Prompting for merge revisions is pushed down to
3902 the back ends; this fixes a layering violation that caused bad
3903 behavior with SVN.
3904
3905 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3906 vc-stay-local-p and repository-hostname are no longer public
3907 methods. Only the CVS and SVN backends used these, and the SVN
3908 support was conditioned out because svn status -v is too slow.
3909 The CVS back end retains this machinery and the vc-stay-local
3910 configuration variable now only affects it.
3911
3912 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * emacs-lisp/inline.el: New file.
3915
3916 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3917
3918 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3919 vc-state-heuristic is no longer a public method, having been
3920 removed where it is redundant, unnecessary, or known buggy.
3921 This eliminated all backends except CVS. Eliminates bug#7850.
3922
3923 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3924 Eliminate vc-mistrust-permissions. It was only relevant to the
3925 RCS and SCCS back ends and defaulted to t. Code now always
3926 mistrusts permissions - by actual measurement the effect on
3927 performance is negligible. As a side effect bug#11490 is now
3928 irrelevant.
3929
3930 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3931 vc-workfile-unchanged-p is no longer a public method (but the RCS
3932 and SCCS back ends retain it as a private method used in state
3933 computation). This method was redundant with vc-state and usually
3934 implemented as a trivial call to same. Fixes the failure mode
3935 described in bug#694.
3936
3937 * vc/vc.el: All backends: API simplification; init-revision is
3938 gone, and vc-registered functions no longer take an
3939 initial-revision argument.
3940
3941 2014-11-29 Glenn Morris <rgm@gnu.org>
3942
3943 * vc/vc-src.el (vc-src, vc-src-diff-switches)
3944 (vc-src-master-templates): Fix :version tags.
3945
3946 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
3947
3948 * outline.el (outline-move-subtree-down): Refactor and improve code.
3949
3950 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3951 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * outline.el (outline-move-subtree-down): Make sure we can move
3954 forward to find the end of the subtree and the insertion point
3955 (bug#19102).
3956
3957 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3958
3959 * progmodes/python.el (python-shell-completion-setup-code):
3960 Use __builtin__ module (or builtins in Python 3) and catch all errors
3961 when importing readline and rlcompleter.
3962
3963 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3964
3965 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3966 (todo-revert-buffer): New function.
3967 (todo-modes-set-1): Use it as the buffer-local value of
3968 revert-buffer-function.
3969
3970 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3971
3972 * calendar/todo-mode.el (todo-mode): If called interactively, just
3973 display a message saying to call todo-show to enter Todo mode
3974 (Bug#19112).
3975
3976 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
3977
3978 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3979 (Bug#18579)
3980
3981 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3982 files. (Bug#18579)
3983
3984 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3985
3986 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3987 remote `buffer-file-name'.
3988
3989 2014-11-29 Leo Liu <sdl.web@gmail.com>
3990
3991 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3992
3993 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3994
3995 Set PYTHONUNBUFFERED on shell startup.
3996
3997 * progmodes/python.el (python-shell-unbuffered): New var.
3998 (python-shell-calculate-process-environment): Use it.
3999
4000 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4001
4002 * net/tramp.el (tramp-action-password): Clean password on subsequent
4003 attempts even if there was no wrong password indication. (Bug#19047)
4004
4005 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4006 fallback.
4007 (tramp-open-connection-setup-interactive-shell): No need to check
4008 for nil as `tramp-get-remote-locale' return value.
4009
4010 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4011
4012 * vc/vc-git.el (vc-git-command, vc-git--call):
4013 Bind coding-system-for-read and coding-system-for-write to
4014 vc-git-commits-coding-system.
4015 (vc-git-previous-revision): Use "~1" instead of "^", since the
4016 latter is a special character for MS-Windows system shells.
4017
4018 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4019
4020 Improve XEmacs compatibility.
4021
4022 * net/tramp.el (tramp-autoload-file-name-handler):
4023 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4024 exist in XEmacs.
4025 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4026 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4027 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4028 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4029 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4030 * net/tramp-cache.el (tramp-get-file-property):
4031 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4032 Use `time-less-p' and `time-subtract, respectively.
4033
4034 * net/tramp-adb.el (top): Do not require time-date.el.
4035
4036 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4037
4038 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4039 Check, whether `utf-8' is a valid coding system.
4040
4041 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4042
4043 * vc/vc.el (vc-retrieve-tag): Doc fix.
4044
4045 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4048 (bug#19152).
4049
4050 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4051
4052 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4053 * help.el (help-window-old-frame): New variable.
4054 (help-window-select): Default to nil (Bug#11039).
4055 Rewrite doc-string.
4056 (help-window-setup): When the help window appears on another
4057 frame and `help-window-select' is non-nil, give that frame input
4058 focus too (Bug#19012).
4059 (with-help-window): Store selected frame in
4060 help-window-old-frame.
4061
4062 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4063
4064 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4065 nil value for `newsticker-groups-filename'.
4066
4067 2014-11-28 Daiki Ueno <ueno@gnu.org>
4068
4069 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4070 (epa-sign-region, epa-encrypt-region):
4071 Use `epg-context-set-{passphrase,progress}-callback', instead of
4072 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4073 Reported by José A. Romero L.
4074
4075 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4076
4077 * net/eww.el (eww-restore-history):
4078 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4079
4080 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4081
4082 * net/newst-backend.el (newsticker--parse-atom-1.0):
4083 Handle embedded (x)html in summary node.
4084
4085 2014-11-27 Sam Steingold <sds@gnu.org>
4086
4087 * menu-bar.el (menu-bar-open): When everything else fails,
4088 use (mouse-menu-bar-map).
4089
4090 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4091
4092 * net/newst-treeview.el (newsticker-groups-filename):
4093 Change default value to nil. Point out that variable is obsolete in doc
4094 string.
4095 (newsticker--treeview-load): Change wording of the questions the
4096 user is asked when `newsticker-groups-filename' is found to be
4097 used and we offer to read and remove the groups file. (Bug#19165)
4098
4099 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4100
4101 * net/eww.el (eww): Record the new URL immediately, so that if the
4102 HTTP fetch fails, we have the right URL in the buffer.
4103 (eww-process-text-input): Don't shorten the input field if
4104 deleting at the last character (bug#19085).
4105 (eww-restore-history): Inhibit change functions while restoring
4106 the history.
4107 (eww-process-text-input): Fix deletion at the start of the field, too.
4108 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4109 (eww-process-text-input): Try to keep track of the size more reliably.
4110
4111 * dom.el (dom-pp): New function.
4112
4113 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4114
4115 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4116 Don't assume --long is the default for "bzr log", always specify
4117 it explicitly, in case the user defined an alias for 'log' that
4118 uses some other format.
4119
4120 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4121
4122 * progmodes/python.el (python-eldoc--get-doc-at-point):
4123 Strip shell output before returning. (bug#18794)
4124
4125 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4126
4127 Fix indentation before `!=' and after `+='. Originally reported
4128 in https://github.com/mooz/js2-mode/issues/174.
4129 * progmodes/js.el (js--indent-operator-re): Make assignments and
4130 (in)equality operator a separate case.
4131 (js--continued-expression-p): Escape the second `+' in the regexp.
4132
4133 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4136
4137 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138
4139 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4140 when querying about new certificates.
4141
4142 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4143
4144 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4145 can be strings.
4146 (dom-elements): Protect against non-text nodes.
4147 (dom-non-text-children): New function.
4148
4149 * net/eww.el (eww-tag-title): Use `dom-text'.
4150
4151 2014-11-26 Sam Steingold <sds@gnu.org>
4152
4153 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4154
4155 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156
4157 * net/eww.el (eww-highest-readability): More dom.el fixes.
4158
4159 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4160
4161 * net/newst-backend.el (newsticker--parse-generic-items):
4162 Take care of UIDs when adding elements to cache.
4163
4164 2014-11-26 Alan Mackenzie <acm@muc.de>
4165
4166 Remove spurious reference to symbol category_properties.
4167 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4168
4169 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170
4171 * net/eww.el: Use the new dom.el accessors throughout.
4172
4173 * net/shr.el: Ditto.
4174
4175 * dom.el: New file.
4176
4177 2014-11-26 Glenn Morris <rgm@gnu.org>
4178
4179 * arc-mode.el (archive-visit-single-files): Add :version.
4180
4181 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4182
4183 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4184 elements.
4185 (nsm-warnings-ok-p): The new version of this function always
4186 returned nil when everything was OK.
4187
4188 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4189
4190 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4191
4192 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4193 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4194
4195 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4196
4197 * emacs-lisp/byte-run.el (function-put): Match argument names to
4198 docstring.
4199
4200 2014-11-24 Sam Steingold <sds@gnu.org>
4201
4202 * vc/vc-hooks.el (vc-directory-exclusion-list):
4203 Fix a trivial typo (bug#19171).
4204
4205 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * vc/vc-hooks.el (vc-state-base-face): Don't override
4208 mode-line-inactive.
4209
4210 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4211
4212 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4213 (eww-process-text-input): Inhibit read only so that input fields
4214 don't get shortened (bug#19085).
4215
4216 2014-11-24 Leo Liu <sdl.web@gmail.com>
4217
4218 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4219
4220 * window.el (with-temp-buffer-window)
4221 (with-current-buffer-window, with-displayed-buffer-window):
4222 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4223 * emacs-lisp/cl-lib.el (substring):
4224 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4225
4226 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4227
4228 * isearch.el (isearch-update): Don't assume
4229 pos-visible-in-window-p will return nil when point is hscrolled
4230 out of view. (Bug#19157)
4231
4232 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4233
4234 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4235 (eww-follow-link): Follow in new buffer in case of prefix
4236 argument, open externally with double prefix (bug#19130).
4237
4238 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4239
4240 * net/eww.el (eww-display-html): Decode the document-defined charset.
4241 (eww): Pop to the *eww* buffer immediately after executing the
4242 `M-x eww' command to avoid having buffers pop up later.
4243 (eww-display-html): Don't pop the *eww* buffer.
4244 (eww-display-raw): Ditto.
4245 (eww-display-image): Ditto.
4246 (eww-follow-link): Make going to #targets in the page work again.
4247
4248 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4249
4250 * net/eww.el (eww-suggest-uris): New variable.
4251 (eww-suggested-uris): New function.
4252 (eww): Default to URL under point.
4253 (eww-links-at-point): New function.
4254
4255 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4256
4257 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4258
4259 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4260
4261 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4262
4263 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4264
4265 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4266 (eww-display-raw): Use it (bug#16225).
4267
4268 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * net/nsm.el (network-security-level): Rename from
4271 `nsm-security-level' and documented.
4272
4273 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4274 we're sending a password.
4275
4276 * net/nsm.el: New file that implements a Network Security Manager.
4277
4278 * net/network-stream.el (open-network-stream): Add a new
4279 :warn-unless-encrypted parameter.
4280 (network-stream-open-plain): Allow warning unless encrypted.
4281 (network-stream-open-starttls): Call the Network Security Manager.
4282 (network-stream-open-tls): Ditto.
4283
4284 2014-11-23 Leo Liu <sdl.web@gmail.com>
4285
4286 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4287 (calendar-chinese-to-absolute-for-diary)
4288 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4289 Handle leap months in Chinese calendar. (Bug#18953)
4290
4291 2014-11-22 Alan Mackenzie <acm@muc.de>
4292
4293 Fix error with `mark-defun' and "protected:" in C++ Mode.
4294 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4295 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4296
4297 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4298
4299 * net/newst-backend.el (newsticker--sentinel-work):
4300 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4301
4302 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4305 (tramp-sh-handle-process-file): Propagate `process-environment'.
4306
4307 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4308 Tramp propagates environment variables now.
4309
4310 2014-11-22 Eric S. Raymond <esr@snark>
4311
4312 * vc/vc-filewise.el: New file to isolate code used only by the
4313 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4314 live in vc.el and certainly not in vc-hooks.el.
4315
4316 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4317 This is preparatory to isolating all the 'master' functions
4318 used only by the file-oriented back ends. With this done first,
4319 the substantive diffs will be easier to read.
4320
4321 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4322
4323 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4324 that is recognized by `help-mode'.
4325
4326 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * desktop.el (desktop-create-buffer): Use activate-mark to set
4329 `mark-active' (bug#19058).
4330
4331 2014-11-21 Eric S. Raymond <esr@snark>
4332
4333 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4334 nil state.
4335
4336 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4337
4338 * vc/vc.el (vc-deduce-fileset): Support invocation from
4339 *vc-change-log* buffer. (Bug#19084)
4340
4341 2014-11-13 Matthew Leach <matthew@mattleach.net>
4342
4343 * arc-mode.el (archive-visit-single-files): New.
4344 (archive-mode): Visit file if archive contains a single file.
4345 (Bug#1702)
4346
4347 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4348
4349 * vc/vc.el: Fix a typo in the commentary.
4350
4351 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4352
4353 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4354 testing and a real log-view mode.
4355
4356 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4357 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4358 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4359 checkout methods; where it matters (which is only in SCCS and RCS)
4360 files are always checked out editable. This may actually have
4361 been dynamically true already - it looks like the vc-next-action
4362 code evolved past visiting the other case. Tested with RCS.
4363
4364 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4365 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4366 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4367 argument from the backend checkin methods. Only the RCS, SCCS,
4368 and CVS back ends tried to do anything with it, and that code was
4369 never exercised. Chiseling away the cruft of decades...
4370
4371 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4372
4373 * net/eww.el (eww-render): Remove a no-op :title setting.
4374
4375 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4376
4377 * net/eww.el (eww-history-limit): New variable.
4378 (eww-save-history): Use it (bug#19105).
4379 (eww-reload): Reload the page in the right buffer.
4380
4381 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4382
4383 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4384
4385 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4386
4387 * net/eww.el (eww-desktop-remove-duplicates)
4388 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4389 (eww-mode): Set up desktop mode (bug#18010).
4390 (eww-desktop-data-save, eww-desktop-data-1)
4391 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4392 (eww-restore-desktop): New functions.
4393
4394 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4395
4396 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4397 correct buffer. (Bug#19101)
4398
4399 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4400
4401 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4402 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4403
4404 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4405
4406 * ido.el (ido-bury-buffer-at-head): New command.
4407 (ido-buffer-completion-map): Bind it to C-S-b.
4408
4409 2014-11-18 Juri Linkov <juri@linkov.net>
4410
4411 * simple.el (next-line-or-history-element): Wrap next-line
4412 in with-no-warnings.
4413 (previous-line-or-history-element): Wrap previous-line
4414 in with-no-warnings.
4415
4416 2014-11-18 Juri Linkov <juri@linkov.net>
4417
4418 * progmodes/grep.el (grep-compute-defaults):
4419 Compute grep-highlight-matches before its use.
4420
4421 2014-11-18 Juri Linkov <juri@linkov.net>
4422
4423 * replace.el (query-replace-from-to-separator): Turn defvar into
4424 defcustom. Wrap char-displayable-p in ignore-errors because an
4425 attempt to autoload char-displayable-p fails during pre-loading.
4426 Move (propertize "\0" ... 'separator t) out of customizable part
4427 to query-replace-read-from.
4428 (query-replace-read-from): Call custom-reevaluate-setting on
4429 query-replace-from-to-separator to reevaluate the separator
4430 depending on the return value of char-displayable-p.
4431 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4432
4433 2014-11-18 Juri Linkov <juri@linkov.net>
4434
4435 * bindings.el (minibuffer-local-map): Rebind [down] from
4436 next-history-element to next-line-or-history-element, and [up]
4437 from previous-history-element to previous-line-or-history-element.
4438
4439 * simple.el (next-line-or-history-element)
4440 (previous-line-or-history-element): New commands.
4441 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4442
4443 2014-11-18 Leo Liu <sdl.web@gmail.com>
4444
4445 * emacs-lisp/nadvice.el (define-advice): New macro.
4446 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4447 Add define-advice.
4448 (lisp-font-lock-keywords-1): Add define-advice.
4449
4450 2014-11-18 Daiki Ueno <ueno@gnu.org>
4451
4452 * epg.el (epg-context): New slot EDIT-CALLBACK.
4453 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4454 (epg-reset): Reset EDIT-CALLBACK of the context.
4455 (epg-start-edit-key): New function.
4456 (epg-edit-key): New function.
4457
4458 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4459
4460 Port new time stamp handling to Emacs 23.2.
4461 This fix is for Gnus. Reported by Katsumi Yamaoka.
4462 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4463 Use eval-and-compile, not eval-when-compile.
4464
4465 2014-11-18 Daiki Ueno <ueno@gnu.org>
4466
4467 * epg.el (epg-context-set-passphrase-callback)
4468 (epg-context-set-progress-callback): Check if the CALLBACK
4469 argument is a function, instead of a cons.
4470
4471 2014-11-18 Daiki Ueno <ueno@gnu.org>
4472
4473 * epa-file.el (epa-file-insert-file-contents)
4474 (epa-file-write-region): Remove redundant check of
4475 epa-pinentry-mode.
4476 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4477 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4478 epa-pinentry-mode.
4479
4480 2014-11-18 Daiki Ueno <ueno@gnu.org>
4481
4482 * epa-file.el (epa-file-insert-file-contents): Don't show
4483 "*Error*" buffer if input file does not exist.
4484 Reported by Herbert J. Skuhra.
4485
4486 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4487 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4488
4489 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4490 An alternative version of the patch from bug#13871.
4491 (c-operators): Add "alignof".
4492 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4493 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4494 (c-modifier-kwds): Add "thread_local".
4495 (c-constant-kwds): Add "nullptr".
4496
4497 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4498
4499 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4500 New variables for specifying tildify pattern and representation of
4501 a hard space -- a no-break space by default -- respectively.
4502 Being buffer-local they are much easier to handle than
4503 `tildify-string-alist' and `tildify-pattern-alist' respectively
4504 that have been used so far. They also works better with derived
4505 modes.
4506 (tildify-foreach-region-function): New variable specifying
4507 a function determining portions of buffer that should be
4508 tildified. It allows major modes to create a filtering function
4509 more elaborate than a set of regular expressions. Initialised to
4510 `tildify--deprecated-ignore-evironments' by default to handle now
4511 deprecated `tildify-ignored-environments-alist' variable.
4512 (tildify--foreach-region): A new function that takes
4513 `tildify-foreach-region-function' into account and calls callback
4514 for regions of the buffer that should be tildified.
4515 (tildify-foreach-ignore-environments): A new function which can be
4516 partially applied and used as `tildify-foreach-region-function'.
4517 (tildify-ignored-environments-alist, tildify-pattern)
4518 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4519 (tildify--find-env): Rename from `tildify-find-env' and mark as
4520 obsolete.
4521 (tildify--deprecated-ignore-evironments): New function,
4522 immediately marked as obsolete, used to handle deprecated
4523 `tildify-ignored-environments-alist'.
4524
4525 * textmodes/tex-mode.el (tex-common-initialization):
4526 Set `tildify-space-string' and `tildify-foreach-region-function'
4527 variables in all variants of TeX mode since `tildify-string-alist'
4528 and `tildify-ignored-environments-alist' are now empty by default.
4529
4530 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4531 If encoding supports it use no-break space instead of character
4532 entity; this changes previous default which used a numeric
4533 reference.
4534
4535 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4536 If encoding does not support no-break space, use numeric reference;
4537 this changes previous default which used named entity (“&nbsp;”)
4538 in HTML mode.
4539
4540 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4541
4542 * calendar/icalendar.el (icalendar-export-alarms):
4543 New customizable variable. (Bug#5433)
4544 (icalendar-export-region): Export alarms as specified in
4545 `icalendar-export-alarms'.
4546 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4547 New functions for exporting alarms.
4548
4549 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4550
4551 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4552
4553 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4554
4555 Port new time stamp handling to old Emacs and to XEmacs.
4556 This is needed for Gnus, which copies time-date.el and which
4557 runs on older Emacs implementations.
4558 * calendar/time-date.el (with-decoded-time-value):
4559 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4560 (encode-time-value, with-decoded-time-value):
4561 Obsolete only if new Emacs.
4562 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4563
4564 Improve time stamp handling, and be more consistent about it.
4565 This implements a suggestion made in:
4566 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4567 Among other things, this means timer.el no longer needs to
4568 autoload the time-date module.
4569 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4570 * arc-mode.el (archive-ar-summarize):
4571 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4572 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4573 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4574 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4575 * proced.el (proced-time-lessp):
4576 * timezone.el (timezone-time-from-absolute):
4577 * type-break.el (type-break-schedule, type-break-time-sum):
4578 Simplify by using new functionality.
4579 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4580 Do not return time values in obsolete and undocumented (HI . LO)
4581 format; use (HI LO) instead.
4582 * calendar/time-date.el (with-decoded-time-value):
4583 Treat 'nil' as current time. This is mostly for XEmacs.
4584 (encode-time-value, with-decoded-time-value): Obsolete.
4585 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4586 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4587 * ldefs-boot.el: Update to match new time-date.el
4588 * proced.el: Do not require time-date.
4589
4590 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4591
4592 * net/eww.el (eww-mode): Make the buffer read-only.
4593 (eww-form-text): Inhibit read-only-ness in text input fields
4594 (bug#16476).
4595
4596 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * simple.el (execute-extended-command--shorter): Cut search here.
4599 (execute-extended-command): Instead of here.
4600
4601 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4602
4603 * progmodes/python.el (python-mode): Avoid use of set-local to
4604 keep Emacs 24.x compatibility.
4605
4606 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4607
4608 * net/shr.el (shr): Move to the new defgroup `web'.
4609
4610 * net/eww.el (eww): Ditto.
4611
4612 * simple.el (execute-extended-command): Don't show the help
4613 message if the binding isn't significantly shorter than the
4614 M-x command the user typed (bug#19013).
4615
4616 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4617
4618 * calendar/icalendar.el (icalendar--convert-tz-offset):
4619 Return complete cons when offsets of standard time and daylight saving
4620 time are equal.
4621 (icalendar-export-region): Fix unbound variable warning.
4622
4623 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4624
4625 * progmodes/python.el (run-python): Allow CMD to be optional and
4626 default it to a safe command, even for Windows. (bug#18596)
4627
4628 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4629
4630 * progmodes/python.el (python-shell-calculate-command):
4631 Rename from python-shell-parse-command. Cleanup.
4632 (run-python, run-python-internal): Use it.
4633 (python-shell-calculate-pythonpath): Rename from
4634 python-new-pythonpath.
4635 (python-shell-calculate-process-environment): Use it.
4636 (python-shell-calculate-exec-path): Add comment.
4637
4638 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
4639
4640 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4641 for date handling.
4642
4643 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
4644
4645 * version.el (emacs-repository-get-version): Use git rev-parse
4646 instead of git log.
4647
4648 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4649
4650 * progmodes/python.el (python-indent-calculate-levels):
4651 Fix indentation behavior multiline dedenter statement. (Bug#18432)
4652
4653 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4654
4655 * progmodes/python.el (python-indent-region):
4656 Use python-indent-line and skip special cases. (Bug#18843)
4657
4658 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
4659
4660 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4661 envelope-from when reporting through sendmail (bug#19054).
4662
4663 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
4664
4665 Add faces for the VC modeline state indicator.
4666 * vc/vc-hooks.el:
4667 (vc-state-faces, vc-state-base-face)
4668 (vc-up-to-date-state, vc-needs-update-state)
4669 (vc-locked-state, vc-locally-added-state)
4670 (vc-conflict-state, vc-removed-state)
4671 (vc-missing-state, vc-edited-state):
4672 New faces.
4673 (vc-default-mode-line-string): Use them
4674
4675 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4678
4679 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4680
4681 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4682
4683 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
4684
4685 * progmodes/python.el (python-eldoc-setup-code): Enhance string
4686 type checks, simplify printing. (Bug#18962)
4687
4688 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
4689
4690 * progmodes/python.el (python-shell-font-lock-kill-buffer):
4691 (python-shell-font-lock-with-font-lock-buffer)
4692 (python-shell-get-buffer, python-ffap-module-path):
4693 Use `derived-mode-p' instead of equality test on `major-mode'.
4694
4695 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4696
4697 * progmodes/python.el (python-shell-virtualenv-root): Rename from
4698 python-shell-virtualenv-path.
4699 (python-shell-internal-get-process-name)
4700 (python-shell-calculate-process-environment)
4701 (python-shell-calculate-exec-path): Use it.
4702
4703 2014-11-14 Eli Zaretskii <eliz@gnu.org>
4704
4705 * bindings.el (search-map): Fix last change: don't use 'kbd' in
4706 bindings.el, since it is not yet loaded when bindings.el is
4707 preloaded.
4708
4709 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4710
4711 * progmodes/python.el (python-shell-completion-get-completions):
4712 Fix previous merge.
4713
4714 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4715
4716 * net/eww.el (eww-render): Don't set the title to the URL.
4717
4718 2014-11-13 Ulrich Müller <ulm@gentoo.org>
4719
4720 * version.el (emacs-repository-get-version): Call `git log'
4721 command with proper format argument (bug#19049).
4722
4723 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4724
4725 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4726
4727 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4728
4729 * net/eww.el (eww-search-words): New command (bug#16258).
4730
4731 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4732
4733 * net/shr.el (shr-inhibit-images): Add a doc string.
4734
4735 * net/eww.el (eww-after-render-hook): New variable.
4736 (eww-render): Use it.
4737
4738 * net/shr.el (shr-descend): Don't descend further than
4739 `max-specpdl-size' allows (bug#16587).
4740 (shr-depth): New variable.
4741 (shr-warning): New variable.
4742
4743 2014-11-13 Ivan Shmakov <ivan@siamics.net>
4744
4745 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4746 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4747
4748 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4749
4750 * net/eww.el (eww): Add comment to clarify.
4751
4752 * net/shr.el (shr-parse-image-data): Remove blocked bits from
4753 external SVG images.
4754 (shr-tag-object): Display images in <object> forms (bug#16244).
4755 (shr-tag-table): Also insert <objects> after the tables.
4756
4757 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4758
4759 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
4760
4761 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762
4763 * net/eww.el (eww-form-file): Fix version number.
4764
4765 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4766
4767 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4768
4769 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4770
4771 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4772 (eww-submit-file): New key map of file upload.
4773 (eww-form-file): New file upload button and file name context.
4774 (eww-select-file): Select file and display selected file name.
4775 (eww-tag-input): Handle input tag of file type.
4776 (eww-update-field): Add point offset.
4777 (eww-submit): Add submit with multipart/form-data.
4778
4779 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4780
4781 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4782 Allow taking a buffer to render data in. This allows using several
4783 eww buffers (bug#16211).
4784
4785 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
4786
4787 * net/eww.el (eww-download-callback): Save only the file contents,
4788 not the headers.
4789
4790 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
4792 * net/eww.el (eww-data): New plist to store all the data relevant
4793 to a single page, used throughout the file instead of the
4794 variables `eww-current-url', `eww-current-dom',
4795 `eww-current-source', and `eww-current-title'.
4796 (eww-readable): Copy over pertinent data from the parent page.
4797 (eww-save-history): Don't let the history grow infinitely.
4798
4799 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4800 `eww-up-url', `eww-home-url', `eww-start-url' and
4801 `eww-contents-url' and put the data into the `eww-data' plist.
4802 This allow restoring these values after going back in the history.
4803
4804 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
4805
4806 Allow VTIMEZONE where daylight and standard time zones are equal.
4807 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4808 * calendar/icalendar.el (icalendar--convert-tz-offset):
4809 Support timezone without daylight saving time.
4810
4811 2014-11-10 Glenn Morris <rgm@gnu.org>
4812
4813 * startup.el (command-line): Handle nil elements in load-path.
4814
4815 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * help.el (view-lossage): Include the actual commands run.
4818
4819 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
4820
4821 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4822 no state is specified. (Bug#18964)
4823
4824 2014-11-09 Eric Ludlam <zappo@gnu.org>
4825
4826 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4827 Set eieio-cog (current group) to g, which is an improved form of input
4828 group.
4829
4830 2014-11-09 Juri Linkov <juri@jurta.org>
4831
4832 * isearch.el (isearch-message-prefix): Show "Multi-file" and
4833 "Multi-buffer" instead of "Multi". (Bug#13592)
4834
4835 * misearch.el (multi-isearch-file-list):
4836 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4837 (multi-isearch-end): Reset multi-isearch-buffer-list and
4838 multi-isearch-file-list to nil.
4839
4840 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4843 Don't call byte-compile-preprocess since the result will go through
4844 cconv.
4845 (byte-compile-output-docform): Handle uninterned `name' correctly.
4846 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4847 to circumvent byte-compiler bug.
4848
4849 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4850 (macroexp--compiler-macro): Remove left-over debug code.
4851
4852 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4853
4854 2014-11-08 Juri Linkov <juri@jurta.org>
4855
4856 * simple.el (shell-command): Use buffer-name when output-buffer is
4857 a buffer. (Bug#18096)
4858
4859 2014-11-08 Juri Linkov <juri@jurta.org>
4860
4861 * minibuffer.el (minibuffer-completion-help): Compare this-command
4862 with completion-at-point. (Bug#17809)
4863
4864 2014-11-08 Glenn Morris <rgm@gnu.org>
4865
4866 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4867 Allow the argument to be a string. Due to the vague doc,
4868 it was already being used this way.
4869
4870 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4871
4872 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4873 the constructed Tramp file name. (Bug#18943)
4874
4875 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4878 (bug#18952).
4879 (cua-set-mark, cua--post-command-handler-1):
4880 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4881
4882 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4883
4884 * files.el (file-name-non-special): Wrap the call of
4885 `insert-file-contents' by `unwind-protect', in order to set the
4886 buffer's file name anyway. (Bug#18891)
4887
4888 2014-11-08 Alan Mackenzie <acm@muc.de>
4889
4890 Fix wrong bound to c-font-lock-declarators.
4891 * progmodes/cc-fonts.el (c-font-lock-declarations):
4892 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4893 the buffer is sometimes narrowed to less than "limit" (e.g., in
4894 the presence of macros). (Bug#18948)
4895
4896 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4899 only when message appeared in minibuffer. (Bug#18891)
4900
4901 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4902 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4903 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4904 case of errors.
4905
4906 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4909 Don't compile before eval in `eval-and-compile'.
4910 (byte-compile-arglist-warn): Add check for defining macros after their
4911 first use. Check call use even if the function is fboundp.
4912
4913 2014-11-08 Richard Stallman <rms@gnu.org>
4914
4915 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4916 Check more carefully for mime-part specified character set.
4917 Check for mime-part Content Transfer Encoding.
4918 Notify if no armor found.
4919
4920 2014-11-08 Martin Rudalics <rudalics@gmx.at>
4921
4922 * faces.el (face-set-after-frame-default): Enable running
4923 `window-configuration-change-hook'.
4924
4925 2014-11-07 Juri Linkov <juri@jurta.org>
4926
4927 * replace.el: History for query replace pairs.
4928 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
4929 (query-replace-from-to-separator): New variable.
4930 (query-replace-read-from): Let-bind query-replace-from-to-history
4931 to a list of FROM-TO strings created from query-replace-defaults
4932 and separated by query-replace-from-to-separator. Use it as
4933 the history while reading from the minibuffer. Split the returned
4934 string by the separator to get FROM and TO parts, and add them
4935 to the history variables.
4936 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4937 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4938 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4939
4940 * isearch.el (isearch-text-char-description): Keep characters
4941 intact and put formatted strings with the `display' property.
4942
4943 2014-11-07 Martin Rudalics <rudalics@gmx.at>
4944
4945 * cus-start.el (frame-resize-pixelwise): Fix group.
4946 (frame-inhibit-implied-resize): Add entry.
4947
4948 2014-11-07 Daiki Ueno <ueno@gnu.org>
4949
4950 * epa.el (epa-pinentry-mode): New user option.
4951 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4952 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4953 * epa-file.el (epa-file-insert-file-contents)
4954 (epa-file-write-region): Respect epa-pinentry-mode.
4955
4956 2014-11-07 Daiki Ueno <ueno@gnu.org>
4957
4958 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4959 (bug#18979). Reported by Hideki Saito.
4960
4961 2014-11-06 Daiki Ueno <ueno@gnu.org>
4962
4963 * emacs-lisp/package.el (package--display-verify-error): New function.
4964 (package--check-signature): Use it to display output sent to stderr.
4965
4966 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * subr.el (pop): Don't call the getter twice (bug#18968).
4969
4970 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4971 uses of `funcall'.
4972
4973 2014-11-06 Daiki Ueno <ueno@gnu.org>
4974
4975 * epa.el (epa-error-buffer): New variable.
4976 (epa-display-error): New function.
4977 (epa-decrypt-file, epa-verify-file, epa-verify-region)
4978 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4979 (epa-sign-file, epa-sign-region, epa-encrypt-region)
4980 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4981 Use setf instead of epg-context-set-*.
4982 * epa-file.el (epa-file-insert-file-contents):
4983 Use epa-display-error instead of epa-display-info. Mimic the behavior
4984 of jka-compr when decryption program is not found.
4985 (epa-file-write-region): Use epa-display-error instead of
4986 epa-display-info.
4987
4988 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * vc/vc.el (vc-region-history): New command.
4991 (vc-print-log-internal): Use cl-some.
4992
4993 * vc/vc-git.el (vc-git-region-history): New function.
4994 (vc-git-region-history-mode-map)
4995 (vc-git--log-view-long-font-lock-keywords)
4996 (vc-git-region-history-font-lock-keywords): New vars.
4997 (vc-git-region-history-font-lock): New function.
4998 (vc-git-region-history-mode): New major mode.
4999
5000 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5001
5002 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5003 uses string-trim.
5004
5005 2014-11-05 Daiki Ueno <ueno@gnu.org>
5006
5007 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5008 (epg-error-output): New buffer-local variable.
5009 (epg--start): Initialize epg-error-output.
5010 (epg--process-filter): Record output lines sent to stderr, in
5011 epg-error-output.
5012 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5013 slot of context.
5014 * epa-file.el (epa-file-insert-file-contents): On error, display
5015 output sent to stderr.
5016 (epa-file-write-region): Likewise.
5017
5018 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5019
5020 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5021 returned by load-average.
5022
5023 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5026 a local copy; setting `inhibit-file-name-handlers' proper might be
5027 more performant. (Bug#18751)
5028
5029 2014-11-05 Glenn Morris <rgm@gnu.org>
5030
5031 * mail/emacsbug.el (report-emacs-bug): No longer include
5032 recent-keys in the report. (Bug#18900)
5033
5034 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5035
5036 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5037
5038 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5039
5040 * net/eww.el (eww): Trim URL with `string-trim'.
5041 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5042
5043 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5044
5045 * net/eww.el (eww-score-readability): Don't count comments positively.
5046
5047 * net/shr.el (shr-retransform-dom): Typo fix.
5048
5049 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5050 (eww-display-html): Don't leave point inside forms.
5051
5052 * net/shr.el: Ditto.
5053
5054 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5057 edebug-prin1-to-string already handles circularity.
5058
5059 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5060 autoloading when specified as a lambda.
5061
5062 * simple.el (execute-extended-command--last-typed): New var.
5063 (read-extended-command): Set it.
5064 Don't complete obsolete commands.
5065 (execute-extended-command--shorter-1)
5066 (execute-extended-command--shorter): New functions.
5067 (execute-extended-command): Use them to suggest shorter names.
5068 (indicate-copied-region, deactivate-mark): Use region-active-p.
5069
5070 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5073 local copy of FILENAME, when it is remote. (Bug#18751)
5074
5075 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5076 an error when the command fails; the return code must indicate.
5077 (tramp-adb-send-command-and-check): Fix docstring.
5078
5079 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5080
5081 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5082 have no children like <br />.
5083
5084 * net/eww.el (eww-display-html): Clear `url-queue'.
5085 (eww-display-pdf): New function.
5086 (eww-render): Display PDFs with `doc-view'.
5087 (url-queue): Require `url-queue' to avoid compilation warning.
5088 (eww-colorize-region): Remove duplicate function.
5089 (eww-tag-body): Use `shr-colorize-region'.
5090
5091 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5092
5093 * net/eww.el (eww-list-bookmarks): Autoload.
5094
5095 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5098
5099 * net/eww.el (eww-display-html): The charset is called `utf-8',
5100 not `utf8'.
5101 (eww-readable): Decode the saved text correctly.
5102 (eww-readable): Save the history before displaying so that we can
5103 go back to the non-readable version.
5104 (eww-display-html): Don't try to decode the text if we've been
5105 passed in a pre-parsed DOM.
5106 (eww-tag-title): Remove newlines and extra whitespace from the
5107 displayed title.
5108
5109 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110
5111 * net/eww.el (eww-readable): New command and keystroke.
5112
5113 * net/shr.el (shr-retransform-dom): New function.
5114
5115 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5116 correct buffer.
5117 (eww-view-source): Use it.
5118
5119 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5120
5121 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5122 (Bug#18603).
5123
5124 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5125
5126 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5127
5128 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5129
5130 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5131
5132 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5133
5134 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5135 (Bug#18834).
5136
5137 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5138
5139 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5140 use as advice.
5141 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5142
5143 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5146 (bug#18821).
5147 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5148
5149 2014-11-01 Michael R. Mauger <michael@mauger.com>
5150
5151 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5152 syntax, add new keywords, and parse longer keywords first.
5153 (sql-redirect-one): Protect against empty command.
5154 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5155 to SQL. (Bug#14759)
5156
5157 2014-11-01 Michael R. Mauger <michael@mauger.com>
5158
5159 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5160 Bug#16814 with let-bind of comint-input-ring variables around read
5161 and save functions.
5162
5163 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5164
5165 * net/tramp-cache.el (tramp-get-file-property)
5166 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5167 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5168 be compiler warnings.
5169
5170 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5171 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5172
5173 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5174
5175 * progmodes/compile.el (compilation-mode): Turn off deferred
5176 fontifications locally. (Bug#18856)
5177
5178 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5179
5180 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5181 remote-echo connection property is non-nil (bug#18858).
5182
5183 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * simple.el (newline): Add assertions to try and help catch bug#18913.
5186
5187 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5188 (bug#18886).
5189 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5190
5191 2014-11-01 Kim F. Storm <storm@cua.dk>
5192
5193 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5194 * delsel.el (delete-selection-save-to-register)
5195 (delsel--replace-text-or-position): New vars.
5196 (delete-active-region): Use them.
5197 (delete-selection-repeat-replace-region): New command, moved from
5198 cua-base.el.
5199 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5200 (cua-repeat-replace-region): Move command to delsel.el.
5201 (cua--init-keymaps): Update binding accordingly.
5202 (cua-mode): Set delete-selection-save-to-register.
5203
5204 2014-11-01 Alan Mackenzie <acm@muc.de>
5205
5206 Make blink-parens work with a closing template delimiter.
5207 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5208 before calling blink-paren-function, so as to apply syntax-table
5209 properties to the ">".
5210
5211 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5212
5213 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5214
5215 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5218 (macroexp--expand-all): Unrelated tweaks.
5219
5220 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5221
5222 2014-10-30 Glenn Morris <rgm@gnu.org>
5223
5224 * startup.el (command-line): Remove pointless attempt to avoid
5225 statting the file-system (which expand-file-name doesn't do).
5226
5227 2014-10-30 Daniel Colascione <dancol@dancol.org>
5228
5229 Add "enum class" support to C++ mode.
5230 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5231 (c-after-brace-list-key): New language consts/variables.
5232 * progmodes/cc-engine.el (c-looking-at-decl-block):
5233 Exclude spurious match of "enum struct" from decl-block recognition.
5234 (c-backward-colon-prefixed-type): New function.
5235 (c-backward-over-enum-header): Call above function to extend
5236 recognition of enum structure.
5237
5238 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5241 (c-lang-defconst):
5242 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5243
5244 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5245
5246 * progmodes/compile.el (compilation-start):
5247 If compilation-scroll-output is non-nil, don't force window-start of
5248 the compilation buffer to be at beginning of buffer. (Bug#18874)
5249
5250 * startup.el (fancy-about-text): Read the entire tutorial, not
5251 just its first 256 bytes. (Bug#18760)
5252
5253 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5256 * emacs-lisp/cl-extra.el: Add missing provide.
5257
5258 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5259 all args are copyable (bug#18767).
5260 (=, <, >, <=, >=): Re-enable the optimization.
5261
5262 2014-10-29 Glenn Morris <rgm@gnu.org>
5263
5264 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5265
5266 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5267 Revert 2014-10-26 change.
5268
5269 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5270
5271 Simplify use of current-time and friends.
5272 * allout-widgets.el (allout-widgets-hook-error-handler):
5273 * calendar/appt.el (appt-display-message):
5274 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5275 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5276 (timeclock-last-period, timeclock-day-base):
5277 * eshell/em-ls.el (eshell-ls-file):
5278 * eshell/esh-util.el (eshell-parse-ange-ls):
5279 * generic-x.el (named-database-print-serial):
5280 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5281 (newsticker-get-news, newsticker--sentinel-work)
5282 (newsticker--image-get, newsticker--image-sentinel):
5283 * net/tramp-sh.el (tramp-get-remote-touch):
5284 * progmodes/opascal.el (opascal-debug-log):
5285 * textmodes/remember.el (remember-mail-date)
5286 (remember-store-in-files):
5287 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5288 (vc-default-annotate-current-time):
5289 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5290 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5291 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5292 Omit unnecessary call to current-time.
5293 * calendar/time-date.el (time-to-seconds) [!float-time]:
5294 * vc/vc-annotate.el (vc-annotate-convert-time):
5295 Use current time if arg is nil, to be compatible with float-time.
5296 (time-date--day-in-year): New function, with most of the guts of
5297 the old time-to-day-in-year.
5298 (time-to-day-in-year): Use it.
5299 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5300 * calendar/timeclock.el (timeclock-time-to-date):
5301 Arg is now optional, like current-time-string.
5302 (timeclock-update-mode-line):
5303 Don't call current-time twice to get the current time stamp,
5304 as this can lead to inconsistent results.
5305 * completion.el (cmpl-hours-since-origin):
5306 * ido.el (ido-time-stamp):
5307 * vc/vc-annotate.el (vc-annotate-convert-time):
5308 Simplify by using float-time.
5309 * completion.el (save-completions-to-file):
5310 Rename local var to avoid confusion.
5311 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5312 time-to-seconds now behaves like float-time with respect to nil arg.
5313 * subr.el (progress-reporter-do-update):
5314 Don't call float-time unless needed.
5315
5316 2014-10-29 Leo Liu <sdl.web@gmail.com>
5317
5318 * net/rcirc.el (rcirc-fill-column): Use function.
5319 (rcirc-markup-fill): Remove adjustment.
5320
5321 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5322
5323 * calc/calc.el (quick-calc):
5324 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5325
5326 2014-10-28 Sam Steingold <sds@gnu.org>
5327
5328 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5329 the sake of `window-body-width' (in addition to `frame-width').
5330
5331 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5332
5333 * version.el: Fix some fallback values to conform to the actual
5334 release number.
5335
5336 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5337
5338 * Makefile.in: Change some production names so they're neutral
5339 about the repository type.
5340
5341 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5342
5343 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5344 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5345 during initialization. (Bug#18774)
5346
5347 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5348
5349 * ses.el (macroexp): Add require for this package, so that
5350 function `ses--cell' gets macroexp-quote --- this change was
5351 supposed to be in my previous commit, but left out by mistake.
5352 (ses--cell): Do not make formula a macroexp-quote of value when
5353 value, not formula, is *skip*.
5354
5355 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5356
5357 * ses.el (macroexp): Add require for this package, so that function
5358 `ses--cell gets macroexp-quote.
5359 (ses--cell): Makes formula a macroexp-quote of value when formula
5360 is nil. The rationale of this changr is to allow in the future
5361 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5362 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5363 reference list REFLIST would be re-computed after load --- thus
5364 trading off load time against file size.
5365
5366 * emacs-lisp/package.el (package--alist-to-plist-args):
5367 Use macroexp-quote instead of a lambda expression which has the same
5368 content as macroexp-quote.
5369 (macroexp): Add require for this package, so that function
5370 `package--alist-to-plist-args' gets macroexp-quote.
5371
5372 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5373
5374 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * term/ns-win.el (ns-store-cut-buffer-internal)
5377 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5378
5379 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5380
5381 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5382 Calculate increment from last position instead of window edge.
5383 Add right- and bottom-divider bindings to transient map.
5384
5385 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5388 even if :predicate was nil, for the benefit of typep.
5389 Record the name of the predicate for typep's use.
5390 (cl--make-type-test): Use pcase. Obey new
5391 cl-deftype-satisfies property.
5392
5393 * epg.el: Use cl-defstruct.
5394 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5395 (epg-data-string): Define via cl-defstruct.
5396 (epg--gv-nreverse): New macro.
5397 (epg-context--make): New constructor (provided vi cl-defstruct).
5398 (epg-make-context): Rewrite using it.
5399 (epg-context-protocol, epg-context-program)
5400 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5401 (epg-context-include-certs, epg-context-cipher-algorithm)
5402 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5403 (epg-context-passphrase-callback, epg-context-progress-callback)
5404 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5405 (epg-context-output-file, epg-context-result, epg-context-operation)
5406 (epg-context-pinentry-mode): Define using cl-defstruct.
5407 (epg-context-set-protocol, epg-context-set-program)
5408 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5409 (epg-context-set-digest-algorithm)
5410 (epg-context-set-sig-notations, epg-context-set-process)
5411 (epg-context-set-output-file, epg-context-set-result)
5412 (epg-context-set-operation, epg-context-set-pinentry-mode)
5413 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5414 (epg-context-set-armor, epg-context-set-textmode)
5415 (epg-context-set-signers): Redefine using setf
5416 and declare as obsolete.
5417 (epg-context-set-passphrase-callback)
5418 (epg-context-set-progress-callback): Use setf.
5419 (epg-signature-notations): Rename from epg-sig-notations.
5420 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5421 (epg-signature-validity, epg-signature-fingerprint)
5422 (epg-signature-creation-time, epg-signature-expiration-time)
5423 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5424 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5425 (epg-signature-set-status, epg-signature-set-key-id)
5426 (epg-signature-set-validity, epg-signature-set-fingerprint)
5427 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5428 (epg-signature-set-pubkey-algorithm)
5429 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5430 (epg-signature-set-version, epg-signature-set-notations): Remove.
5431 Use setf instead.
5432 (epg-make-new-signature, epg-new-signature-type)
5433 (epg-new-signature-pubkey-algorithm)
5434 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5435 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5436 Define using cl-defstruct.
5437 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5438 (epg-key-user-id-list): Define using cl-defstruct.
5439 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5440 Use setf instead.
5441 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5442 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5443 (epg-sub-key-id, epg-sub-key-creation-time)
5444 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5445 cl-defstruct.
5446 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5447 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5448 (epg-user-id-signature-list): Define using cl-defstruct.
5449 (epg-user-id-set-signature-list): Remove. Use setf instead.
5450 (epg-make-key-signature, epg-key-signature-validity)
5451 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5452 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5453 (epg-key-signature-user-id, epg-key-signature-class)
5454 (epg-key-signature-exportable-p): Define using cl-defstruct.
5455 (epg-make-sig-notation, epg-sig-notation-name)
5456 (epg-sig-notation-value, epg-sig-notation-human-readable)
5457 (epg-sig-notation-critical): Define using cl-defstruct.
5458 (epg-sig-notation-set-value): Remove. Use setf instead.
5459 (epg-make-import-status, epg-import-status-fingerprint)
5460 (epg-import-status-reason, epg-import-status-new)
5461 (epg-import-status-user-id, epg-import-status-signature)
5462 (epg-import-status-sub-key, epg-import-status-secret): Define using
5463 cl-defstruct.
5464 (epg-make-import-result, epg-import-result-considered)
5465 (epg-import-result-no-user-id, epg-import-result-imported)
5466 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5467 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5468 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5469 (epg-import-result-secret-read, epg-import-result-secret-imported)
5470 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5471 (epg-import-result-imports): Define using cl-defstruct.
5472
5473 * emacs-lisp/package.el: Require EPG during macroexpansion.
5474 (package--check-signature, package-import-keyring): Use setf instead of
5475 epg-context-set-home-directory.
5476
5477 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5480
5481 2014-10-23 Leo Liu <sdl.web@gmail.com>
5482
5483 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5484 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5485 (cfengine3-current-defun): New function.
5486 (cfengine3-mode): Set add-log-current-defun-function.
5487
5488 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * select.el: Use lexical-binding.
5491 (gui-set-selection): Provide an implementation for non-GUI frames
5492 (bug#18791).
5493 * term/x-win.el: Use lexical-binding.
5494 (x-clipboard-yank): Fix up missed renamings.
5495 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5496 (w32--set-selection): Fix up var names.
5497 * term/pc-win.el: Use lexical-binding.
5498 (w16-selection-exists-p): Silence compiler warning.
5499 (w16-selection-owner-p): Fix up missed renamings.
5500
5501 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5502
5503 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5504
5505 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5506
5507 * doc-view.el (doc-view-open-text): View the document's plain text
5508 in the current buffer instead of a new one.
5509 (doc-view-toggle-display): Handle the case where the current
5510 buffer contains the plain text contents of the document.
5511 (doc-view-initiate-display): Don't switch to fallback mode if the
5512 user wants to view the doc's plain text.
5513 (doc-view-set-doc-type): Use assoc-string instead of
5514 assoc-ignore-case.
5515
5516 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * subr.el (read-key): Fix clicks on the mode-line.
5519 (set-transient-map): Return exit function.
5520
5521 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5522 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5523 (mouse-yank-secondary): Use gui-get-selection.
5524 (mouse--down-1-maybe-follows-link): Use read-key.
5525
5526 * xt-mouse.el: Add `event-kind' property on the fly from
5527 xterm-mouse-translate-1 rather than statically at the outset.
5528
5529 2014-10-21 Daniel Colascione <dancol@dancol.org>
5530
5531 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5532 change window configuration when we turn it off.
5533
5534 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 Get rid of backend-dependent selection-handling functions for kill/yank
5537 and make it generic instead by relying on the lower-level selection
5538 management functions.
5539
5540 * select.el (select-enable-clipboard): Rename from
5541 gui-select-enable-clipboard.
5542 (select-enable-primary): Move from x-win.el and rename from
5543 x-select-enable-primary.
5544 (gui-last-selected-text): Remove.
5545 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5546 New vars.
5547 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5548 (gui-select-text-alist, gui-selection-value-alist): Remove.
5549 (x-select-request-type): Move from x-win.el.
5550 (gui--selection-value-internal): New function, taken from x-win's
5551 x-selection-value-internal.
5552 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5553 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5554 extend it to handle a nil value as a "disown" request.
5555 (gui-disown-selection-alist): Remove.
5556 (xselect-convert-to-delete): Adjust accordingly.
5557 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5558
5559 * term/x-win.el (x-last-selected-text-primary)
5560 (x-select-enable-primary): Remove (moved to select.el).
5561 (x-select-request-type): Move to select.el.
5562 (x-selection-value-internal, x--selection-value): Remove functions.
5563 (gui-selection-value, gui-select-text): Remove moethods.
5564 (gui-set-selection): Merge own and disown methods.
5565
5566 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5567 Delete function (move functionality into w32--set-selection and
5568 w32--get-selection).
5569 (gui-select-text, gui-selection-value): Don't define methods.
5570 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5571 New functions.
5572 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5573 Use them.
5574 (gui-selection-exists-p): Adjust to new name of C primitive.
5575
5576 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5577 test of gui-select-enable-clipboard, to make it usable as
5578 a gui-get-selection method.
5579 (gui-selection-exists-p): Adjust to new name of C primitive.
5580 (gui-set-selection): Merge own and disown methods.
5581 (gui-select-text, gui-selection-value): Delete methods.
5582 (w16--select-text): Delete function.
5583
5584 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5585 (ns-selection-value): Remove functions.
5586 (gui-select-text, gui-selection-value): Don't define method any more.
5587 (gui-set-selection): Merge the old own and disown methods.
5588 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5589 underlying C primitive.
5590
5591 * startup.el (command-line): Adjust now that `gui-method' expects nil
5592 for ttys.
5593
5594 * frame.el (gui-method): Use window-system rather than framep.
5595 (gui-method-declare): The tty case is now nil rather than t.
5596 (make-frame): Adjust accordingly.
5597
5598 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * net/newst-reader.el (newsticker--image-read): Simplify.
5601 (newsticker--icon-read): Use dolist and fix free var error.
5602
5603 * imenu.el (imenu--menubar-keymap): New var.
5604 (imenu-add-to-menubar): Set it to remember the keymap we used.
5605 (imenu-update-menubar): Use it instead of asking lookup-key.
5606
5607 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5608
5609 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5610
5611 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5612 case (bug#18767).
5613
5614 2014-10-21 Glenn Morris <rgm@gnu.org>
5615
5616 * Merge in all changes up to version 24.4 release.
5617
5618 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5621 case (bug#18767).
5622
5623 2014-10-20 Glenn Morris <rgm@gnu.org>
5624
5625 * Merge in all changes up to 24.4 release.
5626
5627 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
5628
5629 * net/newst-backend.el
5630 (newsticker--image-download-by-url-callback): Make this function
5631 actually work: Check status properly, then save image.
5632
5633 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5636 `this-event'.
5637 (mouse-drag-line): Unless there's no actual mouse, use the event's
5638 position info.
5639
5640 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * textmodes/css-mode.el (scss-mode): New major-mode.
5643 (css-mode-syntax-table): Use d style comment, to ease the scss case.
5644 (css-ident-re): Allow things like @-moz-keyframes.
5645 (scss--hash-re): New const.
5646 (css--font-lock-keywords): New function, extracted from
5647 css-font-lock-keywords.
5648
5649 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
5650
5651 * net/newst-backend.el: Require url-parse.
5652 (newsticker--get-news-by-wget): Store feed name as process property.
5653 (newsticker--sentinel): Read feed name from process property.
5654 (newsticker--sentinel-work): Rename argument name to feed-name.
5655 Rename variable imageurl to image-url. Pick icon url from Atom
5656 1.0 data. Launch download of feed icon.
5657 (newsticker--get-icon-url-atom-1.0): New.
5658 (newsticker--unxml)
5659 (newsticker--unxml-node)
5660 (newsticker--unxml-attribute): Documentation.
5661 (newsticker--icons-dir): New.
5662 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5663 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5664 (newsticker--image-download-by-wget): New. Use process properties
5665 for storing informations.
5666 (newsticker--image-sentinel): Read informations from process properties.
5667 (newsticker--image-save)
5668 (newsticker--image-remove)
5669 (newsticker--image-download-by-url)
5670 (newsticker--image-download-by-url-callback): New.
5671 (newsticker-opml-export): Handle url list entries containing a
5672 function instead of an url string.
5673
5674 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5675 (newsticker--print-extra-elements)
5676 (newsticker--do-print-extra-element):
5677 Documentation (newsticker--image-read): Optionally limit image height.
5678 Use imagemagick if possible.
5679 (newsticker--icon-read): New.
5680
5681 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5682 (newsticker--treeview-tree-expand): Use feed icons in treeview.
5683 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
5684 (newsticker--tree-widget-leaf-icon): Use feed icon.
5685
5686 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5689 Use help-function-arglist instead.
5690
5691 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5692 (eieio--with-scoped-class): Use `declare'.
5693 (eieio-defclass): Remove compatibility code.
5694 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5695 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5696
5697 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
5698
5699 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5700
5701 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5702 replacements to stock names before stock names in a list.
5703 Cdr may be a list, each name is tried in turn until one is found.
5704
5705 2014-10-18 Alan Mackenzie <acm@muc.de>
5706
5707 Check that a "macro" found near point-min isn't a ## operator.
5708 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5709 (c-beginning-of-macro): Use the above new function. (Bug#18749)
5710
5711 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
5712
5713 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5714 correct data to `gnutls-boot' (Bug#18664).
5715 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5716
5717 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
5718
5719 * whitespace.el (whitespace-style, whitespace-big-indent)
5720 (whitespace-big-indent-regexp, whitespace-style-value-list)
5721 (whitespace-toggle-option-alist, whitespace-interactive-char)
5722 (whitespace-toggle-options)
5723 (global-whitespace-toggle-options, whitespace-help-text)
5724 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5725 style to `whitespace-mode' to indicate that the line indentation
5726 is too deep. By default, 32 SPACEs or four TABs are considered
5727 too many but `whitespace-big-indent-regexp' can be configured.
5728
5729 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
5730
5731 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5732 tildify-mode-alist.
5733
5734 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5737 (defclass, defgeneric, defmethod): Add doc-string position.
5738 (with-slots): Require cl-lib.
5739
5740 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5741 (list-of): New type.
5742 (eieio--typep): Remove.
5743 (eieio-perform-slot-validation): Use cl-typep instead.
5744
5745 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5746
5747 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5748
5749 2014-10-16 Alan Mackenzie <acm@muc.de>
5750
5751 Trigger showing when point is in the "periphery" of a line or just
5752 inside a paren.
5753 * paren.el (show-paren-style, show-paren-delay)
5754 (show-paren-priority, show-paren-ring-bell-on-mismatch):
5755 Remove superfluous :group specifications.
5756 (show-paren-when-point-inside-paren)
5757 (show-paren-when-point-in-periphery): New customizable variables.
5758 (show-paren-highlight-openparen): Make into a defcustom.
5759 (show-paren--unescaped-p, show-paren--categorize-paren)
5760 (show-paren--locate-near-paren): New defuns.
5761 (show-paren--default): Refaactor and trigger on more paren
5762 positions.
5763 (show-paren-function): Small consequential changes.
5764
5765 2014-10-16 Tom Tromey <tom@tromey.com>
5766
5767 * files.el (auto-mode-alist): Use javascript-mode for .jsm
5768 (bug #18719).
5769
5770 2014-10-16 Eli Zaretskii <eliz@gnu.org>
5771
5772 * international/characters.el (bracket-type): Force pre-loading of
5773 uni-brackets.el.
5774
5775 2014-10-16 Alan Mackenzie <acm@muc.de>
5776
5777 * cus-edit.el (custom-command-apply): Specify the return value in
5778 the doc string.
5779 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5780 custom-command-apply has returned non-nil.
5781
5782 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5785 Remove incorrect handling of eldoc-print-after-edit.
5786 (eldoc-message-commands, eldoc-last-data): Use defvar.
5787 * loadup.el (emacs-lisp/eldoc): Load it.
5788
5789 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5790 (m4-mode): Use it.
5791 (m4--quoted-p): New function.
5792 (m4-font-lock-keywords): Don't handle #..\n comments any more.
5793 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5794 for most special characters.
5795
5796 * progmodes/compile.el (compilation--previous-directory): Simplify.
5797 (compilation-next-error): Ensure the parse before we look at
5798 compilation-message property.
5799
5800 2014-10-15 Eli Zaretskii <eliz@gnu.org>
5801
5802 * simple.el (what-cursor-position):
5803 * descr-text.el (describe-char): Update to support the new bidi
5804 characters.
5805
5806 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5807 Force bidi-paragraph-direction to 'left-to-right'. This fixes
5808 buffer-menu display when the first buffer happens to start with
5809 R2L letter.
5810
5811 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * progmodes/elisp-mode.el (elisp--local-variables-1):
5814 Handle quoted expressions (bug#18688).
5815
5816 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
5817 Michael Albinus <michael.albinus@gmx.de>
5818
5819 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5820 Reduce the amount of set environment variable commands.
5821
5822 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5823
5824 Fix import completion. (Bug#18582)
5825 * progmodes/python.el (python-shell-completion-get-completions):
5826 Fix import case regexp.
5827
5828 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5831 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
5832 * progmodes/prolog.el (prolog-electric--underscore): Same.
5833
5834 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
5835
5836 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5837
5838 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5839
5840 * cus-start.el (all): Add missing ns and boolean to
5841 ns-use-fullscreen-animation.
5842
5843 2014-10-11 Leo Liu <sdl.web@gmail.com>
5844
5845 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5846 Use strings.
5847 (cfengine3-create-imenu-index): New function.
5848 (cfengine3-mode): Use it for `imenu-create-index-function'.
5849 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5850 buffer is empty.
5851
5852 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5853
5854 * cus-start.el (all): Add ns-use-fullscreen-animation.
5855
5856 2014-10-11 Glenn Morris <rgm@gnu.org>
5857
5858 * calendar/diary-lib.el (diary-display-function):
5859 Drop support for deprecated nil and list forms.
5860 (diary-list-entries): Update for the above.
5861 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5862
5863 2014-10-10 Leo Liu <sdl.web@gmail.com>
5864
5865 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5866 (Bug#18656)
5867
5868 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * select.el (gui-selection-exists-p-alist): New method.
5871 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5872 * simple.el (deactivate-mark): Use it.
5873 * term/x-win.el (gui-selection-exists-p):
5874 * term/w32-win.el (gui-selection-exists-p):
5875 * term/pc-win.el (gui-selection-exists-p):
5876 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5877
5878 2014-10-10 Glenn Morris <rgm@gnu.org>
5879
5880 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5881 Fix :type. Allow t to mean no limit.
5882 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5883
5884 2014-10-09 Glenn Morris <rgm@gnu.org>
5885
5886 * frame.el (display-monitor-attributes-list): Doc tweaks.
5887
5888 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5889
5890 * faces.el (display-grayscale-p): Mention in the doc string that
5891 the argument can be either a display name or a frame.
5892
5893 * frame.el (display-pixel-height, display-pixel-width)
5894 (display-mm-height, display-mm-width, display-backing-store)
5895 (display-save-under, display-planes, display-color-cells)
5896 (display-visual-class, display-monitor-attributes-list)
5897 (display-screens): Mention in the doc string that the argument can
5898 be either a display name or a frame. Improve the docs of the
5899 monitor attributes. (Bug#18636)
5900
5901 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5902
5903 * term.el (term-window-width): Subtract 1 from the width when
5904 any fringe has zero width, not just the right fringe. (Bug#18601)
5905
5906 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5909
5910 2014-10-08 Leo Liu <sdl.web@gmail.com>
5911
5912 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5913
5914 2014-10-08 Glenn Morris <rgm@gnu.org>
5915
5916 * calendar/cal-x.el (calendar-dedicate-diary):
5917 Drop support for recently deleted aliases.
5918
5919 2014-10-08 Leo Liu <sdl.web@gmail.com>
5920
5921 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5922 Always return a syntax. Replace call-process-shell-command with
5923 process-file. Ensure cfengine-mode-syntax-functions-regex is
5924 always set. Ensure cache when cfengine-cf-promises fails.
5925 (Bug#18620)
5926
5927 2014-10-07 Glenn Morris <rgm@gnu.org>
5928
5929 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5930
5931 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
5932
5933 Sync with upstream verilog-mode revision c075a492.
5934 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5935 (verilog-menu): Add AUTOINSERTLAST.
5936 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5937 is nil, fix indenting initial/final to match always statements, bug825.
5938 Reported by Tim Clapp.
5939 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5940 bug557. Reported by ZeDong Mao and Jason Forkey.
5941 (verilog-read-decls): Fix parsing typed interfaces.
5942 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
5943 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5944 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5945 Reported by Pierre-David Pfister.
5946 (verilog-auto-insert-lisp): Doc fix.
5947 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5948 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
5949 (verilog-sk-ovm-class, verilog-sk-uvm-object)
5950 (verilog-sk-uvm-component): Fix missing string keyword in class
5951 skeletons, bug824. Reported by eldad faruhi.
5952
5953 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * term/w32-win.el: Move all code from 32-common-fns.el here.
5956 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5957 console as well (bug#18629).
5958 * w32-common-fns.el: Remove.
5959 * loadup.el: Don't load w32-common-fns.el.
5960 * w32-fns.elc: Don't require w32-common-fns.
5961
5962 * icomplete.el: Move Iswitchb autoload here. Much simpler.
5963 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5964 Remove redundant obsolescence thingy.
5965 * loadup.el: Don't load obsolete/loaddefs.el.
5966 * Makefile.in (obsolete-autoloads): Remove.
5967 (AUTOGENEL): Remove obsolete/loaddefs.el.
5968
5969 2014-10-06 Glenn Morris <rgm@gnu.org>
5970
5971 * Makefile.in (obsolete-autoloads): Write to a separate file,
5972 to workaround autoloads bug. (Bug#17407)
5973 (AUTOGENEL): Add obsolete/loaddefs.el.
5974 * loadup.el: Load obsolete/loaddefs.el if present.
5975 * subr.el (do-after-load-evaluation):
5976 Don't warn about obsolete/loaddefs.el.
5977
5978 * menu-bar.el (menu-bar-games-menu): Remove landmark.
5979 It has zero relationship to a game.
5980
5981 2014-10-06 Leo Liu <sdl.web@gmail.com>
5982
5983 * imenu.el (imenu): Re-write for clarity.
5984
5985 2014-10-06 Glenn Morris <rgm@gnu.org>
5986
5987 Remove calendar code obsolete since at least version 23.1.
5988 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5989 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5990 (calendar-goto-bahai-date, list-bahai-diary-entries)
5991 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5992 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5993 (insert-yearly-bahai-diary-entry):
5994 * calendar/cal-china.el (chinese-calendar-time-zone)
5995 (chinese-calendar-location-name)
5996 (chinese-calendar-daylight-time-offset)
5997 (chinese-calendar-standard-time-zone-name)
5998 (chinese-calendar-daylight-time-zone-name)
5999 (chinese-calendar-daylight-savings-starts)
6000 (chinese-calendar-daylight-savings-ends)
6001 (chinese-calendar-daylight-savings-starts-time)
6002 (chinese-calendar-daylight-savings-ends-time)
6003 (chinese-calendar-celestial-stem)
6004 (chinese-calendar-terrestrial-branch)
6005 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6006 (calendar-goto-chinese-date):
6007 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6008 (calendar-print-coptic-date, coptic-prompt-for-date)
6009 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6010 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6011 * calendar/cal-french.el (calendar-absolute-from-french)
6012 (calendar-print-french-date, calendar-goto-french-date):
6013 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6014 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6015 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6016 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6017 (holiday-passover-etc, holiday-tisha-b-av-etc)
6018 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6019 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6020 (insert-monthly-hebrew-diary-entry)
6021 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6022 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6023 (diary-sabbath-candles):
6024 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6025 (calendar-print-islamic-date, calendar-goto-islamic-date)
6026 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6027 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6028 (insert-monthly-islamic-diary-entry)
6029 (insert-yearly-islamic-diary-entry):
6030 * calendar/cal-iso.el (calendar-absolute-from-iso)
6031 (calendar-print-iso-date, calendar-iso-read-args)
6032 (calendar-goto-iso-date, calendar-goto-iso-week):
6033 * calendar/cal-julian.el (calendar-absolute-from-julian)
6034 (calendar-print-julian-date, calendar-goto-julian-date)
6035 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6036 (calendar-goto-astro-day-number):
6037 * calendar/cal-mayan.el (calendar-print-mayan-date)
6038 (calendar-next-haab-date, calendar-previous-haab-date)
6039 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6040 (calendar-next-calendar-round-date)
6041 (calendar-previous-calendar-round-date)
6042 (calendar-absolute-from-mayan-long-count)
6043 (calendar-goto-mayan-long-count-date):
6044 * calendar/cal-move.el (scroll-calendar-left)
6045 (scroll-calendar-right, scroll-calendar-left-three-months)
6046 (scroll-calendar-right-three-months):
6047 * calendar/cal-persia.el (calendar-absolute-from-persian)
6048 (calendar-print-persian-date, persian-prompt-for-date)
6049 (calendar-goto-persian-date):
6050 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6051 * calendar/calendar.el (view-diary-entries-initially)
6052 (mark-diary-entries-in-calendar, calendar-today-face)
6053 (diary-face, holiday-face, view-calendar-holidays-initially)
6054 (mark-holidays-in-calendar, initial-calendar-window-hook)
6055 (today-visible-calendar-hook, today-invisible-calendar-hook)
6056 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6057 (bahai-diary-entry-symbol, american-date-diary-pattern)
6058 (european-date-diary-pattern, european-calendar-display-form)
6059 (american-calendar-display-form, holidays-in-diary-buffer)
6060 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6061 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6062 (fancy-diary-buffer, increment-calendar-month)
6063 (extract-calendar-month, extract-calendar-day)
6064 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6065 (mark-visible-calendar-date, calendar-version):
6066 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6067 (diary-display-hook, list-diary-entries-hook)
6068 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6069 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6070 (abbreviated-calendar-year, number-of-diary-entries)
6071 (view-other-diary-entries, add-to-diary-list)
6072 (include-other-diary-files, simple-diary-display)
6073 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6074 (mark-sexp-diary-entries, mark-included-diary-files)
6075 (mark-calendar-days-named, mark-calendar-month)
6076 (mark-calendar-date-pattern, sort-diary-entries)
6077 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6078 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6079 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6080 (insert-block-diary-entry, insert-cyclic-diary-entry)
6081 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6082 * calendar/holidays.el (general-holidays, oriental-holidays)
6083 (local-holidays, other-holidays, hebrew-holidays)
6084 (christian-holidays, islamic-holidays, bahai-holidays)
6085 (solar-holidays, list-calendar-holidays)
6086 (check-calendar-holidays, mark-calendar-holidays)
6087 (filter-visible-calendar-holidays):
6088 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6089 (diary-phases-of-moon): Remove obsolete aliases.
6090 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6091 * calendar/cal-x.el (calendar-one-frame-setup)
6092 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6093 Remove obsolete functions.
6094 (cal-x-load-hook): Remove obsolete hook.
6095 * calendar/calendar.el (european-calendar-style):
6096 Remove obsolete variable.
6097 (calendar-date-style): No longer consult european-calendar-style.
6098 * calendar/calendar.el (european-calendar, american-calendar):
6099 Remove obsolete commands.
6100 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6101 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6102 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6103 Use the face `diary' instead of the variable `diary-face'.
6104 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6105 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6106 * calendar/icalendar.el (icalendar--date-style): Remove function.
6107 Replace all uses with calendar-date-style.
6108 * textmodes/remember.el (calendar-date-style): Declare.
6109 (remember-diary-convert-entry):
6110 No longer consult european-calendar-style.
6111
6112 2014-10-05 Leo Liu <sdl.web@gmail.com>
6113
6114 * imenu.el (imenu-default-goto-function): Fix typo.
6115
6116 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6117
6118 * net/ntlm.el (ntlm-build-auth-request):
6119 Add NTLM2 Session support. (Bug#15603)
6120
6121 2014-10-04 Glenn Morris <rgm@gnu.org>
6122
6123 * apropos.el (apropos-symbols-internal):
6124 Avoid error with non-symbol properties. (Bug#18337#16)
6125
6126 * startup.el (command-line):
6127 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6128
6129 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (window-full-height-p): Make it behave correctly for
6132 minibuffer window.
6133 (window-current-scroll-bars): Fix code.
6134 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6135 window-scroll-bars.
6136 * frame.el (frame-current-scroll-bars): Fix doc-string.
6137 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6138
6139 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6140
6141 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6142
6143 2014-10-04 Glenn Morris <rgm@gnu.org>
6144
6145 * frame.el (frame-monitor-attributes)
6146 (display-monitor-attributes-list): Doc fixes.
6147
6148 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 Merge trivially safe differences from standalone CC-mode.
6151 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6152 just to then pass it to `symbol-value'.
6153 (prog-mode): Provide fallback definition, if needed.
6154 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6155 Remove "cl-" prefix accordingly.
6156 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6157 characterp depending on the type of characters.
6158 (c-font-lock-enum-tail): Remove unused var `start'.
6159 * progmodes/cc-engine.el: Load CL at compile-time.
6160 (c-declare-lang-variables): Use mapcan.
6161 (c-append-to-state-cache): Remove unused var `ce+1'.
6162 (c-parse-state-state): Make buffer-local.
6163 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6164 (c-just-after-func-arglist-p): Remove unused var `end'.
6165 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6166 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6167 (c-make-keywords-re): Use delete-dups.
6168 (c-get-current-file): Avoid file-name-base.
6169 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6170 `close-paren-inserted'.
6171 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6172
6173 * progmodes/python.el: Avoid building unneeded markers.
6174 (python-font-lock-keywords, python-indent-dedent-line)
6175 (python-fill-paren, python-shell-completion-complete-or-indent):
6176 Prefer point over point-marker.
6177 (inferior-python-mode): Remove redundant completion settings.
6178
6179 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6180
6181 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6182 (vc-svn-ignore): Use it. (Bug#18619)
6183
6184 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6185
6186 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6187 In doc-string mention need to set `frame-resize-pixelwise'.
6188
6189 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6192 similarly to Rogers's 2010-06-16 change for the remote case
6193 (bug#18605).
6194
6195 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 New gui-selection-value consolidating x-selection-value.
6198 * select.el (gui-selection-value-alist): New method.
6199 (gui-selection-value): New function.
6200 (x-selection-value): Make it an obsolete alias.
6201 * simple.el (interprogram-paste-function): Default to
6202 gui-selection-value.
6203 * w32-common-fns.el (w32-get-selection-value): Simplify.
6204 (x-selection-value): Remove alias.
6205 (interprogram-paste-function): Don't set.
6206 (gui-selection-value): Define for w32.
6207 * term/x-win.el (gui-selection-value): Define for x.
6208 (x--selection-value): Rename from x--selection-value.
6209 (interprogram-paste-function): Don't set.
6210 * term/pc-win.el (w16-get-selection-value): Simplify.
6211 (msdos-initialize-window-system): Don't set
6212 interprogram-paste-function.
6213 (gui-selection-value): Define for pc.
6214 * term/ns-win.el (x-selection-value): Remove.
6215 (gui-selection-value): Define for ns, instead.
6216 * term/common-win.el (x-setup-function-keys): Don't set
6217 interprogram-paste-function.
6218 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6219 Use gui-selection-value.
6220
6221 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6222
6223 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6224
6225 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * obsolete/lucid.el (read-number): Remove, redundant.
6228 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6229 Remove, broken.
6230
6231 2014-10-02 Glenn Morris <rgm@gnu.org>
6232
6233 * emacs-lisp/package.el (package-import-keyring):
6234 Create gnupg directory private. (Bug#17625#155)
6235
6236 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * progmodes/python.el (python-shell-completion-get-completions):
6239 Use python-shell--prompt-calculated-input-regexp from the
6240 process buffer (bug#18582).
6241 Don't assume that `line' comes from the process buffer.
6242
6243 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * frame.el: Use lexical-binding (bug#18598).
6246 (make-frame): Use t rather than nil for tty's window-system.
6247 * startup.el (command-line): Use gui-method.
6248
6249 Consolidate management/ownership of selections.
6250 * select.el (gui-get-selection-alist): New method.
6251 (gui-get-selection): Use it. Rename from x-get-selection.
6252 (x-get-selection): Define as obsolete alias.
6253 (x-get-clipboard): Mark obsolete.
6254 (gui-get-primary-selection): New function.
6255 (x-get-selection-value): Mark obsolete.
6256 (gui-own-selection-alist, gui-disown-selection-alist)
6257 (gui-selection-owner-p-alist): New methods.
6258 (gui-set-selection): Use them. Rename from x-set-selection.
6259 (x-set-selection): Define as obsolete alias.
6260 (gui--valid-simple-selection-p): Rename from
6261 x-valid-simple-selection-p.
6262 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6263 (gui-selection-owner-p, gui-get-selection): Define for w32.
6264 (w32-get-selection-value): Rename from x-get-selection-value.
6265 Use the new gui-last-selected-text.
6266 * term/x-win.el (x-get-selection-value): Remove.
6267 (x-clipboard-yank): Declare obsolete.
6268 (gui-own-selection, gui-disown-selection, gui-get-selection)
6269 (gui-selection-owner-p): Define for x.
6270 * term/w32-win.el (w32-win-suspend-error): Rename from
6271 x-win-suspend-error.
6272 * term/pc-win.el (w16-get-selection-value): Rename from
6273 x-get-selection-value.
6274 (w16-selection-owner-p): Rename from x-selection-owner-p.
6275 (gui-own-selection, gui-disown-selection, gui-get-selection)
6276 (gui-selection-owner-p): Define for pc.
6277 (w16--select-text): New function.
6278 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6279 (gui-get-selection, gui-selection-owner-p): Define for ns.
6280 * term.el (term-mouse-paste):
6281 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6282
6283 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6284
6285 * calc/calc-help.el (calc-describe-thing): Quote strings
6286 which could look like regexps.
6287
6288 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 Consolidate x-select-text.
6291 * frame.el (gui-method, gui-method-define, gui-method-declare)
6292 (gui-call): New macros.
6293 (gui-method--name): New function.
6294 (frame-creation-function-alist): Use gui-method-declare.
6295 (make-frame): Use gui-method.
6296 * select.el (gui-select-enable-clipboard): Rename from
6297 x-select-enable-clipboard and move here.
6298 (x-select-enable-clipboard): Define as obsolete alias.
6299 (gui-last-selected-text): New var, to replace x-last-selected-text.
6300 (gui-select-text): New GUI method.
6301 (gui-select-text): New function.
6302 (x-select-text): Define as obsolete alias.
6303 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6304 Move to select.el.
6305 * simple.el (interprogram-cut-function): Change default to
6306 x-select-text.
6307 (interprogram-paste-function): Change default to `ignore'.
6308 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6309 * term/x-win.el (interprogram-cut-function): Don't modify.
6310 (gui-select-text): Add method for x.
6311 * term/w32-win.el (gui-select-text): Add method for w32.
6312 * term/pc-win.el (x-last-selected-text): Remove, use
6313 gui-last-selected-text instead.
6314 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6315 (gui-select-text): Add method for pc.
6316 * term/ns-win.el (ns-last-selected-text): Remove, use
6317 gui-last-selected-text instead.
6318 (gui-select-text): Add method for ns.
6319 (x-setup-function-keys): Don't change interprogram-cut-function.
6320 * loadup.el ("startup"): Load after "frame".
6321 * subr.el (package--builtin-versions, package--description-file):
6322 Move from startup.el.
6323 * startup.el (package--builtin-versions, package--description-file):
6324 Move to subr.el.
6325 (handle-args-function-alist, window-system-initialization-alist):
6326 Use gui-method-declare.
6327 (command-line): Use gui-method.
6328
6329 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * subr.el (alist-get): New accessor.
6332 * emacs-lisp/gv.el (alist-get): Provide expander.
6333 * winner.el (winner-remember):
6334 * tempo.el (tempo-use-tag-list):
6335 * progmodes/gud.el (minor-mode-map-alist):
6336 * international/mule-cmds.el (define-char-code-property):
6337 * frameset.el (frameset-filter-params):
6338 * files.el (dir-locals-set-class-variables):
6339 * register.el (get-register, set-register):
6340 * calc/calc-yank.el (calc-set-register): Use it.
6341 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6342 * tooltip.el (tooltip-set-param): Mark as obsolete.
6343 (tooltip-show): Use alist-get instead.
6344 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6345
6346 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6347
6348 * net/newst-backend.el: Remove Time-stamp. Rename variable
6349 `newsticker--download-logos' to `newsticker-download-logos' and
6350 make it customizable.
6351 (newsticker--sentinel-work): Move xml-workarounds to function
6352 `newsticker--do-xml-workarounds', call unless libxml-parser is
6353 used. Allow single quote in regexp for encoding.
6354 Use libxml-parser if available, else fall back to `xml-parse-region'.
6355 Take care of possibly missing namespace prefixes (like "RDF"
6356 instead of "rdf:RDF") when checking xml nodes and attributes (as
6357 libxml correctly removes the prefixes). Always use Atom 1.0 as
6358 fallback feed type. Rename `newsticker--download-logos' to
6359 `newsticker-download-logos'
6360 (newsticker--unxml, newsticker--unxml-node)
6361 (newsticker--unxml-attribute): New.
6362 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6363 HTML code has become part of the xml parse tree.
6364 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6365 of possibly missing namespace prefixes.
6366 (newsticker--parse-generic-items): Code formatting. Typo.
6367 (newsticker--images-dir): Add trailing slash.
6368 (newsticker--image-get): Fix error message.
6369
6370 * net/newst-plainview.el: Remove Time-stamp.
6371
6372 * net/newst-reader.el: Remove Time-stamp.
6373 (newsticker-download-logos): Rename variable
6374 `newsticker--download-logos' to `newsticker-download-logos' and
6375 make it customizable.
6376 (newsticker--print-extra-elements): Add optional parameter
6377 'htmlish for using html markup. Amend list of ignored elements.
6378 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6379 using html markup.
6380
6381 * net/newst-ticker.el: Remove Time-stamp.
6382
6383 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6384 for formatting extra elements.
6385
6386 * net/newsticker.el: Remove Time-stamp, Version.
6387 (newsticker-version): Make obsolete.
6388
6389 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6390
6391 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6392 (bug#18462).
6393
6394 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * emacs-lisp/package.el (package-check-signature): Default to nil if
6397 GPG is not available.
6398 (package-refresh-contents): Don't mess with the keyring if we won't
6399 check the signatures anyway.
6400
6401 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6404 (ses-center, ses-center-span): Use them.
6405 (ses-print-cell): Bind them while calling the printer.
6406 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6407 (ses-dorange): Revert last change.
6408 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6409 the formula.
6410 (ses-set-cell): Avoid `eval'.
6411 (ses--time-check): Rename it from ses-time-check and turn it into
6412 a macro.
6413
6414 * ses.el (ses-setup): Don't assume modifying the iteration var of
6415 dotimes affects the iteration (bug#18191).
6416
6417 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6418
6419 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6420 their values with 'cl-progv'.
6421 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6422 their values with 'cl-progv', also use non-interned symbols for
6423 row, minrow, maxrow, mincol and maxcol.
6424 (maxrow maxcol): New defvar, to make the compiler happy.
6425
6426 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6429 completion functions.
6430
6431 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6434
6435 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6436
6437 Font-lock `cl-flet*', too.
6438 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6439 Add "flet*" to intermediate var `cl-lib-kw'.
6440
6441 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * epg-config.el (epg-gpg-program): Use the plain program names rather
6444 than their absolute file name.
6445
6446 * subr.el (track-mouse): New macro.
6447 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6448 Remove track-mouse case.
6449 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6450
6451 2014-09-27 Leo Liu <sdl.web@gmail.com>
6452
6453 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6454
6455 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6456
6457 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6460 Handle the case where `match' is :pcase--succeed or :pcase--fail
6461 (bug#18554).
6462
6463 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6464 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6465 (eldoc-schedule-timer): Obey it.
6466 (eldoc-documentation-function): Default to nil.
6467 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6468 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6469 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6470 (eldoc-last-data-store, eldoc-docstring-first-line)
6471 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6472 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6473 (eldoc-function-argstring): Move to elisp-mode.el.
6474 (eldoc-symbol-function): Remove, unused.
6475 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6476 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6477 (elisp--preceding-sexp): Rename from preceding-sexp.
6478 * loadup.el: Load new file progmodes/elisp-mode.
6479 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6480 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6481 (lisp--local-variables-completion-table, lisp--expect-function-p)
6482 (lisp--form-quoted-p, lisp--company-doc-buffer)
6483 (lisp--company-doc-string, lisp--company-location)
6484 (lisp-completion-at-point): Move to elisp-mode.el.
6485 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6486 extracted from emacs-lisp-mode-syntax-table.
6487 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6488 elisp-mode.el.
6489 (lisp-imenu-generic-expression): Add comments to document what comes
6490 from which Lisp dialect.
6491 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6492 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6493 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6494 (emacs-lisp-byte-code-comment)
6495 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6496 (lisp-interaction-mode-map, lisp-interaction-mode)
6497 (eval-print-last-sexp, last-sexp-setup-props)
6498 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6499 (eval-last-sexp-1, eval-last-sexp-print-value)
6500 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6501 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6502
6503 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6504
6505 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6506 Do not match file names that end in '/', as they cannot be 'grep'
6507 hits nowadays. This prevents confusion when 'grep -r' reports a
6508 match in a file whose basename is ':12345:'. Conversely, do not
6509 require exactly the same sequence of spaces and tabs after both
6510 colons, and allow spaces or tabs before the second colon, as per
6511 the POSIX spec for 'grep' output.
6512
6513 2014-09-26 Leo Liu <sdl.web@gmail.com>
6514
6515 Add cl-parse-integer based on parse-integer (Bug#18557)
6516 * calendar/parse-time.el (parse-time-digits): Remove.
6517 (digit-char-p, parse-integer) Moved to cl-lib.el.
6518 (parse-time-tokenize, parse-time-rules, parse-time-string):
6519 Use cl-parse-integer.
6520
6521 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6522
6523 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6524 (cl-digit-char-p): New function.
6525
6526 2014-09-25 Juri Linkov <juri@jurta.org>
6527
6528 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6529 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6530 Return the current buffer if no files match the default pattern
6531 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6532
6533 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6536 the global vc-handled-backends (bug#18535).
6537
6538 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6541 Suggested by <lompik@voila.fr>.
6542
6543 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6544
6545 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6546 Rename from `newsticker--treeview-do-get-node'.
6547 (newsticker--treeview-get-node-by-id):
6548 Rename from `newsticker--treeview-get-node'.
6549 (newsticker--treeview-buffer-init)
6550 (newsticker--treeview-buffer-init): Disable buffer undo.
6551 (newsticker--treeview-unfold-node): Adapt to modified
6552 `newsticker--group-find-parent-group'.
6553 (newsticker--group-do-find-group):
6554 Rename from `newsticker--group-do-find-group-for-feed'.
6555 Now works for both, groups and feeds.
6556 (newsticker--group-find-parent-group):
6557 Rename from `newsticker--group-find-group-for-feed'.
6558 Now works for both, groups and feeds.
6559 (newsticker--group-do-get-parent-group)
6560 (newsticker--group-get-parent-group): Remove.
6561 (newsticker-group-add-group): Change interactive prompts.
6562 (newsticker-group-add-group): Finally jump to added group.
6563 (newsticker-group-delete-group): Finally jump to current feed.
6564 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6565 (newsticker--get-group-names, newsticker--group-names): New.
6566 (newsticker-group-move-feed): Finally jump to moved feed.
6567 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6568 (newsticker-group-shift-group-down)
6569 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6570 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6571
6572 * net/newst-backend.el (newsticker--item-list)
6573 (newsticker--item-position, newsticker--prev-message)
6574 (newsticker--scrollable-text): Move to newst-ticker.el.
6575
6576 * net/newst-ticker.el (newsticker--item-list)
6577 (newsticker--item-position, newsticker--prev-message)
6578 (newsticker--scrollable-text): Move from newst-backend.el.
6579
6580 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6581
6582 * window.el (fit-window-to-buffer): When counting buffer width,
6583 count the whole visible buffer. Correctly convert the body-height
6584 to pixel size for window-text-pixel-size (Bug#18498).
6585
6586 2014-09-22 Sam Steingold <sds@gnu.org>
6587
6588 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6589 (sql-execute): Use `special-mode'.
6590
6591 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 Add pcase-defmacro, as well as `quote' and `app' patterns.
6594 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6595 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6596 (pcase--funcall, pcase--eval): New functions.
6597 (pcase--u1): Use them for guard, pred, let, and app.
6598 (\`): Use the new feature to generate better code for vector patterns.
6599 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6600 (pcase--upat): Remove.
6601 (pcase--macroexpand): Don't hardcode handling of `.
6602 (pcase--split-consp, pcase--split-vector): Remove.
6603 (pcase--split-equal): Disregard ` since it's expanded away.
6604 (pcase--split-member): Optimize for quote rather than for `.
6605 (pcase--split-pred): Optimize for quote rather than for `.
6606 (pcase--u1): Remove handling of ` (and of `or' and `and').
6607 Quote non-selfquoting values when passing them to `eq'.
6608 Drop `app's let-binding if the variable is not used.
6609 (pcase--q1): Remove.
6610 (`): Define as a pattern macro.
6611 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6612 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6613 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6614 quote patterns.
6615 (pcase--split-match): Don't hoist or/and here any more.
6616 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6617 (pcase--flip): New helper macro.
6618 (pcase--u1): Optimize the memq case directly.
6619 Don't handle neither self-quoting nor and/or patterns any more.
6620 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6621 (pcase--macroexpand): New function.
6622 (pcase--expand): Use it.
6623 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6624 New optimization functions.
6625 (pcase--u1): Add support for `quote' and `app'.
6626 (pcase): Document them in the docstring.
6627
6628 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 Use lexical-bindin in Ibuffer.
6631 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6632 (ibuffer-compile-format): Simplify.
6633 (ibuffer-clear-summary-columns): Simplify.
6634 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6635 elem of dotimes when we don't refer to the iteration var from it.
6636 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6637 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6638 Silence byte-compiler.
6639
6640 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6643 expression for a list.
6644
6645 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6646 for functions with no arguments.
6647
6648 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6649 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6650
6651 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
6652
6653 * simple.el (clone-indirect-buffer): Mention the return value
6654 (bug#18478).
6655
6656 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6657 Text mode in docstring (bug#18464).
6658
6659 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6662 Accept underscores in identifiers after "sub" (bug#18502).
6663
6664 2014-09-21 Tassilo Horn <tsdh@gnu.org>
6665
6666 * textmodes/reftex-sel.el (reftex-select-label-mode)
6667 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6668 from special-mode (instead of fundamental-mode) and propertize
6669 with font-lock-face instead of just face. (Bug#18496)
6670
6671 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6672
6673 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6674
6675 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6676 `table-etc' when `end' is non-nil.
6677 (lisp-completion-at-point): Move `end' back if it's after quote.
6678 If in comment or string, only complete when after backquote.
6679 (Bug#18265)
6680 (lisp-completion-at-point): Don't use
6681 `lisp--local-variables-completion-table' in the
6682 `lisp--form-quoted-p' case.
6683
6684 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6685
6686 * emacs-lisp/lisp.el (lisp--expect-function-p)
6687 (lisp--form-quoted-p): New functions.
6688 (lisp-completion-at-point): Use them to see if we're completing a
6689 variable reference, a function name, or just any symbol.
6690 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6691
6692 2014-09-18 Ivan Kanis <ivan@kanis.fr>
6693
6694 * net/shr.el, net/eww.el: Don't override `shr-width', but
6695 introduce a new variable `shr-internal-width'. This allows users
6696 to specify a width themselves.
6697
6698 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6699
6700 * image-mode.el (image-toggle-display-image): If we have a
6701 `fit-width' or a `fit-height', don't limit the size of the image
6702 to the window size, because that doesn't preserve the aspect ratio.
6703 * image-mode.el: Move defvars earlier to avoid a byte-compilation
6704 warning.
6705
6706 2014-09-17 Reuben Thomas <rrt@sc3d.org>
6707
6708 * progmodes/js.el: Add interpreter-mode-alist support for various
6709 JavaScript interpreters.
6710
6711 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
6712
6713 Don't assume 'grep' supports GREP_OPTIONS.
6714 The GREP_OPTIONS environment variable is planned to be marked
6715 obsolescent in GNU grep, due to problems in its use, so stop
6716 relying on it.
6717 * progmodes/grep.el (grep-highlight-matches): Document this.
6718 (grep-process-setup): Do not set GREP_OPTIONS.
6719 (grep-compute-defaults): Use an explicit --color option if supported.
6720
6721 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6724 Don't add outdated key-shortcut cache (bug#18482).
6725
6726 2014-09-15 Glenn Morris <rgm@gnu.org>
6727
6728 * image.el (image-multi-frame-p): Fix thinko - do not force
6729 a delay if none was specified. (Bug#18334)
6730
6731 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
6732
6733 * window.el (fit-window-to-buffer): Doc fix.
6734
6735 2014-09-15 Ivan Shmakov <ivan@siamics.net>
6736
6737 * desktop.el (desktop-create-buffer): Check that buffers are still live
6738 before burying them (bug#18373).
6739
6740 2014-09-15 Glenn Morris <rgm@gnu.org>
6741
6742 * calendar/diary-lib.el (diary-list-entries):
6743 Restore 24.3 display behavior. (Bug#18381)
6744
6745 2014-09-15 Eli Zaretskii <eliz@gnu.org>
6746
6747 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6748 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
6749 discrepancy between window-pixel-edges and mouse events, and
6750 avoids moving mode line up when the mouse click is on the modeline
6751 and no drag is attempted.
6752
6753 2014-09-14 Daniel Colascione <dancol@dancol.org>
6754
6755 * register.el (insert-register): Change default interactive
6756 insertion mode.
6757
6758 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6761 Suppress debug messages.
6762
6763 * net/tramp.el (tramp-file-name-handler):
6764 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6765 appropriate.
6766
6767 2014-09-13 Christopher Schmidt <ch@ristopher.com>
6768
6769 * calendar/calendar.el (calendar-update-mode-line):
6770 Do not overwrite mode-line-format if calendar-mode-line-format is
6771 nil. (Bug#18467)
6772
6773 2014-09-13 Leo Liu <sdl.web@gmail.com>
6774
6775 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6776 (pcase--expand): Use it.
6777 (pcase-exhaustive): New macro. (Bug#16567)
6778
6779 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6780 Add pcase-exhaustive.
6781
6782 2014-09-13 Eli Zaretskii <eliz@gnu.org>
6783
6784 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6785 using the specified transfer-encoding, if any, or 'undecided'.
6786 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6787 broken at the window margin.
6788
6789 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
6790
6791 Support rendering of HTML parts in Rmail (bug#4258).
6792 * mail/rmailmm.el (rmail-mime-process): Handle text/html
6793 separately from other text/ types. Suppress tagline for
6794 multipart body.
6795 (rmail-mime-parse): Don't change visibility of tagline here.
6796 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6797 Handle text/html specially.
6798 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6799 (rmail-mime-insert-html, rmail-mime-render-html-shr)
6800 (rmail-mime-render-html-lynx): New functions.
6801 (rmail-mime-fix-inserted-faces): New function.
6802 (rmail-mime-process-multipart): Find the best part to show
6803 following rmail-mime-prefer-html if set.
6804 (rmail-mime-searching): New variable.
6805 (rmail-search-mime-message): Bind rmail-mime-searching to
6806 suppress rendering while searching.
6807
6808 2014-09-12 Sam Steingold <sds@gnu.org>
6809
6810 * progmodes/sql.el (sql-product-alist): Add vertica.
6811 (sql-vertica-program, sql-vertica-options)
6812 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6813 New functions and variables to support Vertica.
6814 Inspired by code by Roman Scherer <roman@burningswell.com>.
6815
6816 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
6817
6818 * ses.el (ses-file-format-extend-parameter-list): Rename from
6819 ses-file-format-extend-paramter-list, to correct a misspelling.
6820 All uses changed.
6821
6822 2014-09-10 Alan Mackenzie <acm@muc.de>
6823
6824 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6825 gets loaded at run-time).
6826 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6827 c-lang-const to c-make-no-parens-syntax-table and correct the
6828 logic.
6829 (c-no-parens-syntax-table): Correct the logic of the
6830 c-lang-defvar.
6831
6832 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6835 plus misc cleanup.
6836 * progmodes/cc-mode.el (c-basic-common-init):
6837 Set open-paren-in-column-0-is-defun-start.
6838 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6839 Remove declarations, unused.
6840 (run-mode-hooks): Remove declaration.
6841 (font-lock-defaults): Use plain `defvar' to declare.
6842 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6843 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6844 (c-make-mode-syntax-table): Don't micro-optimize.
6845 (c-keywords, c-keyword-member-alist): Simplify.
6846 (c-kwds-lang-consts): Don't eval at compile-time.
6847 (c-primary-expr-regexp): Comment out unused vars.
6848 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6849 (c-font-byte-compile): New var.
6850 (c--compile): New function. Use it instead of `byte-compile'.
6851 (c-cpp-matchers): Quote the value returned by
6852 `c-make-syntactic-matcher' in case it's not self-evaluating.
6853 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6854 parentheses instead (in case MATCHER happens to be a list).
6855 (c-font-lock-enum-tail): Remove unused var `start'.
6856 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6857 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6858 test into an argument.
6859 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6860 (c-get-char-property): Don't use `eval' just to unquote a constant.
6861 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6862 more efficiently.
6863 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6864 (c-clear-char-property, c-clear-char-properties): Check that `property'
6865 is a quoted constant.
6866 (c-emacs-features): Remove `infodock', `syntax-properties', and
6867 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6868 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6869 changing buffer, so we don't have to setq them again afterwards.
6870 (c-lang-const): Remove redundant symbolp assertions.
6871 (c-find-assignment-for-mode): Use `or'.
6872 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6873
6874 2014-09-09 Sam Steingold <sds@gnu.org>
6875
6876 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6877
6878 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6881 Change doc comments into docstrings.
6882 * Makefile.in: Remove cc-awk dependency.
6883
6884 2014-09-08 Sam Steingold <sds@gnu.org>
6885
6886 * progmodes/sql.el (sql-send-line-and-next): New command,
6887 bound to C-c C-n.
6888 (sql-show-sqli-buffer): Display the buffer instead of its name and
6889 bind the command to C-c C-z.
6890 (sql-default-directory): New user option.
6891 (sql-product-interactive): Bind `default-directory' to it to
6892 enable remote connections using Tramp.
6893 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6894 suitable buffer is available.
6895
6896 2014-09-08 Glenn Morris <rgm@gnu.org>
6897
6898 * calendar/calendar.el (calendar-basic-setup):
6899 Fix calendar-view-holidays-initially-flag and fancy display.
6900 * calendar/diary-lib.el (diary-live-p): Doc fix.
6901
6902 * calendar/calendar.el (calendar-basic-setup):
6903 Avoid clobbering calendar with diary. (Bug#18381)
6904
6905 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6908
6909 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
6910
6911 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6912 as well (bug#18400).
6913
6914 2014-09-08 Eli Zaretskii <eliz@gnu.org>
6915
6916 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
6917
6918 2014-09-06 Leo Liu <sdl.web@gmail.com>
6919
6920 * emacs-lisp/pcase.el (pcase): Doc fix.
6921 (pcase--split-vector): New function.
6922 (pcase--q1): Support vector qpattern. (Bug#18327)
6923
6924 2014-09-05 Sam Steingold <sds@gnu.org>
6925
6926 * textmodes/tex-mode.el (tex-print-file-extension): New user
6927 option.
6928 (tex-print): Use it instead of the hard-coded string.
6929
6930 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6933 Expand `default-directory'.
6934
6935 2014-09-05 Martin Rudalics <rudalics@gmx.at>
6936
6937 * scroll-bar.el (horizontal-scroll-bars-available-p):
6938 New function.
6939 (horizontal-scroll-bar-mode): Rewrite using
6940 horizontal-scroll-bars-available-p.
6941 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6942 horizontal-scroll-bars-available-p.
6943
6944 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * subr.el (call-process-shell-command, process-file-shell-command):
6947 Make the `args' obsolete (bug#18409).
6948 (start-process-shell-command, start-file-process-shell-command):
6949 Use `declare'.
6950
6951 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
6952
6953 * calc/calc-forms.el (math-normalize-hms): Do a better check for
6954 "negative" hms forms.
6955
6956 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
6957
6958 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6959 returns nil (bug#18391).
6960
6961 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6964 terminating paren (bug#18352).
6965 (eldoc-last-data-store): Return cached data.
6966 (eldoc-get-var-docstring): Avoid setq.
6967 (eldoc-get-fnsym-args-string): Clarify data flow.
6968
6969 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6970
6971 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6972 case where we're currently providing part of the &rest arg after some
6973 &key args, as in define-ibuffer-op (bug#18048).
6974
6975 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6978 buffer-local setting of which-func-mode.
6979 (which-func-mode): Use defvar-local.
6980 (which-function-mode): Don't reset which-func-mode in each buffer since
6981 it might have been set by someone else.
6982 (which-func-update-ediff-windows): Check which-function-mode.
6983
6984 2014-09-03 Martin Rudalics <rudalics@gmx.at>
6985
6986 * frame.el (frame-initialize): Remove horizontal-scroll-bars
6987 from frame-initial-frame-alist.
6988 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6989 (horizontal-scroll-bar-mode-explicit)
6990 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6991 (toggle-horizontal-scroll-bar): Remove.
6992 (horizontal-scroll-bar-mode): Remove defcustom.
6993 (horizontal-scroll-bar-mode): Fix doc-string.
6994 (scroll-bar-toolkit-scroll)
6995 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6996
6997 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * emacs-lisp/package.el (package-generate-description-file):
7000 Properly quote the arguments (bug#18332). Change second arg.
7001 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7002 quote the elements.
7003 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7004 the *-pkg.el file. Adjust to new calling convention of
7005 package-generate-description-file.
7006
7007 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7008 (gud-gdb-completions): Remove obsolete workaround.
7009
7010 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7011
7012 * subr.el (posn-col-row): Revert the change from commit
7013 2010-11-13T21:07:58Z!eliz@gnu.org, which
7014 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7015 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7016 introduced an off-by-one error in the reported row when there is a
7017 header line. (Bug#18384)
7018
7019 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7020
7021 * progmodes/python.el (python-indent-post-self-insert-function):
7022 Avoid electric colon at beginning-of-defun. (Bug#18228)
7023
7024 2014-09-03 Glenn Morris <rgm@gnu.org>
7025
7026 * tutorial.el (tutorial--display-changes):
7027 Fix 2014-08-01 change. (Bug#18382)
7028
7029 2014-09-03 Ken Brown <kbrown@cornell.edu>
7030
7031 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7032 the Cygwin-w32 build. (Bug#18347)
7033
7034 2014-09-03 Glenn Morris <rgm@gnu.org>
7035
7036 * tar-mode.el (tar--extract, tar-extract):
7037 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7038
7039 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7042 handle multiline elements (bug#18380).
7043
7044 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7045
7046 * ls-lisp.el (ls-lisp-use-string-collate)
7047 (ls-lisp-UCA-like-collation): New defcustoms.
7048 (ls-lisp-string-lessp): Use them to control sorting by file
7049 names. (Bug#18051)
7050 (ls-lisp-version-lessp): New function.
7051 (ls-lisp-handle-switches): Use it to implement the -v switch of
7052 GNU ls.
7053 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7054
7055 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7056
7057 * ibuffer.el: Replace mode-specific quit function with
7058 `quit-window' via `special-mode'.
7059 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7060 of local overrides.
7061 (ibuffer): Don't store previous windows configuration.
7062 Let `quit-window' handle restoring.
7063 (ibuffer-quit): Remove function. Use `quit-window' instead.
7064 (ibuffer-restore-window-config-on-quit): Remove variable.
7065 (ibuffer-prev-window-config): Remove variable.
7066
7067 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7068
7069 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7070 name instead of variable name in hook docstring. (Bug#18349)
7071
7072 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7073
7074 * window.el (display-buffer-at-bottom): Prefer bottom-left
7075 window to other bottom windows. Reuse a bottom window if it
7076 shows the buffer already. Suggested by Juri Linkov
7077 <juri@jurta.org> in discussion of (Bug#18181).
7078
7079 2014-08-29 Leo Liu <sdl.web@gmail.com>
7080
7081 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7082 append to minibuffer-setup-hook. (Bug#18341)
7083
7084 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7087 byte-compiler.
7088 (lookup-syntax-properties): Silence byte-compiler.
7089 (c-lang-defconst): Quote the code with `lambda' rather than with
7090 `quote'.
7091 (c-lang-const): Avoid unneeded setq.
7092 (c-lang-constants-under-evaluation): Add docstring.
7093 (c-lang--novalue): New constant.
7094 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7095 (c-get-lang-constant): Same here.
7096 Get the mode's value using `funcall' now that the code is quoted
7097 with `lambda'.
7098
7099 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7102 (Bug#18326)
7103
7104 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7105
7106 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7107 interpretation of `portion-whole'.
7108
7109 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7110
7111 * net/tramp-adb.el: Spell author name correctly.
7112
7113 2014-08-28 João Távora <joaotavora@gmail.com>
7114
7115 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7116 use url-expand-file-name. (Bug#18310)
7117
7118 2014-08-28 Glenn Morris <rgm@gnu.org>
7119
7120 * emulation/cua-rect.el (cua--highlight-rectangle):
7121 Avoid error at point-min. (Bug#18309)
7122
7123 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7126 executable-find (bug#18244).
7127
7128 * simple.el (self-insert-uses-region-functions): Defvar.
7129
7130 2014-08-28 Glenn Morris <rgm@gnu.org>
7131
7132 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7133
7134 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7135
7136 * startup.el (normal-top-level): Now use internal--top-level-message.
7137
7138 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7139
7140 * startup.el (normal-top-level): Use top-level-message.
7141
7142 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7143
7144 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7145 URLs containing spaces and the like.
7146
7147 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7148
7149 * subr.el (remq): Fix docstring (Bug#18253).
7150
7151 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7152
7153 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7154
7155 2014-08-24 Alan Mackenzie <acm@muc.de>
7156
7157 Handle C++11's "auto" and "decltype" constructions.
7158 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7159 and return 'decltype.
7160 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7161 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7162 keyword.
7163 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7164 "decltype" keyword.
7165 (c-font-lock-c++-new): Handle "decltype" constructions.
7166 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7167 New c-lang-defconsts/defvars.
7168 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7169 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7170 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7171 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7172
7173 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7174 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7175 off from c->-op-cont-re.
7176 (c->-op-cont-tokens): Change to use the above.
7177 (c->-op-without->-cont-regexp): New lang-const.
7178 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7179 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7180
7181
7182 2014-08-23 Alan Mackenzie <acm@muc.de>
7183
7184 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7185 loop, bug #18306. The bug was introduced on 2014-08-02.
7186
7187 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7188
7189 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7190 Don't recognize a Top node if there are other sectioning commands
7191 earlier in the Texinfo file. This fixes a bug in
7192 texinfo-make-menu and avoids inflooping in
7193 texinfo-all-menus-update when they are invoked on texinfo.texi.
7194
7195 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7196
7197 * window.el (window--side-window-p): New function.
7198 (split-window, window-splittable-p): Use window--side-window-p to
7199 determine whether WINDOW can be split (Bug#18304).
7200 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7201 `window-splittable-p' and add another (Bug#18304).
7202
7203 2014-08-20 Sam Steingold <sds@gnu.org>
7204
7205 * progmodes/python.el (python-new-pythonpath): Extract from
7206 `python-shell-calculate-process-environment'.
7207
7208 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7209
7210 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7211 for &key args (bug#18048).
7212
7213 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7216 (eldoc-function-argstring-format): Remove.
7217 (eldoc-function-argstring): Always return upcase args.
7218 Use help-make-usage. Don't add parens.
7219 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7220 it's too late to do it right (bug#18048).
7221
7222 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7223
7224 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7225 (scroll-bar-toolkit-horizontal-scroll): When determining the
7226 paragraph direction, use the buffer of the window designated in
7227 the event.
7228
7229 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7230
7231 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7232 context of unified diff.
7233
7234 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7235
7236 Add dependencies to fix loaddefs race during parallel builds.
7237 Without this, for example, 'make -j bootstrap' can fail and report
7238 "Opening input file: no such file or directory,
7239 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7240 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7241 got confused because diary-loaddefs.el was being built in parallel.
7242 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7243 Depend on $(CAL_DIR)/cal-loaddefs.el.
7244 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7245
7246 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7247
7248 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7249 portion-whole for scrolling right-to-left text.
7250
7251 2014-08-15 Leo Liu <sdl.web@gmail.com>
7252
7253 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7254 elements from imenu.
7255
7256 2014-08-15 Glenn Morris <rgm@gnu.org>
7257
7258 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7259
7260 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7261
7262 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7263 Add Guile regexpses.
7264
7265 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7266
7267 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7268 add Guile debugger support for GUD.
7269
7270 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7273 (mouse-sel--ignore): New function.
7274 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7275 (mouse-sel-original-interprogram-cut-function)
7276 (mouse-sel-original-interprogram-paste-function): Remove.
7277
7278 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7279
7280 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7281 Call "git add" when there are no longer conflict markers.
7282
7283 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7284
7285 * vc/vc-git.el (vc-git-find-file-hook): New function.
7286 Adds support for calling smerge (and resolve) on a conflicted file.
7287 (vc-git-conflicted-files): New function.
7288 Useful in itself and a step towards better smerge support.
7289
7290 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7293 to the first part if they're the same as the selection.
7294
7295 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296
7297 * image-mode.el (image-transform-reset): New command and menu item.
7298 (image-mode-map): Rearrange the menu items to put presumably more
7299 obscure items at the end.
7300
7301 2014-08-12 Juri Linkov <juri@jurta.org>
7302
7303 * vc/vc-annotate.el (vc-annotate-background-mode):
7304 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7305
7306 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7309
7310 2014-08-11 Sam Steingold <sds@gnu.org>
7311
7312 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7313 the presence of known validators (tidy, (o)nsgmls).
7314
7315 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7316
7317 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7318 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7319 (newsticker--treeview-list-add-item):
7320 Use `newsticker-treeview-date-format'.
7321
7322 2014-08-11 Glenn Morris <rgm@gnu.org>
7323
7324 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7325 chose coding system for writing before backing up, since it causes
7326 a more serious problem than the one it solves. (Closes Bug#18141,
7327 reopens Bug#13522.)
7328
7329 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7330
7331 * window.el (window-total-size): Make doc-string more self-contained.
7332
7333 * window.el (display-buffer-below-selected): Restore original
7334 behavior if buffer is already displayed in the window below the
7335 selected one (Bug#18181).
7336
7337 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7340 event (bug#18212).
7341
7342 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7343
7344 * info.el (info): Doc fix.
7345
7346 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7349 (bug#18212).
7350
7351 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7352
7353 * simple.el (default-line-height): A floating-point value of
7354 line-spacing means a fraction of the default frame font's height,
7355 not of the font currently used by the 'default' face.
7356 Truncate the pixel value, like the display engine does.
7357 (window-screen-lines): Use window-inside-pixel-edges for
7358 determining the window height in pixels. (Bug#18195)
7359
7360 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7361
7362 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7363
7364 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7365
7366 Enumerate evaluated sexp diary entries (Bug#7911).
7367 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7368 (icalendar-export-sexp-enumeration-days): New.
7369 (icalendar-export-region): Now `icalendar--convert-to-ical'
7370 returns a cons cell or a list of cons cells.
7371 (icalendar--convert-to-ical): Take care of
7372 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7373 (icalendar--convert-ordinary-to-ical)
7374 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7375 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7376 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7377 (icalendar--convert-anniversary-to-ical): Return cons cell.
7378 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7379 entries. Return (list of) cons cells.
7380
7381 2014-08-09 Juri Linkov <juri@jurta.org>
7382
7383 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7384 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7385
7386 2014-08-09 Alan Mackenzie <acm@muc.de>
7387
7388 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7389 for top-level that can cause unacceptable slow-down in scrolling.
7390 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7391 Antipov from 2013-10-14 in emacs-devel.
7392
7393 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7394
7395 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7396 `ibuffer-auto-mode' menu entry.
7397 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7398
7399 2014-08-08 Matthias Meulien <orontee@gmail.com>
7400
7401 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7402 (Bug#16394)
7403
7404 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7405
7406 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7407 calls of window-min-pixel-height and window-min-pixel-width.
7408
7409 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7410
7411 * progmodes/ada-mode.el:
7412 * net/tramp.el (tramp-handle-file-symlink-p):
7413 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7414 about VMS, which we no longer support.
7415 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7416 and fix a FIXME, using convert-standard-filename in place of
7417 removed ada-convert-file-name.
7418
7419 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7420
7421 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7422
7423 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7424
7425 Refer to MS-DOS using the same name everywhere.
7426 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7427 ``msdog'' become ``MS-DOS''.
7428
7429 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7432 Use cached "remote-copy-args" value, if available. (Bug#18199)
7433
7434 2014-08-07 Leo Liu <sdl.web@gmail.com>
7435
7436 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7437 Revert change on 2014-03-22.
7438
7439 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7440
7441 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7442 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7443 (Bug#13750).
7444
7445
7446 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7447
7448 * image-mode.el (image-toggle-display-image): Always rescale images
7449 to not be bigger than the current window.
7450
7451 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7452
7453 * net/eww.el (eww-bookmarks-directory): New variable.
7454 (eww-write-bookmarks): Use it.
7455 (eww-read-bookmarks): Ditto.
7456
7457 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * net/shr.el (shr-copy-url): Also copy the image URL.
7460
7461 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7462
7463 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7464 also for Tramp working buffers.
7465
7466 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7467
7468 * progmodes/python.el: Fix completions inside (i)pdb.
7469 (python-shell-completion-pdb-string-code): Make obsolete.
7470 (python-shell-completion-get-completions):
7471 Use python-shell-completion-string-code resending setup code
7472 continuously for (i)pdb.
7473
7474 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7475
7476 * rect.el (rectangle--default-line-number-format): Rename
7477 from misspelled rectange--default-line-number-format (Bug#18045).
7478 All uses changed.
7479
7480 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7481
7482 Don't mishandle year-9999 dates (Bug#18176).
7483 * calendar/parse-time.el (parse-time-rules):
7484 Allow years up to most-positive-fixnum.
7485 * calendar/time-date.el (date-to-time):
7486 Pass "Specified time is not representable" errors through.
7487
7488 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7489
7490 * progmodes/python.el: Completion code cleanups.
7491 (python-shell-completion-get-completions): Detect and send import
7492 statements directly to completion function.
7493 (python-shell-completion-at-point): Simplify prompt calculation
7494 and import vs input completion logic.
7495
7496 2014-08-02 Alan Mackenzie <acm@muc.de>
7497
7498 Fix confusion in C++ file caused by comma in "= {1,2},".
7499 Bug #17756.
7500 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7501 for a statement boundary marked by "}", check there's no "="
7502 before the "{".
7503 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7504 non-nil `comma-delim' argument.
7505 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7506 initializer expression more accurately.
7507
7508 Correct loop termination condition in c-syntactic-skip-backward.
7509 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7510 the situation where, after moving back out of a literal,
7511 skip-chars-backward doesn't move further, yet checks have still to
7512 be done.
7513
7514 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7515
7516 * tutorial.el (tutorial--display-changes): Accept punctuation
7517 characters before the key binding. (Bug#18146)
7518
7519 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7520
7521 * progmodes/python.el: Shell output capture enhancements.
7522 (python-shell-accept-process-output): New function.
7523 (inferior-python-mode)
7524 (python-shell-send-setup-code): Use it.
7525
7526 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7527
7528 * calendar/icalendar.el (icalendar--decode-isodatetime):
7529 Use actual current-time-zone when converting to local time. (Bug#15408)
7530
7531 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7532
7533 * window.el (window--state-put-2): Handle horizontal scroll
7534 bars, if present.
7535
7536 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7537
7538 * menu-bar.el (menu-bar-update-buffers): Update item list format
7539 in `buffers-menu' to confirm with changes to `get_keyelt'
7540 (r117463). (Bug#18016)
7541
7542 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7543
7544 * progmodes/python.el (inferior-python-mode): Make input prompts
7545 read-only.
7546
7547 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7548
7549 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7550 executables named "python2" or "python3".
7551 (tramp-get-remote-uid-with-python): Use parentheses around
7552 arguments to `print' to make it compatible with Python 3.
7553 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7554
7555 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7556
7557 * window.el (window--pixel-to-total): Use FRAME's root window, not
7558 that of the selected frame. (Bug#18112, Bug#16674)
7559
7560 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7561
7562 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7563 (Bug#18117)
7564
7565 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7566
7567 * progmodes/python.el (inferior-python-mode): Doc fix.
7568
7569 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7570
7571 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7572 not a character, ignore it instead of raising an error.
7573
7574 * calendar/todo-mode.el: Fix handling of marked items and make
7575 minor code improvements.
7576 (todo-edit-item): If there are marked items, ensure user can only
7577 invoke editing commands that work with marked items.
7578 (todo-edit-item--text): When there are marked items, make it a
7579 noop if invoked with point not on an item; otherwise, ensure it
7580 applies only to item at point.
7581 (todo-item-undone): If there are marked not-done items, return
7582 point to its original position before signaling user error.
7583 (todo--user-error-if-marked-done-item): New function.
7584 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7585 (todo-item-done): Use it.
7586
7587 2014-07-28 Glenn Morris <rgm@gnu.org>
7588
7589 * files.el (toggle-read-only): Re-add basic doc-string.
7590 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7591
7592 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7593 Replace missing `switch-to-prolog' with `run-prolog'.
7594 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7595
7596 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7597
7598 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7599 of file-wide setting when changing category-wide setting.
7600
7601 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7602
7603 * doc-view.el (doc-view-open-text): Don't require that the
7604 document is saved in a file (e.g., email attachment).
7605
7606 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7607
7608 Parse completion input in a iPython friendly way. (Bug#18084)
7609 * progmodes/python.el
7610 (python-shell-completion-at-point): Rename from
7611 python-shell-completion-complete-at-point.
7612 (inferior-python-mode): Use it.
7613 (python-completion-at-point): Rename from
7614 python-completion-complete-at-point. Parse input up to first
7615 backward occurrence of whitespace, open-paren, close-paren or
7616 string delimiter.
7617 (python-mode): Use it.
7618
7619 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7620
7621 * progmodes/python.el
7622 (python-shell-with-shell-buffer): New macro.
7623 (python-shell-font-lock-get-or-create-buffer)
7624 (python-shell-font-lock-kill-buffer)
7625 (python-shell-font-lock-with-font-lock-buffer)
7626 (python-shell-font-lock-cleanup-buffer)
7627 (python-shell-font-lock-toggle): Use it.
7628 (python-shell-font-lock-turn-on)
7629 (python-shell-font-lock-turn-off): Use it. Make command.
7630
7631 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7632
7633 Grab all Python process output before inferior-python-mode hooks.
7634 * progmodes/python.el (inferior-python-mode):
7635 Call accept-process-output and sit-for to ensure all output for process
7636 has been received before running hooks.
7637 (python-shell-internal-get-or-create-process):
7638 Cleanup accept-process-output and sit-for calls.
7639
7640 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7641
7642 More robust shell startup and code setup.
7643 * progmodes/python.el (python-shell-make-comint):
7644 Remove accept-process-output call.
7645 (python-shell-get-buffer): Return current buffer if major-mode is
7646 inferior-python-mode.
7647 (python-shell-get-or-create-process): Use it.
7648 (python-shell-send-setup-code): Send all setup code in one string,
7649 output success message and accept-process-output.
7650
7651 2014-07-27 Eli Zaretskii <eliz@gnu.org>
7652
7653 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7654 Add rudimentary support for bidirectional text.
7655
7656 2014-07-27 Martin Rudalics <rudalics@gmx.at>
7657
7658 * frame.el (frame-notice-user-settings): Rewrite using
7659 frame-initial-frame-tool-bar-height.
7660 * menu-bar.el (menu-bar-horizontal-scroll-bar)
7661 (menu-bar-no-horizontal-scroll-bar): New functions.
7662 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7663 scroll bars.
7664 * scroll-bar.el (scroll-bar-lines)
7665 (set-horizontal-scroll-bar-mode)
7666 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7667 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7668 (scroll-bar-toolkit-horizontal-scroll): New functions.
7669 (horizontal-scroll-bar-mode)
7670 (previous-horizontal-scroll-bar-mode)
7671 (horizontal-scroll-bar-mode-explicit): New variables.
7672 (horizontal-scroll-bar-mode): New option.
7673 (toggle-horizontal-scroll-bar): Do something.
7674 (top-level): Bind horizontal-scroll-bar mouse-1.
7675 * startup.el (tool-bar-originally-present): Remove variable.
7676 (command-line): Don't set tool-bar-originally-present.
7677 * window.el (window-min-height): Update doc-string.
7678 (window--dump-frame): Dump horizontal scroll bar values.
7679 (window--min-size-1): Handle minibuffer window separately.
7680 Count in margins and horizontal scroll bar. Return safe value
7681 iff IGNORE equals 'safe.
7682 (frame-windows-min-size): New function (used by frame resizing
7683 routines).
7684 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7685 scroll bars.
7686 (window--sanitize-window-sizes): New function.
7687 (window-split-min-size): Remove.
7688 (split-window): Count divider-width. Don't use
7689 `window-split-min-size' any more. Reword error messages.
7690 Sanitize windows sizes after splitting.
7691
7692 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
7693
7694 Use `defvar-local' more.
7695 * progmodes/hideshow.el
7696 (hs-c-start-regexp, hs-block-start-regexp)
7697 (hs-block-start-mdata-select, hs-block-end-regexp)
7698 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7699 remove corresponding `make-variable-buffer-local' top-level calls.
7700
7701 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7702
7703 Cleanup error signals. (Bug#18067)
7704 * progmodes/python.el
7705 (python-indent-shift-left): Use user-error instead.
7706 (python-shell-prompt-detect): Use lwarn with python group.
7707 (python-completion-complete-at-point)
7708 (python-eldoc--get-doc-at-point): Don't signal error.
7709
7710 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7711
7712 Support for packages in Python shell. (Bug#13570)
7713 * progmodes/python.el (python-shell--package-depth): New var.
7714 (python-shell-package-enable): New command.
7715 (python-util-list-directories, python-util-list-files)
7716 (python-util-list-packages): New functions.
7717
7718 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7719
7720 Faster comint output. (Bug#16875)
7721 * progmodes/python.el:
7722 (python-comint-output-filter-function): Make obsolete.
7723 (python-comint-postoutput-scroll-to-bottom): New function.
7724 (inferior-python-mode): Set comint-output-filter-functions to a
7725 minimum.
7726
7727 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7728
7729 * progmodes/python.el (python-shell-font-lock-post-command-hook):
7730 Safeguard current point and undo history.
7731
7732 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7733
7734 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
7735 * progmodes/python.el:
7736 (python-shell-prompt-input-regexps): Add iPython block prompt.
7737 (python-shell-output-syntax-table): Delete var.
7738 (python-shell-font-lock-with-font-lock-buffer): New macro.
7739 (python-shell-font-lock-get-or-create-buffer)
7740 (python-shell-font-lock-kill-buffer)
7741 (python-shell-font-lock-cleanup-buffer)
7742 (python-shell-font-lock-post-command-hook)
7743 (python-shell-font-lock-turn-off): New functions.
7744 (python-shell-font-lock-turn-on): New function.
7745 (inferior-python-mode): Use it.
7746 (python-shell-font-lock-toggle): New command.
7747 (python-shell-font-lock-enable): Rename from
7748 python-shell-enable-font-lock.
7749 (run-python-internal): Use it.
7750 (python-shell-font-lock-comint-output-filter-function): New function.
7751 (python-shell-comint-end-of-output-p): New function.
7752 (python-shell-output-filter): Use it.
7753 (python-util-comint-last-prompt): New function.
7754 (python-util-text-properties-replace-name): New function.
7755
7756 2014-07-25 Glenn Morris <rgm@gnu.org>
7757
7758 * vc/ediff-init.el (ediff-toggle-read-only-function):
7759 * vc/ediff-util.el (ediff-toggle-read-only):
7760 Replace obsolete toggle-read-only with read-only-mode.
7761
7762 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7765 with `save-match-data'. (Bug#18095)
7766
7767 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
7768
7769 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7770 order to ensure that row and col are lexically bound inside the
7771 evaluated sexp.
7772
7773 2014-07-21 Glenn Morris <rgm@gnu.org>
7774
7775 * progmodes/hideif.el (hide-ifdef-mode-submap):
7776 Also substitute read-only-mode.
7777 * bindings.el (mode-line-toggle-read-only):
7778 * bs.el (bs-toggle-readonly):
7779 * buff-menu.el (Buffer-menu-toggle-read-only):
7780 * dired.el (dired-toggle-read-only):
7781 * files.el (view-read-only, find-file-read-only)
7782 (find-file-read-only-other-window)
7783 (find-file-read-only-other-frame):
7784 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7785 Doc fixes re toggle-read-only.
7786
7787 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7788
7789 * progmodes/python.el: Add comment about pipe buffering and
7790 solutions for missing/delayed output in inferior Python shells.
7791 (Bug#17304)
7792
7793 * progmodes/python.el (python-mode): Don't set
7794 mode-require-final-newline. (Bug#17990)
7795
7796 Make python.el work with IPython automatically. (Bug#15510)
7797 * progmodes/python.el:
7798 (python-shell-completion-setup-code): New value supporting iPython.
7799 (python-shell-completion-string-code): New value supporting iPython.
7800 (python-shell-completion-get-completions): Use them.
7801 (python-shell-completion-module-string-code): Make obsolete.
7802 (python-shell-prompt-input-regexps)
7803 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7804 (python-shell-output-filter): Fix comment typo.
7805
7806 Fix Python shell prompts detection for remote hosts.
7807 * progmodes/python.el (python-shell-prompt-detect):
7808 Replace call-process with process-file and make it more robust.
7809
7810 Autodetect Python shell prompts. (Bug#17370)
7811 * progmodes/python.el:
7812 (python-shell-interpreter-interactive-arg)
7813 (python-shell-prompt-detect-enabled)
7814 (python-shell-prompt-detect-failure-warning)
7815 (python-shell-prompt-input-regexps)
7816 (python-shell-prompt-output-regexps): New vars.
7817 (python-shell-prompt-calculated-input-regexp)
7818 (python-shell-prompt-calculated-output-regexp): New vars.
7819 (python-shell-get-process-name)
7820 (python-shell-internal-get-process-name)
7821 (python-shell-output-filter)
7822 (python-shell-completion-get-completions): Use them.
7823 (python-shell-prompt-detect)
7824 (python-shell-prompt-validate-regexps): New functions.
7825 (python-shell-prompt-set-calculated-regexps): New function.
7826 (inferior-python-mode): Use it. Also honor overriden
7827 python-shell-interpreter and python-shell-interpreter-args.
7828 (python-shell-make-comint): Honor overriden
7829 python-shell-interpreter and python-shell-interpreter-args.
7830 (python-shell-get-or-create-process): Make it testable by allowing
7831 to call run-python non-interactively.
7832 (python-util-valid-regexp-p): New function.
7833 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7834 (python-shell-prompt-output-regexp)
7835 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7836
7837 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * emacs-lisp/smie.el (smie-config--guess-1): Split from
7840 smie-config--guess.
7841 (smie-config--guess): Use it.
7842
7843 * emacs-lisp/edebug.el: Use nadvice.
7844 (edebug-original-read): Remove.
7845 (edebug--read): Rename from edebug-read and add `orig' arg.
7846 (edebug-uninstall-read-eval-functions)
7847 (edebug-install-read-eval-functions): Use nadvice.
7848 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7849 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7850 (edebug-read-string, edebug-read-function): Use just `read'.
7851 (edebug-original-debug-on-entry): Remove.
7852 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7853 `orig' arg.
7854 (debug-on-entry): Override with nadvice.
7855
7856 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7857 it also makes sense to bind it to a non-mouse event.
7858
7859 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7860
7861 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7864 (bug#18015).
7865
7866 * rect.el (rectangle--string-preview): Don't assume there
7867 a non-nil default (bug#17984).
7868
7869 2014-07-16 Glenn Morris <rgm@gnu.org>
7870
7871 * desktop.el (after-init-hook): Disable startup frame restoration
7872 in non-graphical situations. (Bug#17693)
7873
7874 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7875 if it was "empty", or used for a different set of files. (Bug#17884)
7876
7877 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7878
7879 * bindings.el (mode-line-remote): If default-directory is not a
7880 string, don't call file-remote-p on it; instead state in the
7881 help-echo that it is nil. (Bug#17986)
7882
7883 2014-07-14 Daniel Colascione <dancol@dancol.org>
7884
7885 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7886 to `macroexpand-all'
7887
7888 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7889 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7890
7891 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7892
7893 Fix bug: C-x v v discarded existing log message (Bug#17884).
7894 * vc/vc-dispatcher.el (vc-log-edit):
7895 Don't clobber an already-existing log message.
7896
7897 2014-07-12 Glenn Morris <rgm@gnu.org>
7898
7899 * vc/log-edit.el (log-edit-changelog-entries):
7900 Check for a visited-but-never-saved ChangeLog.
7901
7902 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7905 a non-existing file (bug#17970).
7906
7907 * faces.el (face-name): Undo last change.
7908 (x-resolve-font-name): Don't call face-name (bug#17956).
7909
7910 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7911
7912 Fix dedenters and electric colon handling. (Bug#15163)
7913 * progmodes/python.el
7914 (python-rx-constituents): Add dedenter and block-ender.
7915 (python-indent-dedenters, python-indent-block-enders): Delete.
7916 (python-indent-context): Return new case for dedenter-statement.
7917 (python-indent-calculate-indentation): Handle new case.
7918 (python-indent-calculate-levels): Fix levels calculation for
7919 dedenter statements.
7920 (python-indent-post-self-insert-function): Fix colon handling.
7921 (python-info-dedenter-opening-block-message): New function.
7922 (python-indent-line): Use it.
7923 (python-info-closing-block)
7924 (python-info-closing-block-message): Remove.
7925 (python-info-dedenter-opening-block-position)
7926 (python-info-dedenter-opening-block-positions)
7927 (python-info-dedenter-statement-p): New functions.
7928
7929 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
7930
7931 * files.el (out-of-memory-warning-percentage): New defcustom.
7932 (warn-maybe-out-of-memory): Use it.
7933
7934 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
7935
7936 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
7937 when calling `read-string'. (Bug#17839)
7938
7939 2014-07-10 Eli Zaretskii <eliz@gnu.org>
7940
7941 * files.el (warn-maybe-out-of-memory): Fix the wording of the
7942 warning.
7943
7944 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
7945
7946 * files.el (warn-maybe-out-of-memory): New function.
7947 (find-file-noselect): Use it.
7948
7949 2014-07-09 Sam Steingold <sds@gnu.org>
7950
7951 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7952 `constant' like `bless', `return' &c
7953
7954 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * rect.el (apply-on-rectangle): Check forward-line really moved to the
7957 next line.
7958
7959 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7962 the middle of a line (bug#17896).
7963
7964 2014-07-09 Juri Linkov <juri@jurta.org>
7965
7966 * startup.el (command-line): Append displaying the warning about
7967 the errors in the init file to the end of `after-init-hook'.
7968 (Bug#17927)
7969
7970 * faces.el (face-name): Return input arg `face' as-is
7971 when it's not a symbol.
7972 (x-resolve-font-name): Don't check if the face is a symbol.
7973 (Bug#17956)
7974
7975 * facemenu.el (list-colors-print): In help-echo format use %.2f
7976 instead of %d because now HSV values are floating-point components
7977 between 0.0 and 1.0.
7978
7979 2014-07-09 Glenn Morris <rgm@gnu.org>
7980
7981 * emulation/cua-rect.el (cua--activate-rectangle):
7982 Avoid setting cua--rectangle to nil. (Bug#17877)
7983
7984 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7985
7986 * calendar/todo-mode.el: Fix wrong-type-argument error when
7987 marking multiple consecutive items.
7988 (todo-toggle-mark-item): Don't try to mark the empty lines at the
7989 end of the todo and done items sections. Note in doc string that
7990 items marked by passing a numeric prefix argument can include the
7991 last todo and first done items.
7992 (todo-mark-category): Don't try to mark the empty line between the
7993 todo and done items sections.
7994
7995 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7998 proper Lisp quoting (bug#17934).
7999
8000 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8001 require-final-newline since prog-mode already took care of it (bug#17947).
8002
8003 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8004
8005 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8006 refer to the Todo mode Info manual. Update the comment on
8007 requiring cl-lib.
8008 (todo-find-filtered-items-file): Add todo-prefix overlays.
8009 (todo-filter-items): Reorder a let-bound variable to avoid a
8010 wrong-type-argument error on canceling the file choice dialog.
8011
8012 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * progmodes/octave.el (inferior-octave-mode):
8015 Set comint-input-ring-size to a number (bug#17912).
8016
8017 2014-07-09 Juri Linkov <juri@jurta.org>
8018
8019 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8020 and `isearch-mode' associated with nil. (Bug#17849)
8021
8022 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * linum.el (linum--face-height): New function (bug#17813).
8025 (linum-update-window): Use it to adjust margin to linum's width.
8026
8027 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8028 * eshell/em-smart.el (eshell-smart-scroll-window):
8029 Use with-selected-window.
8030
8031 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8032 Remove also pointless window&mark manipulation.
8033
8034 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8035 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8036 (perl-continuation-line-p): Don't skip over anything else than labels.
8037 Return the previous char.
8038 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8039 and update callers accordingly. For continuation lines, check the
8040 the case of array hashes.
8041 (perl-backward-to-noncomment): Make it non-interactive.
8042 (perl-backward-to-start-of-continued-exp): Rewrite.
8043
8044 2014-07-08 Sam Steingold <sds@gnu.org>
8045
8046 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8047 New user commands.
8048
8049 2014-07-08 Juri Linkov <juri@jurta.org>
8050
8051 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8052 (vc-annotate-color-map): Use less saturated colors (20%) for
8053 background-mode.
8054 (vc-annotate-very-old-color): Add default value for background-mode.
8055 (vc-annotate-background): Set default value to nil since now text on
8056 the default backgrounds should be legible in light and dark modes.
8057 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8058 (Bug#17808)
8059
8060 2014-07-08 Juri Linkov <juri@jurta.org>
8061
8062 * simple.el (transpose-chars): Don't move point into read-only area.
8063 (Bug#17829)
8064
8065 2014-07-08 Juri Linkov <juri@jurta.org>
8066
8067 * window.el (with-displayed-buffer-window): New macro.
8068 (with-temp-buffer-window, with-current-buffer-window):
8069 Use `macroexp-let2' to evaluate and bind variables
8070 in the same order as macro arguments.
8071 (display-buffer--action-function-custom-type):
8072 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8073
8074 * minibuffer.el (minibuffer-completion-help): Replace
8075 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8076 with actions that display *Completions* at-bottom when called
8077 from the minibuffer, or below-selected in a normal buffer.
8078 Associate `window-height' with `fit-window-to-buffer'.
8079 Let-bind `pop-up-windows' to nil.
8080
8081 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8082 instead of `with-current-buffer-window'. (Bug#17809)
8083
8084 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8085
8086 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8087 (hide-ifdef-env-backup): New variable.
8088 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8089 New customizable variables.
8090 (hif-clear-all-ifdef-defined): New defun.
8091 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8092 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8093 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8094 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8095 Fix bug to hide the correct #elif region(s).
8096 (hif-range-elif): New defun.
8097 (hif-recurse-level): New var.
8098 (hif-evaluate-region, hif-evaluate-macro): New defun.
8099 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8100 fully hidden.
8101 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8102 Better interaction.
8103
8104 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/dbus.el (dbus-peer-handler): New defun.
8107 (dbus-register-service): Register it. (Bug#17858)
8108 (dbus-managed-objects-handler): Fix docstring.
8109
8110 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8111
8112 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8113 (narrow-to-defun): New arg include-comments, defaulting to it
8114 (bug#16328).
8115
8116 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8119 different calling convention to rectangle--unhighlight-for-redisplay.
8120
8121 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp.el (tramp-call-process): Handle error strings.
8124
8125 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8126
8127 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8128 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8129
8130 * net/trampver.el: Update release number.
8131
8132 2014-07-03 Juri Linkov <juri@jurta.org>
8133
8134 * desktop.el (desktop-save): Rename arg `auto-save' to
8135 `only-if-changed'. Doc fix. (Bug#17873)
8136
8137 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8140 Use insert-for-yank (bug#17271).
8141
8142 2014-07-03 Leo Liu <sdl.web@gmail.com>
8143
8144 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8145 Support lexical-binding.
8146
8147 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * vc/log-edit.el (log-edit-goto-eoh): New function.
8150 (log-edit--match-first-line): Use it (bug#17861).
8151
8152 2014-07-03 Glenn Morris <rgm@gnu.org>
8153
8154 * vc/log-edit.el (log-edit-hook): Add missing :version.
8155
8156 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8157
8158 * progmodes/python.el (python-indent-post-self-insert-function):
8159 Enhancements to electric indentation behavior inside
8160 parens. (Bug#17658)
8161
8162 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8165 buffer-invisibility-spec (bug#17867).
8166
8167 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8170 pass "-a".
8171
8172 2014-07-03 Glenn Morris <rgm@gnu.org>
8173
8174 * cus-edit.el (help):
8175 * finder.el (finder-known-keywords):
8176 * help.el (help-for-help-internal):
8177 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8178 (ediff-redraw-registry-buffer):
8179 * vc/ediff-ptch.el (ediff-patch-file-internal):
8180 Doc fixes re "online" help. (Bug#17803)
8181
8182 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8183 (idlwave-mode): Doc URL update.
8184
8185 2014-07-01 Juri Linkov <juri@jurta.org>
8186
8187 * man.el: Display man pages immediately and use process-filter
8188 to format them asynchronously.
8189 (Man-width): Doc fix.
8190 (man): Doc fix.
8191 (Man-start-calling): Use `with-selected-window' to get
8192 `frame-width' and `window-width'.
8193 (Man-getpage-in-background): Call `Man-notify-when-ready'
8194 immediately after creating a new buffer. Call `Man-mode' and set
8195 `mode-line-process' in the created buffer. Set process-filter to
8196 `Man-bgproc-filter' in start-process branch. In call-process branch
8197 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8198 Use `Man-start-calling' inside `with-current-buffer'.
8199 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8200 (Man-cleanup-manpage): Don't print messages.
8201 (Man-bgproc-filter): New function.
8202 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8203 user moved it during asynchronous formatting. Move calls of
8204 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8205 `Man-bgproc-filter'. Move the call of `Man-mode' to
8206 `Man-getpage-in-background'. Use `quit-restore-window'
8207 instead of `kill-buffer'. Use `message' instead of `error'
8208 because errors are caught by process sentinel.
8209 (Man-mode): Move calls of `Man-build-page-list',
8210 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8211 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8212
8213 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8214 for the message about the man page cleaned up.
8215
8216 2014-07-01 Mario Lang <mlang@delysid.org>
8217
8218 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8219 cosutomization option `gnutls-verify-error'.
8220
8221 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8224 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8225
8226 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8227 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8228 is suspended (bug#17857).
8229
8230 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8231
8232 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8233 Prefer utf-8 coding. (Bug#17859)
8234
8235 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8236
8237 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8238 for `reverse'.
8239
8240 2014-06-30 Glenn Morris <rgm@gnu.org>
8241
8242 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8243 (autoload-ensure-default-file): Maybe make existing output writable.
8244 * Makefile.in (AUTOGEN_VCS): Remove.
8245 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8246
8247 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8248
8249 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8250
8251 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8252
8253 New if-let, when-let, thread-first and thread-last macros.
8254
8255 * emacs-lisp/subr-x.el
8256 (internal--listify, internal--check-binding)
8257 (internal--build-binding-value-form, internal--build-binding)
8258 (internal--build-bindings): New functions.
8259 (internal--thread-argument, thread-first, thread-last)
8260 (if-let, when-let): New macros.
8261
8262 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8263
8264 * net/rcirc.el (rcirc-buffer-process): Restore previous
8265 behaviour. (Bug#17772)
8266
8267 2014-06-29 Alan Mackenzie <acm@muc.de>
8268
8269 Don't call c-parse-state when c++-template-syntax-table is active.
8270 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8271 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8272 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8273
8274 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8275
8276 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8277 account for file-wide setting of todo-top-priorities-overrides.
8278 Make code a bit cleaner.
8279
8280 2014-06-28 Glenn Morris <rgm@gnu.org>
8281
8282 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8283
8284 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8285
8286 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8287 category-wide setting of todo-top-priorities-overrides, check for
8288 a file-wide setting and fontify accordingly.
8289
8290 2014-06-28 Glenn Morris <rgm@gnu.org>
8291
8292 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8293
8294 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8297
8298 2014-06-28 K. Handa <handa@gnu.org>
8299
8300 Fix Bug#17739.
8301
8302 * composite.el: Setup composition-function-table for dotted circle.
8303 (compose-gstring-for-dotted-circle): New function.
8304
8305 * international/characters.el: Add category "^" to all
8306 non-spacing characters.
8307
8308 2014-06-28 Glenn Morris <rgm@gnu.org>
8309
8310 * Makefile.in (doit): Remove force rule.
8311 (custom-deps, finder-data, autoloads, update-subdirs)
8312 (compile-one-process): PHONY targets do not need force rules.
8313
8314 * Makefile.in (compile-main, compile, compile-always):
8315 No need to explicitly pass variables to ourself in recursive calls.
8316
8317 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8320
8321 2014-06-26 Glenn Morris <rgm@gnu.org>
8322
8323 * Makefile.in (update-authors): Update for moved authors.el.
8324
8325 2014-06-26 Leo Liu <sdl.web@gmail.com>
8326
8327 * skeleton.el (skeleton-end-hook): Default to nil and move the
8328 work to skeleton-insert. (Bug#17850)
8329
8330 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8331
8332 * calc/calc-alg.el (math-beforep):
8333 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8334 Simplify because string-lessp can accept symbols as args.
8335
8336 2014-06-26 Daiki Ueno <ueno@gnu.org>
8337
8338 * emacs-lisp/package.el (package--check-signature):
8339 If package-check-signature is allow-unsigned, don't signal error when
8340 we can't verify signature because of missing public key
8341 (bug#17625).
8342
8343 2014-06-26 Glenn Morris <rgm@gnu.org>
8344
8345 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8346 Remove outdated declaration.
8347
8348 * emacs-lisp/authors.el (authors-valid-file-names)
8349 (authors-renamed-files-alist): Additions.
8350
8351 2014-06-26 Leo Liu <sdl.web@gmail.com>
8352
8353 * textmodes/picture.el (picture-set-tab-stops):
8354 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8355 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8356
8357 * progmodes/asm-mode.el (asm-calculate-indentation):
8358 Use indent-next-tab-stop.
8359
8360 * indent.el (indent-accumulate-tab-stops): New function.
8361
8362 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8365 (package-desc-status): Obey it.
8366
8367 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8368
8369 * calendar/todo-mode.el: Fix two bugs.
8370 (todo-insert-item--basic): If user cancels item insertion to
8371 another category before setting priority, show original category
8372 whether it is in the same or a different file.
8373 (todo-set-item-priority): After selecting category, instead of
8374 moving point to top, which extends an active region, restore it.
8375
8376 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * help-fns.el (describe-function-1): Check file-name is a string before
8379 calling help-fns--autoloaded-p (bug#17564).
8380
8381 2014-06-26 Juri Linkov <juri@jurta.org>
8382
8383 * desktop.el (desktop-auto-save-enable)
8384 (desktop-auto-save-disable): New functions.
8385 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8386 (desktop-read): Disable the autosave before loading the desktop,
8387 and enable afterwards. (Bug#17351)
8388
8389 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 Fix some indentation problem with \; and pipes (bug#17842).
8392 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8393 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8394 New functions.
8395 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8396 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8397 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8398
8399 2014-06-26 Glenn Morris <rgm@gnu.org>
8400
8401 * emacs-lisp/find-func.el (find-function-C-source-directory):
8402 Use file-accessible-directory-p.
8403
8404 * ps-samp.el: Make it slightly less awful.
8405 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8406 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8407 Only set local values.
8408 (ps-article-subject, ps-article-author): Use standard functions
8409 like mail-fetch-field.
8410 (ps-info-file, ps-info-node): Use match-string.
8411 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8412 (ps-samp-ps-setup): ... new function.
8413
8414 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8415 Optimize away code unneeded on any modern Emacs.
8416
8417 * emacs-lisp/authors.el: Move to ../admin.
8418
8419 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8420
8421 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8422
8423 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8424 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8425 performance enhancements.
8426 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8427 expansion.
8428 (hif-factor, hif-string-concatenation, intern-safe): Support string
8429 concatenation and argumented macro expansion.
8430 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8431 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8432 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8433 (hif-canonicalize-tokens, hif-place-macro-invocation)
8434 (hif-parse-macro-arglist): Mostly new functions for supporting
8435 argumented macro expansion.
8436 (hif-string-concatenation, hif-stringify, hif-token-concat)
8437 (hif-token-stringification, hif-token-concatenation):
8438 Stringification and concatenation.
8439 (hif-find-next-relevant): Fix comments.
8440 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8441 some cases involving #elif.
8442 (hif-find-define, hif-add-new-defines): New functions for automatically
8443 scanning of defined symbols.
8444 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8445 (hide-ifdef-undef): Fix behavior to match CPP.
8446
8447 2014-06-25 Glenn Morris <rgm@gnu.org>
8448
8449 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8450 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8451 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8452 files. They are not relevant to the original issue (bug#1004),
8453 and cause unnecessary recompilation (bug#2151).
8454
8455 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8458 (landmark--last-pos): New var.
8459 (landmark--intangible-chars): New const.
8460 (landmark--intangible): New function.
8461 (landmark-mode, landmark-move): Use it.
8462 (landmark-mode): Remove properties.
8463 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8464 (landmark-cross-qtuple):
8465 Don't worry about `intangible' any more.
8466 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8467 (landmark-init-display): Don't set `intangible' and `point-entered'.
8468 (square): Remove. Inline it instead.
8469 (landmark--distance): Rename from `distance'.
8470 (landmark-calc-distance-of-robot-from): Rename from
8471 calc-distance-of-robot-from.
8472 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8473
8474 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8475
8476 * files.el (dir-locals-find-file, file-relative-name):
8477 * info.el (Info-complete-menu-item):
8478 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8479 to compare-strings to avoid out-of-range errors.
8480 * subr.el (string-prefix-p): Adjust to match strict range
8481 checking in compare-strings.
8482
8483 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8484
8485 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8486 for comment lines non-greedy and stopping at newlines to fix stack
8487 overflows with large files.
8488
8489 2014-06-24 Eli Barzilay <eli@barzilay.org>
8490
8491 * calculator.el (calculator-last-input): Drop 'ascii-character property
8492 lookup.
8493
8494 2014-06-24 Leo Liu <sdl.web@gmail.com>
8495
8496 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8497 tab-stop-list to nil. (Bug#16381)
8498
8499 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8500 (indent-rigidly-left-to-tab-stop)
8501 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8502 (move-to-tab-stop): Change callers.
8503
8504 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8505
8506 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8507 wrt behavior of \n as the first/last element of a skeleton.
8508
8509 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8510
8511 * net/tramp-adb.el (tramp-adb-handle-process-file):
8512 * net/tramp-sh.el (tramp-sh-handle-process-file):
8513 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8514 the output buffer when DISPLAY is non-nil. (Bug#17815)
8515
8516 2014-06-24 Glenn Morris <rgm@gnu.org>
8517
8518 * play/landmark.el (landmark-move-down, landmark-move-up):
8519 Fix 2007-10-20 change - preserve horizontal position.
8520
8521 2014-06-23 Sam Steingold <sds@gnu.org>
8522
8523 * simple.el (kill-append): Remove undo boundary depending on ...
8524 (kill-append-merge-undo): New user option.
8525
8526 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * simple.el (handle-shift-selection, exchange-point-and-mark)
8529 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8530 (transient-mark-mode): Use&set the global value.
8531 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8532 * emulation/edt.el (edt-emulation-off): Save&restore the global
8533 transient-mark-mode setting.
8534 * obsolete/pc-select.el (pc-selection-mode): Use the
8535 transient-mark-mode function.
8536
8537 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8538
8539 * international/fontset.el (script-representative-chars):
8540 Add representative characters for scripts added in Unicode 7.0.
8541 (otf-script-alist): Synchronize with the latest registry of OTF
8542 script tags.
8543
8544 * international/characters.el (char-script-table): Update for
8545 scripts added and codepoint ranges changed in Unicode 7.0.
8546
8547 2014-06-23 Eli Barzilay <eli@barzilay.org>
8548
8549 * calculator.el (calculator-standard-displayer): Fix bug in use of
8550 `calculator-groupize-number'.
8551 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8552 `eval' code, so it works in v24.3.1 too.
8553 (calculator-last-input): Comment to clarify purpose.
8554
8555 2014-06-22 Mario Lang <mlang@delysid.org>
8556
8557 * textmodes/rst.el (rst-comment-region): From from -> from.
8558
8559 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8560
8561 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8562
8563 * electric.el (electric-layout-post-self-insert-function):
8564 * emacs-lisp/ert.el (ert--insert-infos):
8565 * obsolete/vi.el (vi-set-mark):
8566 * term.el (term-handle-scroll):
8567 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8568 * wid-edit.el (widget-editable-list-value-create):
8569 Prefer point-marker to copy-marker of point.
8570
8571 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8572
8573 Fix completion retrieval parsing (bug#17209).
8574 * progmodes/python.el (python-mode):
8575 (python-util-strip-string): New function.
8576 (python-shell-completion-get-completions): Use it.
8577
8578 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8579
8580 * skeleton.el (skeleton-insert): Fix last change.
8581
8582 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8583
8584 Enhancements for outline integration (bug#17796).
8585 * progmodes/python.el (python-mode): Properly set
8586 outline-heading-end-regexp so that comments after colons for
8587 defuns are supported.
8588
8589 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8590
8591 * skeleton.el (skeleton-insert): Doc fix.
8592
8593 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8596 (smie-config-guess): Use smie-config-local so the rules are obeyed
8597 (bug#17818).
8598
8599 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8600 since it's already done inside the loop (bug#17819).
8601
8602 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8603
8604 * mouse.el (mouse-drag-line): Re-remove code initially removed
8605 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8606 (Bug#17819).
8607
8608 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8611 align with the surrounding parent (bug#17721).
8612
8613 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8614
8615 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8616 locally to nil.
8617 (texinfo-insert-block, texinfo-insert-@end)
8618 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8619 local setting of skeleton-end-newline by adding an explicit \n to
8620 the skeletons where appropriate. (Bug#17801)
8621
8622 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8625 (smie-indent--hanging-p): Use it.
8626 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8627
8628 2014-06-21 Leo Liu <sdl.web@gmail.com>
8629
8630 * simple.el (read-quoted-char): Don't let help chars pop up help
8631 buffer. (Bug#16617)
8632
8633 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8636 for | (bug#17621).
8637
8638 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8639 Drop unknown events instead of burping.
8640
8641 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8642
8643 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8644 and later. (Bug#17790)
8645
8646 2014-06-21 Juri Linkov <juri@jurta.org>
8647
8648 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8649 to `soft'. (Bug#17554)
8650
8651 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8654 (bug#17737).
8655
8656 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
8657
8658 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8659 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
8660
8661 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
8662
8663 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8664 `unread-command-events'.
8665
8666 2014-06-19 William Xu <william.xwl@gmail.com>
8667
8668 * progmodes/hideif.el (hif-string-to-number): Don't return float for
8669 hex integer constants (bug#17807).
8670
8671 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * international/mule-util.el (truncate-string-ellipsis): New var.
8674 (truncate-string-to-width): Use it.
8675
8676 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
8677
8678 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8679 (lisp-string-in-doc-position-p): New function, extracted from
8680 lisp-font-lock-syntactic-face-function.
8681 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8682
8683 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
8684
8685 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
8686
8687 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8690 (bubbles--game-over): Don't add `intangible' properties since they
8691 didn't work anyway.
8692
8693 2014-06-18 Juri Linkov <juri@jurta.org>
8694
8695 * vc/ediff-init.el (ediff-current-diff-Ancestor)
8696 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8697 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8698 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8699 Add `min-colors 88' version with removed black/white foregrounds.
8700 (Bug#10181)
8701
8702 2014-06-18 Juri Linkov <juri@jurta.org>
8703
8704 * vc/diff-mode.el (diff-changed): Empty face definition to use
8705 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
8706 (diff-context): Use darker color on light background and
8707 lighter color on dark background.
8708
8709 2014-06-18 Juri Linkov <juri@jurta.org>
8710
8711 * vc/diff-mode.el (diff-refine-changed): Rename from
8712 `diff-refine-change' for consistency with `diff-changed'.
8713 (diff-refine-change): Add obsolete face alias. (Bug#10181)
8714
8715 * vc/smerge-mode.el (smerge-refined-changed): Rename from
8716 `smerge-refined-change'.
8717 (smerge-refined-change): Add obsolete face alias.
8718
8719 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * rect.el (rectangle-preview): New custom.
8722 (rectangle): New group.
8723 (rectangle--pos-cols): Add `window' argument.
8724 (rectangle--string-preview-state, rectangle--string-preview-window):
8725 New vars.
8726 (rectangle--string-flush-preview, rectangle--string-erase-preview)
8727 (rectangle--space-to, rectangle--string-preview): New functions.
8728 (string-rectangle): Use them.
8729 (rectangle--inhibit-region-highlight): New var.
8730 (rectangle--highlight-for-redisplay): Obey it. Make sure
8731 `apply-on-region' uses the point-crutches of the right window.
8732 Use :align-to rather than multiple spaces.
8733
8734 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
8735
8736 * ruler-mode.el (ruler-mode-window-col)
8737 (ruler-mode-mouse-set-left-margin)
8738 (ruler-mode-mouse-set-right-margin): Fix calculation of column
8739 from mouse position (Bug#17768).
8740
8741 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
8742
8743 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8744 without varname or rhs causes crash.
8745 (dun-ftp): Fix bug where blank ftp password is allowed, making it
8746 impossible to win endgame.
8747 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8748 rlogin is anymore.
8749 (dun-help): Bump version number; update contact info.
8750
8751 2014-06-15 Eli Barzilay <eli@barzilay.org>
8752
8753 * calculator.el (calculator-prompt, calculator-remove-zeros)
8754 (calculator-mode-hook, calculator-operators, calculator-stack)
8755 (calculator-mode): Tweak docstring.
8756 (calculator-user-operators): Tweak docstring, fix a bug in the last
8757 example.
8758 (calculator-displayer): `std' case has an optional boolean.
8759 (calculator-displayers): Use the new boolean to group in decimal mode.
8760 (calculator-mode-map, calculator, calculator-message)
8761 (calculator-op-arity, calculator-add-operators)
8762 (calculator-string-to-number, calculator-displayer-prev)
8763 (calculator-displayer-next, calculator-remove-zeros)
8764 (calculator-eng-display, calculator-number-to-string)
8765 (calculator-update-display, calculator-last-input)
8766 (calculator-clear-fragile, calculator-digit, calculator-decimal)
8767 (calculator-exp, calculator-saved-move, calculator-clear)
8768 (calculator-copy, calculator-put-value, calculator-help)
8769 (calculator-expt, calculator-truncate): Minor code improvements.
8770 (calculator-need-3-lines): New function pulling out code from
8771 `calculator'.
8772 (calculator-get-display): Rename from `calculator-get-prompt', and
8773 improved.
8774 (calculator-push-curnum): Rename from `calculator-curnum-value', and
8775 extended for all uses of it. All callers changed.
8776 (calculator-groupize-number): New utility for splitting a number into
8777 groups.
8778 (calculator-standard-displayer): Improve code, new optional argument to
8779 use comma-split groups, make second argument optional too to use with
8780 'left/'right inputs. All callers changed.
8781 (calculator-reduce-stack-once): New utility, doing the meat of what
8782 `calculator-reduce-stack' used to do, much improved (mostly using
8783 `pcase' for conciseness and clarity).
8784 (calculator-reduce-stack): Now doing just the reduction loop using
8785 `calculator-reduce-stack-once'.
8786 (calculator-funcall): Improve code, make it work in v24.3.1 too.
8787 (calculator-last-input): Improve code, remove some old cruft.
8788 (calculator-quit): Kill `calculator-buffer' in electric mode too.
8789 (calculator-integer-p): Remove.
8790 (calculator-fact): Improve code, make it work on non-integer values
8791 too (using truncated numbers).
8792
8793 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
8794
8795 Sync with Tramp 2.2.10.
8796
8797 * net/tramp.el (tramp-methods): Tweak docstring.
8798 (tramp-handle-file-accessible-directory-p): Check for
8799 `file-readable-p' instead of `file-executable-p'.
8800 (tramp-check-cached-permissions):
8801 Use `tramp-compat-file-attributes'.
8802 (tramp-call-process): Add new argument VEC. Adapt callees in all
8803 tramp*.el files.
8804
8805 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8806 (tramp-adb-maybe-open-connection): Don't set
8807 `tramp-current-*' variables.
8808
8809 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8810 file properties of temporary buffers.
8811
8812 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8813
8814 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8815 (tramp-gvfs-handle-delete-file): Flush file
8816 properties, not directory properties.
8817 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8818 reading "unix::mode".
8819 (tramp-gvfs-handle-file-name-all-completions):
8820 Use "-h" option for "gvfs-ls".
8821 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8822 (tramp-gvfs-send-command): Simplify traces.
8823
8824 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8825 (vc-git-program, vc-hg-program): Declare.
8826 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
8827 (tramp-methods) <nc>: Add new method.
8828 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8829 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8830 `tramp-login-args'.
8831 (tramp-default-user-alist): Add "nc".
8832 (top): Remove completion function for "sftp". Add completion
8833 functions for "nc" and "psftp".
8834 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8835 Implement support for "nc" method.
8836 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8837 (tramp-remote-coding-commands, tramp-call-local-coding-command):
8838 Tweak docstring.
8839 (tramp-sh-handle-write-region): Tweak error message.
8840 (tramp-sh-handle-vc-registered): Remove backends when the remote
8841 binary does not exist.
8842 (tramp-find-inline-encoding): Do not raise an error.
8843 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
8844 the "nc" case. Quote result also locally.
8845
8846 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8847 (tramp-smb-handle-set-file-acl): Use `start-process'.
8848 (tramp-smb-handle-insert-directory): Use progress reporter.
8849 (tramp-smb-handle-rename-file): Flush also file properties of
8850 FILENAME.
8851
8852 * net/trampver.el: Update release number.
8853
8854 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8857 add-to-list.
8858 (ses-localvars): Remove ses--local-printer-list, unused.
8859 (ses--metaprogramming): New macro. Use it to defvar variables.
8860 (ses-set-localvars): Simplify.
8861 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8862 property-list into an alist.
8863 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8864 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8865 Remove; use defstruct accessors/setters instead.
8866 (ses-cell-formula-aset, ses-cell-printer-aset)
8867 (ses-cell-references-aset): Remove, use setf instead.
8868 (ses--alist-get): New function.
8869 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8870 Use an alist instead of a plist and don't do move-to-front since the
8871 list is always short.
8872 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8873 (ses-cell-property-set-fun, ses-cell-property-set)
8874 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8875 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8876 (ses--letref): New macro.
8877 (ses-cell-property-pop): Rewrite.
8878 (ses--cell): Rename from ses-cell and make it into a function.
8879 Make `formula' fallback on `value' if nil.
8880 (ses--local-printer): Rename from ses-local-printer and make it into
8881 a function.
8882 (ses-set-cell): Turn it into a macro so finding the accessor from the
8883 field name is done at compile time.
8884 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8885 `ref' before adding `sym' to :ses-repair-reference.
8886 (ses-calculate-cell): Use ses--letref rather than
8887 ses-cell-property-get-handle.
8888 (ses-write-cells): Use a single prin1-to-string.
8889 (ses-setter-with-undo): New function.
8890 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8891 (ses-unset-with-undo): Remove.
8892 (ses-load): Prefer apply' over `eval'.
8893 (ses-read-printer, ses-set-column-width): Use standard "(default
8894 foo)" format.
8895
8896 2014-06-15 Glenn Morris <rgm@gnu.org>
8897
8898 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8899
8900 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8901 Replace delete-duplicates and mapcan by cl- versions throughout.
8902 And cl-macroexpand-all by macroexpand-all.
8903 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8904
8905 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8906
8907 * subr.el (posn-col-row): Doc fix. (Bug#17768)
8908
8909 2014-06-15 Juri Linkov <juri@jurta.org>
8910
8911 * bindings.el: Put `ascii-character' property on keypad keys
8912 mapped to characters. (Bug#17759)
8913
8914 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8917 bumping forward into a closing paren (bug#17761).
8918
8919 * term/xterm.el (xterm--version-handler): Work around for OSX
8920 Terminal.app (bug#17607).
8921
8922 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
8923
8924 * play/dunnet.el (dun-describe-room, dun-mode):
8925 If a lamp is in the room, you won't be eaten by a grue.
8926
8927 2014-06-13 Glenn Morris <rgm@gnu.org>
8928
8929 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8930 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8931 (compile-always): GNU make automatically passes
8932 command-line arguments to sub-makes.
8933
8934 * calendar/calendar.el (calendar-generate-window):
8935 Remove pointless call to font-lock-fontify-buffer.
8936
8937 2014-06-13 Matthias Meulien <orontee@gmail.com>
8938
8939 * simple.el (completion-list-mode-map): Navigate with tab and backtab
8940 (bug#17767).
8941
8942 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * simple.el (set-mark-command): Simplify a bit.
8945
8946 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8947
8948 * help.el (help--key-binding-keymap): New function.
8949 (help--binding-locus): New function.
8950 (describe-key): Mention the keymap in which the binding was
8951 found. (bug#13948)
8952
8953 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * hippie-exp.el (he--all-buffers): New function.
8956 (try-expand-line-all-buffers, try-expand-list-all-buffers)
8957 (try-expand-dabbrev-all-buffers): Use it.
8958
8959 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8960
8961 * hippie-exp.el (try-expand-line-all-buffers)
8962 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8963 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8964 original buffer, in case they're buffer-local.
8965
8966 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
8967
8968 * ses.el (ses-initial-global-parameters-re): New defconst, a
8969 specific regexp is needed now that ses.el can handle both
8970 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8971 local printers.
8972 (ses-localvars): Add local variables needed for local printer handling.
8973 (ses-set-localvars): Handle hashmap initialisation.
8974 (ses-paramlines-plist): Add param-line for number of local printers.
8975 (ses-paramfmt-plist): New defconst, needed for code factorization
8976 between functions `ses-set-parameter' and
8977 `ses-file-format-extend-paramter-list'
8978 (ses-make-local-printer-info): New defsubst.
8979 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8980 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8981 (ses-cell-printer-aset): New defmacro.
8982 (ses-local-printer-compile): New defun.
8983 (ses-local-printer): New defmacro.
8984 (ses-printer-validate, ses-call-printer): Add support for local
8985 printer functions.
8986 (ses-file-format-extend-paramter-list): New defun.
8987 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8988 factorization.
8989 (ses-load): Add support for local printer functions.
8990 (ses-read-printer): Update docstring and add support for local printer
8991 functions.
8992 (ses-refresh-local-printer, ses-define-local-printer): New defun.
8993 (ses-safe-printer): Add support for local printer functions.
8994
8995 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
8996
8997 * ffap.el (ffap-lax-url): New var (bug#17723).
8998 (ffap-url-at-point): Use it.
8999 (ffap-file-at-point): Avoid returning just "/".
9000
9001 2014-06-12 Matthias Meulien <orontee@gmail.com>
9002
9003 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9004 (python-mode-map): Bind it.
9005
9006 * progmodes/python.el (class skeleton): Don't erase last char of class
9007 name (bug#17683).
9008
9009 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9010
9011 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9012
9013 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9014
9015 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9016 (bug#17745).
9017
9018 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * international/mule-cmds.el: Use lexical-binding.
9021 (ucs-names): Simplify.
9022
9023 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9024
9025 * progmodes/python.el (run-python): Use read-shell-command.
9026
9027 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * rect.el: Make it possible to move bounds past EOL or into TABs.
9030 (operate-on-rectangle): Use apply-on-rectangle.
9031 (rectangle--mark-crutches): New var.
9032 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9033 (rectangle--crutches, rectangle--reset-crutches): New functions.
9034 (apply-on-rectangle): Obey crutches. Avoid setq.
9035 Fix missing final iteration if end is at EOB&BOL.
9036 (rectangle-mark-mode-map): Add remap bindings for
9037 exchange-point-and-mark and char/line movements.
9038 (rectangle--*-char): New function.
9039 (rectangle-exchange-point-and-mark, rectangle-right-char)
9040 (rectangle-left-char, rectangle-forward-char)
9041 (rectangle-backward-char, rectangle-next-line)
9042 (rectangle-previous-line): New commands.
9043 (rectangle--place-cursor): New function.
9044 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9045
9046 2014-06-08 Glenn Morris <rgm@gnu.org>
9047
9048 * startup.el (initial-buffer-choice): Doc fix.
9049 Reset :version (adding an option does not merit a :version bump).
9050
9051 * bookmark.el (bookmark-load):
9052 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9053
9054 2014-06-08 Juri Linkov <juri@jurta.org>
9055
9056 * desktop.el: Activate auto-saving on window configuration changes.
9057 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9058 `desktop-auto-save-set-timer' to/from
9059 `window-configuration-change-hook'.
9060 (desktop-auto-save-set-timer): Change REPEAT arg of
9061 `run-with-idle-timer' from t to nil.
9062 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9063
9064 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9065
9066 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9067 vc-hg-command (bug#17570).
9068
9069 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9072 (bug#17702).
9073
9074 2014-06-08 Glenn Morris <rgm@gnu.org>
9075
9076 * startup.el (window-setup-hook): Doc fix.
9077
9078 * emacs-lisp/package.el (package-check-signature)
9079 (package-unsigned-archives): Doc fixes.
9080
9081 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9082
9083 * window.el (display-buffer-use-some-window): Don't make window
9084 used smaller than it was before (Bug#17671).
9085
9086 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9087
9088 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9089 'redisplay' instead of '(sit-for 0)'.
9090
9091 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * net/tramp.el (tramp-ssh-controlmaster-options):
9094 Improve search regexp. (Bug#17653)
9095
9096 2014-06-08 Glenn Morris <rgm@gnu.org>
9097
9098 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9099
9100 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9101
9102 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9103
9104 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9105
9106 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9107 (bug#17586).
9108
9109 * vc/vc-hg.el (vc-hg-log-graph): New var.
9110 (vc-hg-print-log): Use it.
9111 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9112 graph output (bug#17515).
9113
9114 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9117 even happened elsewhere.
9118
9119 2014-06-06 Mario Lang <mlang@delysid.org>
9120
9121 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9122 `recenter' if `current-buffer' is equal to `window-buffer'.
9123
9124 2014-06-05 Leo Liu <sdl.web@gmail.com>
9125
9126 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9127
9128 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9129
9130 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9131 New function which calls a callback on portions of the buffer that are
9132 outside of ignored environments.
9133 (tildify-build-regexp): Remove function since it is now
9134 incorporated in `tildify-foreach-region-outside-env' where it is
9135 optimized and simplified by the use of `mapconcat'.
9136 (tildify-tildify): Return number of substitutions made so that…
9137 (tildify-count): …can be removed.
9138 (tildify-find-env): Accept a new PAIRS argument which was
9139 previously looked up in `tildify-ignored-environments-alist' each
9140 time the function was called. With this change, the lookup is
9141 performed only once in `tildify-foreach-region-outside-env'.
9142 (tildify-region): Greatly simplify the function since now most of
9143 the work is done by `tildify-foreach-region-outside-env'.
9144 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9145 and instead using or.
9146
9147 * textmodes/tildify.el (tildify-ignored-environments-alist):
9148 Optimize environments regexes
9149
9150 Each time beginning of an environment to ignore is found,
9151 `tildify-find-env' needs to identify regexp for the ending
9152 of the environment. This is done by trying all the opening
9153 regexes on matched text in a loop, so to speed that up, this
9154 loop should have fewer things to match, which can be done by
9155 using alternatives in the opening regexes.
9156
9157 Coincidentally, this should make matching of the opening
9158 regexp faster as well thanks to the use of `regexp-opt' and
9159 having common prefix pulled from many regexes.
9160
9161 * textmodes/tildify.el (tildify-string-alist)
9162 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9163 of supported modes since `xml-mode' is no longer a thing but just
9164 an alias to the former. Also include comments and insides of tags
9165 in `tildify-ignored-environments-alist' for XML modes. Finally,
9166 since XML does not define “&nbsp;”[1], use a numeric reference for
9167 a no-break space (namely “&#160;”)
9168
9169 [1] XML specification defines only a handful of predefined entities.
9170 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9171 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9172 >, &, ' and " respectively). This is in contrast to HTML and even
9173 XHTML which defined a whole bunch of entities including “&nbsp;”.
9174
9175 * textmodes/tildify.el (tildify-pattern-alist)
9176 (tildify-string-alist, tildify-ignored-environments-alist):
9177 Improve defcustom's types by adding more tags explaining what each
9178 value means and replace “sexp” used in
9179 `tildify-ignored-environments-alist' with a full type declaration.
9180
9181 * textmodes/tildify.el (tildify-find-env): Fix matched group
9182 indexes in end-regex building
9183
9184 When looking for a start of an ignore-environment, the regex is built
9185 by concatenating regexes of all the environments configured in
9186 `tildify-ignored-environments-alist'. So for example, the following
9187 list could be used to match TeX's \verb and \verb* commands:
9188
9189 (("\\\\verb\\(.\\)" . (1))
9190 ("\\\\verb\\*\\(.\\)" . (1)))
9191
9192 This would result in the following regex being used to find the start
9193 of any of the variants of the \verb command:
9194
9195 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9196
9197 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9198 won't match anything, and thus (match-string 1) will be nil, which
9199 will cause building of the end-matching regex to fail.
9200
9201 Fix this by using capture groups from the time when the opening
9202 regexes are matched individually.
9203
9204 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9205 in `tildify-find-env'
9206
9207 The `tildify-ignored-environments-alist' allows the end-regex to
9208 be provided not as a static string but mix of strings and indexes
9209 of groups matched the begin-regex. For example, the “\verb!…!”
9210 TeX-command (where “!” is an arbitrary character) is handled
9211 using:
9212
9213 ("\\\\verb\\*?\\(.\\)" . (1))
9214
9215 In the same way, the following should be supported as well:
9216
9217 ("open-\\(.\\)" . ("end-" 1))
9218
9219 However the tildify-find-env function fails at
9220
9221 (concat result
9222 (if (stringp (setq aux (car expression)))
9223 expression ; BUG: expression is a list
9224 (regexp-quote (match-string aux))))
9225
9226 where the string part is handled incorrectly.
9227
9228 The most trivial fix would be to replace `expression' in the
9229 true-part of the if-statement with `aux', but instead, this commit
9230 optimizes `tildify-find-env' by changing it to use `mapconcat'
9231 rather than open-coded while-loop.
9232
9233 2014-06-05 Mario Lang <mlang@delysid.org>
9234
9235 * woman.el (woman-mapcan): Remove.
9236 (woman-parse-colon-path): Use cl-mapcan instead.
9237
9238 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9239
9240 * register.el: Add link to Emacs manual in Commentary.
9241
9242 2014-06-02 Sam Steingold <sds@gnu.org>
9243
9244 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9245 (popup-menu): ...here.
9246 (menu-bar-open): Use it to avoid an error when `lookup-key'
9247 returns a number.
9248
9249 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9250
9251 * net/tramp.el (tramp-call-process): Add traces.
9252 (tramp-handle-unhandled-file-name-directory): Return "/".
9253
9254 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9255
9256 Sync with upstream verilog-mode revision 3cd8144.
9257 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9258 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9259 (verilog-type-font-keywords): Add nor.
9260 (verilog-batch-execute-func): Force reading of Local Variables.
9261 Fix printing "no changes to be saved" with verilog-batch.
9262 (verilog-auto-arg-ports): Doc fix.
9263 Add verilog-auto-arg-format to support newlines in AUTOARG.
9264 (verilog-auto-arg): Doc fix.
9265
9266 2014-06-02 Glenn Morris <rgm@gnu.org>
9267
9268 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9269 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9270 * emulation/ws-mode.el: Move to obsolete/.
9271 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9272
9273 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9274
9275 * simple.el (keyboard-quit): Force update of mode lines, to remove
9276 the "Def" indicator, if we were defining a macro. (Bug#17615)
9277
9278 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * minibuffer.el (minibuffer-force-complete-and-exit):
9281 Obey minibuffer-default (bug#17545).
9282
9283 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9284 (bug#17619).
9285
9286 * subr.el (set-transient-map): Don't wait for some "nested"
9287 transient-map to finish if we're only supposed to be active for
9288 the next command (bug#17642).
9289
9290 2014-06-02 Leo Liu <sdl.web@gmail.com>
9291
9292 * emacs-lisp/gv.el (window-buffer, window-display-table)
9293 (window-dedicated-p, window-hscroll, window-point, window-start):
9294 Fix gv-expander. (Bug#17630)
9295
9296 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9299 clicks (bug#17633).
9300
9301 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9302 for the single comma, since ", " is *very* common in normal French text
9303 (bug#17643).
9304
9305 2014-06-02 Glenn Morris <rgm@gnu.org>
9306
9307 * emacs-lisp/package.el (package-check-signature)
9308 (package-unsigned-archives): Fix :version.
9309
9310 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * subr.el (sit-for): Don't run input-methods (bug#15614).
9313
9314 2014-06-02 Glenn Morris <rgm@gnu.org>
9315
9316 * cus-start.el: Fix some :version numbers.
9317
9318 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * simple.el (deactivate-mark): Set mark-active to nil even if
9321 deactivation is done via setting transient-mark-mode to nil,
9322 since one is buffer-local and the other is global.
9323
9324 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9325 there can't be more than 2 arguments (bug#17584).
9326
9327 2014-06-02 Glenn Morris <rgm@gnu.org>
9328
9329 * simple.el (filter-buffer-substring-functions)
9330 (filter-buffer-substring-function, buffer-substring-filters)
9331 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9332
9333 * minibuffer.el (completion-in-region-functions, completion-in-region)
9334 (completion--in-region): Doc fixes.
9335
9336 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9337 (expand-abbrev, abbrev--default-expand): Doc fixes.
9338
9339 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9340
9341 Include sources used to create macuvs.h.
9342 * international/README: Refer to the Unicode Terms of Use rather
9343 than copying it bodily here, as that simplifies maintenance.
9344
9345 2014-06-01 Glenn Morris <rgm@gnu.org>
9346
9347 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9348
9349 2014-05-31 Glenn Morris <rgm@gnu.org>
9350
9351 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9352
9353 2014-05-30 Glenn Morris <rgm@gnu.org>
9354
9355 * loadup.el: Treat `command-line-args' more flexibly.
9356
9357 2014-05-30 Alan Mackenzie <acm@muc.de>
9358
9359 Guard (looking-at "\\s!") from XEmacs.
9360 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9361
9362 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9363
9364 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9365 The argument COUNT is now optional, to be more backward-compatible.
9366 Doc fix. (Bug#17560)
9367
9368 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9369
9370 * whitespace.el (whitespace-report-region):
9371 Simplify documentation.
9372 (whitespace-report-region): Allow report-if-bogus to take the
9373 value `never', for non-interactive use.
9374 (whitespace-report): Refer to whitespace-report-region's
9375 documentation.
9376
9377 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9380 Side benefit: it works without jit-lock.
9381 (whitespace-point--used): New buffer-local var.
9382 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9383 (whitespace-color-off): Use font-lock-flush.
9384 (whitespace-point--used, whitespace-point--flush-used): New functions.
9385 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9386 (whitespace-empty-at-eob-regexp): Use them.
9387 (whitespace-post-command-hook): Rewrite.
9388
9389 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9390 (font-lock-fontify-buffer): Mark interactive-only.
9391 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9392 Make buffer-local.
9393 (font-lock-specified-p): Remove redundant boundp check.
9394 (font-lock-flush-function, font-lock-ensure-function): New vars.
9395 (font-lock-turn-on-thing-lock): Set them.
9396 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9397 (font-lock-after-change-function): Make `old-len' optional.
9398 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9399 Call font-lock-flush, just in case.
9400 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9401 recent Emacsen.
9402 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9403 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9404 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9405 and with-syntax-table.
9406 * textmodes/conf-mode.el (conf-quote-normal):
9407 * progmodes/sh-script.el (sh-set-shell):
9408 * progmodes/prog-mode.el (prettify-symbols-mode):
9409 * progmodes/f90.el (f90-font-lock-n):
9410 * progmodes/cwarn.el (cwarn-mode):
9411 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9412 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9413 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9414 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9415 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9416 font-lock-fontify-buffer-function and
9417 font-lock-unfontify-buffer-function.
9418 (rmail-unfontify-buffer-function, rmail-fontify-message):
9419 Use with-silent-modifications.
9420 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9421 and font-lock-ensure.
9422 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9423
9424 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9425
9426 * emacs-lisp/package.el (package-generate-autoloads):
9427 Inhibit backup files.
9428
9429 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9432 (bug#17608).
9433
9434 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9435
9436 * textmodes/tildify.el (tildify-buffer, tildify-region):
9437 Add dont-ask option.
9438
9439 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9442 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9443
9444 * subr.el (internal--funcall-interactively): New.
9445 (internal--call-interactively): Remove.
9446 (called-interactively-p): Detect funcall-interactively instead of
9447 call-interactively.
9448 * simple.el (repeat-complex-command): Use funcall-interactively.
9449 (repeat-complex-command--called-interactively-skip): Remove.
9450
9451 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * register.el (register-read-with-preview): Don't burp on
9454 frame switches (e.g. due to the frame we just popped).
9455
9456 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9457 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9458
9459 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9460
9461 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9462
9463 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9464
9465 * window.el (window--dump-frame): Remove interactive specification.
9466
9467 2014-05-26 Glenn Morris <rgm@gnu.org>
9468
9469 * hippie-exp.el (he-line-search-regexp):
9470 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9471
9472 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9473
9474 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9475 to avoid errors when trying to create or visit a file foo.todo
9476 located outside to todo-directory, and to allow having such files
9477 without them being tied to Todo mode (bug#17482).
9478 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9479 (todo-archive-done-item, todo-find-filtered-items-file)
9480 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9481 (todo-category-completions, todo-read-category): When visiting a
9482 Todo file, make sure we're in the right mode and the buffer local
9483 variables are set.
9484 (todo-make-categories-list, todo-reset-nondiary-marker)
9485 (todo-reset-done-string, todo-reset-comment-string):
9486 After processing all Todo files, kill the buffers of those files that
9487 weren't being visited before the processing.
9488 (todo-display-as-todo-file, todo-add-to-buffer-list)
9489 (todo-visit-files-commands): Comment out.
9490 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9491 (auto-mode-alist): Remove add-to-list calls making Todo file
9492 extensions unrestrictedly tied to Todo modes.
9493
9494 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9497 (advice-function-member-p): Tell it to check both names and functions
9498 (bug#17531).
9499 (advice--add-function): Adjust call accordingly.
9500
9501 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9502
9503 * calendar/todo-mode.el: Miscellaneous bug fixes.
9504 (todo-delete-file): When deleting an archive but not its todo
9505 file, make sure to update the todo file's category sexp.
9506 (todo-move-category): Keep the moved category's name unless the
9507 file moved to already has a category with that name. If the
9508 numerically last category of the source file was moved, make the
9509 first category current to avoid selecting a nonexisting category.
9510 (todo-merge-category): Fix implementation to make merging to a
9511 category in another file work as documented. Eliminate now
9512 insufficient and unnecessary renaming of archive category, correct
9513 document string accordingly, and clarify it. If the numerically
9514 last category of the source file was merged, make the first
9515 category current to avoid selecting a nonexisting category.
9516 (todo-archive-done-item): When there are marked items and point
9517 happens to be on an unmarked item, ignore the latter. Don't leave
9518 point below last item after archiving marked items.
9519 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9520 from an archive with only one category deletes the archive only
9521 when the category is empty after unarchiving. Make sure the todo
9522 file's category sexp is updated.
9523 (todo-read-file-name): Allow an existing file name even when it is
9524 not required (todo-move-category needs this to work as documented).
9525 (todo-add-file): Call todo-validate-name to reject the name of an
9526 existing todo file (needed due to fix in todo-read-file-name).
9527 (todo-reset-nondiary-marker): Also reset in filtered items files.
9528 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9529 regexp filtered items files.
9530 (todo-reset-highlight-item): Also reset in filtered items files.
9531 Fix incorrect variable reference in document string.
9532
9533 2014-05-26 Glenn Morris <rgm@gnu.org>
9534
9535 * window.el (window--dump-frame): Avoid error in --without-x builds.
9536
9537 2014-05-26 Glenn Morris <rgm@gnu.org>
9538
9539 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9540
9541 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9542
9543 * frame.el (set-frame-font): Doc fix.
9544
9545 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9546
9547 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9548
9549 * emacs-lisp/package.el (package--download-one-archive):
9550 Use `write-region' instead of `save-buffer' to avoid running various
9551 hooks. (Bug#17155)
9552 (describe-package-1): Same. Insert newline at the end of the
9553 buffer if appropriate.
9554
9555 2014-05-26 Juri Linkov <juri@jurta.org>
9556
9557 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9558 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9559 Add more modifiers: meta, control, shift, hyper, super, alt.
9560 (Bug#17439)
9561
9562 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9563 to allow changing its value with `set-variable'.
9564
9565 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9568 #; comments.
9569 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9570 New functions.
9571 (scheme-mode-variables): Set syntax-propertize-function instead of
9572 font-lock-syntactic-face-function.
9573 (scheme-font-lock-syntactic-face-function): Delete.
9574
9575 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9576
9577 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9578 (bug#17392).
9579
9580 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9581
9582 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9583 for a temporary file name.
9584
9585 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9586
9587 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9588
9589 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9590
9591 * net/dbus.el (dbus-init-bus, dbus-call-method)
9592 (dbus-call-method-asynchronously, dbus-send-signal)
9593 (dbus-method-return-internal, dbus-method-error-internal):
9594 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9595
9596 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9597
9598 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9599 methods which do not have a doc string. (Bug#17490)
9600
9601 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9602
9603 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9604 also for AMS Math's \eqref macro.
9605
9606 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9607
9608 Arrange to never byte-compile the generated -pkg.el file.
9609
9610 * emacs-lisp/package.el (package-generate-description-file):
9611 Output first-line comment to set buffer-local var `no-byte-compile'.
9612 Suggested by Dmitry Gutov:
9613 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9614
9615 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9616
9617 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9618
9619 * emacs-lisp/package.el (package-generate-description-file):
9620 Inline `package--alist-to-plist'; rewrite to selectively
9621 quote alist values that are not self-quoting.
9622 (package--alist-to-plist): Delete func.
9623
9624 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
9625
9626 * term/xterm.el (xterm-function-map): Add mapping for shifted
9627 keypad keys.
9628
9629 2014-05-24 Daniel Colascione <dancol@dancol.org>
9630
9631 * progmodes/subword.el (subword-find-word-boundary): Move point to
9632 correct spot before search. (Bug#17580)
9633
9634 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9635 breaking the build.
9636
9637 2014-05-24 Leo Liu <sdl.web@gmail.com>
9638
9639 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
9640
9641 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * minibuffer.el (completion--sreverse): Remove.
9644 (completion--common-suffix): Use `reverse' instead.
9645 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9646
9647 2014-05-22 Glenn Morris <rgm@gnu.org>
9648
9649 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9650
9651 2014-05-21 Daniel Colascione <dancol@dancol.org>
9652
9653 * files.el (interpreter-mode-alist): Add mksh.
9654
9655 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9656 derivative.
9657 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9658 mksh. Improve custom spec; allow regular expressions.
9659 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9660 (sh-after-hack-local-variables): New function.
9661 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
9662 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9663 the normalization.
9664 (sh-canonicalize-shell): Rewrite to support regexes.
9665
9666 2014-05-21 Leo Liu <sdl.web@gmail.com>
9667
9668 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9669
9670 2014-05-19 Leo Liu <sdl.web@gmail.com>
9671
9672 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9673
9674 2014-05-18 Glenn Morris <rgm@gnu.org>
9675
9676 * loadup.el:
9677 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9678
9679 2014-05-14 Sam Steingold <sds@gnu.org>
9680
9681 * progmodes/python.el (python-shell-get-or-create-process):
9682 Do not bind `current-prefix-arg' so that C-c C-z does not talk
9683 back unless requested.
9684
9685 2014-05-14 Glenn Morris <rgm@gnu.org>
9686
9687 * subr.el (with-file-modes): New macro.
9688 * printing.el (pr-save-file-modes): Make obsolete.
9689 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9690 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9691 Add with-file-modes.
9692 * doc-view.el (doc-view-make-safe-dir):
9693 * epg.el (epg--start):
9694 * files.el (locate-user-emacs-file, make-temp-file)
9695 (backup-buffer-copy, move-file-to-trash):
9696 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9697 * eshell/esh-util.el (eshell-with-private-file-modes)
9698 (eshell-make-private-directory):
9699 * net/browse-url.el (browse-url-mosaic):
9700 * obsolete/mailpost.el (post-mail-send-it):
9701 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9702 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9703 Use with-file-modes.
9704
9705 * vc/emerge.el (emerge-make-temp-file): Simplify.
9706
9707 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
9708 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9711 suffix (bug#15419).
9712
9713 2014-05-14 Glenn Morris <rgm@gnu.org>
9714
9715 * vc/emerge.el (emerge-temp-file-prefix):
9716 Make pointless option obsolete.
9717 (emerge-temp-file-mode): Make non-functional option obsolete.
9718
9719 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
9720
9721 * net/browse-url.el (browse-url):
9722 Use `unhandled-file-name-directory' when setting `default-directory',
9723 in order to circumvent stalled remote connections. (Bug#17425)
9724
9725 2014-05-14 Glenn Morris <rgm@gnu.org>
9726
9727 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9728 Optimize on Emacs, which has the relevant functions for ages.
9729
9730 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * simple.el (undo-make-selective-list): Obey undo-no-redo.
9733
9734 2014-05-12 Sam Steingold <sds@gnu.org>
9735
9736 * calendar/time-date.el (seconds-to-string): New function to
9737 pretty print time delay in seconds.
9738
9739 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * mpc.el (mpc-format): Trim Date to the year.
9742 (mpc-songs-hashcons): Shorten the Date field.
9743
9744 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9745 into autoloading just because of a silly indirection.
9746
9747 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
9748
9749 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
9750
9751 2014-05-12 Glenn Morris <rgm@gnu.org>
9752
9753 * emacs-lisp/find-gc.el: Move to ../admin.
9754
9755 * printing.el (pr-version):
9756 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9757
9758 * net/browse-url.el (browse-url-mosaic):
9759 Create /tmp/Mosaic.PID as a private file.
9760
9761 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9764 (advice--member-p): If name is given, only compare the name.
9765 (advice--remove-function): Don't stop at the first match.
9766 (advice--normalize-place): New function.
9767 (add-function, remove-function): Use it.
9768 (advice--add-function): Pass the name, if any, to
9769 advice--remove-function.
9770
9771 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
9772
9773 * electric.el (electric-indent-post-self-insert-function): Don't use
9774 `pos' after modifying the buffer (bug#17449).
9775
9776 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
9777
9778 * calendar/todo-mode.el (todo-insert-item-from-calendar):
9779 Correct argument list to conform to todo-insert-item--basic.
9780
9781 2014-05-12 Glenn Morris <rgm@gnu.org>
9782
9783 * files.el (cd-absolute): Test if directory is accessible
9784 rather than executable. (Bug#17330)
9785
9786 * progmodes/compile.el (recompile):
9787 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
9788
9789 * net/browse-url.el (browse-url-mosaic):
9790 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
9791 This is CVE-2014-3423.
9792
9793 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * mouse.el: Use the normal toplevel loop while dragging.
9796 (mouse-set-point): Handle multi-clicks.
9797 (mouse-set-region): Handle multi-clicks for drags.
9798 (mouse-drag-region): Update call accordingly.
9799 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9800 Use the normal event loop instead of a local while/read-event loop.
9801 (global-map): Remove redundant bindings for double/triple-mouse-1.
9802 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9803 Generate synthetic down events when the protocol only sends up events.
9804 (xterm-mouse-last): Remove.
9805 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9806 terminal parameter instead.
9807 (xterm-mouse--set-click-count): New function.
9808 (xterm-mouse-event): Detect/generate double/triple clicks.
9809 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9810
9811 * info.el (Info-quoted): New face.
9812 (Info-mode-font-lock-keywords): New var.
9813 (Info-mode): Use it.
9814
9815 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9816 are a hindrance for C-x C-e.
9817
9818 2014-05-11 Leo Liu <sdl.web@gmail.com>
9819
9820 * net/rcirc.el (rcirc-sentinel): Fix last change.
9821
9822 2014-05-08 Sam Steingold <sds@gnu.org>
9823
9824 * net/rcirc.el (rcirc-reconnect-delay): New user option.
9825 (rcirc-sentinel): Auto-reconnect to the server if
9826 `rcirc-reconnect-delay' is non-0 (but not more often than its
9827 value in case the host is off-line).
9828
9829 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9830
9831 * progmodes/grep.el (lgrep): Fix a typo in last commit.
9832
9833 2014-05-09 Glenn Morris <rgm@gnu.org>
9834
9835 * files.el (file-expand-wildcards):
9836 * man.el (Man-support-local-filenames):
9837 * printing.el (pr-i-directory, pr-interface-directory):
9838 * progmodes/grep.el (lgrep, rgrep):
9839 * textmodes/ispell.el (ispell-call-process)
9840 (ispell-call-process-region, ispell-start-process)
9841 (ispell-init-process): Use file-accessible-directory-p.
9842
9843 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9846 (xterm-mouse--read-event-sequence-1000): Return nil if something
9847 looks fishy.
9848 (xterm-mouse-event): Propagate it.
9849 (xterm-mouse-translate-1): Handle it.
9850
9851 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9852
9853 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9854 four slots of the parameter list are filled, make sure to pass it
9855 to the argument list of todo-insert-item--basic.
9856
9857 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9860 Add optional `seen' argument to detect and break infinite loops.
9861
9862 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9863
9864 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9865 (trace-unsafe, trace-use-tree): Make parentheses style be
9866 according to Emacs style.
9867
9868 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9869
9870 * net/tramp-sh.el (tramp-remote-process-environment):
9871 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9872 Add :version entry.
9873 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9874 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9875 extra "PSx=..." commands.
9876 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9877 (Bug#17295)
9878
9879 (tramp-uudecode): Replace the hard-coded temporary file name by a
9880 format specifier.
9881 (tramp-remote-coding-commands): Enhance docstring.
9882 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9883 name. (Bug#17415)
9884 This is CVE-2014-3424.
9885
9886 2014-05-08 Glenn Morris <rgm@gnu.org>
9887
9888 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9889 (find-gc-source-files): Update some names.
9890 (trace-call-tree): Simplify and update.
9891 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9892 This is CVE-2014-3422.
9893
9894 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * minibuffer.el (completion--try-word-completion): Revert fix for
9897 Bug#15980 (bug#17375).
9898
9899 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9900 Always store button numbers in the same way in xterm-mouse-last;
9901 Don't burp is xterm-mouse-last is not set as expected.
9902 Never return negative indices.
9903
9904 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9905
9906 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9907 Backtrack one char if the global/char-literal var matcher hits
9908 inside a string. The next char could be the beginning of an
9909 expression expansion.
9910
9911 2014-05-08 Glenn Morris <rgm@gnu.org>
9912
9913 * help-fns.el (describe-function-1): Test for an autoload before a
9914 macro, since `macrop' works on autoloads. (Bug#17410)
9915
9916 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * electric.el (electric-indent-functions-without-reindent): Add yaml.
9919
9920 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9921 Make sure the new point we return is within the new string (bug#17239).
9922
9923 2014-05-05 Daniel Colascione <dancol@dancol.org>
9924
9925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9926 Port `gnu' pattern to rx.
9927
9928 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
9929
9930 Remove unneeded prompt when closing a buffer with active
9931 emacsclient ("Buffer ... still has clients"), #16548.
9932 * server.el (server-start): Remove the only call to:
9933 (server-kill-buffer-query-function): Remove.
9934
9935 2014-05-04 Leo Liu <sdl.web@gmail.com>
9936
9937 * calendar/diary-lib.el (calendar-chinese-month-name-array):
9938 Defvar to pacify compiler.
9939
9940 2014-05-04 Eli Zaretskii <eliz@gnu.org>
9941
9942 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9943
9944 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9947 Use nil rather than `default' for the "default" appearance (bug#17388).
9948 * vc/ediff-util.el (ediff-inferior-compare-regions)
9949 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9950 a misleading `default' value when it's really a boolean.
9951 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9952 overlay is not visible.
9953
9954 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9955
9956 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9957 (todo-menu): Uncomment and update.
9958
9959 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9960
9961 * calendar/todo-mode.el: Reimplement item editing to have the same
9962 basic user interface as item insertion, and make small UI and
9963 larger internal improvements to the latter.
9964 (todo-insert-item): Add reference to the Todo mode user manual to
9965 the documentation string.
9966 (todo-insert-item--basic): Rename from todo-basic-insert-item and
9967 adjust all callers. Change signature to combine diary and
9968 nonmarking arguments. Incorporate functionality of deleted item
9969 copying command and add error checking. Remove detailed
9970 descriptions of the arguments from the documentation string, since
9971 this is treated in the Todo mode user manual.
9972 (todo-copy-item, todo-edit-multiline-item)
9973 (todo-edit-done-item-comment, todo-edit-item-header)
9974 (todo-edit-item-time, todo-edit-item-date-from-calendar)
9975 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9976 (todo-edit-item-date-year, todo-edit-item-date-month)
9977 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9978 Remove.
9979 (todo-edit-item): Reimplement as wrapper command for
9980 todo-edit-item--next-key and make it distinguish done and not done
9981 todo items.
9982 (todo-edit-item--text): New function, replacing old command
9983 todo-edit-item and incorporating deleted commands
9984 todo-edit-multiline-item and todo-edit-done-item-comment.
9985 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9986 Use only numeric value of prefix argument. Remove detailed
9987 descriptions of the arguments from the documentation string, since
9988 this is treated in the Todo mode user manual.
9989 (todo-edit-item--diary-inclusion): New function, replacing old
9990 command todo-edit-item-diary-inclusion and incorporating and fixing
9991 functionality of deleted command todo-edit-item-diary-nonmarking,
9992 making sure to remove todo-nondiary-marker when adding
9993 diary-nonmarking-symbol.
9994 (todo-edit-category-diary-inclusion): Make sure to delete
9995 diary-nonmarking-symbol when adding todo-nondiary-marker.
9996 (todo-edit-category-diary-nonmarking): Fix indentation.
9997 (todo-insert-item--parameters): Group diary and nonmarking
9998 parameters together.
9999 (todo-insert-item--apply-args): Adjust to signature of
10000 todo-insert-item--basic and incorporate copy parameter.
10001 Make small code improvements.
10002 (todo-insert-item--next-param): Improve prompt and adjust it to
10003 new parameter grouping. Remove obsolete code.
10004 (todo-edit-item--param-key-alist)
10005 (todo-edit-item--date-param-key-alist)
10006 (todo-edit-done-item--param-key-alist): New defconsts.
10007 (todo-edit-item--prompt): New variable.
10008 (todo-edit-item--next-key): New function.
10009 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10010 Remove bindings of deleted commands.
10011
10012 2014-05-04 Leo Liu <sdl.web@gmail.com>
10013
10014 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10015
10016 2014-05-04 Glenn Morris <rgm@gnu.org>
10017
10018 * allout-widgets.el (allout-widgets-tally)
10019 (allout-decorate-item-guides):
10020 * menu-bar.el (menu-bar-positive-p):
10021 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10022 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10023 * progmodes/js.el (js--inside-param-list-p)
10024 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10025 * progmodes/prolog.el (region-exists-p):
10026 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10027 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10028 Doc fixes (replace `iff').
10029
10030 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10033
10034 2014-05-04 Leo Liu <sdl.web@gmail.com>
10035
10036 Support Chinese diary entries in calendar and diary. (Bug#17393)
10037 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10038 (calendar-chinese-from-absolute-for-diary)
10039 (calendar-chinese-to-absolute-for-diary)
10040 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10041 (diary-chinese-list-entries): New functions to list and mark
10042 Chinese diary entries in the calendar window.
10043 (diary-chinese-anniversary)
10044 (diary-chinese-insert-anniversary-entry)
10045 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10046 (diary-chinese-insert-yearly-entry): New commands to insert
10047 Chinese diary entries.
10048
10049 * calendar/diary-lib.el (diary-font-lock-keywords):
10050 Support font-locking Chinese dates.
10051
10052 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10053 inserting Chinese diary entries.
10054
10055 * calendar/calendar.el (diary-chinese-entry-symbol):
10056 New customizable variable.
10057 (calendar-mode-map): Add bindings for inserting Chinese diary
10058 entries.
10059
10060 2014-05-03 Juri Linkov <juri@jurta.org>
10061
10062 * dired.el (dired-check-switches, dired-switches-recursive-p):
10063 New functions. (Bug#17218)
10064 (dired-switches-escape-p, dired-move-to-end-of-filename):
10065 Use `dired-check-switches'.
10066 (dired-insert-old-subdirs, dired-build-subdir-alist)
10067 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10068
10069 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10070
10071 * simple.el (undo-make-selective-list): New algorithm fixes
10072 incorrectness of position adjustments when undoing in region.
10073 (Bug#17235)
10074 (undo-elt-crosses-region): Make obsolete.
10075 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10076 New functions to adjust positions using undo-deltas.
10077
10078 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10081 the last consecutive closing paren (bug#17345).
10082
10083 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10084
10085 * dired.el (dired-mode): make terminology for eXpunge command
10086 consistent. (Bug#17276)
10087
10088 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10089
10090 * dired.el (dired-initial-position-hook, dired-initial-position):
10091 Doc string fixes.
10092
10093 2014-04-30 Glenn Morris <rgm@gnu.org>
10094
10095 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10096
10097 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10098
10099 * faces.el (face-spec-recalc): Apply X resources only after the
10100 defface spec has been applied. Thus, X resources are no longer
10101 overriden by the defface spec which also fixes issues on win32 where
10102 the toolbar coloring was wrong because it is set through X resources
10103 and was (wrongfully) overriden. (Bug#16694)
10104
10105 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * textmodes/rst.el (electric-pair-pairs): Declare.
10108 (rst-mode): Set it (bug#17131).
10109
10110 2014-04-30 Juri Linkov <juri@jurta.org>
10111
10112 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10113 and `print-level' to nil. (Bug#17351)
10114
10115 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10116
10117 * battery.el (battery-update): Handle the case where battery
10118 status is "N/A" (bug#17319).
10119
10120 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10123 to syntax-propertize.
10124 (ps-mode-auto-indent): Mark as obsolete.
10125 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10126 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10127 word regexp operators.
10128 (ps-mode-map): Move initialization into declaration. Remove binding
10129 for TAB, RET, >, ], and }.
10130 (ps-mode-syntax-table): Move initialization into declaration.
10131 Don't give word syntax to non-word chars.
10132 (ps-run-mode-map): Move initialization into declaration.
10133 (ps-mode-menu-main): Remove auto-indent entry.
10134 (ps-mode-smie-rules): New function.
10135 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10136 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10137 (ps-mode--string-syntax-table): New const.
10138 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10139 New functions.
10140 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10141 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10142
10143 2014-04-27 Daniel Colascione <dancol@dancol.org>
10144
10145 * term/xterm.el (xterm-paste): Use large finite timeout when
10146 reading event to avoid putting keys in this-command-keys.
10147
10148 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10151 (perl-syntax-propertize-function): Use it. Extend handling of
10152 here-docs to the unquoted case.
10153
10154 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10155
10156 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10157 Use equal-including-properties to compare help-echo strings (bug#17331).
10158
10159 2014-04-25 Leo Liu <sdl.web@gmail.com>
10160
10161 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10162 Fix syntax for @. (Bug#17325)
10163
10164 2014-04-25 Daniel Colascione <dancol@dancol.org>
10165
10166 * emacs-lisp/cl.el (gv): Require gv early to break eager
10167 macro-expansion cycles.
10168
10169 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * simple.el (region-active-p): Check there's a mark (bug#17324).
10172
10173 * simple.el (completion-list-mode-map): Use choose-completion for the
10174 mouse binding as well (bug#17302).
10175 (completion-list-mode, completion-setup-function): Adjust docstring and
10176 echo area message accordingly.
10177 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10178 calling convention of choose-completion.
10179 * comint.el (comint-dynamic-list-completions):
10180 * term.el (term-dynamic-list-completions): Accept choose-completion.
10181
10182 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10183 &, |, +, - and * can't be a division (bug#17317).
10184
10185 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10186 features on gnome-terminal (bug#16988).
10187
10188 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10189
10190 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10191
10192 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10193 the declared object, ignore zero or more parens, not zero or one.
10194
10195 2014-04-24 Leo Liu <sdl.web@gmail.com>
10196
10197 * progmodes/xscheme.el (xscheme-expressions-ring)
10198 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10199 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10200 (xscheme-allow-output-p, xscheme-prompt)
10201 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10202
10203 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10204 Comment out unused functions.
10205
10206 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * info.el: Use lexical-binding and cl-lib.
10209 Use defvar-local and setq-local instead of make-local-variable.
10210 (Info-apropos-matches): Avoid add-to-list.
10211 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10212
10213 2014-04-24 Daniel Colascione <dancol@dancol.org>
10214
10215 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10216
10217 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10220
10221 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10222
10223 * dired.el (dired-insert-set-properties): Do not consider
10224 subdirectory headings and empty lines to be information that
10225 `dired-hide-details-mode' should hide. (Bug#17228)
10226
10227 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10228
10229 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10230 Remove test messages.
10231 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10232 and `target' twice.
10233
10234 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10237 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10238
10239 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10240
10241 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10242
10243 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10244 Set "IFS=" when using read builtin, in order to preserve spaces in
10245 the file name. Add test messages for hunting a bug on hydra.
10246 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10247
10248 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10251 Don't prettify a word within a symbol.
10252
10253 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10256 possible.
10257
10258 2014-04-22 Daniel Colascione <dancol@dancol.org>
10259
10260 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10261 use defun to define `function-put'.
10262
10263 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10266 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10267 (lisp-mode-variables): Set font-lock-extra-managed-props.
10268
10269 * emacs-lisp/byte-run.el (function-put): New function.
10270 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10271 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10272 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10273 Use them.
10274
10275 2014-04-22 Daniel Colascione <dancol@dancol.org>
10276
10277 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10278 Add `full-p' parameter; when nil, call `macroexpand' instead of
10279 `macroexpand-all'.
10280
10281 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10282 Improve docstrings.
10283
10284 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10285 Use lambda function values, not quoted lambdas.
10286 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10287
10288 * emacs-lisp/cl-macs.el
10289 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10290 (cl-struct-slot-value): Conditionally use aref or nth so that the
10291 compiler produces optimal code.
10292
10293 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10296 (inline): Don't inline cl--set-elt.
10297 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10298 Define as inlinable instead.
10299 (cl-struct-set-slot-value): Remove.
10300
10301 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10302 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10303 Use setf instead.
10304
10305 2014-04-21 Daniel Colascione <dancol@dancol.org>
10306
10307 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10308 last two parameters after all.
10309 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10310 (cl--compiler-macro-assoc,cl-struct-slot-value)
10311 (cl-struct-set-slot-value): Stop using them.
10312
10313 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10316 entry in image-mode-winprops-alist.
10317
10318 2014-04-21 Daniel Colascione <dancol@dancol.org>
10319
10320 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10321 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10322 (byte-compile-toplevel-file-form): Use it.
10323
10324 * emacs-lisp/cl-macs.el:
10325 (cl--loop-let): Properly destructure `while' clauses.
10326
10327 2014-04-20 Daniel Colascione <dancol@dancol.org>
10328
10329 * vc/vc.el (vc-root-dir): New public autoloaded function for
10330 generically finding the current VC root.
10331 * vc/vc-hooks.el (vc-not-supported): New error.
10332 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10333
10334 2014-04-20 Daniel Colascione <dancol@dancol.org>
10335
10336 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10337 argument.
10338 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10339 argument in case we're inside a symbol-macrolet.
10340 (cl--do-arglist, cl--compiler-macro-typep)
10341 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10342 environment to `cl--const-expr-val'.
10343 (cl-struct-sequence-type,cl-struct-slot-info)
10344 (cl-struct-slot-offset, cl-struct-slot-value)
10345 (cl-struct-set-slot-value): New functions.
10346
10347 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10350 assignments such as "case=hello" (bug#17297).
10351
10352 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10353
10354 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10355 Do not autoload.
10356 (tramp-file-name-handler, tramp-completion-file-name-handler):
10357 Revert patch from 2014-04-10, it isn't necessary anymore.
10358 (tramp-autoload-file-name-handler)
10359 (tramp-register-autoload-file-name-handlers): New defuns.
10360 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10361 (tramp-register-file-name-handlers): Remove also
10362 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10363 Do not autoload its invocation, but eval it after loading of 'tramp.
10364
10365 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10366
10367 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10368
10369 2014-04-17 Daniel Colascione <dancol@dancol.org>
10370
10371 Add support for bracketed paste mode; add infrastructure for
10372 managing terminal mode enabling and disabling automatically.
10373
10374 * xt-mouse.el:
10375 (xterm-mouse-mode): Simplify.
10376 (xterm-mouse-tracking-enable-sequence)
10377 (xterm-mouse-tracking-disable-sequence): New constants.
10378 (turn-on-xterm-mouse-tracking-on-terminal)
10379 (turn-off-xterm-mouse-tracking-on-terminal):
10380 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10381 parameters instead of random hooks.
10382 (turn-on-xterm-mouse-tracking)
10383 (turn-off-xterm-mouse-tracking): Delete.
10384
10385 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10386 (xterm-paste-ending-sequence): New constant.
10387 (xterm-paste): New command used for bracketed paste support.
10388
10389 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10390 (terminal-init-xterm-bracketed-paste-mode): New function.
10391 (terminal-init-xterm): Call it.
10392 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10393 and tty-mode-reset-strings instead of random hooks.
10394 (xterm-turn-on-modify-other-keys)
10395 (xterm-turn-off-modify-other-keys)
10396 (xterm-remove-modify-other-keys): Delete obsolete functions.
10397
10398 * term/screen.el: Rewrite to just use the xterm code.
10399 Add copyright notice. Mention tmux.
10400
10401 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10402
10403 * image-mode.el (image-mode-window-put): Also update the property of
10404 the "default window".
10405 * doc-view.el (doc-view-new-window-function): If no window
10406 exists, move to the last known page.
10407
10408 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10411 here-documents (bug#17262).
10412
10413 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10414
10415 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10416 Provide doc strings, as required by snarf-documentation.
10417
10418 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10421 arg of overlays-at. Use `invisible-p'.
10422
10423 * obsolete/lucid.el (extent-at):
10424 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10425 overlays-at.
10426 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10427
10428 2014-04-16 João Távora <joaotavora@gmail.com>
10429
10430 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10431 links. (Bug#17217).
10432
10433 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10434
10435 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10436 Use mapc to loop over a vector. (Bug#17257).
10437
10438 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10439
10440 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10441 patch, there are new problems with file names containing spaces.
10442 Get rid of backticks. (Bug#17238)
10443
10444 2014-04-16 João Távora <joaotavora@gmail.com>
10445
10446 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10447 possible bug.
10448
10449 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10450
10451 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10452 (blink-cursor-mode): Mention customization variables and the
10453 effect of 'blink-cursor-blinks'.
10454
10455 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10456
10457 * simple.el (undo): Prevent insertion of identity mapping into
10458 undo-equiv-table so as undo-only does not inf loop in the presence
10459 of consecutive nils in undo list.
10460
10461 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10462
10463 * faces.el (make-face): Deprecate optional argument as it is no
10464 longer needed/used since the conditional X resources handling
10465 has been pushed down to make-face-x-resource-internal itself.
10466 (make-empty-face): Don't pass optional argument to make-face.
10467
10468 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10469
10470 * savehist.el (savehist-save): Remove workaround for a read-passwd
10471 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10472 noticing that the shim was still present.
10473
10474 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10477
10478 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * faces.el (face-set-after-frame-default): Remove unused local variable.
10481
10482 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * progmodes/grep.el: Use lexical-binding.
10485 (grep-expand-template): Pass explicit lexical env to `eval'.
10486 (zrgrep): Let-bind grep-find-template explicitly.
10487
10488 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10489 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10490
10491 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10492
10493 * international/characters.el <standard-case-table>: Add entries
10494 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10495 Set category of Coptic characters be 'g' (Greek).
10496
10497 2014-04-12 Leo Liu <sdl.web@gmail.com>
10498
10499 * progmodes/octave.el (completion-table-with-cache):
10500 Define if not available.
10501 (octave-goto-function-definition, octave-sync-function-file-names)
10502 (octave-find-definition-default-filename):
10503 Backquote upattern for compatibility.
10504
10505 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10508 name twice due to backticks. (Bug#17238)
10509
10510 2014-04-12 Glenn Morris <rgm@gnu.org>
10511
10512 * term/w32-win.el (x-win-suspend-error):
10513 * term/x-win.el (x-win-suspend-error): Sync docs.
10514
10515 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10516
10517 * faces.el (make-face): Remove deprecated optional argument.
10518 The conditional application of X resources is handled directly by
10519 make-face-x-resource-internal since Emacs 24.4.
10520 (make-empty-face): Don't pass optional argument to make-face.
10521
10522 2014-04-11 Glenn Morris <rgm@gnu.org>
10523
10524 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10525
10526 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 Ediff's overlay priorities cause more trouble than they solve.
10529 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10530 (ediff-highest-priority): Remove function (bug#17234).
10531 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10532 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10533 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10534 overlay priorities.
10535
10536 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10537
10538 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10539 entry; use symbol boundaries to avoid mis-matches.
10540
10541 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10542
10543 * net/tramp.el (tramp-file-name-handler)
10544 (tramp-completion-file-name-handler): Avoid recursive loading.
10545
10546 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10547 Quote result also locally.
10548
10549 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10552 Remove left-over code.
10553
10554 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10555 Reuse the previous comment's indentation unconditionally if it's on its
10556 own line.
10557
10558 2014-04-09 Daniel Colascione <dancol@dancol.org>
10559
10560 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10561 `no-syntax-crossing' arguments. Forward to `up-list'.
10562 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10563 Implement logic for escaping from strings. Use narrowing to deal
10564 with corner cases.
10565
10566 2014-04-09 Leo Liu <sdl.web@gmail.com>
10567
10568 * net/rcirc.el (rcirc-connection-info): New variable.
10569 (rcirc-connect): Use it to store connection info.
10570 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10571 for killed process.
10572 (rcirc-cmd-reconnect): New command. (Bug#17045)
10573 (rcirc-mode, set-rcirc-encode-coding-system)
10574 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10575
10576 2014-04-09 Daniel Colascione <dancol@dancol.org>
10577
10578 * emacs-lisp/cl-indent.el: Add comment claiming
10579 facility is also good for elisp.
10580 (lisp-indent-find-method): New function.
10581 (common-lisp-indent-function): Recognize cl-loop.
10582 (common-lisp-indent-function-1): Recognize cl constructs; use
10583 `lisp-indent-find-method' instead of `get' directly.
10584 (if): Use else-body style for elisp.
10585
10586 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10587
10588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10589 Module methods. (Bug#17216)
10590
10591 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10594 (describe-bindings-internal): Mark obsolete.
10595
10596 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10599 buffer-file-name, and buffer-file-truename any more.
10600
10601 2014-04-08 Leo Liu <sdl.web@gmail.com>
10602
10603 Use lexical-binding and require cl-lib.
10604 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10605 (rcirc-handler-generic, rcirc-fill-paragraph)
10606 (rcirc-format-response-string, rcirc-target-buffer)
10607 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10608 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10609 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10610 (rcirc-markup-timestamp, rcirc-markup-attributes)
10611 (rcirc-markup-my-nick, rcirc-markup-urls)
10612 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10613 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10614 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10615 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10616 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10617 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10618 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10619 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10620 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10621 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10622 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10623 use cl-lib.
10624
10625 2014-04-07 João Távora <joaotavora@gmail.com>
10626
10627 * elec-pair.el (electric-pair--syntax-ppss):
10628 When inside comments parse from comment beginning.
10629 (electric-pair--balance-info): Fix typo in comment.
10630 (electric-pair--in-unterminated-string-p): Delete.
10631 (electric-pair--unbalanced-strings-p): New function.
10632 (electric-pair-string-bound-function): New var.
10633 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10634 according to `electric-pair--in-unterminated-string-p'
10635
10636 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10637 Inhibit quote pairing if point-max is inside an unterminated string.
10638 (electric-pair--looking-at-unterminated-string-p): Delete.
10639 (electric-pair--in-unterminated-string-p): New function.
10640
10641 2014-04-07 Glenn Morris <rgm@gnu.org>
10642
10643 * shell.el (shell-directory-tracker):
10644 Go back to just ignoring failures. (Bug#17159)
10645
10646 2014-04-07 João Távora <joaotavora@gmail.com>
10647
10648 Fix `electric-pair-delete-adjacent-pairs' in modes binding
10649 backspace. (Bug#16981)
10650 * elec-pair.el (electric-pair-backward-delete-char): Delete.
10651 (electric-pair-backward-delete-char-untabify): Delete.
10652 (electric-pair-mode-map): Bind backspace to a menu item filtering
10653 a new `electric-pair-delete-pair' command.
10654 (electric-pair-delete-pair): New command.
10655
10656 * progmodes/python.el (python-electric-pair-string-delimiter):
10657 Fix triple-quoting electricity. (Bug#17192)
10658
10659 * elec-pair.el (electric-pair-post-self-insert-function):
10660 Don't skip whitespace when `electric-pair-text-pairs' and
10661 `electric-pair-pairs' were used. syntax to
10662 electric-pair--skip-whitespace. (Bug#17183)
10663
10664 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10665
10666 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10667 "<F>". (Bug#17199)
10668
10669 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10672 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10673
10674 2014-04-07 Glenn Morris <rgm@gnu.org>
10675
10676 * help.el (view-lossage): Doc tweak.
10677
10678 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
10679
10680 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10681 only when inhibit-x-resources is nil, and do that earlier in the
10682 function. Doc fix. (Bug#16694)
10683 (face-spec-choose): Accept additional optional argument, whose
10684 value is returned if no matching attributes are found.
10685 (face-spec-recalc): Use the new optional argument when calling
10686 face-spec-choose. (Bug#16378)
10687 (make-face-x-resource-internal): Do nothing when
10688 inhibit-x-resources is non-nil. Don't touch the default face if
10689 reversed video is given--as was done in previous versions of Emacs.
10690 (face-set-after-frame-default): Don't call
10691 make-face-x-resource-internal here. (Bug#16434)
10692
10693 2014-04-07 Tassilo Horn <tsdh@gnu.org>
10694
10695 * doc-view.el (doc-view-bookmark-jump):
10696 Use `bookmark-after-jump-hook' to jump to the right page after the
10697 buffer is shown in a window. (bug#16090)
10698
10699 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10700
10701 * international/characters.el (mirroring): Fix last change:
10702 instead of loading uni-mirrored.el explicitly, do that implicitly
10703 by creating the 'mirroring' uniprop table. This avoids announcing
10704 the loading of uni-mirrored.el.
10705
10706 2014-04-07 Glenn Morris <rgm@gnu.org>
10707
10708 * files.el (buffer-stale--default-function)
10709 (buffer-stale-function, revert-buffer--default):
10710 * autorevert.el (auto-revert-buffers): Doc tweaks.
10711
10712 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10713
10714 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10715
10716 2014-04-07 Glenn Morris <rgm@gnu.org>
10717
10718 * files.el (make-backup-file-name-function)
10719 (make-backup-file-name, make-backup-file-name--default-function)
10720 (make-backup-file-name-1, find-backup-file-name)
10721 (revert-buffer-function, revert-buffer-insert-file-contents-function)
10722 (buffer-stale--default-function, buffer-stale-function)
10723 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10724 (revert-buffer, revert-buffer--default)
10725 (revert-buffer-insert-file-contents--default-function):
10726 Doc fixes related to defaults no longer being nil.
10727 (make-backup-file-name-function): Bump :version.
10728 Restore nil as a valid but deprecated custom type.
10729
10730 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10733 Handle $' used as a variable (bug#17174).
10734
10735 * progmodes/perl-mode.el (perl-indent-new-calculate):
10736 Handle forward-sexp failure (bug#16985).
10737 (perl-syntax-propertize-function): Add "foreach" and "for" statement
10738 modifiers introducing expressions (bug#17116).
10739
10740 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10743
10744 2014-04-05 Leo Liu <sdl.web@gmail.com>
10745
10746 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10747 Add define-compilation-mode.
10748
10749 2014-04-04 João Távora <joaotavora@gmail.com>
10750
10751 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10752 parse from comment beginning.
10753 (electric-pair--balance-info): Fix typo in comment.
10754 (electric-pair--in-unterminated-string-p): Delete.
10755 (electric-pair--unbalanced-strings-p): New function.
10756 (electric-pair-string-bound-function): New var.
10757 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10758 according to `electric-pair--in-unterminated-string-p'.
10759
10760 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10763 Move declaration before first use.
10764 (reftex-move-to-next-arg): Silence compiler warning.
10765
10766 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
10767
10768 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10769 Use `window-total-width' instead of `window-width'.
10770
10771 2014-04-03 Daniel Colascione <dancol@dancol.org>
10772
10773 * subr.el (set-transient-map): Remove rms's workaround entirely;
10774 use new `suspicious-object' subr to mark our lambda for closer
10775 scrutiny during gc.
10776
10777 2014-04-02 Richard Stallman <rms@gnu.org>
10778
10779 * subr.el (set-transient-map): Comment out previous change.
10780
10781 2014-04-02 Glenn Morris <rgm@gnu.org>
10782
10783 * menu-bar.el (menu-bar-file-menu):
10784 * vc/ediff.el (ediff-current-file):
10785 Update for revert-buffer-function no longer being nil by default.
10786
10787 * simple.el (command-execute): Respect nil disabled-command-function.
10788
10789 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10790
10791 * simple.el (command-execute): Do not execute the command when it
10792 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
10793
10794 2014-04-02 Juri Linkov <juri@jurta.org>
10795
10796 * dired-aux.el (dired-compress-file): Don't use string-match-p
10797 because its match data is used afterwards.
10798
10799 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10802 0 like nil.
10803
10804 2014-04-02 João Távora <joaotavora@gmail.com>
10805
10806 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10807 Inhibit quote pairing if point-max is inside an unterminated string.
10808 (electric-pair--looking-at-unterminated-string-p):
10809 Delete.
10810 (electric-pair--in-unterminated-string-p): New function.
10811
10812 2014-04-01 Daniel Colascione <dancol@dancol.org>
10813
10814 * minibuffer.el (minibuffer-complete): Prevent assertion failure
10815 when trying to complete the prompt.
10816
10817 2014-03-31 Leo Liu <sdl.web@gmail.com>
10818
10819 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10820 Refactor out eldoc-documentation-function-default.
10821 (eldoc-documentation-function-default): New function.
10822 (eldoc-documentation-function): Change value.
10823
10824 2014-03-31 Glenn Morris <rgm@gnu.org>
10825
10826 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10827
10828 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10829 (vhdl-compose-components-package, vhdl-compose-configuration):
10830 Abbreviate default-directory (missing from some previous upstream sync).
10831
10832 2014-03-31 Reto Zimmermann <reto@gnu.org>
10833
10834 Sync with upstream vhdl mode v3.35.2.
10835 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10836 (top-level): No longer require assoc.
10837 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10838 New functions. Use throughout to replace aget etc.
10839 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10840 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10841 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10842 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10843 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10844 except `vhdl-compiler'.
10845 (vhdl-error-regexp-add-emacs): Remove all other compilers,
10846 when appropriate.
10847
10848 2014-03-31 Glenn Morris <rgm@gnu.org>
10849
10850 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10851 Revert 2014-03-26 merge goof; go back to using defalias.
10852
10853 2014-03-30 Daniel Colascione <dancol@dancol.org>
10854
10855 * comint.el (comint-send-input):
10856 Deactivate completion-in-region-mode before we send comint input.
10857 (Bug#17139).
10858
10859 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10860 on keyboard-quit.
10861
10862 2014-03-29 Glenn Morris <rgm@gnu.org>
10863
10864 * textmodes/reftex.el: Manage most autoloads automatically.
10865 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10866 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10867 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10868 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10869 * textmodes/reftex-toc.el: Set generated-autoload-file,
10870 and add autoload cookies for reftex.el.
10871 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10872
10873 2014-03-28 Glenn Morris <rgm@gnu.org>
10874
10875 * cus-start.el (report-emacs-bug-address): Set custom properties.
10876 * mail/emacsbug.el (report-emacs-bug-address):
10877 Variable is now defined in emacs.c.
10878
10879 * mail/emacsbug.el (report-emacs-bug):
10880 Include system-configuration-features.
10881
10882 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10883
10884 * simple.el (cycle-spacing): Never delete spaces on first run by
10885 default, but do so in a new 'fast mode and if there are already
10886 N spaces (the previous behavior).
10887 Compare N with its value in previous invocation so that changing
10888 prefix argument restarts `cycle-spacing' sequence.
10889 The idea is that with this change, binding M-SPC to
10890 `cycle-spacing' should not introduce any changes in behavior of
10891 the binding so long as users do not type M-SPC twice in a raw with
10892 the same prefix argument or lack thereof.
10893
10894 2014-03-28 Glenn Morris <rgm@gnu.org>
10895
10896 * faces.el (term-file-aliases): New variable.
10897 (tty-run-terminal-initialization): Respect term-file-aliases.
10898 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10899 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10900 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10901
10902 2014-03-27 Glenn Morris <rgm@gnu.org>
10903
10904 * startup.el (inhibit-startup-hooks): Doc tweak.
10905 (normal-top-level): Simplify running of hooks.
10906 For window-setup-hook, respect inhibit-startup-hooks.
10907 (command-line-1): Don't set window-setup-hook to nil.
10908
10909 Allow selective autoloading from obsolete/ directory.
10910 * Makefile.in (obsolete-autoloads): New rule.
10911 (autoloads): Run obsolete-autoloads.
10912 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10913 * simple.el (iswitchb-mode): Remove hand-written autoloads.
10914
10915 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
10916
10917 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10918 Highlight special globals with font-lock-builtin-face. (Bug#17057)
10919
10920 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10921 Don't propertize `?' or `!' as symbol constituent when after
10922 colon. (Bug#17097)
10923
10924 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10927 which is no longer needed and causes trouble in GTK builds (bug#17046).
10928
10929 * emacs-lisp/package-x.el (package--archive-contents-from-url):
10930 Use url-insert-file-contents; package-handle-response no longer exists.
10931
10932 2014-03-26 Daniel Colascione <dancol@dancol.org>
10933
10934 * simple.el (process-menu-mode-map): New variable.
10935 (process-menu-delete-process): New command.
10936
10937 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10938
10939 * emacs-lisp/package.el: Fix bug#16733 (again).
10940 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10941 (url-http-target-url): Remove unused declarations.
10942 (package-handle-response): Remove.
10943 (package--with-work-buffer): Use url-insert-file-contents and simplify.
10944 (package--download-one-archive): Use current-buffer instead of
10945 dynamic binding of `buffer'.
10946 (describe-package-1): Do not decode readme-string.
10947
10948 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
10949
10950 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10951
10952 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10953 from 2014-03-07, it decreases performance unnecessarily. Let-bind
10954 `remote-file-name-inhibit-cache' to nil in the second pass.
10955 (tramp-find-executable): Do not call "which" on SunOS.
10956 (tramp-send-command-and-check): Fix docstring.
10957 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10958 check whether source directory has set the sticky bit.
10959
10960 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
10961
10962 * simple.el (primitive-undo): Only process marker adjustments
10963 validated against their corresponding (TEXT . POS). Issue warning
10964 for lone marker adjustments in undo history. (Bug#16818)
10965 (undo-make-selective-list): Add marker adjustments to selective
10966 undo list based on whether their corresponding (TEXT . POS) is in
10967 the region. Remove variable adjusted-markers, which was unused
10968 and only non nil during undo-make-selective-list.
10969 (undo-elt-in-region): Return nil when passed a marker adjustment
10970 and explain in function doc.
10971
10972 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10973
10974 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10975
10976 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10977
10978 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10979 Match special global variables without curlies, too.
10980 (ruby-font-lock-keywords): Simplify the matcher for special global
10981 variables. Don't require a non-word character after the variable.
10982 (Bug#17057)
10983
10984 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * simple.el (redisplay-highlight-region-function): Increase priority of
10987 overlay to make sure boundaries are visible (bug#15899).
10988
10989 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10990
10991 * frameset.el (frameset--initial-params): Fix typo in parameter name.
10992 (frameset-restore): Compare display strings with equal.
10993
10994 * frame.el (make-frame): Don't quote display name in error message,
10995 it is already a string.
10996
10997 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10998
10999 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11000 the password.
11001
11002 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11003
11004 * emacs-lisp/package.el (package--add-to-archive-contents):
11005 Include already installed and built-in packages in
11006 `package-archive-contents'.
11007 (package-install): Don't include already installed packages in the
11008 options during interactive invocation. (Bug#16762)
11009 (package-show-package-list): If the buffer is already displayed in
11010 another window, switch to that window.
11011
11012 2014-03-26 Reto Zimmermann <reto@gnu.org>
11013
11014 Sync with upstream vhdl mode v3.35.1.
11015 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11016 (vhdl-compiler-alist): Doc fix.
11017 (vhdl-goto-line): Remove.
11018 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11019 (vhdl-mode) <paragraph-start>: Fix value.
11020 (vhdl-fix-statement-region): Not `for' in wait-statement.
11021 (vhdl-beautify-region): Also (un)tabify.
11022 (vhdl-get-visible-signals):
11023 Scan declarative part of generate statements.
11024 (vhdl-template-record): Fix indentation for record type declaration.
11025 (vhdl-expand-abbrev, vhdl-expand-paren):
11026 Revert to using fset again rather than defalias.
11027 (vhdl-scan-directory-contents): Tweak.
11028 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11029 (vhdl-compose-components-package):
11030 Replace vhdl-goto-line with forward-line.
11031 (top-level): Tweak speedbar frame selection.
11032 (vhdl-generate-makefile-1): Support for compilers with no
11033 unit-to-file name mapping (create directory with dummy files).
11034
11035 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11036
11037 Sync with upstream verilog-mode revision 702457d.
11038 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11039 (create-lockfiles): Declare.
11040 (verilog-read-decls): Fix module header imports, bug709.
11041 Reported by Victor Lau.
11042 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11043 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11044 interface-only modules, bug721. Reported by Dean Hoyt.
11045
11046 2014-03-26 Glenn Morris <rgm@gnu.org>
11047
11048 * obsolete/gulp.el: Move here from emacs-lisp/.
11049
11050 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11051 Remove fallback aliases, since they are always defined now.
11052
11053 2014-03-24 Daniel Colascione <dancol@dancol.org>
11054
11055 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11056 instead of cl-loop search function.
11057
11058 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11059
11060 * calendar/parse-time.el (parse-time-iso8601-regexp)
11061 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11062 it more generally.
11063
11064 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11065
11066 * net/dns.el (network-interface-list): Define for XEmacs.
11067
11068 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11069
11070 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11071 the network interfaces changed.
11072 (dns-query): Use it to flush the data.
11073
11074 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11077
11078 2014-03-23 Daniel Colascione <dancol@dancol.org>
11079
11080 Change subword-mode to use `find-word-boundary-function-table' and
11081 replace `capitalized-words-mode'. Also, convert to lexical binding.
11082 * progmodes/cap-words.el: Delete now-obsolete file.
11083 * progmodes/subword.el: Reimplement using
11084 `find-word-boundary-function-table'.
11085 (subword-mode-map): Hollow out.
11086 (capitalized-words-mode): Define as obsolete alias for
11087 `subword-mode'.
11088 (subword-mode, superword-mode): Tweak documentation to reflect new
11089 implementation; call `subword-setup-buffer'.
11090 (subword-forward, subword-capitalize): Add underscore to indicate
11091 unused variable.
11092 (subword-find-word-boundary-function-table): New constant.
11093 (subword-empty-char-table): New constant.
11094 (subword-setup-buffer): New function.
11095 (subword-find-word-boundary): New function.
11096
11097 2014-03-23 Daniel Colascione <dancol@dancol.org>
11098
11099 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11100 list to look for keyword arguments instead of `memq', fixing
11101 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11102 Please make bootstrap.
11103
11104 2014-03-22 Glenn Morris <rgm@gnu.org>
11105
11106 * dired.el (dired-read-regexp): Make obsolete.
11107 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11108 (dired-flag-files-regexp):
11109 * dired-aux.el (dired-mark-read-regexp):
11110 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11111
11112 * startup.el (fancy-startup-text):
11113 * help.el (describe-gnu-project): Visit online info about GNU project.
11114
11115 * help-fns.el (help-fns--interactive-only): New function.
11116 (help-fns-describe-function-functions): Add the above function.
11117 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11118 (next-line, previous-line): Remove hand-written interactive-only
11119 information from doc strings, it is auto-generated now.
11120 * bookmark.el (bookmark-write):
11121 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11122 (epa-mail-import-keys): Mark interactive-only,
11123 and remove hand-written interactive-only information from doc strings.
11124 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11125 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11126 * files.el (not-modified):
11127 * simple.el (mark-whole-buffer): Mark interactive-only.
11128
11129 * emacs-lisp/byte-run.el (defun-declarations-alist):
11130 Add interactive-only. Doc tweak.
11131 (macro-declarations-alist): Doc tweak.
11132 * subr.el (declare): Doc tweak (add xref to manual).
11133 * comint.el (comint-run):
11134 * files.el (insert-file-literally, insert-file):
11135 * replace.el (replace-string, replace-regexp):
11136 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11137 (delete-forward-char, goto-line, insert-buffer, next-line)
11138 (previous-line): Set interactive-only via declare.
11139
11140 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11141
11142 * emacs-lisp/package.el (package-desc): Use the contents of the
11143 quoted form, not its cdr. (Bug#16873)
11144
11145 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11146
11147 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11148 benefit of doc.c; change parameter profile to match the X function.
11149
11150 2014-03-22 Leo Liu <sdl.web@gmail.com>
11151
11152 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11153 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11154
11155 2014-03-21 Richard Stallman <rms@gnu.org>
11156
11157 * battery.el (battery-linux-sysfs): Search for each field
11158 from the beginning of the buffer.
11159
11160 * subr.el (set-transient-map): Clear out function and value
11161 of the temporary symbol when we're done with it.
11162
11163 * mail/rmailsum.el (rmail-summary-delete-forward):
11164 Optimize case of reaching end and handling count.
11165 (rmail-summary-mark-deleted): Optimize when N is current msg.
11166 Don't create new summary line.
11167 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11168 (rmail-summary-undelete-many): Rewrite for speed.
11169 (rmail-summary-msg-number): New function.
11170
11171 * mail/rmail.el (rmail-delete-message): Update summary.
11172 (rmail-undelete-previous-message): Handle repeat count arg.
11173 (rmail-delete-backward, rmail-delete-forward): Likewise.
11174
11175 2014-03-21 Daniel Colascione <dancol@dancol.org>
11176
11177 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11178 information in bug reports.
11179
11180 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11181
11182 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11183 and `tramp-copy-env'.
11184
11185 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11186 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11187
11188 2014-03-21 Glenn Morris <rgm@gnu.org>
11189
11190 * electric.el (electric-indent-post-self-insert-function): Add doc.
11191
11192 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11193
11194 * emacs-lisp/package.el (package-compute-transaction):
11195 Use `version-list-<=' to compare the requirement version against
11196 the version of package already to be installed. Update the error
11197 message. (Bug#16826)
11198
11199 * progmodes/ruby-mode.el (ruby-smie-rules):
11200 Add indentation rule for ` @ '. (Bug#17050)
11201
11202 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11203
11204 * align.el (align-regexp): Remove superfluous backslash.
11205
11206 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11207 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11208 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11209 Fix docstring typos.
11210 (ffap-next): Use C-u in docstring.
11211 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11212 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11213 Remove superfluous backslashes.
11214 (ffap-string-at-point): Reflow docstring.
11215
11216 * server.el (server-host): Reflow docstring.
11217 (server-unload-function): Fix docstring typo.
11218 (server-eval-at): Remove superfluous backslash.
11219
11220 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11221 (skeleton-insert): Doc fix.
11222 (skeleton-insert): Reflow docstring.
11223
11224 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11225 (tty-color-approximate, tty-color-by-index, tty-color-values)
11226 (tty-color-desc): Remove superfluous backslashes.
11227
11228 2014-03-21 Glenn Morris <rgm@gnu.org>
11229
11230 * cus-start.el (history-length): Bump :version.
11231
11232 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11233 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11234 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11235 Don't set `make-backup-files'.
11236
11237 * info.el (info--prettify-description): New function,
11238 to give info-finder descriptions consistent case, punctuation.
11239 (Info-finder-find-node): Use it. Sort packages.
11240 Refer to "description" rather than "commentary".
11241
11242 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * frameset.el (frameset--print-register): New function.
11245 (frameset-to-register): Use it.
11246
11247 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * progmodes/hideif.el (hif-string-to-number): New function.
11250 (hif-tokenize): Use it to understand non-decimal floats.
11251
11252 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11253
11254 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11255
11256 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * electric.el (electric-newline-and-maybe-indent): New command.
11259 Bind it globally to C-j.
11260 (electric-indent-mode): Don't mess with the global map any more.
11261 Don't drop the post-self-insert-hook is some buffer is still using it
11262 (bug#16770).
11263
11264 * bindings.el (global-map): Remove C-j binding.
11265
11266 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11267 the docstring of functions advised before dumping (bug#16993).
11268
11269 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11270
11271 * ps-print.el (ps-generate-postscript-with-faces):
11272 Explicitly deactivate the mark (bug#16866).
11273 * simple.el (deactivate-mark): Update region highlight.
11274
11275 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11276
11277 * emacs-lisp/package.el (describe-package-1):
11278 Decode commentary (bug#16733).
11279
11280 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11281
11282 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11283 modification of the value argument of :set (bug#16755).
11284
11285 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * simple.el (newline-and-indent): Do autofill (bug#17031).
11288
11289 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11290
11291 * newcomment.el (comment-normalize-vars): Only add escaping check
11292 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11293 (comment-beginning): Use `narrow-to-region' instead of moving back
11294 one character.
11295 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11296 (comment-start-skip): Update the docstring.
11297
11298 2014-03-18 Richard Stallman <rms@gnu.org>
11299
11300 * dired.el (dired-display-file): Force use of other window.
11301
11302 2014-03-18 Daniel Colascione <dancol@dancol.org>
11303
11304 * startup.el (tty-handle-args): Remove debug message from 2007.
11305
11306 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11309 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11310 (advice--make-1, advice-add, advice-remove):
11311 Remove braindead :advice-pending hack.
11312
11313 2014-03-17 Glenn Morris <rgm@gnu.org>
11314
11315 * calendar/calendar.el (calendar-generate-month): Apply weekend
11316 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11317
11318 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11319
11320 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11321 (tramp-call-process): Trace also DESTINATION.
11322
11323 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11324 Quote file names when they are local. Remove superfluous trace.
11325
11326 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11327
11328 * newcomment.el (comment-beginning): If `comment-start-skip'
11329 doesn't match, move back one char and try again. (Bug#16971)
11330
11331 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11332 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11333 Set `comment-start-skip' to a simpler value that doesn't try to
11334 check if the semicolon is escaped (this is handled by
11335 `syntax-ppss' now). (Bug#16971)
11336
11337 * progmodes/scheme.el (scheme-mode-variables): Same.
11338
11339 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11340
11341 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11342 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11343 current (Bug#16816, Bug#17007).
11344 (with-current-buffer-window): New macro doing the same as
11345 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11346 * help.el (help-print-return-message): Warn in doc-string to not
11347 use this in `with-help-window'.
11348 (describe-bindings-internal): Call `describe-buffer-bindings'
11349 from within help buffer. See Juanma's scenario in (Bug#16816).
11350 (with-help-window): Update doc-string.
11351 * dired.el (dired-mark-pop-up):
11352 * files.el (save-buffers-kill-emacs):
11353 * register.el (register-preview): Use `with-current-buffer-window'
11354 instead of `with-temp-buffer-window'.
11355
11356 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11357
11358 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11359 Implement inserting into current buffer, documented in their docstrings.
11360 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11361 (rst-section-tree-point, rst-forward-section, rst-indent)
11362 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11363 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11364 (rst-font-lock-handle-adornment-pre-match-form)
11365 (rst-repeat-last-character): Reflow docstrings.
11366 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11367 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11368 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11369 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11370 Fix docstring typos.
11371 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11372 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11373 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11374
11375 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11376
11377 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11378 for compatibility with other ports.
11379 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11380 from the -xrm command line argument, but in the Nextstep port its value
11381 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11382
11383 * progmodes/python.el (defconst, python-syntax-count-quotes)
11384 (python-indent-region, python-indent-shift-right)
11385 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11386 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11387 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11388 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11389 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11390 (python-shell-buffer-substring, python-shell-send-buffer)
11391 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11392 (python-completion-complete-at-point, python-fill-docstring-style)
11393 (python-eldoc-function, python-imenu-format-item-label)
11394 (python-imenu-format-parent-item-label)
11395 (python-imenu-format-parent-item-jump-label)
11396 (python-imenu--build-tree, python-imenu-create-index)
11397 (python-imenu-create-flat-index): Fix docstring typos.
11398 (python-indent-context, python-shell-prompt-regexp, run-python):
11399 Remove superfluous backslashes.
11400 (python-indent-line, python-nav-beginning-of-defun)
11401 (python-shell-get-buffer, python-shell-get-process)
11402 (python-info-current-defun, python-info-current-line-comment-p)
11403 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11404 (python-indent-post-self-insert-function, python-shell-send-file)
11405 (python-shell-completion-get-completions)
11406 (python-shell-completion-complete-or-indent)
11407 (python-eldoc--get-doc-at-point): Reflow docstrings.
11408
11409 2014-03-14 Glenn Morris <rgm@gnu.org>
11410
11411 * emacs-lisp/package.el (package-menu-mode-map):
11412 Replace use of obsolete function alias. Tweak menu item text.
11413
11414 * info.el (Info-finder-find-node):
11415 Ignore the `emacs' metapackage. (Bug#10813)
11416
11417 * finder.el (finder-list-matches): Include unversioned packages
11418 in the result of a keyword search.
11419
11420 * finder.el (finder--builtins-descriptions): New constant.
11421 (finder-compile-keywords): Use finder--builtins-descriptions.
11422
11423 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11424
11425 * simple.el (blink-matching-paren): Describe the new value,
11426 `jump', enabling the old behavior.
11427 (blink-matching-open): Use that value. (Bug#17008)
11428
11429 2014-03-14 Glenn Morris <rgm@gnu.org>
11430
11431 * finder.el (finder-no-scan-regexp): Add leim-list.
11432 (finder-compile-keywords):
11433 Don't skip files with same basename. (Bug#14010)
11434 * Makefile.in (setwins_finder): New, excluding leim.
11435 (finder-data): Use setwins_finder.
11436
11437 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11438 (help-function-arglist, help-make-usage): Move from here...
11439 * help.el (help-split-fundoc, help-add-fundoc-usage)
11440 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11441 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11442
11443 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * net/socks.el (socks, socks-override-functions)
11446 (socks-find-services-entry):
11447 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11448 (hif-find-ifdef-block):
11449 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11450
11451 * net/tls.el (tls-program): Reflow docstring.
11452
11453 * progmodes/pascal.el (pascal-mode-abbrev-table)
11454 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11455 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11456 (pascal-outline-mode): Fix docstring typos.
11457 (pascal-mode): Let define-derived-mode document mode hook.
11458 (pascal-uncomment-area): Reflow.
11459 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11460
11461 * progmodes/opascal.el (opascal-compound-block-indent)
11462 (opascal-case-label-indent): Fix docstring typos.
11463 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11464
11465 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11466
11467 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11468 Fontify multiple adjacent negation chars. (Bug#17004)
11469
11470 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11471
11472 * emacs-lisp/package.el (package--prepare-dependencies):
11473 Accept requirements without explicit version (bug#14941).
11474
11475 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11476
11477 * register.el (register-separator, copy-to-register): Doc fixes.
11478 (register-preview-default): Remove unnecessary call to concat.
11479
11480 * frameset.el (frameset-restore): When checking for a visible frame,
11481 use the action map instead of calling visible-frame-list.
11482
11483 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11484
11485 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11486
11487 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11488
11489 * window.el (fit-frame-to-buffer): Get maximum width from
11490 display's width instead of height.
11491
11492 2014-03-12 Glenn Morris <rgm@gnu.org>
11493
11494 * desktop.el (desktop-restore-frames)
11495 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11496 (desktop-restore-reuses-frames): Doc tweaks.
11497
11498 * electric.el (electric-indent-mode): Doc fix.
11499
11500 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11503 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11504 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11505 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11506 (cvs-dired-use-hook): Fix docstring typos.
11507 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11508 Doc fixes.
11509
11510 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11511 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11512 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11513 (cvs-execute-single-dir): Fix docstring typos.
11514
11515 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11516 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11517
11518 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11519
11520 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11521 Fix docstring typos.
11522
11523 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11526 called from jump-to-register after unloading the frameset package.
11527
11528 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11531 (bug#16975). Deactivate the mark before setting it to nil.
11532 (activate-mark): Do nothing if region is already active.
11533
11534 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11535
11536 * frameset.el (frameset--target-display): Remove definition; declare.
11537 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11538
11539 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11542 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11543 when the advice is pending.
11544 (advice-remove): Remove this marker when not needed any more.
11545
11546 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * frameset.el: Separate options for reusing frames and cleaning up.
11549 (frameset--reuse-list): Remove definition; declare.
11550 (frameset--action-map): Declare.
11551 (frameset--find-frame-if): Doc fix.
11552 (frameset--restore-frame): Cache frame action.
11553 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11554 how to clean up the frame list after restoring. Remove cleaning
11555 options from REUSE-FRAMES. Change all keyword values to symbols.
11556 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11557
11558 * desktop.el (desktop-restore-forces-onscreen)
11559 (desktop-restore-reuses-frames): Use non-keyword values.
11560 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11561
11562 2014-03-10 Glenn Morris <rgm@gnu.org>
11563
11564 * files.el (find-file): Doc fix: update info node name.
11565
11566 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11567 Doc fix: remove references to deleted info nodes.
11568
11569 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11570
11571 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11572 Do not add nil to the environment, when there's no remote `locale'.
11573 (tramp-find-inline-encoding): Check, that the remote host has
11574 installed perl, before sending scripts.
11575
11576 2014-03-10 Leo Liu <sdl.web@gmail.com>
11577
11578 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11579 Clear eldoc-last-message. (Bug#16920)
11580
11581 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11584 (bug#14430).
11585
11586 2014-03-09 Juri Linkov <juri@jurta.org>
11587
11588 * ansi-color.el (ansi-color-names-vector): Copy default colors
11589 from `xterm-standard-colors' that look well on the default white
11590 background (and also on the black background) to avoid illegible
11591 color combinations like yellow-on-white and white-on-white.
11592 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11593
11594 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * frameset.el (frameset-restore): When no frame is visible, do not
11597 generate a list of frames, just make visible the selected one.
11598
11599 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11600
11601 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11602 it only contains the repository root. (Bug#16897)
11603
11604 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11607 only when `remote-file-name-inhibit-cache' is nil.
11608 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11609
11610 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11611
11612 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11613 Fix doc-strings.
11614 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11615 fit-frame-to-buffer variable. Fix doc-string.
11616 (fit-window-to-buffer): Set ONLY argument in call of
11617 fit-frame-to-buffer. Fix doc-string.
11618
11619 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11620
11621 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11622 (tramp-action-password): Clear password cache if needed.
11623 (tramp-read-passwd): Do not clear password cache.
11624
11625 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11626 cache unless it is the first password request.
11627
11628 2014-03-06 Glenn Morris <rgm@gnu.org>
11629
11630 * simple.el (newline): Doc tweak.
11631
11632 * emacs-lisp/shadow.el (load-path-shadows-find):
11633 Ignore dir-locals. (Bug#12357)
11634
11635 2014-03-05 Glenn Morris <rgm@gnu.org>
11636
11637 * files.el (interpreter-mode-alist):
11638 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
11639
11640 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * frameset.el (frameset--initial-params): Filter out null entries.
11643
11644 2014-03-05 Martin Rudalics <rudalics@gmx.at>
11645
11646 * window.el (window-min-height, window-min-width):
11647 Rewrite doc-strings.
11648 (window-body-size): Add PIXELWISE argument to make it consistent
11649 with its callees.
11650
11651 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11652
11653 * finder.el (finder-mode-map, finder-mode-syntax-table):
11654 Revert part of 2014-02-28 change.
11655
11656 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
11657
11658 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11659 (eww-setup-buffer): Clear next/prev/etc more reliably.
11660 (eww-textarea-map): [tab] doesn't work on tty.
11661 Reported by Mario Lang.
11662
11663 * net/shr.el (shr-map): Ditto.
11664
11665 2014-03-04 Glenn Morris <rgm@gnu.org>
11666
11667 * minibuffer.el (completion-hilit-commonality):
11668 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11669
11670 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11671
11672 * hilit-chg.el (hilit-chg-unload-function): New function.
11673 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11674 (hilit-chg-map-changes): Prefer cardinal number to digit.
11675 (hilit-chg-display-changes): Reflow docstring.
11676 (highlight-changes-rotate-faces): Remove superfluous backslash.
11677
11678 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
11679
11680 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11681 `tramp-send-command-and-check'.
11682
11683 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11684
11685 * hexl.el (hexl-address-region, hexl-ascii-region)
11686 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11687 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11688 (hexl-forward-word, hexl-previous-line, hexl-next-line):
11689 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11690 (hexl-mode): Doc fix.
11691 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11692 (hexl-mode-ruler): Fix typos in docstrings.
11693
11694 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11695 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11696 Remove superfluous backslashes.
11697 (strokes-last-stroke, strokes-global-map, strokes-mode):
11698 Reflow docstrings.
11699 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11700 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11701 (strokes-distance-squared, strokes-global-set-stroke)
11702 (strokes-global-set-stroke-string): Doc fixes.
11703 (strokes-help): Fix typos; reflow docstring.
11704
11705 2014-03-04 Martin Rudalics <rudalics@gmx.at>
11706
11707 * window.el (window-in-direction): Fix doc-string.
11708
11709 2014-03-04 Glenn Morris <rgm@gnu.org>
11710
11711 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11712 Explicit error if no grammar.
11713 (smie-config-save): Doc fix. Fix quote typo.
11714
11715 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11718 electric-indent-mode-hook if we obey electric-indent-mode.
11719 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11720 decide whether we obey electric-indent-mode.
11721 (c-change-set-fl-decl-start, c-extend-after-change-region):
11722 Silence warnings.
11723 (c-electric-indent-mode-hook): Assume we do want to obey
11724 electric-indent-mode.
11725
11726 * electric.el (electric-indent-mode-has-been-called): Remove.
11727 (electric-indent-mode): Fix accordingly.
11728
11729 * files.el (hack-local-variables): Mention file name in warning.
11730
11731 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11732
11733 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
11734
11735 * bindings.el: Add comment describing why C-d binds to `delete-char'.
11736 * simple.el (delete-forward-char): Mark as interactive-only.
11737
11738 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * icomplete.el (icomplete-completions):
11741 Follow-up to 2014-03-01 change.
11742
11743 * icomplete.el: Miscellaneous doc fixes.
11744 Use Icomplete everywhere instead of icomplete for consistency.
11745 (icomplete-max-delay-chars): Fix typo.
11746 (icomplete-mode): Use \[].
11747 (icomplete-tidy, icomplete-exhibit): Reflow.
11748 (icomplete-minibuffer-setup-hook, icomplete-completions):
11749 Remove superfluous backlashes.
11750
11751 * ido.el: Miscellaneous doc fixes.
11752 Use Ido everywhere instead of ido or `ido' for consistency.
11753 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11754 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11755 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11756 (ido-separator): Extract obsolescence info from docstring and declare
11757 with make-obsolete-variable.
11758 (ido-minibuffer-setup-hook): Simplify example.
11759 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11760 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11761 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11762 (ido-everywhere): Reflow docstring.
11763 (ido-toggle-vc): Doc fix.
11764 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11765 of long list of keybindings.
11766
11767 2014-03-03 Glenn Morris <rgm@gnu.org>
11768
11769 * frame.el (display-pixel-height, display-pixel-width)
11770 (display-mm-dimensions-alist, display-mm-height)
11771 (display-mm-width): Doc tweaks.
11772
11773 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
11774
11775 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11776 case of undo in region.
11777
11778 2014-03-02 Martin Rudalics <rudalics@gmx.at>
11779
11780 * window.el (fit-window-to-buffer): Fix argument in window-size
11781 call when window is horizontally combined.
11782
11783 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
11784
11785 * icomplete.el (icomplete-completions): Use string-width.
11786 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11787
11788 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
11789
11790 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11791 Highlight regexp options. (Bug#16914)
11792
11793 2014-03-01 Martin Rudalics <rudalics@gmx.at>
11794
11795 * window.el (window--max-delta-1): Round down when calculating
11796 how many lines/columns we can get from a window.
11797
11798 2014-03-01 Glenn Morris <rgm@gnu.org>
11799
11800 * isearch.el (search-invisible): Doc fix.
11801
11802 * minibuffer.el (completion-hilit-commonality):
11803 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
11804 * comint.el (comint-dynamic-list-completions): Doc fix.
11805 * comint.el (comint-dynamic-list-completions):
11806 * filecache.el (file-cache-minibuffer-complete):
11807 * tempo.el (tempo-display-completions):
11808 * eshell/em-hist.el (eshell-list-history):
11809 Replace use of obsolete argument of display-completion-list.
11810
11811 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
11812
11813 * icomplete.el (icomplete-completions):
11814 Revert back to using "..." when ?… cannot be displayed.
11815
11816 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11817
11818 * finder.el (finder-unload-function): New function.
11819
11820 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * dframe.el (dframe-detach):
11823 * find-dired.el (find-dired, find-name-dired):
11824 * finder.el (finder-mode-map, finder-mode-syntax-table)
11825 (finder-headmark, finder-select, finder-mouse-select):
11826 Fix docstring typos.
11827
11828 2014-02-28 Martin Rudalics <rudalics@gmx.at>
11829
11830 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11831 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11832 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11833 Fix doc-string based on a suggestion by Nicolas Richard
11834 <theonewiththeevillook@yahoo.fr>.
11835 * help.el (with-help-window): Fix doc-string.
11836
11837 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11838
11839 * net/shr.el (shr-image-animate): New option.
11840 (shr-put-image): Respect shr-image-animate.
11841
11842 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
11843
11844 * net/tramp-adb.el (tramp-adb-parse-device-names):
11845 Use `accept-process-output'.
11846 (tramp-adb-handle-file-truename): Cache the localname only.
11847 (tramp-adb-handle-make-directory)
11848 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11849 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11850 modes cannot be changed.
11851
11852 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11853 file properties of symlinks.
11854
11855 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11856
11857 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11858 required/optional fields to match development biblatex. (Bug#16781)
11859
11860 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11861
11862 * saveplace.el (toggle-save-place):
11863 Fix argument handling. (Bug#16673)
11864
11865 2014-02-28 Glenn Morris <rgm@gnu.org>
11866
11867 * minibuffer.el (completions-first-difference)
11868 (completions-common-part, completion-hilit-commonality): Doc fixes.
11869
11870 2014-02-28 Karl Berry <karl@gnu.org>
11871
11872 * info.el (Info-mode-map): Add H for describe-mode,
11873 to synchronize with standalone Info.
11874
11875 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11876
11877 * progmodes/sql.el (sql-interactive-mode):
11878 Avoid setting global comint-input-ring-separator. (Bug#16814)
11879
11880 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11881
11882 * net/dbus.el (dbus--init-bus): Declare function.
11883 (dbus-path-local, dbus-interface-local): New defconst.
11884 (dbus-init-bus): Use them.
11885 (dbus-return-values-table): Extend doc.
11886 (dbus-handle-bus-disconnect): Extend error message.
11887
11888 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11889
11890 * subr.el (y-or-n-p): Fix double space issue in message.
11891
11892 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11893
11894 * net/tramp.el (tramp-call-process): Improve trace message.
11895 (tramp-handle-insert-file-contents): Trace error case.
11896
11897 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11898 <insert-directory>: Use `tramp-handle-insert-directory'.
11899 (tramp-adb-handle-insert-directory): Remove function.
11900 (tramp-adb-send-command-and-check): New defun, replacing
11901 `tramp-adb-command-exit-status'. Change all callees.
11902 (tramp-adb-handle-file-attributes)
11903 (tramp-adb-handle-directory-files-and-attributes): Use it.
11904 (tramp-adb-ls-output-name-less-p):
11905 Use `directory-listing-before-filename-regexp'.
11906 (tramp-adb-handle-delete-directory): Flush also file properties of
11907 the truename of directory.
11908 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11909 (tramp-adb-handle-file-local-copy): Make the local copy readable.
11910 (tramp-adb-handle-write-region): Implement APPEND.
11911 (tramp-adb-handle-rename-file): Make it more robust. Flush file
11912 properties correctly.
11913 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11914 variables. Check for connected devices only when needed.
11915
11916 2014-02-27 Glenn Morris <rgm@gnu.org>
11917
11918 * minibuffer.el (completion-table-dynamic)
11919 (completion-table-with-cache): Doc fixes.
11920
11921 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11922 (completing-read-multiple): Doc fixes.
11923
11924 2014-02-27 Daniel Colascione <dancol@dancol.org>
11925
11926 * minibuffer.el (completion--nth-completion): Fix indentation.
11927
11928 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11929 explicit tramp path is empty.
11930
11931 2014-02-27 Glenn Morris <rgm@gnu.org>
11932
11933 * emacs-lisp/crm.el (completing-read-multiple):
11934 Empower help-enable-auto-load.
11935
11936 2014-02-26 Glenn Morris <rgm@gnu.org>
11937
11938 * startup.el (command-line): Don't init the tty in daemon mode.
11939
11940 Avoid calling tty-setup-hook twice, eg if a term file
11941 explicitly calls tty-run-terminal-initialization. (Bug#16859)
11942 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11943 (tty-create-frame-with-faces): Use it.
11944 * startup.el (command-line): Pass run-hook argument
11945 to tty-run-terminal-initialization.
11946
11947 * dired.el (dired-restore-desktop-buffer): Demote errors;
11948 eg in case a glob match fails. (Bug#16884)
11949
11950 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
11951
11952 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11953 error from `read-from-string'. (Bug#16850)
11954
11955 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11956 result of `completing-read' in the interactive form. (Bug#16854)
11957
11958 2014-02-25 Glenn Morris <rgm@gnu.org>
11959
11960 * image.el (image-animate, image-animate-timeout):
11961 Stop animating images in dead buffers. (Bug#16878)
11962
11963 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
11964
11965 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11966 Doc fixes.
11967 * startup.el (term-setup-hook): Doc fix. Make obsolete.
11968 * term/sun.el (sun-raw-prefix-hooks):
11969 Use tty-setup-hook instead of term-setup-hook.
11970 (terminal-init-sun): Construct message from bytecomp plist.
11971 * term/wyse50.el (enable-arrow-keys): Doc fix.
11972
11973 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11974
11975 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11976 Fix docstring typos.
11977
11978 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
11979
11980 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11981
11982 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11983
11984 * minibuffer.el (completion--try-word-completion):
11985 Fix error when completing M-x commands (bug#16808).
11986
11987 2014-02-24 Leo Liu <sdl.web@gmail.com>
11988
11989 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11990
11991 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * apropos.el (apropos-print): Avoid formatting error when
11994 apropos-do-all and apropos-compact-layout are both t.
11995
11996 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * apropos.el (apropos-property, apropos-all-words-regexp)
11999 (apropos-true-hit, apropos-variable, apropos-print):
12000 Fix docstring typos, and remove obsolete comment.
12001
12002 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12003
12004 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12005 Preserve trailing "/". (Bug#16851)
12006
12007 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12008
12009 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12010 after `=>' (bug#16811).
12011 (ruby-smie-rules): Handle the inconsistent second element of the
12012 list returned by `smie-indent--parent'.
12013 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12014 method call.
12015
12016 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * elec-pair.el (electric-pair-text-syntax-table)
12019 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12020 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12021 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12022 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12023
12024 2014-02-22 Glenn Morris <rgm@gnu.org>
12025
12026 * imenu.el (imenu--generic-function): Doc fix.
12027
12028 * register.el (frame-configuration-to-register): Make obsolete.
12029
12030 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12031
12032 * desktop.el (desktop-save-buffer-p): Do not fail when
12033 desktop-files-not-to-save is nil. Return t for true result
12034 as the doc says.
12035
12036 2014-02-22 Daniel Colascione <dancol@dancol.org>
12037
12038 * net/secrets.el (secrets-create-item, secrets-search-items):
12039 Check that attribute values are strings, avoiding the construction
12040 of invalid dbus messages.
12041
12042 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12043
12044 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12045 defun-declarations-alist.
12046
12047 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12050 (bug#16829).
12051
12052 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12055 (whitespace-newline, whitespace-trailing, whitespace-line)
12056 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12057 (whitespace-space-after-tab): Fix typo in docstrings.
12058
12059 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12060
12061 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12062
12063 * electric.el (electric-indent-functions-without-reindent):
12064 Add `yaml-indent-line'.
12065
12066 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12067
12068 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12069 It has done nothing for years; should be removed after the release.
12070
12071 * simple.el (choose-completion): Fix docstring typo.
12072 (read-quoted-char-radix): Remove unneeded * in docstring.
12073 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12074 Don't escape parentheses unnecessarily in docstrings.
12075
12076 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12077
12078 Fix handling of window-min-height/-width (Bug#16738).
12079 * window.el (window--dump-window, window--dump-frame):
12080 New functions.
12081 (window--min-size-1): Account for window dividers.
12082 When window-resize-pixelwise is nil, delay rounding till after the
12083 sum of the window components has been calculated.
12084 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12085 nil make sure at least one text line and two text columns remain
12086 fully visible.
12087 (window-resize): Signal an error when window-resize-apply fails.
12088 (window--resize-child-windows): Fix calculation of by how many
12089 pixels a window can still be shrunk via window-new-normal.
12090 (adjust-window-trailing-edge): Call window--resizable with
12091 correct TRAIL argument.
12092
12093 (with-temp-buffer-window): Don't evaluate BODY within
12094 with-current-buffer (Bug#16816).
12095
12096 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/tramp.el (tramp-check-cached-permissions):
12099 Call `file-attributes' with `suffix' being a symbol but a string.
12100
12101 2014-02-21 Daniel Colascione <dancol@dancol.org>
12102
12103 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12104 (dbus-init-bus): New function: call into dbus-init-bus-1
12105 and installs a handler for the disconnect signal.
12106 (dbus-call-method): Rewrite to look for result in cons.
12107 (dbus-call-method-handler): Store result in cons.
12108 (dbus-check-event): Recognize events with nil sender as valid.
12109 (dbus-handle-bus-disconnect): New function. React to bus
12110 disconnection signal by synthesizing dbus error for each
12111 pending synchronous or asynchronous call.
12112 (dbus-notice-synchronous-call-errors): New function.
12113 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12114 is true, not all the time.
12115
12116 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12117
12118 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12119 Remove obsolescence declarations, these variables do not exist anymore.
12120
12121 * savehist.el (savehist-save-minibuffer-history)
12122 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12123 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12124 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12125 mostly, refer to "Savehist mode" when talking about the mode,
12126 and not the function.
12127
12128 * saveplace.el (save-place): Remove redundant info in docstring.
12129 (save-place-forget-unreadable-files, toggle-save-place)
12130 (save-place-forget-unreadable-files, save-place-dired-hook):
12131 Fix typos and remove unneeded backslashes.
12132
12133 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12134
12135 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12136 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12137
12138 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12139 <insert-directory>: Use `tramp-handle-insert-directory'.
12140 (tramp-gvfs-handle-insert-directory): Remove function.
12141
12142 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12143 Call `tramp-handle-insert-directory'.
12144
12145 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12148 before the start of buffer/region (bug#16799).
12149
12150 2014-02-20 Glenn Morris <rgm@gnu.org>
12151
12152 * isearch.el (search-invisible): Doc fix.
12153
12154 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12155
12156 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12157 (bug#16657).
12158
12159 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * frameset.el (frameset-restore): Delay removing an old frame's
12162 duplicate id until the new frame has been correctly created.
12163
12164 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12165
12166 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12167 (tramp-check-cached-permissions): Call `file-attributes' if the
12168 cache is empty.
12169
12170 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12171 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12172
12173 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12174 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12175 (tramp-gvfs-maybe-open-connection): Set always connection
12176 properties, even if target is mounted already.
12177
12178 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12179 Set tramp-autoload cookie.
12180 (tramp-get-remote-touch): New defun.
12181 (tramp-sh-handle-set-file-times): Use it.
12182 (tramp-sh-handle-directory-files-and-attributes):
12183 Use `tramp-handle-directory-files-and-attributes' if neither stat
12184 nor perl are available on the remote host.
12185
12186 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12187 "/". Write long listing only when "l" belongs to the switches.
12188
12189 * net/trampver.el: Update release number.
12190
12191 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12194
12195 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12196
12197 * window.el (window-state-put): Allow WINDOW to refer to an
12198 internal window (Bug#16793).
12199
12200 2014-02-19 Glenn Morris <rgm@gnu.org>
12201
12202 * textmodes/remember.el: Move provide statement to end.
12203 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12204 (remember-notes): Doc fixes.
12205
12206 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * delsel.el (delete-char): Restore incorrectly erased property
12209 (bug#16795).
12210
12211 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * frameset.el (frameset--restore-frame): When a frame is being reused
12214 and its root window is not alive, delete all the frame's windows before
12215 restoring the window state. This works around the issue in bug#16793.
12216
12217 2014-02-18 Glenn Morris <rgm@gnu.org>
12218
12219 * textmodes/remember.el (remember-data-directory)
12220 (remember-directory-file-name-format, remember-store-in-files)
12221 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12222 (remember-notes-save-and-bury-buffer)
12223 (remember-notes--kill-buffer-query): Doc fixes.
12224
12225 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12226
12227 2014-02-17 Alan Mackenzie <acm@muc.de>
12228
12229 Connect electric-indent-mode up with CC Mode. Bug #15478.
12230 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12231 to electric-indent-{,local-}-mode.
12232 (c-basic-common-init): Set electric-indent-inhibit.
12233 Initialise c-electric-flag from electric-indent-mode.
12234 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12235 New hook functions which propagate electric-indent-mode to CC mode.
12236
12237 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12238 hit, toggle electric-indent-local-mode.
12239
12240 * electric.el (electric-indent-mode-has-been-called):
12241 New variable.
12242
12243 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12244
12245 * frameset.el (frameset-cfg-id): New function.
12246 (frameset--reuse-frame, frameset-restore): Use it.
12247 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12248
12249 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * ido.el (ido-file-internal): Remove unused var `d'.
12252 Use \` for to match BoS. Fit within 80n columns.
12253
12254 2014-02-17 Daniel Colascione <dancol@dancol.org>
12255
12256 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12257 dbus-call-method check for completion using a busy-wait loop with
12258 gradual backoff.
12259
12260 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12261
12262 Sync with Tramp 2.2.9.
12263
12264 * net/trampver.el: Update release number.
12265
12266 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12267
12268 * ido.el (ido-file-internal): Don't add the name of an existing
12269 directory twice. (Bug#16747)
12270
12271 2014-02-16 Glenn Morris <rgm@gnu.org>
12272
12273 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12274 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12275
12276 2014-02-15 Michael R. Mauger <michael@mauger.com>
12277
12278 * progmodes/sql.el: Version 3.4
12279 (sql-oracle-options): New default value ("-L").
12280 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12281 (sql-placeholders-filter): Correct placeholder pattern.
12282 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12283 (sql-login-delay): New variable.
12284 (sql-product-interactive): Use it.
12285
12286 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12287
12288 * frameset.el (frameset--jump-to-register): Check that buffer is live
12289 (bug#16749).
12290
12291 2014-02-15 Glenn Morris <rgm@gnu.org>
12292
12293 * info.el (info-initialize): Revert 2014-01-10 change.
12294
12295 2014-02-14 Glenn Morris <rgm@gnu.org>
12296
12297 * replace.el (map-query-replace-regexp)
12298 (read-regexp-defaults-function, read-regexp): Doc fixes.
12299
12300 * dired.el (dired-read-regexp):
12301 * faces.el (list-faces-display):
12302 * misearch.el (multi-isearch-read-matching-buffers)
12303 (multi-isearch-read-matching-files):
12304 * play/cookie1.el (cookie-apropos):
12305 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12306
12307 * textmodes/remember.el (remember): Use frameset-to-register
12308 rather than frame-configuration-to-register.
12309
12310 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12311
12312 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12313 incorrect keybinding.
12314
12315 2014-02-13 Daniel Colascione <dancol@dancol.org>
12316
12317 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12318 when adding overlays so that line numbers from compiler match line
12319 numbers we use.
12320
12321 2014-02-13 Glenn Morris <rgm@gnu.org>
12322
12323 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12324
12325 * jit-lock.el (jit-lock-mode): Doc fix.
12326
12327 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12328
12329 * apropos.el (apropos-read-pattern): When the user passes an empty
12330 string, give a more helpful error message than "Wrong type
12331 argument: stringp, nil".
12332
12333 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12336
12337 2014-02-13 Glenn Morris <rgm@gnu.org>
12338
12339 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12340
12341 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12344 shift-select commands.
12345
12346 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12347
12348 * progmodes/js.el (js-indent-line): Don't widen.
12349 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12350
12351 2014-02-12 Glenn Morris <rgm@gnu.org>
12352
12353 * icomplete.el (icomplete): Add info-link to defgroup.
12354 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12355 (icomplete-minibuffer-map, icomplete-mode)
12356 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12357
12358 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12359 (package-menu-filter): Rename from package-menu-filter-interactive.
12360 Doc fix.
12361
12362 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * frameset.el (frameset--jump-to-register): Select the required
12365 window and buffer before restoring position (bug#16696).
12366
12367 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12368
12369 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12370
12371 2014-02-10 Glenn Morris <rgm@gnu.org>
12372
12373 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12374
12375 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12376
12377 * w32-common-fns.el (x-get-selection): Doc fix.
12378 * select.el (x-get-selection): Doc fix. (Bug#15109)
12379
12380 * face-remap.el (face-remap-add-relative)
12381 (face-remap-remove-relative, face-remap-reset-base)
12382 (face-remap-set-base): Call force-mode-line-update to redisplay
12383 the current buffer due to potential change in faces. (Bug#16709)
12384
12385 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12386
12387 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12388 script more robustly.
12389
12390 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12391
12392 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12393
12394 * simple.el (choose-completion): Doc fix (bug#14160).
12395
12396 * subr.el (event-start): Say what a nil EVENT value means.
12397
12398 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12399 (bug#14197).
12400
12401 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12402
12403 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12404
12405 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12406
12407 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12408 predicate function (bug#15455).
12409
12410 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12411
12412 * ielm.el (inferior-emacs-lisp-mode): Instead of
12413 `comment-use-global-state', set `comment-use-syntax'.
12414
12415 2014-02-10 Glenn Morris <rgm@gnu.org>
12416
12417 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12418
12419 2014-02-09 Alan Mackenzie <acm@muc.de>
12420
12421 Fix c-invalidate-state-cache on narrowed buffers.
12422 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12423 Widen when setting and clearing the CPP delimiter properties.
12424
12425 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12426
12427 * help.el (describe-bindings): Doc fix (bug#9888).
12428
12429 * files.el (save-buffer): Use ARG as the parameter name for
12430 consistency (bug#10346).
12431 (save-buffer): Clarify the 0 argument (bug#10346).
12432
12433 * cus-edit.el (customize-apropos): Fix error string.
12434 (custom-buffer-create): Doc fix (bug#11122).
12435 (custom-sort-items): Doc fix (bug#11121).
12436
12437 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12438
12439 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12440 (icomplete-simple-completing-p): Mention the previous variable.
12441
12442 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12443 meaning of the parameter (bug#12282).
12444
12445 * files.el (find-file-noselect): Clarify prompt when changing
12446 readedness (bug#13261).
12447 (locate-file): Suffixes aren't returned, so don't say that they
12448 are (bug#12674).
12449 (backup-inhibited): Doc clarification (bug#12525).
12450
12451 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12452 before we actually start to delete things (bug#16331).
12453
12454 * subr.el (event-start): Doc fix (bug#14228).
12455 (event-end): Ditto.
12456
12457 2014-02-09 Glenn Morris <rgm@gnu.org>
12458
12459 * emacs-lisp/warnings.el (lwarn):
12460 Empower help-enable-auto-load. (Bug#15940)
12461
12462 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12463
12464 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12465 (Bug#16690)
12466
12467 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12468
12469 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12470 Insert output at end of buffer. (Bug#16120)
12471
12472 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12473
12474 * simple.el (choose-completion-string-functions): Document new
12475 calling convention (bug#14153).
12476 (execute-extended-command): Clarify doc string (bug#13373).
12477
12478 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12479
12480 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12481 (find-grep-dired): Doc fix (bug#14288).
12482
12483 2014-02-08 Juri Linkov <juri@jurta.org>
12484
12485 * isearch.el (isearch-quote-char): Check character validity
12486 like in `quoted-insert' (bug#16677).
12487
12488 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12489
12490 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12491
12492 * isearch.el (isearch-hide-immediately): Doc clarification
12493 (bug#14723).
12494
12495 * simple.el (line-move): Document utility function used many
12496 places in the Emacs sources (bug#14843).
12497
12498 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12499 (dired-prev-marked-file): Doc fix (bug#14855).
12500 (dired-up-directory): Doc fix (bug#14848).
12501
12502 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12503
12504 * files.el (file-relative-name): Doc fix (bug#15159).
12505
12506 * fringe.el (fringe-styles): Doc fix (bug#15239).
12507
12508 * isearch.el (isearch-filter-predicate): Documentation typo fix
12509 (bug#15474).
12510
12511 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12512
12513 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12514
12515 * replace.el (replace-match-maybe-edit): Doc clarification
12516 (bug#15632).
12517
12518 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12519
12520 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12521
12522 2014-02-08 Glenn Morris <rgm@gnu.org>
12523
12524 * help-fns.el (describe-variable):
12525 Check {file,dir}-local-variables-alist, and buffer-file-name,
12526 in the correct buffer.
12527
12528 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12529
12530 * help-fns.el (describe-variable): Fix the case where
12531 a value is directory-local with no dir-locals file. (Bug#16635)
12532
12533 2014-02-08 Glenn Morris <rgm@gnu.org>
12534
12535 * abbrev.el (edit-abbrevs-mode):
12536 Derive from fundamental-mode. (Bug#16682)
12537
12538 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12539
12540 * simple.el (quoted-insert): Check character validity (bug#16677).
12541
12542 2014-02-07 Juri Linkov <juri@jurta.org>
12543
12544 * desktop.el (desktop-read): Claim the lock when the owner is not
12545 the current process. (Bug#16157)
12546
12547 2014-02-07 Juri Linkov <juri@jurta.org>
12548
12549 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12550 to "\\` ". (Bug#16651)
12551
12552 2014-02-07 Juri Linkov <juri@jurta.org>
12553
12554 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12555 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12556 (desktop-auto-save-cancel-timer): New function with some code from
12557 `desktop-auto-save-set-timer'.
12558 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12559 Instead of setting `desktop-save-mode' to nil, call
12560 `desktop-save-mode' with arg 0. (Bug#16630)
12561
12562 2014-02-07 Glenn Morris <rgm@gnu.org>
12563
12564 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12565 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12566 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12567
12568 * obsolete/iswitchb.el: Move to obsolete/.
12569 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12570 since obsolete/ is not scanned for autoloads.
12571 * emacs-lisp/authors.el (authors-valid-file-names):
12572 Add iswitchb.el.
12573
12574 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12575 Disable now non-functional find-file-hook.
12576
12577 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12578
12579 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12580 instead of ";" in order to avoid additional prompts. Let heredoc
12581 scripts read from tty. (Bug#16582)
12582 (tramp-send-command): No special handling of heredocs, it isn't
12583 necessary anymore.
12584
12585 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12588 with a space (bug#16664). Limit the symbols considered to the ones
12589 that are bound or fbound (bug#16646).
12590
12591 2014-02-06 Glenn Morris <rgm@gnu.org>
12592
12593 * epa.el (epa-mail-aliases): Doc fix.
12594
12595 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12596
12597 * emacs-lisp/lisp.el (lisp-completion-at-point):
12598 Use `completion-table-merge' instead of `completion-table-in-turn'
12599 (bug#16604).
12600
12601 * minibuffer.el (completion-table-merge): New function.
12602
12603 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12604
12605 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12606 (tramp-sh-handle-set-file-acl)
12607 (tramp-sh-handle-start-file-process)
12608 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12609 (tramp-find-executable, tramp-send-command): Use it.
12610
12611 2014-02-05 Glenn Morris <rgm@gnu.org>
12612
12613 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12614
12615 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12616
12617 * progmodes/python.el (python-shell-send-string)
12618 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12619
12620 2014-02-04 Anders Lindgren <andlind@gmail.com>
12621
12622 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12623 the names (bug#16620).
12624
12625 2014-02-03 Martin Rudalics <rudalics@gmx.at>
12626
12627 * faces.el (window-divider): New default value. Rewrite doc-string.
12628 (window-divider-first-pixel, window-divider-last-pixel): New faces.
12629
12630 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12631
12632 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12633 `protected' and `public' can also be called without arguments.
12634
12635 2014-02-03 Glenn Morris <rgm@gnu.org>
12636
12637 * register.el (window-configuration-to-register)
12638 (frame-configuration-to-register): Unadvertise unused argument.
12639 * frameset.el (frameset-to-register): Remove unused argument.
12640
12641 * frameset.el (frameset-to-register):
12642 * kmacro.el (kmacro-to-register):
12643 * register.el (increment-register):
12644 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12645 (calc-append-to-register, calc-prepend-to-register):
12646 * play/gametree.el (gametree-layout-to-register)
12647 (gametree-apply-register-layout):
12648 * textmodes/picture.el (picture-clear-rectangle-to-register)
12649 (picture-yank-rectangle-from-register):
12650 * vc/emerge.el (emerge-combine-versions-register):
12651 Use register-read-with-preview to read registers.
12652
12653 2014-02-03 João Távora <joaotavora@gmail.com>
12654
12655 * elec-pair.el (electric-pair-backward-delete-char): Don't error
12656 when at beginning of (possibly narrowed) buffer.
12657
12658 2014-02-02 Daniel Colascione <dancol@dancol.org>
12659
12660 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12661 Also try to display local help from just before point.
12662
12663 2014-02-02 Alan Mackenzie <acm@muc.de>
12664
12665 c-parse-state. Don't "append-lower-brace-pair" in certain
12666 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
12667 recognised as a comment.
12668
12669 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12670 as well as normal comment starter.
12671 (c-parse-state-get-strategy): Extra return possibility
12672 'back-and-forward.
12673 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12674 return value list to indicate replacement of a brace-pair cons
12675 with its car.
12676 (c-parse-state-1): With 'back-and-forward, only call
12677 c-append-lower-brace-pair-to state-cache when cons-separated.
12678
12679 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
12680
12681 * term/ns-win.el (ns-suspend-error): New function.
12682 (ns-initialize-window-system): Add ns-suspend-error to
12683 suspend-hook (Bug#16612).
12684
12685 2014-02-02 Daniel Colascione <dancol@dancol.org>
12686
12687 * progmodes/cc-defs.el (c-find-assignment-for-mode):
12688 Make loading cc-mode silent.
12689
12690 2014-02-02 Daniel Colascione <dancol@dancol.org>
12691
12692 * comint.el (comint-prompt-read-only): Change doc to suggest
12693 remap keybinding.
12694
12695 2014-02-02 Glenn Morris <rgm@gnu.org>
12696
12697 * register.el (register-read-with-preview, point-to-register)
12698 (window-configuration-to-register, frame-configuration-to-register)
12699 (jump-to-register, number-to-register, view-register, insert-register)
12700 (copy-to-register, append-to-register, prepend-to-register)
12701 (copy-rectangle-to-register): Doc fixes.
12702
12703 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12706 * emacs-lisp/find-func.el (find-function-C-source): Idem.
12707 * emacs-lisp/nadvice.el (advice--cd*r): New function.
12708 * help-fns.el (describe-function-1): Use it.
12709
12710 2014-02-02 Glenn Morris <rgm@gnu.org>
12711
12712 * register.el (register-preview-default): New function,
12713 split from register-preview.
12714 (register-preview-function): Rename from register-preview-functions,
12715 make it not a hook.
12716 (register-preview): Use register-preview-function.
12717 (register-read-with-preview): Error on non-character event. (Bug#16595)
12718
12719 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
12720
12721 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12722 `:' before binary operators (bug#16609). Don't check for `:'
12723 before `[' and `(', or their syntax status. A percent literal
12724 can't end with either.
12725 (ruby-font-lock-keywords): For built-ins that require arguments,
12726 check that they're followed by something that looks like argument
12727 (bug#16610).
12728
12729 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12730
12731 * subr.el (butlast): Document what an omitted N means (bug#13437).
12732 (nbutlast): Ditto.
12733
12734 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
12735
12736 * net/shr.el (shr-generic): Make into a defsubst to make the stack
12737 depth shallower (bug#16587).
12738 (shr-tag-svg): Respect `shr-inhibit-images'.
12739 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12740
12741 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
12742
12743 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12744 (ruby-smie-grammar): Make "." right-associative. Make its priority
12745 lower than the ternary and all binary operators.
12746 (ruby-smie-rules): Indent "(" relative to the first non-"."
12747 parent, or the first "." parent at indentation.
12748 Use `ruby-align-chained-calls' for indentation of "." tokens.
12749 (Bug#16593)
12750
12751 2014-01-31 Juri Linkov <juri@jurta.org>
12752
12753 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12754 from `make-hash-table'.
12755
12756 * textmodes/ispell.el (ispell-init-process): Change message format
12757 to be consistent with other messages.
12758
12759 2014-01-31 Glenn Morris <rgm@gnu.org>
12760
12761 * delsel.el (delete-selection-mode): Doc fix.
12762
12763 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12764 (trace-function-background): Doc fixes.
12765
12766 * ido.el (ido-use-virtual-buffers): Doc fix.
12767 Reset :version, since the default value has not changed.
12768
12769 * register.el (register-preview-delay, register-read-with-preview):
12770 Doc fixes.
12771
12772 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12773 do not mess with mail-buffer position (fixes 2009-11-03 change).
12774 * progmodes/cc-mode.el (c-submit-bug-report):
12775 Check auto-fill-mode is bound. (Bug#16592)
12776
12777 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
12778
12779 * startup.el (fancy-splash-image-file): New function,
12780 split from fancy-splash-head.
12781 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12782 so that we are both using the same image. (Bug#16574)
12783
12784 2014-01-30 Glenn Morris <rgm@gnu.org>
12785
12786 * simple.el (eval-expression): Doc fix.
12787
12788 * hexl.el (hexl-mode-hook):
12789 * ielm.el (ielm-mode-hook):
12790 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12791 (lisp-interaction-mode-hook):
12792 * progmodes/cfengine.el (cfengine3-documentation-function):
12793 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12794
12795 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12798 is a symbol (bug#16584).
12799
12800 2014-01-30 Glenn Morris <rgm@gnu.org>
12801
12802 * help.el (help-for-help-internal): Add "P" to text.
12803
12804 2014-01-29 Glenn Morris <rgm@gnu.org>
12805
12806 * simple.el (just-one-space, cycle-spacing): Doc fixes.
12807
12808 2014-01-28 Martin Rudalics <rudalics@gmx.at>
12809
12810 * window.el (fit-frame-to-buffer): Fix calculations for margins and
12811 height constraints.
12812
12813 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
12814
12815 * progmodes/hideif.el: Extend to full CPP expression syntax.
12816 (hif-token-alist): Add missing tokens.
12817 (hif-token-regexp): Add support for float/octal/hex immediates.
12818 (hif-string-literal-regexp): New const.
12819 (hif-tokenize): Recognize strings and float/octal/hex immediates.
12820 (hif-exprlist): New function.
12821 (hif-parse-if-exp): Use it.
12822 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12823 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12824 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12825 (hif-logxor, hif-comma): New functions.
12826
12827 2014-01-28 Glenn Morris <rgm@gnu.org>
12828
12829 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12830
12831 * indent.el (tab-stop-list): Doc fix. Add :version.
12832
12833 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12834 (cvs-append-to-ignore): Add compatibility alias.
12835
12836 2014-01-27 Glenn Morris <rgm@gnu.org>
12837
12838 * dired.el (dired-hide-details-mode): Don't autoload it,
12839 since it cannot be used outside Dired buffers anyway.
12840
12841 * emulation/cua-base.el (cua-mode): Doc fix.
12842
12843 * dired.el (dired-hide-details-hide-symlink-targets)
12844 (dired-hide-details-hide-information-lines)
12845 (dired-hide-details-mode): Doc fixes.
12846
12847 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12848 * strokes.el (strokes-file): Doc fix. Bump :version.
12849 (strokes-help): Doc fix.
12850 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12851 * emulation/viper.el (viper): Doc fix for custom group.
12852 (top-level): Remove oh-so-no-longer-relevant text about vip.
12853 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12854
12855 * ido.el (ido-save-directory-list-file):
12856 * saveplace.el (save-place-file):
12857 * calendar/timeclock.el (timeclock-file):
12858 * net/quickurl.el (quickurl-url-file):
12859 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12860 * progmodes/idlwave.el (idlwave-config-directory):
12861 * textmodes/remember.el (remember-data-file):
12862 Bump :version.
12863
12864 2014-01-26 Glenn Morris <rgm@gnu.org>
12865
12866 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12867 Doc fix. Make obsolete.
12868 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12869
12870 * sort.el (delete-duplicate-lines): Doc fix.
12871
12872 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12873
12874 * progmodes/ada-mode.el (ada):
12875 * woman.el (woman): Link to info manual and Commentary section.
12876
12877 * progmodes/flymake.el (flymake):
12878 * nxml/nxml-mode.el (nxml):
12879 * net/eww.el (eww):
12880 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12881 * htmlfontify.el (htmlfontify):
12882 * ses.el (ses):
12883 * epa.el (epa):
12884 * ido.el (ido): Link to info manual.
12885
12886 2014-01-25 Leo Liu <sdl.web@gmail.com>
12887
12888 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12889
12890 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12891
12892 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12893 (bug#16537).
12894
12895 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12896
12897 * net/eww.el (eww-download-callback):
12898 Fix reference to eww-download-directory.
12899
12900 * emacs-lisp/bytecomp.el (byte-compile-file):
12901 Remove unused local variable `file-name'.
12902
12903 2014-01-24 Glenn Morris <rgm@gnu.org>
12904
12905 * woman.el (woman-default-faces, woman-monochrome-faces):
12906 Fix obsolescence specification.
12907
12908 * subr.el (with-demoted-errors): Doc fix.
12909
12910 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12913 (cl--macroexp-fboundp): New function.
12914 (cl--make-type-test): Use it.
12915
12916 2014-01-23 Glenn Morris <rgm@gnu.org>
12917
12918 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12919 * simple.el (eval-expression): Doc fixes.
12920
12921 2014-01-22 Glenn Morris <rgm@gnu.org>
12922
12923 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12924
12925 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * emacs-lisp/package.el: Write files silently.
12928 (package-autoload-ensure-default-file, package--write-file-no-coding)
12929 (package-generate-description-file, package--download-one-archive)
12930 (package-install-from-archive): Tell `write-region' to stay quiet.
12931 (package-menu-mode, package-menu--print-info): Omit the Archive column
12932 if there's only one archive.
12933 (package-all-keywords, package--has-keyword-p): Remove dead code.
12934
12935 2014-01-22 Glenn Morris <rgm@gnu.org>
12936
12937 * version.el (emacs-bzr-version-bzr): Fix typo.
12938
12939 * version.el (emacs-repository-get-version):
12940 Check either .bzr or .git, but not both.
12941 Make the git case actually use the DIR argument, and return nil
12942 rather than the empty string.
12943 Avoid error if .git exists but the git executable is not found.
12944
12945 2014-01-22 Martin Rudalics <rudalics@gmx.at>
12946
12947 Fixes in window size functions around Bug#16430 and Bug#16470.
12948 * window.el (window-total-size, window-size): New argument ROUND.
12949 (window--min-delta-1, window-min-delta, window--max-delta-1):
12950 Be more conservative when calculating the numbers of lines or
12951 columns a window can shrink (Bug#16430).
12952 (fit-window-to-buffer): Simplify code.
12953 * term.el (term-window-width): Call window-body-width again.
12954
12955 2014-01-22 Glenn Morris <rgm@gnu.org>
12956
12957 * image.el (image-format-suffixes): Doc fix.
12958
12959 * international/quail.el (quail-define-package): Doc fix.
12960
12961 * emacs-lisp/authors.el (authors-valid-file-names)
12962 (authors-renamed-files-alist): Additions.
12963
12964 * vc/vc-git.el (vc-git-print-log): Remove --follow;
12965 reverts 2014-01-09 change. (Bug#16422)
12966
12967 * calc/calc-embed.el (thing-at-point-looking-at):
12968 * emacs-lisp/map-ynp.el (x-popup-dialog):
12969 * obsolete/lmenu.el (x-popup-dialog):
12970 * emacs-lisp/package.el (url-recreate-url):
12971 * mail/mailclient.el (clipboard-kill-ring-save):
12972 * subr.el (x-popup-dialog): Update declaration.
12973 * mail/rmail.el (rmail-mime-message-p):
12974 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12975
12976 2014-01-21 Daniel Colascione <dancol@dancol.org>
12977
12978 * progmodes/sh-script.el (sh--inside-noncommand-expression):
12979 Correctly detect when we're inside an arithmetic expansion form
12980 containing nested parenthesis.
12981 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12982 to detect cases where we shouldn't expand "<<" to a heredoc
12983 skeleton.
12984
12985 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12988 (eldoc--message-command-p): New function.
12989 (eldoc-display-message-p): Use it.
12990 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12991 message is not automatically erased for us.
12992 (eldoc-print-current-symbol-info): Erase previous message, if any.
12993
12994 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12995
12996 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12997 specify it's an interactive function.
12998
12999 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13000 Fix regex used for scanning for citation keys which failed for
13001 citations with optional arguments.
13002
13003 2014-01-21 Leo Liu <sdl.web@gmail.com>
13004
13005 * simple.el (read--expression): Don't enable eldoc-mode.
13006
13007 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * simple.el (move-beginning-of-line): Make sure we don't move forward
13010 (bug#16497).
13011
13012 2014-01-20 Juri Linkov <juri@jurta.org>
13013
13014 * saveplace.el (toggle-save-place, save-place-to-alist)
13015 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13016 'dired-mode) before checking for dired-directory. (Bug#16477)
13017
13018 2014-01-20 Juri Linkov <juri@jurta.org>
13019
13020 * indent.el (indent-line-to): Use backward-to-indentation
13021 instead of back-to-indentation. (Bug#16461)
13022
13023 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13024
13025 Revert some of the CANNOT_DUMP fix (Bug#16494).
13026 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13027 but fixing this can wait until after the next release.
13028 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13029
13030 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13031
13032 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13033 Use `password-word-equivalents'.
13034 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13035 to t. (Bug#5664, Bug#13124)
13036
13037 2014-01-19 Alan Mackenzie <acm@muc.de>
13038
13039 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13040 points.
13041 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13042 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13043 * progmodes/cc-mode.el (c-before-change, c-after-change)
13044 (c-font-lock-fontify-region): Bind it here.
13045
13046 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13047
13048 * term.el (term-window-width): Call window-text-width instead of
13049 window-width (Bug#16470).
13050
13051 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13052
13053 * simple.el (password-word-equivalents): Remove duplicates.
13054 Sort, to make this easier next time.
13055 Downcase. Omit ": " after "jelszó".
13056
13057 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13058
13059 * term/common-win.el (saved-region-selection): Defvar it.
13060 (x-select-text): Set saved-region-selection (Bug#16382).
13061
13062 2014-01-18 Glenn Morris <rgm@gnu.org>
13063
13064 * emacs-lisp/authors.el (authors-aliases)
13065 (authors-renamed-files-alist): Add some entries.
13066
13067 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13068
13069 * net/tramp.el (tramp-password-prompt-regexp):
13070 Use `password-word-equivalents' if available.
13071 (tramp-action-password, tramp-process-one-action)
13072 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13073
13074 2014-01-17 Chong Yidong <cyd@gnu.org>
13075
13076 * simple.el (password-word-equivalents): New defcustom.
13077 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13078 to 24.4.
13079 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13080 to t. (Bug#13124)
13081
13082 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13083
13084 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13085 (ruby-align-to-stmt-keywords): Change the default value.
13086 Use `ruby-alignable-keywords' to generate the possible customization
13087 choices.
13088 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13089 keywords, check against the value of `ruby-alignable-keywords'
13090 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13091
13092 2014-01-17 Glenn Morris <rgm@gnu.org>
13093
13094 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13095
13096 Make M-x authors return zero *Authors Errors* from current logs.
13097 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13098 (authors-ignored-files): Add some entries, remove others.
13099 (authors-ambiguous-files, authors-valid-file-names):
13100 Add some entries.
13101 (authors-renamed-files-alist): Add, remove, and adjust entries.
13102 (authors-renamed-files-regexps): Add some entries.
13103 Remove some very broad ones. Make some entries `lax'.
13104 (authors-lax-changelogs): New constant.
13105 (authors-disambiguate-file-name): Treat top-level specially.
13106 (authors-lax-changelog-p): New function.
13107 (authors-canonical-file-name): Check file as written against
13108 authors-valid-file-names. Do not special-case etc/.
13109 Handle `lax' logs and authors-renamed-files-regexps elements.
13110
13111 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13112
13113 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13114 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13115 callers.
13116
13117 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13120 Assume we're already in the proper buffer.
13121 Inspired by Anders Lindgren <andlind@gmail.com>.
13122 (follow-post-command-hook): Call it from the right buffer.
13123 (follow-comint-scroll-to-bottom): Adjust call.
13124 (follow-all-followers): Use get-buffer-window-list.
13125
13126 2014-01-15 Daniel Colascione <dancol@dancol.org>
13127
13128 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13129 `buffer-file-name' in interactive-form so that we don't leave
13130 pathless file names in `file-name-history'.
13131
13132 2014-01-15 Juri Linkov <juri@jurta.org>
13133
13134 * indent.el (indent-rigidly): Set deactivate-mark to nil
13135 in transient indentation mode. (Bug#16438)
13136
13137 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13138
13139 * emacs-lisp/package.el (package-desc-keywords): New function
13140 (Bug#16222).
13141 (describe-package-1, package-all-keywords)
13142 (package--has-keyword-p): Use it.
13143
13144 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13145
13146 * simple.el (define-alternatives): When creating the
13147 COMMAND-alternatives variable, assign COMMAND as its definition
13148 name so that `describe-variable' can relocate it.
13149
13150 2014-01-14 Matthew Leach <matthew@mattleach.net>
13151
13152 * font-lock.el (font-lock-keywords): Fix typo in docstring
13153 (bug#16307).
13154
13155 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13156
13157 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13158 line instead of wrongly reset `add-coment' (bug#13577).
13159
13160 2014-01-14 Daiki Ueno <ueno@gnu.org>
13161
13162 * epa-file.el (epa-file-write-region): Encode the region according
13163 to `buffer-file-format'. Problem reported at:
13164 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13165
13166 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13169 so it applies in the right buffer (bug#16410).
13170
13171 2014-01-13 Daniel Colascione <dancol@dancol.org>
13172
13173 * textmodes/rst.el (rst-define-key): Provide deprecated
13174 keybindings through named functions instead of anonymous ones so
13175 that "??" doesn't appear in describe-mode output.
13176
13177 2014-01-13 Bastien Guerry <bzg@gnu.org>
13178
13179 * simple.el (define-alternatives): Call the selected command
13180 interactively. When setting `COMMAND--implementation' for the
13181 first time, tell the user how to chose another implementation.
13182 Enhance the docstring.
13183
13184 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13187 (log-edit--match-first-line): New function.
13188 (log-edit-font-lock-keywords): Use it.
13189 (log-edit-mode): Make jit-lock-defer-multiline work.
13190
13191 2014-01-13 Bastien Guerry <bzg@gnu.org>
13192
13193 * rect.el (rectangle-mark-mode): When the region is not active,
13194 display a message saying that the mark as been set and that
13195 rectangle mode is in use.
13196 (rectangle--highlight-for-redisplay): Only put an overlay with a
13197 visible vertical bar when (display-graphic-p) is non-nil.
13198 This partially fixes Bug#16403.
13199
13200 2014-01-13 Juri Linkov <juri@jurta.org>
13201
13202 * info.el (Info-find-file): Go to DIR before displaying the error
13203 about a nonexistent file if no previous Info file is visited.
13204 Use `user-error' instead of `error' for "Info file %s does not exist".
13205 (Info-find-node-2): In case of a nonexistent node in unwind forms
13206 go to the Top node if there is no previous node to revert to.
13207 (Bug#16405)
13208
13209 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13210
13211 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13212 * window.el (fit-frame-to-buffer): Fix doc-string.
13213 Respect window-min-height/-width. Fit pixelwise when
13214 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13215 when avoiding that frame goes partially off-screen.
13216 (fit-window-to-buffer): Respect window-min-height/-width
13217 (Bug#14096).
13218
13219 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13222 after an empty line.
13223
13224 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * net/shr.el (shr-render-region): Autoload.
13227
13228 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13229
13230 * net/eww.el (eww-download-directory): Rename from
13231 `eww-download-path' (Bug#16419).
13232
13233 2014-01-12 Leo Liu <sdl.web@gmail.com>
13234
13235 * dired-x.el (dired-mode-map): Fix last change.
13236
13237 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13238
13239 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13240
13241 Spelling fixes.
13242 * emacs-lisp/generic.el (generic--normalize-comments):
13243 Rename from generic--normalise-comments. All uses changed.
13244 * play/bubbles.el (bubbles--neighborhood-score)
13245 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13246 (bubbles--neighborhood-available)
13247 (bubbles--update-neighborhood-score):
13248 Rename from names with 'neighbourhood'. All uses changed.
13249
13250 2014-01-12 Leo Liu <sdl.web@gmail.com>
13251
13252 Re-implement the feature of showing eldoc info after editing.
13253 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13254 (eldoc-edit-message-commands): New function.
13255 (eldoc-print-after-edit): New variable.
13256 (eldoc-pre-command-refresh-echo-area): Emit message only by
13257 eldoc-message-commands.
13258 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13259 if eldoc-print-after-edit is set. (Bug#16346)
13260 * simple.el (read--expression): Enable eldoc-mode.
13261 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13262
13263 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13264 Eric S. Raymond <esr@thyrsus.com>
13265
13266 * version.el (emacs-repository-get-version): Enhance so the
13267 function works correctly in either a Bazaar or Git repo.
13268
13269 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13270
13271 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13272 Goes with removal of the joke manpages from /etc.
13273
13274 2014-01-10 Kenichi Handa <handa@gnu.org>
13275
13276 * mail/rmail.el (rmail-get-coding-system):
13277 Check rmail-get-coding-function before "funcall"ing it.
13278
13279 2014-01-10 Glenn Morris <rgm@gnu.org>
13280
13281 * emacs-lisp/authors.el (authors-fixed-entries):
13282 Update for files that no longer exist.
13283
13284 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13285
13286 * version.el (emacs-bzr-get-version): Restore compatibilty with
13287 24.3 (Tested).
13288
13289 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13290
13291 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13292 and Podfile.
13293
13294 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13295
13296 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13297
13298 2014-01-10 Chong Yidong <cyd@gnu.org>
13299
13300 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13301
13302 2014-01-10 Anders Lindgren <andlind@gmail.com>
13303
13304 * follow.el (follow-cache-command-list): Include right-char and
13305 left-char.
13306
13307 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13308
13309 Spelling fixes.
13310 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13311 * woman.el (woman-mark-horizontal-position):
13312 Rename from woman-mark-horizonal-position. Use changed.
13313
13314 2014-01-10 Glenn Morris <rgm@gnu.org>
13315
13316 * info.el (info-initialize): If running uninstalled, ensure our
13317 own info files are always found first, even if INFOPATH is set.
13318
13319 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13320
13321 2014-01-09 David Engster <deng@randomsample.de>
13322
13323 * emacs-lisp/eieio-custom.el:
13324 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13325 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13326 * emacs-lisp/eieio.el: Regenerate autoloads.
13327
13328 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13329
13330 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13331 following renames. (Bug#8756)
13332
13333 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13336 (bug#16382).
13337 (activate-mark): Add `no-tmm' argument.
13338 (set-mark, push-mark-command): Use it instead of running
13339 activate-mark-hook by hand.
13340
13341 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13342
13343 In preparation for the move to git, sanitize out some
13344 Bazaar-specific names.
13345
13346 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13347
13348 * version.el (emacs-bzr-version): Name changed to
13349 emacs-repository-version. Obsolete-variable alias made.
13350 * loadup.el: Follow through on this name change.
13351 * mail/emacsbug.el (report-emacs-bug): Factor out any
13352 assumption about the version control system in use.
13353
13354 2014-01-08 David Engster <deng@randomsample.de>
13355
13356 * help-fns.el (help-fns-describe-function-functions):
13357 New variable to call functions for augmenting help buffers.
13358 (describe-function-1): Remove explicit calls to
13359 `help-fns--compiler-macro', `help-fns--parent-mode' and
13360 `help-fns--obsolete'. Put them in above new variable instead, and
13361 call them through `run-hook-with-args'.
13362 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13363 `eieio-describe-class'. Not meant for interactive use anymore,
13364 but to augment existing help buffers. Remove optional second
13365 argument. Create proper button for file location.
13366 Rewrite function to use `insert' instead of `princ' and `prin1' where
13367 possible.
13368 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13369 (eieio-method-def, eieio-class-def): Move further up.
13370 (describe-method, describe-generic, eieio-describe-method):
13371 Remove aliases.
13372 (eieio-help-constructor, eieio-help-generic): Rename from
13373 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13374 Rewrite to use `insert' in the current buffer and use proper help
13375 buttons.
13376 (eieio-help-find-method-definition)
13377 (eieio-help-find-class-definition): Also accept symbols as
13378 arguments.
13379 (eieio-help-mode-augmentation-maybee): Remove.
13380 (eieio-describe-class-sb): Use `describe-function'.
13381 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13382 Add `eieio-help-generic' and `eieio-help-constructor'.
13383
13384 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13385
13386 Spelling fixes.
13387 * language/china-util.el (hz-ascii-designation):
13388 Rename from hz-ascii-designnation.
13389 (hz-ascii-designation): Rename from hz-ascii-designnation.
13390 All uses changed.
13391
13392 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13395 package-alist.
13396
13397 2014-01-08 Bastien Guerry <bzg@gnu.org>
13398
13399 * emacs-lisp/package.el (package-delete):
13400 Correctly delete the package from package-alist.
13401
13402 2014-01-08 Daiki Ueno <ueno@gnu.org>
13403
13404 * emacs-lisp/package.el (url-recreate-url): Declare.
13405 (url-http-target-url): Declare.
13406 (package-handle-response): Include requested URL in the error message.
13407 (package--check-signature): Don't re-signal errors from
13408 package--with-work-buffer. Suggested by Stefan Monnier.
13409
13410 2014-01-07 Bastien Guerry <bzg@gnu.org>
13411
13412 * minibuffer.el (completion--try-word-completion): When both a
13413 hyphen and a space are possible candidates for the character
13414 following a word, display both candidates. (Bug#15980)
13415
13416 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13417
13418 * window.el (balance-windows-2): While rounding don't give a
13419 window more than the remainder. Bug#16351, bug#16383.
13420
13421 2014-01-07 Glenn Morris <rgm@gnu.org>
13422
13423 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13424 (menu-bar-help-menu): Use view-external-packages instead.
13425
13426 2014-01-07 Bastien Guerry <bzg@gnu.org>
13427
13428 * emacs-lisp/package.el (package-delete): Also delete the package
13429 name from `package-alist', not its description only.
13430
13431 2014-01-07 Glenn Morris <rgm@gnu.org>
13432
13433 * help.el (view-external-packages):
13434 * menu-bar.el (menu-bar-help-extra-packages):
13435 Visit efaq.info rather than etc/MORE.STUFF.
13436
13437 2014-01-07 Juri Linkov <juri@jurta.org>
13438
13439 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13440 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13441
13442 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13443 that shadows RET. (Bug#16342)
13444
13445 2014-01-07 Chong Yidong <cyd@gnu.org>
13446
13447 * isearch.el (isearch-yank-char, isearch-yank-word)
13448 (isearch-yank-line): Doc fix.
13449
13450 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13451
13452 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13453 * emacs-lisp/elint.el (elint-find-builtins):
13454 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13455 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13456 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13457 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13458 * apropos.el (apropos-safe-documentation):
13459 * subr.el (symbol-file): Remove redundant fboundp.
13460 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13461
13462 2014-01-06 Bastien Guerry <bzg@gnu.org>
13463
13464 * hl-line.el (global-hl-line-overlay): Make a local variable.
13465 (global-hl-line-overlays): New variable to store all overlays.
13466 (global-hl-line-mode): Don't delete overlays from the current
13467 buffer when `global-hl-line-sticky-flag' is non-nil.
13468 (global-hl-line-highlight): Add new overlays to
13469 `global-hl-line-overlays'.
13470 (global-hl-line-unhighlight-all): New function to delete all
13471 overlays when turning off `global-hl-line-mode'.
13472 This fixes Bug#16183.
13473
13474 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * subr.el (set-transient-map): Fix nested case and docstring.
13477
13478 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13479
13480 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13481 `Texinfo' entry.
13482
13483 2014-01-06 Daniel Colascione <dancol@dancol.org>
13484
13485 Fix defun navigation in vc log view.
13486
13487 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13488 like `beginning-of-defun'.
13489 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13490 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13491 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13492 (log-view-extract-comment): Call `log-view-current-entry' directly
13493 instead of relying on broken `log-view-beginning-of-defun' behavior.
13494
13495 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13496
13497 Spelling fixes.
13498 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13499 * emacs-lisp/debug.el (cancel-debug-on-entry):
13500 * epg.el (epg-error-to-string):
13501 * files.el (recover-file):
13502 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13503 * mail/emacsbug.el (report-emacs-bug-hook):
13504 * mail/sendmail.el (mail-recover):
13505 * ses.el (ses-yank-resize):
13506 * term/ns-win.el (ns-print-buffer):
13507 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13508 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13509 All uses changed.
13510 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13511
13512 2014-01-06 Leo Liu <sdl.web@gmail.com>
13513
13514 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13515 to avoid shadowing global key. (Bug#16354)
13516
13517 2014-01-06 Daniel Colascione <dancol@dancol.org>
13518
13519 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13520 rst-mode.
13521
13522 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13523
13524 * window.el (balance-windows): Add mising t to fix Bug#16351.
13525
13526 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13527
13528 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13529 (bug#16285).
13530 (shr-insert): If we have a word that's longer than `shr-width',
13531 break after it anyway. Otherwise we'll do no breaking once we get
13532 such a long word.
13533
13534 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13535
13536 * net/eww.el (eww): Support single/double quote for search.
13537 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13538 (eww-history-quit): Delete and use quit-window.
13539 (eww-history-kill): Delete, because it doesn't work well and
13540 not necessary.
13541 (eww-history-mode-map): Delete some keys and add easy-menu.
13542
13543 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13544
13545 Fix misspelling of 'chinese' in rx (Bug#16237).
13546 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13547 chinese-two-byte.
13548
13549 Change subword regexps back to vars (Bug#16296).
13550 * progmodes/subword.el (subword-forward-regexp)
13551 (subword-backward-regexp): Change these back to variables.
13552
13553 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13556 syntax-begin-function (bug#16247).
13557
13558 2014-01-03 Chong Yidong <cyd@gnu.org>
13559
13560 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13561 (advice--docstring): Delete variable.
13562 (advice--make-1): Leave the docstring empty.
13563 (advice-add): Use function-documentation for advised docstring.
13564
13565 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13566 Ignore function-documentation property when getting documentation.
13567 (ad-activate-advised-definition): Use function-documentation
13568 generate the docstring.
13569 (ad-make-advised-definition): Don't call
13570 ad-make-advised-definition-docstring.
13571 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13572 Delete functions.
13573
13574 * progmodes/sql.el (sql-help): Use function-documentation instead
13575 of dynamic-docstring-function property. No need to autoload now.
13576 (sql--help-docstring): New variable.
13577 (sql--make-help-docstring): Use it.
13578
13579 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * ielm.el (ielm-tab): Retarget.
13582 (ielm-map): Use ielm-tab for tab.
13583 (ielm-complete-filename): Use comint-filename-completion.
13584 (ielm-complete-symbol): Remove.
13585 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13586 remove ielm-tab from completion-at-point-functions (bug#16224).
13587
13588 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13589 Beware signals raised by predicates (bug#16201).
13590
13591 2014-01-02 Richard Stallman <rms@gnu.org>
13592
13593 * dired-aux.el (dired-do-print): Handle printer-name.
13594
13595 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13596 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13597 (rmail-epa-decrypt): Turn off mime processing.
13598
13599 * mail/rmail.el (rmail-make-in-reply-to-field):
13600 Add parens in message-id.
13601
13602 * mail/rmail.el (rmail-get-coding-function): Variable.
13603 (rmail-get-coding-system): Use it.
13604
13605 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13606
13607 * international/mule-conf.el: Unify the charset indian-is13194.
13608 (indian-is13194): Specify unify-map.
13609
13610 2013-12-31 Leo Liu <sdl.web@gmail.com>
13611
13612 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13613
13614 2013-12-30 Daniel Colascione <dancol@dancol.org>
13615
13616 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13617 of printing a useless when we resume from sleep.
13618
13619 * progmodes/sh-script.el
13620 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13621 in indentation code. (Bug#16233)
13622
13623 2013-12-28 João Távora <joaotavora@gmail.com>
13624
13625 * elec-pair.el (electric-pair-post-self-insert-function):
13626 Don't open extra newlines at beginning of buffer. (Bug#16272)
13627
13628 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13629
13630 * frame.el (window-system-for-display): Don't allow to create a
13631 GUI frame from a -nw session on MS-Windows. (Bug#14739)
13632
13633 2013-12-28 Glenn Morris <rgm@gnu.org>
13634
13635 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13636 Update callers.
13637
13638 * apropos.el (apropos-match-face):
13639 * calculator.el (calculator-displayer):
13640 * dabbrev.el (dabbrev-search-these-buffers-only):
13641 * face-remap.el (buffer-face-mode-face):
13642 * simple.el (yank-handled-properties):
13643 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13644 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13645 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13646 (hashcash-double-spend-database):
13647 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13648 (ruby-deep-indent-paren-style):
13649 * textmodes/flyspell.el (flyspell-auto-correct-binding):
13650 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13651 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13652 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13653 Specify custom types.
13654
13655 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13656 * bookmark.el (bookmark-bmenu-use-header-line):
13657 * doc-view.el (doc-view-scale-internally):
13658 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13659 * register.el (register-preview-delay):
13660 * net/shr.el (shr-bullet):
13661 * progmodes/cfengine.el (cfengine-cf-promises)
13662 (cfengine-parameters-indent):
13663 * progmodes/octave.el (inferior-octave-error-regexp-alist):
13664 * textmodes/reftex-vars.el (reftex-label-regexps):
13665 * vc/log-edit.el (log-edit-setup-add-author): Add version.
13666
13667 * net/tls.el (tls-certtool-program): Fix default value.
13668
13669 * desktop.el (desktop-restore-in-current-display):
13670 * newcomment.el (comment-empty-lines):
13671 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13672 (idlwave-pad-keyword):
13673 * progmodes/tcl.el (tcl-tab-always-indent):
13674 * textmodes/reftex-vars.el (reftex-index-default-tag):
13675 * elec-pair.el (electric-pair-skip-whitespace):
13676 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13677
13678 * emacs-lisp/authors.el (authors-ignored-files)
13679 (authors-valid-file-names, authors-renamed-files-alist): Additions.
13680
13681 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
13682
13683 * shell.el (shell-dynamic-complete-command): Doc fix.
13684 (shell--command-completion-data): Shell completion now matches
13685 executable filenames from the current buffer's directory, on
13686 systems in which this behavior is the default (windows-nt, ms-dos).
13687
13688 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13689
13690 * net/shr.el (shr-insert): Don't infloop if the width is zero.
13691
13692 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
13693
13694 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13695 (bug#16251).
13696
13697 * electric.el: Move all electric-pair-* to elec-pair.el.
13698 * elec-pair.el: New file, split from electric.el.
13699
13700 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13701
13702 * net/shr.el (shr-find-fill-point): Don't try to fill if the
13703 indentation level is larger than the width, because that will
13704 infloop.
13705 (shr-insert): Fill repeatedly long texts, so that Japanese is
13706 formatted correctly (bug#16263).
13707 (shr-find-fill-point): Off by one error in comparison with the
13708 indentation.
13709
13710 2013-12-26 João Távora <joaotavora@gmail.com>
13711
13712 * electric.el (electric-pair-mode): More flexible engine for skip-
13713 and inhibit predicates, new options for pairing-related functionality.
13714 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13715 if that keeps or improves their balance in buffers.
13716 (electric-pair-delete-adjacent-pairs): Delete the pair when
13717 backspacing over adjacent matched delimiters.
13718 (electric-pair-open-extra-newline): Open extra newline when
13719 inserting newlines between adjacent matched delimiters.
13720 (electric--sort-post-self-insertion-hook):
13721 Sort post-self-insert-hook according to priority values when
13722 minor-modes are activated.
13723 * simple.el (newline-and-indent): Call newline with interactive
13724 set to t.
13725 (blink-paren-post-self-insert-function): Set priority to 100.
13726 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13727 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13728 comments. Locally set electric-pair-skip-whitespace to 'chomp and
13729 electric-pair-open-newline-between-pairs to nil.
13730
13731 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
13732
13733 * progmodes/python.el: Use lexical-binding.
13734 (python-nav-beginning-of-defun): Stop searching ASAP.
13735
13736 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
13737
13738 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13739 Fix interactive spec. Doc fix. (Bug#15754)
13740
13741 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13742
13743 * emacs-lisp/byte-run.el (eval-when-compile):
13744 * progmodes/cc-defs.el (cc-eval-when-compile):
13745 Fix edebug spec (bug#16184).
13746
13747 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13748
13749 * net/shr.el (shr-visit-file): Remove debugging function.
13750 (shr-insert): Don't infloop if we can't find a good place to break
13751 the line (bug#16256).
13752
13753 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
13754
13755 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13756 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
13757 python-nav-lisp-forward-sexp-safe.
13758 (python-nav--forward-sexp): New argument SAFE allows switching
13759 forward sexp movement behavior for parens.
13760 (python-nav-forward-sexp): Throw errors on unterminated parens
13761 (Bug#16191).
13762 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13763 (python-nav-backward-sexp-safe): New functions.
13764 (python-shell-buffer-substring):
13765 Use `python-nav-forward-sexp-safe'.
13766
13767 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13768
13769 * net/shr.el (shr-find-fill-point): Don't break lines before a
13770 quotation mark.
13771 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13772 (shr-find-fill-point): Remove the special checks for the quotation
13773 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13774
13775 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13776
13777 * net/eww.el (eww-form-textarea): Use a different face for
13778 textareas than text input since they have different keymaps
13779 (bug#16142).
13780
13781 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
13782
13783 * progmodes/python.el (python-nav-beginning-of-statement):
13784 Speed up (Bug#15295).
13785
13786 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13787
13788 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13789 the window configuration.
13790
13791 2013-12-24 Eli Zaretskii <eliz@gnu.org>
13792
13793 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13794 we run on MS-Windows or MS-DOS.
13795
13796 2013-12-24 Martin Rudalics <rudalics@gmx.at>
13797
13798 * window.el (balance-windows-area): Call window-size instead of
13799 window-height and window-width. Bug#16241.
13800
13801 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13802
13803 * net/eww.el (eww-bookmark-quit): Remove.
13804 (eww-bookmark-browse): Restore the window configuration when you
13805 choose a bookmark (bug#16144).
13806
13807 2013-12-24 Daniel Colascione <dancol@dancol.org>
13808
13809 * icomplete.el: Remove redundant :group arguments to `defcustom'
13810 throughout.
13811 (icomplete-show-matches-on-no-input): New customizable variable.
13812 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13813 we have something to show.
13814 (icomplete-exhibit): Compute completions even if we have no user input.
13815
13816 2013-12-23 Daniel Colascione <dancol@dancol.org>
13817
13818 * icomplete.el: Move `provide' to end of file.
13819
13820 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
13821
13822 * net/gnutls.el (gnutls-verify-error): Add version tag.
13823
13824 2013-12-23 Chong Yidong <cyd@gnu.org>
13825
13826 * subr.el (set-transient-map): Rename from
13827 set-temporary-overlay-map. Doc fix.
13828
13829 * face-remap.el (text-scale-adjust):
13830 * indent.el (indent-rigidly):
13831 * kmacro.el (kmacro-call-macro):
13832 * minibuffer.el (minibuffer-force-complete):
13833 * repeat.el (repeat):
13834 * simple.el (universal-argument--mode):
13835 * calendar/todo-mode.el (todo-insert-item--next-param):
13836 * progmodes/f90.el (f90-abbrev-start): Callers changed.
13837
13838 * indent.el (indent-rigidly): Use substitute-command-keys.
13839
13840 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13841
13842 * net/eww.el (eww-tag-select): Add text-property to jump to next
13843 select field.
13844 (eww): Add non-supported ftp error.
13845
13846 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13847
13848 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13849 comments. Handle electric indent after typing `?' and `!'.
13850
13851 2013-12-22 Chong Yidong <cyd@gnu.org>
13852
13853 * faces.el (face-spec-recalc): If the theme specs are not
13854 applicable to a frame, fall back on the defface spec.
13855 This prevents themes from obliterating faces on low-color terminals.
13856
13857 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13858
13859 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13860 after `{'. We need it after block openers, and it doesn't seem
13861 to hurt after hash openers.
13862
13863 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13864
13865 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13866 extracted from `ruby-smie-rules'.
13867 (ruby--electric-indent-chars): New variable.
13868 (ruby--electric-indent-p): New function.
13869 (ruby-mode): Use `electric-indent-functions' instead of
13870 `electric-indent-chars'.
13871
13872 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13873
13874 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13875 docstring.
13876 (ruby-smie-rules): Indent plus one level after `=>'.
13877
13878 2013-12-21 Richard Stallman <rms@gnu.org>
13879
13880 * simple.el (newline): Doc fix.
13881
13882 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13883
13884 * net/eww.el (eww-list-histories, eww-list-histories)
13885 (eww-history-browse, eww-history-quit, eww-history-kill)
13886 (eww-history-mode-map, eww-history-mode): New command and
13887 functions to list browser histories.
13888 (eww-form-text): Support text form with disabled
13889 and readonly attributes.
13890 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13891
13892 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13893
13894 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13895 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13896 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13897 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13898 Use `user-error'.
13899 (eww-bookmark-mode-map): Add menu.
13900 (eww-render, eww-mode): Use `setq-local'.
13901 (eww-tool-bar-map): New variable.
13902 (eww-mode): Set `tool-bar-map'.
13903 (eww-view-source): Check for `html-mode' with `fboundp'.
13904
13905 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13906
13907 * net/shr.el (shr--extract-best-source): Don't bug out on audio
13908 elements with text inside. Also remove debugging.
13909
13910 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
13911
13912 * cus-start.el (all): Add ns-use-srgb-colorspace.
13913
13914 2013-12-21 Chong Yidong <cyd@gnu.org>
13915
13916 * custom.el (custom-theme-recalc-face): Do nothing if the face is
13917 undefined. Thus, theme settings for undefined faces do not take
13918 effect until the faces are defined with defface, the same as with
13919 theme variables.
13920
13921 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13922 (face-spec-reset-face): Don't assign extra properties in temacs.
13923 (face-spec-recalc): Apply X resources too.
13924
13925 2013-12-21 Chong Yidong <cyd@gnu.org>
13926
13927 * faces.el (face-spec-set):
13928 * cus-face.el (custom-theme-set-faces, custom-set-faces):
13929 * custom.el (defface): Doc fixes (Bug#16203).
13930
13931 * indent.el (indent-rigidly-map): Add docstring, and move commands
13932 into named functions.
13933 (indent-rigidly-left, indent-rigidly-right)
13934 (indent-rigidly-left-to-tab-stop)
13935 (indent-rigidly-right-to-tab-stop): New functions. Decide on
13936 indentation direction based on bidi direction, and accumulate
13937 sequential commands in a single undo boundary.
13938 (indent-rigidly--pop-undo): New utility function.
13939
13940 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13941
13942 * faces.el (read-face-name): Require crm.el when using crm-separator.
13943
13944 2013-12-20 Daniel Colascione <dancol@dancol.org>
13945
13946 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13947 so that we don't reflow comments into the shebang line.
13948
13949 2013-12-20 Juri Linkov <juri@jurta.org>
13950
13951 * saveplace.el (save-place-to-alist): Add `dired-filename' as
13952 a position when `dired-directory' is non-nil. Check integer
13953 positions with `integerp'.
13954 (toggle-save-place, save-places-to-alist): Add check for
13955 `dired-directory'.
13956 (save-place-find-file-hook): Check integer positions with
13957 `integerp'.
13958 (save-place-dired-hook): Use `dired-goto-file' when
13959 `dired-filename' is found in the assoc list. Check integer
13960 positions with `integerp'.
13961 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13962
13963 * dired.el (dired-initial-position-hook): Rename back from
13964 `dired-initial-point-hook'.
13965 (dired-initial-position): Rename `dired-initial-point-hook' to
13966 `dired-initial-position-hook'.
13967 (dired-file-name-at-point): Doc fix. (Bug#15329)
13968
13969 2013-12-20 Juri Linkov <juri@jurta.org>
13970
13971 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13972 (read-regexp-suggestions): New function.
13973 (read-regexp): Use `read-regexp-defaults-function' to get default values.
13974 Use `read-regexp-suggestions'. Add non-empty default to history
13975 for empty input.
13976 (occur-read-regexp-defaults-function): Remove function.
13977 (occur-read-primary-args): Use `regexp-history-last' instead of
13978 `occur-read-regexp-defaults-function'.
13979
13980 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13981 (hi-lock-line-face-buffer, hi-lock-face-buffer)
13982 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13983 `hi-lock-read-regexp-defaults-function'. Doc fix.
13984 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13985 with `find-tag-default-as-symbol-regexp'. Doc fix.
13986 (hi-lock-read-regexp-defaults): Remove function.
13987 (hi-lock-regexp-okay): Add check for null.
13988
13989 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13990 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
13991
13992 * subr.el (find-tag-default-as-symbol-regexp): New function.
13993 (find-tag-default-as-regexp): Move symbol regexp formatting to
13994 `find-tag-default-as-symbol-regexp'.
13995
13996 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
13997
13998 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13999 (Bug#14179)
14000
14001 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14002
14003 * calendar/todo-mode.el: New implementation of item insertion
14004 commands and key bindings.
14005 (todo-key-prompt): New face.
14006 (todo-insert-item): New command.
14007 (todo-insert-item--parameters): New defconst, replacing defvar
14008 todo-insertion-commands-args-genlist.
14009 (todo-insert-item--param-key-alist): New defconst, replacing
14010 defvar todo-insertion-commands-arg-key-list.
14011 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14012 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14013 (todo-insert-item--next-param): New functions.
14014 (todo-insert-item--args, todo-insert-item--argleft)
14015 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14016 New variables.
14017 (todo-key-bindings-t): Change binding of "i" from
14018 todo-insertion-map to todo-insert-item.
14019 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14020 (todo-insertion-command-name, todo-insertion-commands-names)
14021 (todo-define-insertion-command, todo-insertion-commands)
14022 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14023
14024 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14025
14026 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14027 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14028 eval-when-compile.
14029 (todo-move-category): Allow choosing a non-existing todo file to
14030 move the category to, and create that file.
14031 (todo-default-priority): New user option.
14032 (todo-set-item-priority): Use it.
14033 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14034 (desktop-restore-file-buffer): Declare.
14035 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14036 (todo-modes-set-2): Locally set desktop-save-buffer to
14037 todo-desktop-save-buffer.
14038 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14039 (auto-mode-alist): Add autoload cookie.
14040
14041 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14042
14043 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14044 helpers.el was a poor choice of name.
14045 (string-remove-prefix): New function.
14046 (string-remove-suffix): New function.
14047
14048 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14049
14050 Fix assignment for new window total sizes.
14051 * window.el (window--pixel-to-size): Remove function.
14052 (window--pixel-to-total-1, window--pixel-to-total):
14053 Fix calculation of new total sizes.
14054
14055 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14056
14057 * comint.el (comint-output-filter): Fix rear-nonsticky property
14058 placement (Bug#16010).
14059
14060 2013-12-20 Chong Yidong <cyd@gnu.org>
14061
14062 * faces.el (read-color): Minor fix for completion function.
14063
14064 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14065
14066 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14067 New option. (Bug#16182)
14068 (ruby-smie--indent-to-stmt-p): Use it.
14069 (ruby-smie-rules): Revert the logic in the handling of `when'.
14070 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14071 (ruby-deep-arglist, ruby-deep-indent-paren)
14072 (ruby-deep-indent-paren-style): Update docstrings to note that the
14073 vars don't have any effect with SMIE.
14074
14075 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14076
14077 * calc/calc.el (calc-enter, calc-pop): Use the variable
14078 `calc-context-sensitive-enter'.
14079
14080 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14081
14082 * net/shr.el (shr-insert): Protect against infloops in degenerate
14083 tables.
14084
14085 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14086
14087 * progmodes/octave.el (octave): Add link to manual and octave
14088 homepage.
14089 (octave-mode-menu): Link to octave-mode manual.
14090
14091 2013-12-20 Leo Liu <sdl.web@gmail.com>
14092
14093 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14094 insertion using skeleton-end-newline. (Bug#16138)
14095
14096 2013-12-20 Juri Linkov <juri@jurta.org>
14097
14098 * replace.el (occur-engine): Use `add-face-text-property'
14099 to add the face property to matches and titles. (Bug#14645)
14100
14101 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14102 the palette of other hi-lock colors.
14103 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14104
14105 2013-12-19 Juri Linkov <juri@jurta.org>
14106
14107 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14108 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14109 (minibuffer-history-symbol): Move variable declaration closer to
14110 its usage.
14111
14112 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14113 (Bug#14785)
14114
14115 2013-12-19 Juri Linkov <juri@jurta.org>
14116
14117 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14118 New function.
14119 (log-edit-hook): Add it to :options. (Bug#16170)
14120
14121 2013-12-19 Juri Linkov <juri@jurta.org>
14122
14123 * simple.el (eval-expression-print-format): Don't check for
14124 command names and the last command. Always display additional
14125 formats of the integer result in the echo area, and insert them
14126 to the current buffer only with a zero prefix arg.
14127 Display character when char-displayable-p is non-nil.
14128 (eval-expression): With a zero prefix arg, set `print-length' and
14129 `print-level' to nil, and insert the integer values from
14130 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14131
14132 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14133 `eval-last-sexp-arg-internal'. Doc fix.
14134 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14135 `eval-last-sexp-print-value'. Doc fix.
14136 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14137 Set `print-length' and `print-level' to nil when arg is zero.
14138 (eval-last-sexp): Doc fix.
14139 (eval-defun-2): Print the integer values from
14140 `eval-expression-print-format' at the end.
14141
14142 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14143 values from `eval-expression-print-format' at the end.
14144
14145 * ielm.el (ielm-eval-input): Print the integer
14146 values from `eval-expression-print-format' at the end.
14147
14148 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14149
14150 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14151 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14152
14153 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14156 (hl-line-highlight, global-hl-line-highlight): Use it.
14157 (hl-line-overlay): Use defvar-local.
14158
14159 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14160
14161 * term/ns-win.el: Require dnd.
14162 (global-map): Remove drag items.
14163 (ns-insert-text, ns-set-foreground-at-mouse)
14164 (ns-set-background-at-mouse):
14165 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14166 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14167 New functions.
14168
14169 2013-12-19 Glenn Morris <rgm@gnu.org>
14170
14171 * emacs-lisp/ert.el (ert-select-tests):
14172 Fix string/symbol mixup. (Bug#16121)
14173
14174 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14175
14176 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14177 keywords to their parent.
14178
14179 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14180
14181 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14182 first arg to be a string (fixed dead code), or an operator symbol.
14183 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14184 operator symbols.
14185 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14186 did nothing. Don't respond to `(:after ".")', it will be called
14187 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14188 change anything. Only return indentation for binary operators
14189 when they are hanging. De-dent opening paren when its parent is
14190 `.', otherwise it looks bad when the dot is not at bol or eol
14191 (bug#16182).
14192
14193 2013-12-19 Juri Linkov <juri@jurta.org>
14194
14195 * replace.el (query-replace-read-args): Split a non-negative arg
14196 and a negative arg into separate elements.
14197 (query-replace, query-replace-regexp, replace-string)
14198 (replace-regexp): Add arg `backward'. Doc fix.
14199 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14200 move point to the beginning of the match.
14201 (replace-search, replace-highlight): Use new arg `backward'
14202 to set the value of `isearch-forward'.
14203 (perform-replace): Add arg `backward' and use it to perform
14204 replacement backward. (Bug#14979)
14205
14206 * isearch.el (isearch-query-replace): Use a negative prefix arg
14207 to call `perform-replace' with a non-nil arg `backward'.
14208
14209 2013-12-18 Juri Linkov <juri@jurta.org>
14210
14211 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14212 to the default list. Move `log-edit-show-files' to the end.
14213 Add more available functions to options.
14214 (log-edit): Move default specific settings to
14215 `log-edit-insert-message-template'. Don't move point.
14216 (log-edit-insert-message-template): New function.
14217 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14218 (Bug#16170)
14219
14220 2013-12-18 Juri Linkov <juri@jurta.org>
14221
14222 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14223 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14224
14225 2013-12-18 Leo Liu <sdl.web@gmail.com>
14226
14227 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14228 (Bug#16186)
14229
14230 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14231
14232 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14233 formats for displaying file sizes when the -s switch is given.
14234 Instead, compute a separate format for displaying the size in
14235 blocks, which is displayed in addition to the "regular" size.
14236 When -h is given in addition to -s, produce size in blocks in
14237 human-readable form as well. (Bug#16179)
14238
14239 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14240
14241 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14242 Reference tables with ~\ref{...} instead of only \ref{...}.
14243
14244 2013-12-18 Chong Yidong <cyd@gnu.org>
14245
14246 * cus-edit.el (custom-magic-alist): Fix "themed" description
14247 (Bug#14348).
14248
14249 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14250 is non-nil, do not create a new entry in the symbol's theme-value
14251 or theme-face property; update theme-settings only (Bug#14664).
14252 (custom-available-themes): Doc fix.
14253
14254 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14255 (Bug#15674).
14256
14257 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14258
14259 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14260
14261 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14262 (Bug#13914).
14263
14264 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14265
14266 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14267
14268 2013-12-18 Glenn Morris <rgm@gnu.org>
14269
14270 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14271 * cus-start.el (load-prefer-newer): New option.
14272
14273 2013-12-18 Le Wang <l26wang@gmail.com>
14274
14275 * comint.el (comint-previous-matching-input-from-input):
14276 Retain point (Bug#13404).
14277
14278 2013-12-18 Chong Yidong <cyd@gnu.org>
14279
14280 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14281
14282 2013-12-18 Glenn Morris <rgm@gnu.org>
14283
14284 * mail/emacsbug.el (report-emacs-bug):
14285 Only mention enable-multibyte-characters if non-standard.
14286
14287 2013-12-17 Juri Linkov <juri@jurta.org>
14288
14289 * arc-mode.el (archive-extract-by-file): Check if directory exists
14290 before deletion to not show irrelevant errors if it doesn't exist.
14291
14292 2013-12-17 Juri Linkov <juri@jurta.org>
14293
14294 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14295 (Bug#14751)
14296
14297 * net/eww.el (browse-web): Add alias to `eww'.
14298 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14299 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14300
14301 * net/browse-url.el (browse-url-browser-function): Move `eww'
14302 closer to similar functions.
14303
14304 * startup.el (fancy-startup-screen, fancy-about-screen):
14305 Set browse-url-browser-function to eww-browse-url locally.
14306 (Bug#14751)
14307
14308 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * window.el (window--pixel-to-total): Remove unused `mini' var.
14311 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14312 (split-window): Remove unused `new' var.
14313 (window--display-buffer): Remove unused `frame' and `delta' vars.
14314 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14315 and display-width'.
14316
14317 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14318
14319 * dired.el (dired-mark-pop-up):
14320 * register.el (register-preview): Don't bind
14321 split-height-threshold here since it's now done in
14322 display-buffer-below-selected.
14323
14324 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14325
14326 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14327 xterm-rgb-convert-to-16bit.
14328 (rxvt-register-default-colors): Standardize with
14329 xterm-register-default-colors (Bug#14078).
14330
14331 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14332
14333 * simple.el (kill-region): Pass mark first, then point, so that
14334 kill-append works right (Bug#12819).
14335 (copy-region-as-kill, kill-ring-save): Likewise.
14336
14337 2013-12-17 Leo Liu <sdl.web@gmail.com>
14338
14339 * net/rcirc.el (rcirc-add-face):
14340 * eshell/em-prompt.el (eshell-emit-prompt):
14341 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14342 (Bug#16167)
14343
14344 2013-12-17 Chong Yidong <cyd@gnu.org>
14345
14346 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14347 Suggested by Xue Fuqiao.
14348
14349 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14350
14351 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14352
14353 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * net/shr.el (shr-insert-document): Remove unused var
14356 `shr-preliminary-table-render'.
14357 (shr-rescale-image): Remove unused arg `force'.
14358 (shr-put-image): Update calls accordingly.
14359 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14360
14361 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14362
14363 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14364 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14365 :close-all, to see which indentation method to use (Bug#16116).
14366 (smie-rules-function): Document the method :close-all.
14367
14368 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14369
14370 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14371
14372 * net/eww.el (eww-display-html): If we can't find the anchor we're
14373 looking for, then go to point-min.
14374
14375 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14376
14377 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14378 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14379 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14380 Expand dir too, in case it's relative.
14381
14382 2013-12-16 Juri Linkov <juri@jurta.org>
14383
14384 * desktop.el (desktop-auto-save-timeout): Change default to
14385 `auto-save-timeout'. Doc fix.
14386 (desktop-save): Skip the timestamp in desktop-saved-frameset
14387 when checking for auto-save changes.
14388 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14389 `desktop-auto-save' is called repeatedly by the idle timer.
14390 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14391 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14392 (Bug#15331)
14393
14394 2013-12-16 Juri Linkov <juri@jurta.org>
14395
14396 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14397 (Bug#16035)
14398 (isearch-pre-command-hook): Check `this-command' for symbolp.
14399
14400 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14403
14404 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14405
14406 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14407 (cfengine3--current-function): Bring in the current-function
14408 functionality from `cfengine3--current-word'.
14409 (cfengine3-completion-function): Bring in the
14410 bounds-of-current-word functionality from
14411 `cfengine3--current-word'.
14412
14413 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14414
14415 * window.el (display-buffer-below-selected):
14416 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14417
14418 2013-12-16 Leo Liu <sdl.web@gmail.com>
14419
14420 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14421 Remove NOMSG arg and all uses changed.
14422
14423 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14426 (cua--deactivate-rectangle): Don't deactivate the mark.
14427 (cua-set-rectangle-mark): Don't set mark-active since
14428 cua--activate-rectangle already does it for us.
14429 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14430 non-rectangular region.
14431
14432 * emulation/cua-base.el (cua-repeat-replace-region):
14433 Use with-current-buffer.
14434
14435 * net/gnutls.el: Use cl-lib.
14436 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14437
14438 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14439
14440 * emacs-lisp/package.el (package-built-in-p): Support both
14441 built-in and the package.el converted package descriptions.
14442 (package-show-package-list): Allow keywords.
14443 (package-keyword-button-action): Use it instead of
14444 `finder-list-matches'.
14445 (package-menu-filter-interactive): Interactive filtering (by
14446 keyword) function.
14447 (package-menu--generate): Support keywords and change keymappings
14448 and headers when they are given.
14449 (package--has-keyword-p): Helper function.
14450 (package-menu--refresh): Use it.
14451 (package--mapc): Helper function.
14452 (package-all-keywords): Use it.
14453 (package-menu-mode-map): Set up menu items and keybindings to
14454 provide a filtering UI.
14455
14456 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14457
14458 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14459 the behavior when a certificate fails validation. Defaults to
14460 old behavior: never abort, just warn.
14461 (gnutls-negotiate): Use it.
14462
14463 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14464
14465 * window.el (display-buffer-below-selected): Never split window
14466 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14467
14468 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14469
14470 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14471 (package-buffer-info): Use it (bug#15108).
14472
14473 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * icomplete.el (icomplete-completions): Make sure the prefix is already
14476 displayed elsewhere before hiding it (bug#16219).
14477
14478 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14479
14480 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14481 open-paren tokens when preceded by a open-paren, too.
14482 (ruby-smie-rules): Handle virtual indentation after open-paren
14483 tokens specially. If there is code between it and eol, return the
14484 column where is starts (Bug#16118).
14485
14486 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14487
14488 * progmodes/cfengine.el: Fix `add-hook' doc.
14489 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14490 (cfengine3--current-word): Fix parameters.
14491 (cfengine3-make-syntax-cache): Simplify further.
14492 (cfengine3-completion-function, cfengine3--current-function):
14493 Use `assq' for symbols.
14494 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14495
14496 2013-12-13 Glenn Morris <rgm@gnu.org>
14497
14498 * loadup.el (load-path): Warn if site-load or site-init changes it.
14499 No more need to reset it when bootstrapping.
14500
14501 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14502
14503 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14504 locations for cf-promises.
14505 (cfengine-mode-syntax-functions-regex): New caching variable.
14506 (cfengine3-fallback-syntax): Fallback syntax for cases where
14507 cf-promises doesn't run.
14508 (cfengine3--current-word): Reimplement using
14509 `cfengine-mode-syntax-functions-regex'.
14510 (cfengine3-completion-function, cfengine3--current-function):
14511 Use `cfengine3-make-syntax-cache' directly.
14512 (cfengine3-clear-syntax-cache): New function.
14513 (cfengine3-make-syntax-cache): Simplify and create
14514 `cfengine-mode-syntax-functions-regex' on demand.
14515 (cfengine3-format-function-docstring): Don't call
14516 `cfengine3-make-syntax-cache' explicitly.
14517
14518 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14519
14520 Fix windmove-find-other-window broken after pixelwise resizing
14521 (Bug#16017).
14522 * windmove.el (windmove-other-window-loc): Revert change from
14523 2013-12-04.
14524 (windmove-find-other-window): Call window-in-direction.
14525 * window.el (window-in-direction): New arguments SIGN, WRAP and
14526 MINI to emulate original windmove-find-other-window behavior.
14527
14528 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14529
14530 * simple.el (blink-matching--overlay): New variable.
14531 (blink-matching-open): Instead of moving point, highlight the
14532 matching paren with an overlay
14533 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14534
14535 * faces.el (paren-showing-faces, show-paren-match)
14536 (show-paren-mismatch): Move from paren.el.
14537
14538 2013-12-13 Leo Liu <sdl.web@gmail.com>
14539
14540 * indent.el (indent-region): Disable progress reporter in
14541 minibuffer. (Bug#16108)
14542
14543 * bindings.el (visual-order-cursor-movement): Fix version.
14544
14545 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14546
14547 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14548 Also match after beginning of line.
14549 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14550 files. Thanks to Russell Sim. (Bug#15378)
14551
14552 2013-12-13 Juri Linkov <juri@jurta.org>
14553
14554 * simple.el <Keypad support>: Remove key bindings duplicated
14555 with bindings.el. (Bug#14397)
14556
14557 2013-12-13 Juri Linkov <juri@jurta.org>
14558
14559 * comint.el (comint-mode-map): Replace `delete-char' with
14560 `delete-forward-char'. (Bug#16109)
14561
14562 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14563
14564 * progmodes/python.el (python-indent-calculate-indentation):
14565 Fix de-denters cornercase. (Bug#15731)
14566
14567 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14570 (advice--make): Pay attention to `depth'.
14571 (advice--make-1): Don't autoload commands eagerly.
14572 * emacs-lisp/elp.el (elp-instrument-function):
14573 * emacs-lisp/trace.el (trace-function-internal):
14574 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14575
14576 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14577
14578 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14579
14580 * term/w32-win.el (w32-handle-dropped-file):
14581 * startup.el (normal-top-level):
14582 * net/browse-url.el (browse-url-file-url):
14583 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14584 decode file names using 'utf-8' rather than
14585 file-name-coding-system.
14586
14587 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14588
14589 * progmodes/python.el (python-indent-context)
14590 (python-indent-calculate-indentation): Fix auto-identation
14591 behavior for comment blocks. (Bug#15916)
14592
14593 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14594
14595 * progmodes/python.el (python-indent-calculate-indentation):
14596 When determining indentation, don't treat "return", "pass", etc., as
14597 operators when they are just string constituents. (Bug#15812)
14598
14599 2013-12-12 Juri Linkov <juri@jurta.org>
14600
14601 * uniquify.el (uniquify-buffer-name-style): Change default to
14602 `post-forward-angle-brackets'.
14603
14604 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14605 `uniquify'. Change default to `post-forward-angle-brackets'.
14606
14607 2013-12-11 Glenn Morris <rgm@gnu.org>
14608
14609 * emacs-lisp/package.el (finder-list-matches):
14610 Autoload rather than falsely declaring.
14611
14612 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14613
14614 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14615 (eww-mode-map): Use them.
14616
14617 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14618
14619 * window.el (display-buffer-in-side-window): Fix doc-string
14620 (Bug#16115).
14621
14622 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14623
14624 * vc/vc-git.el: Silence byte-compiler warnings.
14625 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14626 (log-edit-set-header): Declare.
14627
14628 2013-12-11 Eli Zaretskii <eliz@gnu.org>
14629
14630 * Makefile.in (custom-deps, finder-data): Run output file names
14631 through unmsys--file-name. (Bug#16099)
14632
14633 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
14634
14635 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14636 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14637
14638 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14639 instead of deleting the selection "by hand" (bug#16098).
14640 Rely on insert-for-yank to yank rectangles.
14641 (cua-highlight-region-shift-only): Mark obsolete.
14642 (cua-mode): Don't enable/disable transient-mark-mode,
14643 shift-select-mode (cua-mode works both with and without them), and
14644 pc-selection-mode (obsolete).
14645 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14646 (cua--deactivate-rectangle): Deactivate it.
14647
14648 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14649 (delete-selection-helper): Make sure yank starts at the top of the
14650 deleted region.
14651 (minibuffer-keyboard-quit): Use region-active-p.
14652
14653 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14654
14655 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14656 to `delete' (bug#16109).
14657
14658 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14659
14660 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14661 info manual and show keybindings and set `:group' keyword.
14662
14663 2013-12-11 Juri Linkov <juri@jurta.org>
14664
14665 * delsel.el (delete-active-region): Let-bind `this-command'
14666 to prevent `kill-region' from changing its original value.
14667 (delete-selection-helper): Handle `overwrite-mode' for the type
14668 `kill' exactly the same way as for the type `t'.
14669 (insert-char, quoted-insert, reindent-then-newline-and-indent):
14670 Support more commands. (Bug#13312)
14671
14672 2013-12-11 Juri Linkov <juri@jurta.org>
14673
14674 * bindings.el: Map kp keys to non-kp keys systematically
14675 with basic modifiers control, meta and shift. (Bug#14397)
14676
14677 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14678
14679 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14680 "Close browser" menu items. Fix wrong function of "List
14681 bookmarks".
14682
14683 2013-12-11 Juri Linkov <juri@jurta.org>
14684
14685 * misearch.el (multi-isearch-buffers): Set the value of
14686 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14687 arg of isearch-forward to t.
14688 (multi-isearch-buffers-regexp): Set the value of
14689 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14690 arg of isearch-forward-regexp to t.
14691 (multi-isearch-files): Set the value of
14692 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14693 arg of isearch-forward to t.
14694 (multi-isearch-files-regexp): Set the value of
14695 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14696 arg of isearch-forward-regexp to t. (Bug#16035)
14697
14698 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14699 arg of isearch-forward to t.
14700 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14701 arg of isearch-forward-regexp to t.
14702 (dired-isearch-filter-filenames): Remove unnecessary check for
14703 `dired-isearch-filenames'.
14704
14705 * comint.el (comint-history-isearch-backward):
14706 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14707 (comint-history-isearch-backward-regexp):
14708 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14709
14710 2013-12-10 Eli Zaretskii <eliz@gnu.org>
14711
14712 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14713 unmsys--file-name. (Bug#16099)
14714
14715 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
14716
14717 * emacs-lisp/package.el (package-keyword-button-action):
14718 Remove finder.el require dependency.
14719
14720 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
14721
14722 * emacs-lisp/package.el: Require finder.el.
14723 (describe-package-1): Add keyword buttons.
14724 (package-make-button): New convenience function.
14725 (package-keyword-button-action): Keyword button action using
14726 `finder-list-matches'.
14727
14728 2013-12-09 Eli Zaretskii <eliz@gnu.org>
14729
14730 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14731 last commit.
14732
14733 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
14734
14735 * autorevert.el (auto-revert-notify-add-watch): Do not handle
14736 symlinked files.
14737
14738 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14739
14740 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14741 after the end of a percent literal.
14742
14743 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
14744
14745 * progmodes/ruby-mode.el (ruby-forward-string): Document.
14746 Handle caret-delimited strings (Bug#16079).
14747
14748 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14749
14750 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14751 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14752 `ruby-parse-partial' (Bug#16078).
14753
14754 2013-12-09 Leo Liu <sdl.web@gmail.com>
14755
14756 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
14757
14758 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
14759
14760 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14761 (js-switch-indent-offset): New option.
14762 (js--proper-indentation): Use it. And handle the case when
14763 "default" is actually a key in an object literal.
14764 (js--same-line): New function.
14765 (js--multi-line-declaration-indentation): Use it.
14766 (js--indent-in-array-comp, js--array-comp-indentation):
14767 New functions.
14768 (js--proper-indentation): Use them, to handle array comprehension
14769 continuations.
14770
14771 2013-12-08 Leo Liu <sdl.web@gmail.com>
14772
14773 * progmodes/flymake.el (flymake-highlight-line): Re-write.
14774 (flymake-make-overlay): Remove arg MOUSE-FACE.
14775 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14776
14777 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14780 New function.
14781 (redisplay-highlight-region-function): Use it.
14782
14783 * emulation/cua-base.el (cua--explicit-region-start)
14784 (cua--last-region-shifted): Remove.
14785 (cua--deactivate): Use deactivate-mark.
14786 (cua--pre-command-handler-1): Don't handle shift-selection.
14787 (cua--post-command-handler-1): Don't change transient-mark-mode.
14788 (cua--select-keymaps): Use region-active-p rather than
14789 cua--explicit-region-start or cua--last-region-shifted.
14790 (cua-mode): Enable shift-select-mode.
14791
14792 2013-12-08 Leo Liu <sdl.web@gmail.com>
14793
14794 * progmodes/flymake.el (flymake-popup-current-error-menu):
14795 Rename from flymake-display-err-menu-for-current-line. Reimplement.
14796 (flymake-posn-at-point-as-event, flymake-popup-menu)
14797 (flymake-make-emacs-menu): Remove. (Bug#16077)
14798
14799 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * rect.el (rectangle-mark-mode): Activate mark even if
14802 transient-mark-mode is off (bug#16066).
14803 (rectangle--highlight-for-redisplay): Fix boundary condition when point
14804 is > mark and at bolp.
14805
14806 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14807 (region-extract-function): Use it.
14808 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14809 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14810 Delete functions.
14811 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14812 kill-ring-save, kill-region, delete-char, delete-forward-char.
14813 Ignore self-insert-iso.
14814
14815 * emulation/cua-gmrk.el (cua--init-global-mark):
14816 Ignore `self-insert-iso'.
14817
14818 * emulation/cua-base.el (cua--prefix-copy-handler)
14819 (cua--prefix-cut-handler): Rely on region-extract-function rather than
14820 checking cua--rectangle.
14821 (cua-delete-region): Use region-extract-function.
14822 (cua-replace-region): Delete function.
14823 (cua-copy-region, cua-cut-region): Obey region-extract-function.
14824 (cua--pre-command-handler-1): Don't do the delete-selection thing.
14825 (cua--self-insert-char-p): Ignore `self-insert-iso'.
14826 (cua--init-keymaps): Don't remap delete-selection commands.
14827 (cua-mode): Use delete-selection-mode instead of rolling our own
14828 (bug#16085).
14829
14830 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14831 Obey region-extract-function.
14832
14833 Make registers and delete-selection-mode work on rectangles.
14834 * register.el (describe-register-1): Don't modify the register's value.
14835 (copy-to-register): Obey region-extract-function.
14836 * delsel.el (delete-active-region): Obey region-extract-function.
14837
14838 2013-12-08 Leo Liu <sdl.web@gmail.com>
14839
14840 * progmodes/flymake.el (flymake, flymake-error-bitmap)
14841 (flymake-warning-bitmap, flymake-fringe-indicator-position)
14842 (flymake-compilation-prevents-syntax-check)
14843 (flymake-start-syntax-check-on-newline)
14844 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14845 (flymake-start-syntax-check-on-find-file, flymake-log-level)
14846 (flymake-xml-program, flymake-master-file-dirs)
14847 (flymake-master-file-count-limit)
14848 (flymake-allowed-file-name-masks): Relocate.
14849 (flymake-makehash, flymake-float-time)
14850 (flymake-replace-regexp-in-string, flymake-split-string)
14851 (flymake-get-temp-dir): Remove.
14852 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14853 (flymake-current-row, flymake-selected-frame)
14854 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14855 related functions. (Bug#16077)
14856
14857 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14858
14859 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14860
14861 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14862
14863 * help-fns.el (describe-function-1): Use new advice-* functions
14864 rather than old ad-* functions. Fix function type description and
14865 source links for advised functions and subrs.
14866
14867 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14868
14869 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14870
14871 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14872
14873 * progmodes/compile.el (compilation-start):
14874 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14875
14876 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14877 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14878
14879 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14880
14881 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14882 Touch up the last change.
14883
14884 2013-12-06 Leo Liu <sdl.web@gmail.com>
14885
14886 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14887 (inferior-octave-startup): Always use "octave> " for prompt.
14888 (octave-goto-function-definition)
14889 (octave-sync-function-file-names)
14890 (octave-find-definition-default-filename): Remove redundant backquotes.
14891
14892 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14893
14894 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14895 syntax for `?'.
14896 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14897 where appropriate already.
14898 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14899 end of method names (Bug#15874).
14900
14901 2013-12-06 Juri Linkov <juri@jurta.org>
14902
14903 * isearch.el (isearch--saved-overriding-local-map):
14904 New internal variable.
14905 (isearch-mode): Set it to the initial value of
14906 `overriding-terminal-local-map'.
14907 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14908 with `isearch--saved-overriding-local-map'. (Bug#16035)
14909
14910 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14911
14912 * progmodes/octave.el (inferior-octave-completion-table):
14913 Turn back into function, use `completion-table-with-cache'
14914 (Bug#11906). Update all references.
14915
14916 * minibuffer.el (completion-table-with-cache): New function.
14917
14918 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
14919
14920 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14921
14922 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
14923
14924 * net/eww.el (eww-current-source): New variable to store page
14925 source.
14926 (eww-display-html, eww-mode, eww-save-history)
14927 (eww-restore-history): Use it.
14928 (eww-view-source): New command to view page source.
14929 Opportunistically uses `html-mode' to highlight the buffer.
14930 (eww-mode-map): Install it.
14931
14932 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
14933
14934 * net/dbus.el (dbus-unregister-service)
14935 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14936 Fix docstring.
14937 (dbus-unregister-service): Skip :serial entries in
14938 `dbus-registered-objects-table'.
14939 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14940
14941 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
14942
14943 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14944 around keywords with extra `split-string' argument.
14945
14946 2013-12-04 Martin Rudalics <rudalics@gmx.at>
14947
14948 * windmove.el (windmove-other-window-loc): Handle navigation
14949 between windows (excluding the minibuffer window - Bug#16017).
14950
14951 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
14952
14953 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14954 in D-Bus type syntax.
14955 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14956 preserve unibyte strings. (Bug#16048)
14957
14958 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14961 Call force-mode-line-update is the proper buffer (bug#16042).
14962
14963 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
14964
14965 * vc/log-edit.el (log-edit-add-new-comment): Rename to
14966 `log-edit-remember-comment', make argument optional. Adjust all
14967 callers.
14968 (log-edit-mode): Add `log-edit-remember-comment' to
14969 `kill-buffer-hook' locally.
14970 (log-edit-kill-buffer): Don't remember comment explicitly since
14971 the buffer is killed anyway.
14972
14973 2013-12-04 Juri Linkov <juri@jurta.org>
14974
14975 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14976 add-hook and remove-hook for multi-buffer search. (Bug#16035)
14977
14978 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
14979
14980 * notifications.el (notifications-close-notification): Call the
14981 D-Bus method with ID being a `:uint32'. (Bug#16030)
14982
14983 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
14984
14985 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14986
14987 2013-12-03 Juri Linkov <juri@jurta.org>
14988
14989 * progmodes/compile.el (compilation-start): Rename window alist
14990 entry `no-display-ok' to `allow-no-window'.
14991
14992 * simple.el (shell-command): Add window alist entry
14993 `allow-no-window' to `display-buffer'.
14994 (async-shell-command): Doc fix.
14995
14996 * window.el (display-buffer-no-window): New action function.
14997 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
14998
14999 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15000
15001 * vc/log-edit.el (log-edit-set-header): Extract from
15002 `log-edit-toggle-header'.
15003 (log-edit-extract-headers): Separate the summary, when extracted
15004 from header, from the rest of the message with an empty line.
15005
15006 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15007 line, if present, to the Summary header.
15008
15009 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15012 in current-buffer (bug#16029).
15013
15014 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15015
15016 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15017 (debugger-mode-map): Bind it.
15018 (debugger--backtrace-base): New function.
15019 (debugger-eval-expression): Use it.
15020 (debugger-frame-number): Skip local vars when present.
15021 (debugger--locals-visible-p, debugger--insert-locals)
15022 (debugger--show-locals, debugger--hide-locals): New functions.
15023
15024 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15025
15026 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15027 "LC_ALL".
15028 (tramp-get-remote-locale): New defun.
15029 (tramp-open-connection-setup-interactive-shell): Use it.
15030
15031 2013-12-02 Leo Liu <sdl.web@gmail.com>
15032
15033 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15034
15035 * progmodes/sh-script.el (sh-shell-process):
15036 * progmodes/octave.el (inferior-octave-process-live-p):
15037 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15038 (gdb-inferior-io-sentinel):
15039 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15040
15041 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15042
15043 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15044 `save-selected-window' to `log-edit-hide-buf'. This makes
15045 `log-edit-show-files' idempotent.
15046 (log-edit-show-files): Mark the new window as dedicated.
15047
15048 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15049
15050 * vc/log-edit.el (log-edit-mode-map): Add binding for
15051 `log-edit-kill-biffer'.
15052 (log-edit-hide-buf): Add a FIXME comment.
15053 (log-edit-add-new-comment): New function, extracted from
15054 `log-edit-done'.
15055 (log-edit-done, log-edit-add-to-changelog): Use it.
15056 (log-edit-kill-buffer): New command.
15057
15058 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15059
15060 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15061 instead of killing the buffer.
15062
15063 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15066
15067 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15068
15069 * net/eww.el (eww-form-checkbox-selected-symbol)
15070 (eww-form-checkbox-symbol): New customizable variable.
15071 (eww-form-checkbox, eww-toggle-checkbox):
15072 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15073
15074 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15075 (shr--get-media-pref, shr--extract-best-source): New function.
15076 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15077 no :src tag was specified.
15078
15079 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15080 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15081 Use \\` to match beginning of string instead of ^.
15082 (eww-browse-with-external-browser): Provide optional URL parameter.
15083 (eww-render): Set `eww-current-title' back to "".
15084
15085 * net/shr.el (shr-tag-video): Display content for video if no
15086 poster is available.
15087 (shr-tag-audio): Add support for <audio> tag.
15088
15089 * net/eww.el (eww-text-input-types): New const.
15090 (eww-process-text-input): Treat input types in
15091 `eww-text-input-types' as text.
15092
15093 * net/shr.el (shr-tag-table): Fix comment typo.
15094
15095 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15096
15097 * net/eww.el (eww-follow-link): New command to avoid reloading
15098 pages when we follow #target links (bug#15243).
15099 (eww-quit): Special mode buffers shouldn't query before exiting.
15100
15101 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15102
15103 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15104 forms.
15105
15106 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15107
15108 * net/eww.el (eww-restore-history): Update the window title after
15109 moving in the history.
15110 (eww-current-dom): New variable used to save the current DOM.
15111
15112 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15113
15114 * vc/log-edit.el (log-edit-mode-map): Add binding for
15115 `log-edit-beginning-of-line'.
15116 (log-edit-setup-add-author): New user option.
15117 (log-edit-beginning-of-line): New command.
15118 (log-edit): Move major mode call above the contents setup so that
15119 the local variable values are already applied.
15120 (log-edit): Only insert "Author: " when
15121 `log-edit-setup-add-author' is non-nil.
15122 (log-edit): When SETUP is non-nil, position point after ": "
15123 instead of point-min.
15124
15125 2013-12-01 Glenn Morris <rgm@gnu.org>
15126
15127 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15128
15129 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15130
15131 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15132 redisplay to make sure the initial frame gets a chance to become
15133 visible. (Bug#16014)
15134
15135 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15136
15137 Support resizing frames and windows pixelwise.
15138 * cus-start.el (frame-resize-pixelwise)
15139 (window-resize-pixelwise): New entries.
15140 * emacs-lisp/debug.el (debug): Use window-total-height instead
15141 of window-total-size.
15142 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15143 * help.el (describe-bindings-internal): Use help-buffer as
15144 argument for with-help-window.
15145 (temp-buffer-max-width): New option.
15146 (resize-temp-buffer-window, help-window-setup)
15147 (with-help-window): Rewrite.
15148 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15149 dragging dividers.
15150 * window.el (frame-char-size, window-min-pixel-height)
15151 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15152 (window-min-pixel-width, window-safe-min-pixel-size)
15153 (window-combination-p, window-safe-min-size)
15154 (window-resizable-p, window--size-to-pixel)
15155 (window--pixel-to-size, window--resize-apply-p): New functions.
15156 (window-safe-min-height): Fix doc-string.
15157 (window-size, window-min-size, window--min-size-1)
15158 (window-sizable, window-sizable-p, window--min-delta-1)
15159 (window-min-delta, window--max-delta-1, window-max-delta)
15160 (window--resizable, window--resizable-p, window-resizable)
15161 (window-full-height-p, window-full-width-p, window-at-side-p)
15162 (window--in-direction-2, window-in-direction)
15163 (window--resize-reset-1, window--resize-mini-window)
15164 (window-resize, window-resize-no-error)
15165 (window--resize-child-windows-normal)
15166 (window--resize-child-windows, window--resize-siblings)
15167 (window--resize-this-window, window--resize-root-window)
15168 (window--resize-root-window-vertically)
15169 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15170 (maximize-window, minimize-window, delete-window)
15171 (quit-restore-window, window-split-min-size, split-window)
15172 (balance-windows-2, balance-windows)
15173 (balance-windows-area-adjust, balance-windows-area)
15174 (window--state-get-1, window-state-get, window--state-put-1)
15175 (window--state-put-2, window-state-put)
15176 (display-buffer-record-window, window--display-buffer):
15177 Make functions handle pixelwise sizing of windows.
15178 (display-buffer--action-function-custom-type)
15179 (display-buffer-fallback-action):
15180 Add display-buffer-in-previous-window.
15181 (display-buffer-use-some-window): Resize window to height it had
15182 before.
15183 (fit-window-to-buffer-horizontally): New option.
15184 (fit-frame-to-buffer): Describe new values.
15185 (fit-frame-to-buffer-bottom-margin): Replace with
15186 fit-frame-to-buffer-margins.
15187 (window--sanitize-margin): New function.
15188 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15189 using window-text-pixel-size.
15190
15191 2013-11-30 Glenn Morris <rgm@gnu.org>
15192
15193 * emacs-lisp/bytecomp.el (byte-compile-form):
15194 Make the `interactive-only' warning like the `obsolete' one.
15195 * comint.el (comint-run):
15196 * files.el (insert-file-literally, insert-file):
15197 * replace.el (replace-string, replace-regexp):
15198 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15199 (goto-line, insert-buffer, next-line, previous-line):
15200 Tweak `interactive-only' spec.
15201
15202 Stop keeping (most) generated cedet grammar files in the repository.
15203 * Makefile.in (semantic): New.
15204 (compile-main): Depend on semantic.
15205
15206 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15209 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15210
15211 * uniquify.el (uniquify-buffer-name-style): Change default.
15212
15213 * loadup.el: Preload "uniquify".
15214
15215 * time.el (display-time-update): Update all mode lines (bug#15999).
15216
15217 * electric.el (electric-indent-mode): Enable by default.
15218 * loadup.el: Preload "electric".
15219
15220 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15221
15222 * emacs-lisp/helpers.el (string-empty-p): New function.
15223 (string-blank-p): New function.
15224
15225 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15226
15227 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15228 (Bug#14029).
15229
15230 2013-11-29 Andreas Politz <politza@fh-trier.de>
15231 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15232 allow non-lambda lists as functions.
15233 (imenu--in-alist): Don't recurse into non-subalists.
15234 (imenu): Don't pass function itself as an argument (Bug#14029).
15235
15236 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15237
15238 * progmodes/python.el (python-mode-map): Remove binding for ":".
15239 (python-indent-electric-colon): Remove command.
15240 (python-indent-post-self-insert-function): Integrate the previous code
15241 of python-indent-electric-colon. Make it conditional on
15242 electric-indent-mode.
15243 (python-mode): Add ?: to electric-indent-chars.
15244 Move python-indent-post-self-insert-function to the end of
15245 post-self-insert-hook.
15246
15247 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15248
15249 * doc-view.el (doc-view-goto-page): Update mode-line.
15250
15251 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15252
15253 2013-11-27 Glenn Morris <rgm@gnu.org>
15254
15255 * international/charprop.el, international/uni-bidi.el:
15256 * international/uni-category.el, international/uni-combining.el:
15257 * international/uni-comment.el, international/uni-decimal.el:
15258 * international/uni-decomposition.el, international/uni-digit.el:
15259 * international/uni-lowercase.el, international/uni-mirrored.el:
15260 * international/uni-name.el, international/uni-numeric.el:
15261 * international/uni-old-name.el, international/uni-titlecase.el:
15262 * international/uni-uppercase.el:
15263 Remove generated files from VCS repository.
15264
15265 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15266
15267 * filenotify.el (file-notify-add-watch): Don't special-case
15268 w32notify when computing the directory to watch.
15269
15270 2013-11-27 Glenn Morris <rgm@gnu.org>
15271
15272 Make bootstrap without generated uni-*.el files possible again.
15273 * loadup.el: Update command-line-args checking for unidata-gen.
15274 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15275 * composite.el, international/characters.el:
15276 Handle unicode tables being undefined.
15277
15278 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15279 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15280 (compile-main): Depend on leim rule.
15281 (leim): New rule.
15282 * loadup.el: Move leim-list.el to leim/ subdirectory.
15283 * startup.el (normal-top-level): No more leim directory.
15284 * international/ja-dic-cnv.el (skkdic-convert):
15285 Disable version-control and autoloads in output files.
15286 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15287 Disable version-control and autoloads in output files.
15288 * leim/quail: Move here from ../leim.
15289 * leim/quail/hangul.el (hangul-input-method-activate):
15290 Add autoload cookie.
15291 (generated-autoload-load-name): Set file-local value.
15292 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15293 (generated-autoload-load-name): Set file-local value.
15294
15295 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15296
15297 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15298 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15299 (eww-quit): Ask confirmation before quitting eww.
15300
15301 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15302
15303 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15304 reading output from Diff on MS-Windows and MS-DOS.
15305
15306 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15307
15308 * emacs-lisp/helpers.el (string-reverse): New function.
15309
15310 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15311
15312 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15313 names on MS Windows, like "/[::1]:".
15314
15315 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15316 SWITCHES.
15317
15318 2013-11-26 Glenn Morris <rgm@gnu.org>
15319
15320 * progmodes/python.el (python-indent-guess-indent-offset):
15321 Avoid corner-case error. (Bug#15975)
15322
15323 Preload leim-list.el. (Bug#4789)
15324 * loadup.el: Load leim-list.el when found.
15325 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15326
15327 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15328
15329 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15330
15331 * emacs-lisp/helpers.el (string-join): New function.
15332
15333 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15334
15335 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15336 Mark as obsolete and replace it with a symbol property.
15337 (byte-compile-form): Use new 'interactive-only property.
15338 * comint.el, files.el, replace.el, simple.el:
15339 Apply new 'interactive-only properly.
15340
15341 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15342
15343 * window.el (display-buffer-at-bottom): Make sure that
15344 split-window-sensibly creates the new window on bottom
15345 (Bug#15961).
15346
15347 2013-11-23 David Kastrup <dak@gnu.org>
15348
15349 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15350 on the conflict markers when available.
15351 (smerge--get-marker): New function.
15352 (smerge-end-re, smerge-base-re): Add subgroup.
15353
15354 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15355
15356 * frame.el (handle-focus-in, handle-focus-out): Add missing
15357 interactive spec.
15358
15359 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15360
15361 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15362 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15363
15364 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15367 (gomoku--last-pos): New var.
15368 (gomoku--intangible-chars): New const.
15369 (gomoku--intangible): New function.
15370 (gomoku-mode): Use it. Derive from special-mode.
15371 (gomoku-move-up): Adjust line count.
15372 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15373 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15374 Simplify accordingly.
15375
15376 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15377 Remove blink-cursor code.
15378 (blink-cursor-timer-function, blink-cursor-suspend):
15379 Don't special-case GUIs.
15380 (blink-cursor-mode): Use focus-in/out-hook.
15381
15382 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15383
15384 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15385 work when annotation is invisible (Bug#13886).
15386
15387 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15388
15389 * json.el (json-alist-p): Only return non-nil if the alist has
15390 simple keys (Bug#13518).
15391
15392 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15393
15394 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15395 when control-statement is the first statement in a buffer (Bug#15956).
15396
15397 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15398
15399 * imenu.el (imenu-generic-skip-comments-and-strings):
15400 New option (Bug#15560).
15401 (imenu--generic-function): Use it.
15402
15403 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15404
15405 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15406 (Bug#13898)
15407
15408 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15409
15410 * emacs-lisp/helpers.el: Add some string helpers.
15411 (string-trim-left): Removes leading whitespace.
15412 (string-trim-right): Removes trailing whitespace.
15413 (string-trim): Removes leading and trailing whitespace.
15414
15415 * subr.el (string-suffix-p): New function.
15416
15417 2013-11-23 Glenn Morris <rgm@gnu.org>
15418
15419 * progmodes/python.el (python-shell-send-file):
15420 Add option to delete file when done. (Bug#15647)
15421 (python-shell-send-string, python-shell-send-region): Use it.
15422
15423 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15424
15425 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15426 to set buffer-read-only to t, never to nil. (Bug#15938)
15427
15428 * textmodes/tex-mode.el (latex-noindent-environments):
15429 Add safe-local-variable property. (Bug#15936)
15430
15431 2013-11-23 Glenn Morris <rgm@gnu.org>
15432
15433 * textmodes/enriched.el (enriched-mode): Doc fix.
15434 * emacs-lisp/authors.el (authors-renamed-files-alist):
15435 Add enriched.doc -> enriched.txt.
15436
15437 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15438
15439 2013-11-22 Leo Liu <sdl.web@gmail.com>
15440
15441 * progmodes/octave.el (inferior-octave-startup): Spit out error
15442 message.
15443
15444 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15445
15446 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15447 Improve docstring.
15448 Add :version.
15449 (ruby-encoding-magic-comment-style): Add :version.
15450
15451 2013-11-22 Leo Liu <sdl.web@gmail.com>
15452
15453 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15454 (Bug#15076)
15455 (octave-help-mode): Adapt to change to help-mode-finish to use
15456 derived-mode-p on 2013-09-17.
15457 (inferior-octave-prompt): Also match octave-gui.
15458 (octave-kill-process): Don't ask twice. (Bug#10564)
15459
15460 2013-11-22 Leo Liu <sdl.web@gmail.com>
15461
15462 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15463 (inferior-octave-startup, inferior-octave-check-process)
15464 (inferior-octave-track-window-width-change)
15465 (octave-completion-at-point, octave-eldoc-function): Use it.
15466 (octave-kill-process): Provide confirmation. (Bug#10564)
15467
15468 2013-11-21 Leo Liu <sdl.web@gmail.com>
15469
15470 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15471 Fix obsolete variable comment-use-global-state.
15472
15473 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15474
15475 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15476 Add `octave-source-file'.
15477 (octave-source-file): New function. (Bug#15935)
15478
15479 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15480
15481 * net/eww.el (eww-local-regex): New variable.
15482 (eww): Use it to detect localhost and similar.
15483
15484 2013-11-21 Leo Liu <sdl.web@gmail.com>
15485
15486 Add completion for command `ag'.
15487 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15488 (pcomplete/ag): New function.
15489 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15490
15491 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15492
15493 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15494 (bug#14646).
15495 (make-obsolete): Remove interactive spec.
15496
15497 2013-11-21 Glenn Morris <rgm@gnu.org>
15498
15499 * startup.el (command-line-1): Use path-separator with -L.
15500
15501 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15502
15503 * emacs-lisp/package.el (describe-package-1): Add package archive
15504 to shown fields.
15505
15506 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15507
15508 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15509 Change default to "# encoding: %s" to differentiate it from the
15510 default Ruby encoding comment template.
15511
15512 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15513
15514 * ses.el (ses-mode): Doc fix. (Bug#14748)
15515
15516 2013-11-20 Leo Liu <sdl.web@gmail.com>
15517
15518 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15519
15520 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15521
15522 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15523 when rebase or bisect are in progress.
15524
15525 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15526
15527 * filenotify.el (file-notify-add-watch): Doc fix.
15528
15529 2013-11-19 Leo Liu <sdl.web@gmail.com>
15530
15531 * obsolete/rcompile.el: Mark obsolete.
15532
15533 * progmodes/compile.el (compilation-start)
15534 (compilation-goto-locus, compilation-find-file):
15535 Pass no-display-ok and handle nil value from display-buffer.
15536 (Bug#13594)
15537
15538 * window.el (display-buffer-alist, display-buffer): Document the
15539 new parameter no-display-ok. Return either a window or nil
15540 but never a non-window value.
15541
15542 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15543
15544 * electric.el (electric-indent-mode-map): Remove.
15545 (electric-indent-mode): Change the global-map instead (bug#15915).
15546
15547 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15548 Use add-function.
15549
15550 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * emacs-lisp/nadvice.el (remove-function): Align with
15553 add-function's behavior.
15554
15555 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15556 (gdb--string-regexp): New constant.
15557 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15558 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15559 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15560 submatch 1.
15561 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15562 Adjust use accordingly.
15563 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15564
15565 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15566
15567 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15568 interpolation curlies (Bug#15914).
15569
15570 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15571
15572 * calc/calc.el (calc-context-sensitive-enter): New variable.
15573 (calc-enter): Use `calc-context-sensitive-enter'.
15574
15575 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15576
15577 * progmodes/cfengine.el: Version bump.
15578 (cfengine-cf-promises): New defcustom to locate cf-promises.
15579 (cfengine3-vartypes): Add new "data" type.
15580 (cfengine3--current-word): New function to get current name-like
15581 word or its bounds.
15582 (cfengine3--current-function): New function to look up a CFEngine
15583 function's definition.
15584 (cfengine3-format-function-docstring): New function.
15585 (cfengine3-make-syntax-cache): New function.
15586 (cfengine3-documentation-function): New function: ElDoc glue.
15587 (cfengine3-completion-function): New function: completion glue.
15588 (cfengine3-mode): Set `compile-command',
15589 `eldoc-documentation-function', and add to
15590 `completion-at-point-functions'.
15591
15592 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15593
15594 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15595 `tramp-current-connection'.
15596
15597 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15598
15599 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15600 nil/self/true/false with "end of symbol".
15601
15602 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15603
15604 * subr.el (version-regexp-alist): Fix a typo.
15605
15606 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15607
15608 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15609 "en_US.utf8" and "LC_CTYPE" to "".
15610 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15611 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15612
15613 2013-11-15 Leo Liu <sdl.web@gmail.com>
15614
15615 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15616
15617 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * progmodes/gud.el (ctl-x-map):
15620 Remove C-x SPC binding. (Bug#12342)
15621 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15622
15623 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
15624
15625 * subr.el (version-regexp-alist):
15626 Recognize hg, svn and darcs versions as snapshot versions.
15627
15628 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15629 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15630 (ruby--encoding-comment-required-p): Extract from
15631 `ruby-mode-set-encoding'.
15632 (ruby-mode-set-encoding): Add the ability to always insert an
15633 utf-8 encoding comment. Fix and simplify coding comment update
15634 logic.
15635
15636 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
15637
15638 * net/tramp-gvfs.el (top): Run init code only when
15639 `tramp-gvfs-enabled' is not nil.
15640 (tramp-gvfs-enabled): Check also :system bus.
15641
15642 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15643
15644 Sync with upstream verilog-mode revision 78e66ba.
15645 * progmodes/verilog-mode.el (verilog-end-of-defun)
15646 (verilog-type-completion, verilog-get-list): Remove unused funcs.
15647 (verilog-get-end-of-defun): Remove unused argument.
15648 (verilog-comment-depth): Remove unused local `e'.
15649 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15650 Don't pass arg to verilog-get-end-of-defun.
15651
15652 2013-11-14 Glenn Morris <rgm@gnu.org>
15653
15654 * obsolete/assoc.el (aget): Prefix dynamic variable.
15655
15656 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15657
15658 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15659
15660 * widget.el, hfy-cmap.el: Remove bogus package version number.
15661
15662 2013-11-13 Glenn Morris <rgm@gnu.org>
15663
15664 * replace.el (replace-eval-replacement):
15665 Try to give more helpful error message. (Bug#15836)
15666
15667 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15668 (archive-7z-update): Avoid custom type mismatches.
15669
15670 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15671
15672 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
15673
15674 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15675 address can be empty.
15676
15677 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15678 Accept nil SWITCHES.
15679 (tramp-gvfs-handle-write-region): Implement APPEND.
15680
15681 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
15682
15683 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15684 binary "|" operator and closing block args delimiter.
15685 Remove FIXME comment referring to Ruby 1.8-only syntax.
15686 (ruby-smie--implicit-semi-p): Not after "|" operator.
15687 (ruby-smie--closing-pipe-p): New function.
15688 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15689 (ruby-smie-rules): Indent after "|".
15690
15691 2013-11-12 Glenn Morris <rgm@gnu.org>
15692
15693 * ps-print.el (ps-face-attribute-list):
15694 Handle anonymous faces. (Bug#15827)
15695
15696 2013-11-12 Martin Rudalics <rudalics@gmx.at>
15697
15698 * window.el (display-buffer-other-frame): Fix doc-string.
15699 (Bug#15868)
15700
15701 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15702
15703 * subr.el (force-mode-line-update): Delete, move to buffer.c.
15704
15705 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
15706
15707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15708 (tramp-sh-handle-file-local-copy): Don't write a message when
15709 saving temporary files.
15710
15711 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15712 both directories are remote.
15713 (tramp-smb-handle-directory-files): Do not return double entries.
15714 Do not expand full file names.
15715 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15716 (tramp-smb-handle-write-region): Implement APPEND.
15717 (tramp-smb-get-stat-capability): Fix a stupid bug.
15718
15719 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15722
15723 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15724
15725 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15726 throwing error over malformed let/let* (bug#15814).
15727
15728 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15729
15730 * iswitchb.el (iswitchb-mode): Mark obsolete.
15731
15732 2013-11-11 Glenn Morris <rgm@gnu.org>
15733
15734 * international/uni-bidi.el, international/uni-category.el:
15735 * international/uni-name.el, international/uni-numeric.el:
15736 Regenerate for Unicode 6.3.0.
15737
15738 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
15739
15740 * net/tramp.el (tramp-methods):
15741 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15742 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15743
15744 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
15745
15746 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15747 Force highlighting text after Summary keyword in doc face for rpm.
15748
15749 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
15750
15751 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15752 available and the word has no wildcards, append one to the grep pattern.
15753 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15754 (ispell-complete-word): Call `ispell-lookup-words' with the value
15755 independent of `ispell-look-p'.
15756
15757 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15758
15759 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15760 Not after "||".
15761 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15762 their parent.
15763
15764 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
15767 (ruby-font-lock-keywords): Use backquote.
15768
15769 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15770
15771 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15772 (ruby-smie--backward-token): Only consider full-string matches.
15773
15774 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
15775
15776 * faces.el (describe-face): Add distant-foreground.
15777
15778 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
15779
15780 * progmodes/ruby-mode.el: Improve encoding comment handling.
15781 (ruby-encoding-magic-comment-style): New option.
15782 (ruby-custom-encoding-magic-comment-template): New option.
15783 (ruby--insert-coding-comment, ruby--detect-encoding):
15784 New functions extracted from `ruby-mode-set-encoding'.
15785 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15786 to control the style of the auto-inserted encoding comment.
15787
15788 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15789
15790 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15791 Use `smie-backward-sexp' with token argument.
15792
15793 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
15794
15795 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15796 Remove instrumentation code.
15797
15798 2013-11-08 Glenn Morris <rgm@gnu.org>
15799
15800 * progmodes/autoconf.el (autoconf-mode):
15801 Tweak comment-start-skip. (Bug#15822)
15802
15803 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15806 at bobp (bug#15826).
15807 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15808
15809 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
15810
15811 * man.el (Man-start-calling): New macro, extracted from
15812 Man-getpage-in-background.
15813 (Man-getpage-in-background): Use it.
15814 (Man-update-manpage): New command.
15815 (Man-mode-map): Bind it.
15816
15817 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15818
15819 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15820 of "and", "or", "&&" and "||".
15821 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15822 argument. Prohibit opening curly brace because it could only be a
15823 block opener in that position.
15824 (ruby-smie--forward-token, ruby-smie--backward-token):
15825 Separate "|" from "&" or "*" going after it. That can happen in block
15826 arguments.
15827 (ruby-smie--indent-to-stmt): New function, seeks the end of
15828 previous statement or beginning of buffer.
15829 (ruby-smie-rules): Use it.
15830 (ruby-smie-rules): Check if there's a ":" before a curly block
15831 opener candidate; if there is, it's a hash.
15832
15833 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15834
15835 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15836 (cl--block-wrapper): Fix last accidental change.
15837
15838 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
15839
15840 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15841 Instrument, in order to hunt failure on hydra.
15842
15843 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15844
15845 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15846 malformed bindings form (bug#15814).
15847
15848 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15849
15850 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15851 "." compared to " @ ". This incidentally fixes some indentation
15852 examples with "do".
15853 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15854 (ruby-smie-grammar): New tokens: "and" and "or".
15855 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15856 Exclude "and" and "or". Remove "do" in order to work around token
15857 priorities.
15858 (ruby-smie-rules): Add all infix tokens. Handle the case of
15859 beginning-of-buffer.
15860
15861 2013-11-06 Glenn Morris <rgm@gnu.org>
15862
15863 * Makefile.in (setwins_almost, setwins_for_subdirs):
15864 Avoid accidental matches.
15865
15866 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * menu-bar.el (popup-menu): Use key-binding.
15869
15870 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15871
15872 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15873 menus, support also the menus produced by minor modes.
15874 (Bug#15817)
15875
15876 2013-11-06 Leo Liu <sdl.web@gmail.com>
15877
15878 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15879 DISTANCE to bound the search. All uses changed. (Bug#15808)
15880
15881 2013-11-06 Glenn Morris <rgm@gnu.org>
15882
15883 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15884 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15885 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15886
15887 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * electric.el (electric-indent-just-newline): New command.
15890 (electric-indent-mode-map): New keymap.
15891 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15892 Re-add :group which weren't redundant.
15893
15894 * electric.el (electric-indent-local-mode): New minor mode.
15895 (electric-indent-functions-without-reindent): New var.
15896 (electric-indent-post-self-insert-function): Use it.
15897 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15898
15899 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15900
15901 * international/quail.el (quail-help): Be more explicit about the
15902 meaning of the labels shown on the keys. (Bug#15800)
15903
15904 * startup.el (normal-top-level): Load the subdirs.el files before
15905 setting the locale environment. (Bug#15805)
15906
15907 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15908
15909 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15910 via arguments so as to get the right ones (bug#15418).
15911
15912 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15913
15914 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
15915
15916 Fix problems found while writing a test suite.
15917
15918 * net/tramp-compat.el (tramp-compat-load): New defun.
15919 * net/tramp.el (tramp-handle-load): Use it.
15920
15921 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15922 "(numberp ok-if-already-exists)" correctly.
15923
15924 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
15925
15926 * international/characters.el (glyphless-char-display-control):
15927 Add usage note.
15928
15929 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
15930
15931 * progmodes/python.el (python-mode):
15932 * progmodes/scheme.el (scheme-mode):
15933 * progmodes/prolog.el (prolog-mode):
15934 * progmodes/ruby-mode.el (ruby-mode):
15935 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15936 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15937
15938 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15939
15940 * rect.el (rectangle--highlight-for-redisplay):
15941 * emacs-lisp/smie.el (smie--next-indent-change):
15942 Use buffer-chars-modified-tick.
15943
15944 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15945
15946 * electric.el (electric-indent-post-self-insert-function):
15947 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15948
15949 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
15950
15951 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15952
15953 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15954
15955 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15956 (bug#15786).
15957
15958 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15959
15960 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
15961
15962 * progmodes/python.el: Fix up last change.
15963 (python-shell--save-temp-file): New function.
15964 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
15965 `string' comes from the current buffer.
15966 (python-shell-send-string-no-output): Remove `msg' arg.
15967 (python--use-fake-loc): New var.
15968 (python-shell-buffer-substring): Obey it. Try to compensate for the
15969 extra coding line added by python-shell--save-temp-file.
15970 (python-shell-send-region): Use python-shell--save-temp-file and
15971 python-shell-send-file directly. Add `nomain' argument.
15972 (python-shell-send-buffer): Use python-shell-send-region.
15973 (python-electric-pair-string-delimiter): New function.
15974 (python-mode): Use it.
15975
15976 2013-11-04 Eli Zaretskii <eliz@gnu.org>
15977
15978 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15979 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15980 environment and decoding all of the default-directory's to here
15981 from command-line.
15982 (command-line): Decode also argv[0].
15983
15984 * loadup.el: Error out if default-directory is a multibyte string
15985 when we are dumping.
15986
15987 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
15988
15989 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15990
15991 * emacs-lisp/package.el (package-menu-mode)
15992 (package-menu--print-info, package-menu--archive-predicate):
15993 Add Archive column to package list.
15994
15995 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
15996
15997 Fix problems found while writing a test suite.
15998
15999 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16000 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16001 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16002 to nil when running original file name handler. Otherwise,
16003 there are problems with constructs like "$$FOO".
16004
16005 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16006 for `localname'.
16007
16008 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16009
16010 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16011
16012 * subr.el (version<, version<=, version=):
16013 Update docstrings with information for snapshot versions.
16014
16015 * helpers.el: New library for misc helper functions.
16016 (hash-table-keys): New function returning a list of hash keys.
16017 (hash-table-values): New function returning a list of hash values.
16018
16019 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16020
16021 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16022 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16023
16024 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16025
16026 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16027 checking whether point is after a 1-letter word.
16028
16029 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16030
16031 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16032 Don't infloop when expanding region over `multiline' syntax-type that
16033 begins a line (bug#15778).
16034
16035 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16038 Make it into a proper minor mode.
16039 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16040 (rectangle-mark-mode-map): New keymap.
16041 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16042
16043 2013-11-04 Glenn Morris <rgm@gnu.org>
16044
16045 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16046
16047 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16050 (ruby-smie-rules): Use smie-rule-parent instead.
16051
16052 * emacs-lisp/smie.el (smie-rule-parent): Always call
16053 smie-indent-virtual rather than only for hanging tokens.
16054 (smie--next-indent-change): New helper command.
16055
16056 2013-11-03 Glenn Morris <rgm@gnu.org>
16057
16058 * Makefile.in (abs_srcdir): Remove.
16059 (emacs): Unset EMACSLOADPATH.
16060
16061 2013-11-02 Glenn Morris <rgm@gnu.org>
16062
16063 * Makefile.in (EMACS): Use a relative filename.
16064 (abs_top_builddir): Remove.
16065 (custom-deps, finder-data, autoloads): Use --chdir.
16066
16067 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16068
16069 Use relative filenames in TAGS files.
16070 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16071 (lisptagsfiles4, TAGS): Use relative file names.
16072 (TAGS-LISP): Remove.
16073 (maintainer-clean): No more TAGS-LISP file.
16074
16075 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16076 (lisptagsfiles4): Use absolute filenames again.
16077 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16078 Remove all *loaddefs files, not just the first. Remove esh-groups.
16079 (maintainer-clean): Delete TAGS, TAGS-LISP.
16080
16081 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16082
16083 * emacs-lisp/package.el (package-version-join):
16084 Recognize snapshot versions.
16085
16086 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16087
16088 * subr.el (version-regexp-alist): Add support for snapshot versions.
16089
16090 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16091
16092 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16093 New function, replacement for `smie-rule-parent' for when we want to
16094 skip over our direct parent if it's an assignment token..
16095 (ruby-smie-rules): Use it.
16096
16097 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16098
16099 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16100 unconditionally. Remove now unnecessary forward declarations.
16101 Remove XEmacs-specific setup.
16102 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16103 (ruby-font-lock-syntactic-keywords)
16104 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16105 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16106 (ruby-here-doc-end-syntax): Remove.
16107 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16108 defined as function.
16109
16110 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16111
16112 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16113
16114 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16115
16116 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16117 table and abbrev table, `define-derived-mode' does that for us
16118 anyway.
16119
16120 2013-11-01 Glenn Morris <rgm@gnu.org>
16121
16122 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16123 files is atomic for some time, so no parallel compilation issues).
16124
16125 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16126
16127 * faces.el (face-x-resources): Add :distant-foreground.
16128 (region): Use :distant-foreground for gtk and ns.
16129
16130 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16131
16132 Allow multiple bibliographies when BibLaTeX is used rather than
16133 BibTeX.
16134 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16135 (reftex-locate-bibliography-files): Us it.
16136
16137 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16138
16139 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16140 allow comments in pbm files.
16141
16142 * term/w32-win.el (dynamic-library-alist): Support newer versions
16143 of libjpeg starting with v7: look only for the DLL from the
16144 version against which Emacs was built.
16145 Support versions of libpng beyond 1.4.x.
16146 Support libtiff v4.x.
16147
16148 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16149
16150 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16151 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16152 Add property :safe.
16153 (ruby-deep-arglist): Add property :type.
16154
16155 2013-10-31 Glenn Morris <rgm@gnu.org>
16156
16157 * Makefile.in (custom-deps, finder-data): No need to setq the target
16158 variables, we are in the right directory and the defaults work fine.
16159
16160 2013-10-30 Glenn Morris <rgm@gnu.org>
16161
16162 * Makefile.in (autoloads): Do not use abs_lisp.
16163
16164 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16165 `newline' does not respect `standard-output', so use `princ'.
16166
16167 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16168
16169 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16170 * buff-menu.el (Buffer-menu--unmark): New function.
16171 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16172
16173 2013-10-30 Glenn Morris <rgm@gnu.org>
16174
16175 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16176
16177 * emacs-lisp/package.el (lm-homepage): Declare.
16178
16179 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16180 Fix doc typos.
16181
16182 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16183
16184 * Makefile.in (finder-data, autoloads, update-subdirs)
16185 (compile-main, compile-clean, compile-always, bootstrap-clean):
16186 Check return value of cd.
16187 (compile-calc): Remove.
16188
16189 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16190
16191 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16192
16193 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16194 (byte-compile-and-folded): New function.
16195 (=, <, >, <=, >=): Use it.
16196
16197 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16198 (path-separator, null-device, buffer-file-coding-system)
16199 (lpr-headers-switches): Check system-type before modifying them.
16200 (find-buffer-file-type-coding-system): Mark obsolete.
16201 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16202 find-file-not-found-set-buffer-file-coding-system.
16203 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16204 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16205 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16206 (w32-direct-print-region-helper, w32-direct-print-region-function)
16207 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16208 * startup.el (normal-top-level-add-subdirs-to-load-path):
16209 * ps-print.el (ps-print-region-function):
16210 * lpr.el (print-region-function): Use new name.
16211
16212 * subr.el (custom-declare-variable-early): Remove function.
16213 (custom-declare-variable-list): Remove var.
16214 (error, user-error): Remove `while' loop.
16215 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16216 (user-emacs-directory-warning, locate-user-emacs-file):
16217 Move to files.el.
16218 * simple.el (read-quoted-char-radix, read-quoted-char):
16219 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16220 Move from subr.el.
16221 * custom.el (custom-declare-variable-list): Don't process
16222 custom-declare-variable-list.
16223
16224 * progmodes/python.el (python-shell-get-buffer): New function.
16225 (python-shell-get-process): Use it.
16226 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16227 Python which encoding was used. Don't split-string since we only care
16228 about the first line. Return the temp-file, if applicable.
16229 (python-shell-send-region): Tell compile.el how to turn locations in
16230 the temp-file into locations in the source buffer.
16231
16232 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * subr.el (undefined): Add missing behavior from the C code for
16235 unbound keys.
16236
16237 * rect.el: Use lexical-binding. Add new rectangular region support.
16238 (rectangle-mark): New command.
16239 (rectangle--region): New var.
16240 (deactivate-mark-hook): Reset rectangle--region.
16241 (rectangle--extract-region, rectangle--insert-for-yank)
16242 (rectangle--highlight-for-redisplay)
16243 (rectangle--unhighlight-for-redisplay): New functions.
16244 (region-extract-function, redisplay-unhighlight-region-function)
16245 (redisplay-highlight-region-function): Use them to handle
16246 rectangular region.
16247 * simple.el (region-extract-function): New var.
16248 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16249 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16250 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16251 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16252 (redisplay-unhighlight-region-function)
16253 (redisplay-highlight-region-function): New vars.
16254 (redisplay--update-region-highlight): New function.
16255 (pre-redisplay-function): Use it.
16256 (exchange-point-and-mark): Don't deactivate the mark before
16257 reactivate-it anyway.
16258 * comint.el (comint-kill-region): Remove yank-handler argument.
16259 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16260 (delete-char): Remove property, since it's now part of their
16261 default behavior.
16262 (self-insert-iso): Remove property since this command doesn't exist.
16263
16264 * emacs-lisp/package.el (package--download-one-archive)
16265 (describe-package-1): Don't query the user about final newline.
16266
16267 2013-10-29 Daniel Colascione <dancol@dancol.org>
16268
16269 * net/tramp.el (tramp-methods): Document new functionality.
16270 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16271 tramp-hostname-checker if method provides one instead of scanning
16272 argument list for "%h" to decide hostname acceptability.
16273
16274 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16275
16276 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16277 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16278 Handle COPY-CONTENTS. (Bug#15737)
16279
16280 2013-10-28 Daiki Ueno <ueno@gnu.org>
16281
16282 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16283 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16284
16285 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16286
16287 * image.el (defimage, image-load-path): Doc fixes.
16288
16289 2013-10-27 Alan Mackenzie <acm@muc.de>
16290
16291 Indent statements in macros following "##" correctly.
16292 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16293 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16294
16295 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16296
16297 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16298
16299 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16300
16301 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16302 after `=' is probably a new expression.
16303
16304 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16305
16306 * man.el (man-imenu-title): New option.
16307 (Man-mode-map): Add menu. (Bug#15722)
16308 (Man-mode): Add imenu to menu.
16309
16310 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16311
16312 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16313 specific in what the first arg can be: a non-keyword word,
16314 string/regexp/percent literal opener, opening paren, or unary
16315 operator followed directly by word.
16316
16317 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16320 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16321 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16322 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16323 Remove vars, they do not apply any more.
16324 (prolog-mode-abbrev-table): Remove redundant declaration.
16325 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16326 (prolog-use-smie): Remove.
16327 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16328 supported by prolog-electric-if-then-else-flag.
16329 (prolog-mode-variables, prolog-menu): Use setq-local.
16330 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16331 Remove binding to `Backspace' since this key doesn't exist anyway.
16332 Remove bindings for electric self-inserting keys.
16333 (prog-mode): Assume it's defined.
16334 (prolog-post-self-insert): New function.
16335 (prolog-mode): Use it.
16336 (prolog-indent-line, prolog-indent-level)
16337 (prolog-find-indent-of-matching-paren)
16338 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16339 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16340 (prolog-goto-next-paren, prolog-in-string-or-comment)
16341 (prolog-tokenize, prolog-inside-mline-comment)
16342 (prolog-find-start-of-mline-comment): Remove functions.
16343 (prolog-find-unmatched-paren, prolog-clause-end)
16344 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16345 (prolog-electric--if-then-else): Rename from
16346 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16347 (prolog-tokenize-searchkey): Remove const.
16348 (prolog-clause-info): Use forward-sexp.
16349 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16350 (prolog-electric-if-then-else): Remove commands.
16351 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16352 for use in post-self-insert-hook.
16353 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16354 for use in post-self-insert-hook.
16355 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16356 for use in post-self-insert-hook.
16357 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16358 adapt it for use in post-self-insert-hook.
16359
16360 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16361
16362 * emacs-lisp/ert.el (ert-run-tests-interactively):
16363 Use `completing-read'. (Bug#9756)
16364
16365 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16366
16367 * simple.el (line-move): Call line-move-1 instead of
16368 line-move-visual when the current window hscroll is zero, but
16369 temporary-goal-column indicates we will need to hscroll as result
16370 of the movement. (Bug#15712)
16371
16372 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16373
16374 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16375 capitalization. Use :visible instead of :active.
16376 Fix `ruby-indent-exp' reference. Add menu items for the generic
16377 commands that are used with SMIE.
16378 (ruby-do-end-to-brace): Insert space after `{'.
16379
16380 2013-10-25 John Anthony <john@jo.hnanthony.com>
16381
16382 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16383
16384 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16385
16386 2013-10-25 Glenn Morris <rgm@gnu.org>
16387
16388 * vc/vc.el (vc-print-log): Don't use a working revision unless
16389 one was explicitly specified. (Bug#15322)
16390
16391 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * subr.el (add-to-list): Preserve return value in compiler-macro
16394 (bug#15692).
16395
16396 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16397
16398 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16399 result. Ask user to retry using '-all' flag. (Bug#15701)
16400
16401 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16402
16403 * emacs-lisp/smie.el: New smie-config system.
16404 (smie-config): New defcustom.
16405 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16406 (smie-config-guess, smie-config-save): New commands.
16407 (smie-config--mode-local, smie-config--buffer-local)
16408 (smie-config--trace, smie-config--modefuns): New vars.
16409 (smie-config--advice, smie-config--mode-hook)
16410 (smie-config--setter, smie-config-local, smie-config--get-trace)
16411 (smie-config--guess-value, smie-config--guess): New functions.
16412 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16413 text properties. Treat "string fence" syntax like string syntax.
16414
16415 * progmodes/sh-script.el (sh-use-smie): Change default.
16416 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16417 (sh-var-value): Simplify by CSE.
16418 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16419 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16420 is used.
16421 (sh-guess-basic-offset): Use cl-incf.
16422 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16423
16424 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16425
16426 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16427 (bug#15699).
16428
16429 2013-10-24 Glenn Morris <rgm@gnu.org>
16430
16431 * Makefile.in (abs_top_srcdir): Remove.
16432 (update-subdirs): Use relative path to update-subdirs.
16433
16434 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16435
16436 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16437 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16438 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16439 Call unmsys--file-name before expand-file-name, not after it.
16440
16441 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16442
16443 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16444 (ert-test-skipped): New error.
16445 (ert-skip, ert-stats-skipped): New defuns.
16446 (ert--skip-unless): New macro.
16447 (ert-test-skipped): New struct.
16448 (ert--run-test-debugger, ert-test-result-type-p)
16449 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16450 (ert--stats-set-test-and-result, ert-char-for-test-result)
16451 (ert-string-for-test-result, ert-run-tests-batch)
16452 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16453 Handle skipped tests. (Bug#9803)
16454
16455 2013-10-24 Glenn Morris <rgm@gnu.org>
16456
16457 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16458
16459 * Makefile.in (abs_top_srcdir): New, set by configure.
16460 (update-subdirs): Correct build-aux location.
16461
16462 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16463
16464 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16465 value, whether we could auto-deduce `backend', or not.
16466
16467 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16468 with parameters" example. Simplify the "is it block or is it
16469 hash" check, but also make it more thorough.
16470
16471 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16472
16473 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16474
16475 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16476
16477 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16478 { if it is hanging.
16479
16480 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16481 :before ";".
16482
16483 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16484
16485 * progmodes/compile.el (compilation-directory-matcher)
16486 (compilation-page-delimiter):
16487 Support GNU Make-4.0 directory quoting. (Bug#15678)
16488
16489 2013-10-23 Leo Liu <sdl.web@gmail.com>
16490
16491 * ido.el (ido-tidy): Handle read-only text.
16492
16493 2013-10-23 Glenn Morris <rgm@gnu.org>
16494
16495 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16496 (emacs, compile, compile-always):
16497 Quote entities that might contain whitespace.
16498 (custom-deps, finder-data, autoloads): Use abs_lisp.
16499 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16500 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16501 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16502
16503 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16504
16505 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16506 Use `following-char'.
16507
16508 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16509
16510 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16511 * progmodes/ruby-mode.el (ruby-smie-rules):
16512 Remove corresponding workaround. Fix indentation rule of ";" so it
16513 also applies when ";" is the parent.
16514
16515 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16516
16517 * frame.el (display-screens, display-pixel-height)
16518 (display-pixel-width, display-mm-width, display-backing-store)
16519 (display-save-under, display-planes, display-color-cells)
16520 (display-visual-class, display-monitor-attributes-list):
16521 Mention the optional ‘display’ argument in doc strings.
16522
16523 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16524
16525 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16526 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16527
16528 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16529
16530 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16531 TODO. Add "." after " @ ".
16532 (ruby-smie--at-dot-call): New function. Checks if point at method
16533 call with explicit target.
16534 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16535 to the method name tokens when it precedes them.
16536 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16537 (ruby-smie-rules): Add rule for indentation before and after "."
16538 token.
16539
16540 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * textmodes/remember.el (remember-diary-extract-entries):
16543 Avoid add-to-list.
16544
16545 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16546 an instruction.
16547
16548 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16549
16550 * progmodes/ruby-mode.el (ruby-smie-grammar):
16551 Add (almost) all infix operators.
16552 (ruby-smie--implicit-semi-p): Add new operator chars.
16553
16554 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16555 `smie-down-list'.
16556 (ruby-smie--args-separator-p): Check that there's no newline
16557 between method call and its arguments.
16558
16559 2013-10-20 Alan Mackenzie <acm@muc.de>
16560
16561 Allow comma separated lists after Java "implements".
16562
16563 * progmodes/cc-engine.el (c-backward-over-enum-header):
16564 Parse commas.
16565 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16566 from a "disallowed" list in enum fontification.
16567
16568 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16569
16570 * startup.el (default-frame-background-mode): Remove unused defvar.
16571
16572 * progmodes/verilog-mode.el (verilog-mode): Don't set
16573 comment-indent-function globally.
16574
16575 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16576
16577 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16578 Move Info menu item creation to ns-win.el.
16579
16580 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16581 in menu bar.
16582
16583 * menu-bar.el: Move GNUstep specific menus...
16584
16585 * term/ns-win.el (ns-initialize-window-system): ... to here.
16586
16587 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16588
16589 * simple.el (newline): Only run post-self-insert-hook when
16590 called interactively.
16591
16592 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16593
16594 * icomplete.el (icomplete-with-completion-tables): Add :version.
16595
16596 2013-10-19 Alan Mackenzie <acm@muc.de>
16597
16598 Fix fontification bugs with constructors and const.
16599
16600 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16601 CASE 2) Remove the check for the absence of a suffix construct
16602 after a function declaration with only types (no identifiers) in
16603 the parentheses. Also, accept a function declaration with just a
16604 type inside the parentheses, if this type can be positively
16605 recognised as such, or if a prefix keyword like "explicit" nails
16606 down the construct as a declaration.
16607
16608 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16609
16610 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16611 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16612 the problem whereby selecting a menu item that leads to a
16613 minibuffer prompt moves the cursor out of the minibuffer window,
16614 making it hard to type at the prompt. Suggested by Stefan Monnier
16615 <monnier@iro.umontreal.ca>.
16616
16617 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16618
16619 * menu-bar.el: Don't make Services menu.
16620
16621 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16622
16623 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16624 (ffap-alist): Use ffap-c++-mode for c++-mode.
16625 (ffap-c++-path): New variable.
16626 (ffap-c++-mode): New function.
16627
16628 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
16629
16630 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
16631
16632 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
16633
16634 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16635 introduced on 2013-09-08, which results in an infinite loop
16636 requesting a password.
16637
16638 2013-10-18 Glenn Morris <rgm@gnu.org>
16639
16640 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16641
16642 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
16643
16644 Sync with upstream verilog-mode revision 1a6ecec7.
16645 * progmodes/verilog-mode.el (verilog-mode-version): Update.
16646 (verilog-mode-release-date): Remove.
16647 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16648 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16649 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16650 (verilog-auto-tieoff-ignore-regexp)
16651 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16652 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16653 (verilog-signals-with, verilog-dir-cache-preserving)
16654 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16655 Doc fixes.
16656 (verilog-case-fold): New option, to control case folding in
16657 regexp searches, bug597.
16658 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16659 (verilog-string-match-fold, verilog-in-paren-count)
16660 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16661 (verilog-at-close-struct-p): New functions.
16662 (verilog-beg-block-re-ordered, verilog-extended-case-re)
16663 (verilog-forward-sexp, verilog-set-auto-endcomments)
16664 (verilog-leap-to-case-head): Handle "unique0" case.
16665 (verilog-in-constraint-re): New constant.
16666 (verilog-keywords, verilog-type-font-keywords):
16667 Add some SystemVerilog 1800-2012 keywords.
16668 (verilog-label-be): Remove unimplemented argument, bug669.
16669 (verilog-batch-execute-func): When batch expanding clear
16670 create-lockfiles to prevent spurious user locks when a file ends
16671 up not changing.
16672 (verilog-calculate-indent, verilog-calc-1)
16673 (verilog-at-close-constraint-p, verilog-at-constraint-p)
16674 (verilog-do-indent): Fix indentation of nested constraints
16675 and structures.
16676 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16677 (verilog-auto-inst-param): Use verilog-string-match-fold.
16678 (verilog-read-inst-module-matcher):
16679 Fix AUTOINST on gate primitives with #1.
16680 (verilog-read-decls): Fix double-declaring user-defined typed signals.
16681 Reads all user-defined typed variables.
16682 (verilog-read-defines): Fix reading definitions inside comments, bug647.
16683 (verilog-signals-matching-regexp)
16684 (verilog-signals-not-matching-regexp, verilog-auto):
16685 Respect verilog-case-fold.
16686 (verilog-diff-report): Fix line count.
16687 (verilog-auto-assign-modport): Remove unused local `modi'.
16688 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16689 better handle multidimensional arrays.
16690 Fix packed array ports misadding bit index in AUTOINST, bug637.
16691 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16692 to not double-declare existing outputs and inputs, respectively.
16693 (verilog-template-map): Bind U to verilog-sk-uvm-component.
16694 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16695 (verilog-sk-uvm-component): New skeleton.
16696 (verilog-submit-bug-report): Add verilog-case-fold,
16697 remove verilog-mode-release-date.
16698
16699 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
16700
16701 * subr.el (sit-for): Call (input-pending-p t) so as to behave
16702 as before.
16703
16704 2013-10-18 Reuben Thomas <rrt@sc3d.org>
16705
16706 * textmodes/remember.el (remember): Set buffer-offer-save in
16707 remember buffers (bug#13566).
16708
16709 2013-10-18 Daniel Colascione <dancol@dancol.org>
16710
16711 When evaluating forms in ielm, direct standard output to ielm
16712 buffer. Add new ielm-return-for-effect command. Remove trailing
16713 whitespace throughout.
16714
16715 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16716 (ielm-return-for-effect): New command.
16717 (ielm-send-input): Accept optional `for-effect' parameter.
16718 (ielm-eval-input): Accept optional `for-effect' parameter.
16719 Bind `standard-output' to stream we create using
16720 `ielm-standard-output-impl'. Suppress printing result when
16721 `for-effect'.
16722 (ielm-standard-output-impl): New function.
16723 (inferior-emacs-lisp-mode): Explain new features in documentation.
16724
16725 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
16726
16727 Code cleanup.
16728
16729 * net/tramp.el (tramp-debug-message): Do not check for connection
16730 buffer.
16731 (tramp-message): Use "vector" connection property.
16732
16733 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16734 (tramp-equal-remote, tramp-eshell-directory-change)
16735 * net/tramp-adb.el (tramp-adb-handle-copy-file)
16736 (tramp-adb-handle-rename-file)
16737 * net/tramp-cmds.el (tramp-list-remote-buffers)
16738 (tramp-cleanup-connection, tramp-cleanup-this-connection)
16739 * net/tramp-compat.el (tramp-compat-process-running-p)
16740 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16741 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16742 (tramp-gvfs-handle-rename-file)
16743 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16744 (tramp-set-file-uid-gid)
16745 * net/tramp-smb.el (tramp-smb-handle-copy-file)
16746 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16747 of `file-remote-p'.
16748
16749 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16750 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16751 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16752 (tramp-gw-open-network-stream): Suppress unrelated traces.
16753
16754 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16755 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16757 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16758 connection property.
16759
16760 * net/tramp-cache.el (top): Suppress traces when reading
16761 persistency file.
16762
16763 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16764 Refactor common code. Improve debug message.
16765 (tramp-maybe-open-connection)
16766 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16767 connection buffer too early.
16768
16769 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16770 from `tramp-smb-actions-with-acl'.
16771 (tramp-smb-actions-set-acl): New defconst.
16772 (tramp-smb-handle-copy-directory)
16773 (tramp-smb-action-get-acl): New defun, renamed from
16774 `tramp-smb-action-with-acl'.
16775 (tramp-smb-action-set-acl): New defun.
16776 (tramp-smb-handle-set-file-acl): Rewrite.
16777
16778 2013-10-17 Glenn Morris <rgm@gnu.org>
16779
16780 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
16781
16782 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16783
16784 * skeleton.el (skeleton-newline): Remove.
16785 (skeleton-internal-1): Use (insert "\n") instead.
16786
16787 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16788 let-bindings.
16789
16790 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16791 forward-sexp-function while we redo its job (bug#15613).
16792
16793 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
16794
16795 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16796 represented by lists.
16797
16798 2013-10-16 Glenn Morris <rgm@gnu.org>
16799
16800 * tmm.el (tmm--history): New dynamic variable.
16801 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
16802
16803 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
16804
16805 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16806 (tramp-smb-errors): Add error messages.
16807 (tramp-smb-actions-with-acl): New defconst.
16808 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16809 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16810 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16811 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16812 (tramp-smb-get-stat-capability): Fix tests.
16813
16814 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
16815
16816 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16817 (bug#15580).
16818
16819 2013-10-16 Glenn Morris <rgm@gnu.org>
16820
16821 * ansi-color.el (ansi-color-drop-regexp):
16822 Add 1J, 1K, 2K. (Bug#15617)
16823
16824 * files.el (hack-local-variables--warned-lexical): New.
16825 (hack-local-variables):
16826 Warn about misplaced lexical-binding. (Bug#15616)
16827
16828 * net/eww.el (eww-render): Always set eww-current-url,
16829 and update header line. (Bug#15622)
16830 (eww-display-html): ... Rather than just doing it here.
16831
16832 2013-10-15 Eli Zaretskii <eliz@gnu.org>
16833
16834 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16835 menu navigations commands.
16836
16837 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
16838
16839 * progmodes/subword.el (subword-capitalize): Be careful when
16840 the search for [[:alpha:]] fails (bug#15580).
16841
16842 2013-10-14 Eli Zaretskii <eliz@gnu.org>
16843
16844 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16845 to commands that scroll the menu.
16846
16847 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16848
16849 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16850 Handle methods ending with `?' and `!'.
16851
16852 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16853
16854 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16855 `japanese-cp932' to `cp932' to fix the problem where saving a
16856 source file written in Shift_JIS twice would end up having
16857 `coding: japanese-cp932' which Ruby could not recognize.
16858 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16859 in `ruby-encoding-map'.
16860 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16861 doesn't need to be explicitly declared in magic comment.
16862 (ruby-encoding-map): Add type declaration for better customize UI.
16863
16864 2013-10-13 Glenn Morris <rgm@gnu.org>
16865
16866 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16867 Occur buffers are read-only. http://bugs.debian.org/720775
16868
16869 * emacs-lisp/authors.el (authors-fixed-entries):
16870 Comment out old alpha stuff.
16871
16872 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16873
16874 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16875 to `after-save-hook' instead of `before-save-hook'.
16876 (ruby-mode-set-encoding): Use the value of coding system used to
16877 write the file. Call `basic-save-buffer-1' after modifying the
16878 buffer.
16879
16880 2013-10-13 Alan Mackenzie <acm@muc.de>
16881
16882 Fix indentation/fontification of Java enum with
16883 "implements"/generic.
16884
16885 * progmodes/cc-engine.el (c-backward-over-enum-header):
16886 Extracted from the three other places and enhanced to handle generics.
16887 (c-inside-bracelist-p): Uses new function above.
16888 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16889 function above.
16890 (c-font-lock-enum-tail): Uses new function above.
16891
16892 2013-10-13 Kenichi Handa <handa@gnu.org>
16893
16894 * international/mule-cmds.el (select-safe-coding-system): Remove a
16895 superfluous condition in chekcing whether a coding system is safe
16896 or not.
16897
16898 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16899
16900 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16901
16902 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16903
16904 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16905
16906 2013-10-13 Glenn Morris <rgm@gnu.org>
16907
16908 * menu-bar.el (menu-bar-update-buffers):
16909 Unify Buffers menu prompt string. (Bug#15576)
16910
16911 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
16912
16913 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16914 Add some entries.
16915 (authors-fixed-entries): Use accented form of name.
16916
16917 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16920 method calls (bug#15594).
16921 (ruby-smie--args-separator-p): New function.
16922 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16923 recognize paren-free method calls.
16924
16925 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16926 internals of universal-argument.
16927
16928 2013-10-11 Eli Zaretskii <eliz@gnu.org>
16929
16930 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16931 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16932 dropped menu on second mouse click on the menu bar.
16933
16934 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16935
16936 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16937 (explicit-shell-file-name): Declare.
16938 (sh--vars-before-point, sh--cmd-completion-table): New functions.
16939 (sh-completion-at-point-function): New function.
16940 (sh-mode): Use it.
16941 (sh-smie--keyword-p): Remove unused argument.
16942 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16943 vars.
16944 (sh-set-shell): Always setup SMIE, even if we use the
16945 old indentation code.
16946
16947 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
16948
16949 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16950 cases of ? and =.
16951 (ruby-smie-rules): Simplify the "do" rule. The cases when the
16952 predicate would return nil are almost non-existent.
16953 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16954
16955 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16956 cache also after commands that modify the buffer but don't move
16957 point.
16958
16959 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * env.el (substitute-env-in-file-name): New function.
16962 (substitute-env-vars): Extend the meaning of the optional arg.
16963
16964 2013-10-10 Eli Zaretskii <eliz@gnu.org>
16965
16966 * term/w32-win.el (dynamic-library-alist): Define separate lists
16967 of GIF DLLs for versions before and after 5.0.0 of giflib.
16968 (Bug#15531)
16969
16970 2013-10-10 João Távora <joaotavora@gmail.com>
16971
16972 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16973 not locked, use last revision and current source as
16974 defaults. (Bug#15569)
16975
16976 2013-10-10 Masatake YAMATO <yamato@redhat.com>
16977
16978 * menu-bar.el (menu-bar-open): Don't use popup-menu if
16979 menu-bar is hidden.
16980
16981 2013-10-10 Martin Rudalics <rudalics@gmx.at>
16982
16983 * window.el (pop-to-buffer-same-window): Fix doc-string.
16984 (Bug#15492)
16985
16986 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16987
16988 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16989
16990 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
16991
16992 * calendar/icalendar.el (icalendar-import-file):
16993 Fix interactive spec. (Bug#15482)
16994
16995 2013-10-10 Glenn Morris <rgm@gnu.org>
16996
16997 * desktop.el (desktop-save): Default to saving in .emacs.d,
16998 since PWD is no longer in desktop-path by default. (Bug#15319)
16999
17000 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17001 now that text mode has a menu with the same entry.
17002 (menu-bar-text-mode-auto-fill): Remove now unused func.
17003 * textmodes/text-mode.el (text-mode-map):
17004 Use auto-fill help text from menu-bar.el.
17005
17006 2013-10-10 John Anthony <john@jo.hnanthony.com>
17007
17008 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17009
17010 2013-10-09 Juri Linkov <juri@jurta.org>
17011
17012 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17013 instead of this-command-keys. Add universal-argument-more and
17014 universal-argument-minus to the list of prefix commands. (Bug#15568)
17015
17016 2013-10-09 Glenn Morris <rgm@gnu.org>
17017
17018 * vc/vc-svn.el (vc-svn-create-repo):
17019 Expand paths in file://... url. (Bug#15446)
17020
17021 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17022 Add some entries.
17023 (authors): Remove unused local variables.
17024
17025 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17026
17027 * profiler.el: Create a more coherent calltree from partial backtraces.
17028 (profiler-format): Hide the tail with `invisible' so that C-s can still
17029 find the hidden elements.
17030 (profiler-calltree-depth): Don't recurse so enthusiastically.
17031 (profiler-function-equal): New hash-table-test.
17032 (profiler-calltree-build-unified): New function.
17033 (profiler-calltree-build): Use it.
17034 (profiler-report-make-name-part): Indent the calltree less.
17035 (profiler-report-mode): Add visibility specs for profiler-format.
17036 (profiler-report-expand-entry, profiler-report-toggle-entry):
17037 Expand the whole subtree when provided with a prefix arg.
17038
17039 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17040
17041 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17042 iuwu-mod token.
17043 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17044 hanging iuwu-mod token.
17045 (ruby-smie--forward-token): Do not include a dot after a token in
17046 that token.
17047 (ruby-smie--backward-token): Likewise.
17048
17049 2013-10-08 Juri Linkov <juri@jurta.org>
17050
17051 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17052 to isearch-other-control-char.
17053 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17054 and isearch-post-command-hook to post-command-hook.
17055 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17056 and isearch-post-command-hook from post-command-hook.
17057 (isearch-unread-key-sequence)
17058 (isearch-reread-key-sequence-naturally)
17059 (isearch-lookup-scroll-key, isearch-other-control-char)
17060 (isearch-other-meta-char): Remove functions.
17061 (isearch-pre-command-hook, isearch-post-command-hook):
17062 New functions based on isearch-other-meta-char rewritten
17063 relying on the new behavior of overriding-terminal-local-map
17064 that does not replace the local keymaps any more. (Bug#15200)
17065
17066 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17067
17068 Support menus on text-mode terminals.
17069 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17070 functionality.
17071
17072 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17073
17074 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17075 Move here from mouse.el.
17076 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17077 and arrow keys.
17078 (tty-menu-navigation-map): New map for TTY menu navigation.
17079
17080 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17081
17082 * frame.el (display-mouse-p): Report text-mode mouse as available
17083 on w32.
17084 (display-popup-menus-p): Report availability if mouse is
17085 available; don't condition on window-system.
17086
17087 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17088 (tty-menu-selected-face): New faces.
17089
17090 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17091
17092 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17093 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17094 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17095 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17096 New constants.
17097 (lisp-mode-variables): New `elisp' argument.
17098 (emacs-lisp-mode): Use it.
17099 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17100 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17101
17102 * indent.el: Use lexical-binding.
17103 (indent-region): Add progress reporter.
17104 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17105 last step.
17106 (indent--next-tab-stop): New function to implement this behavior.
17107 (tab-to-tab-stop, move-to-tab-stop): Use it.
17108
17109 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17110
17111 * indent.el (indent-rigidly--current-indentation): New function.
17112 (indent-rigidly-map): New var.
17113 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17114
17115 2013-10-08 Bastien Guerry <bzg@gnu.org>
17116
17117 * register.el (insert-register): Fix 2013-10-07 change.
17118
17119 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17120
17121 * progmodes/perl-mode.el: Use lexical-binding.
17122 Remove redundant :group args.
17123 (perl-nochange): Change default to be closer to other major modes's
17124 standard behavior.
17125 (perl-indent-line): Don't consider text on current line as a
17126 valid beginning of function from which to indent.
17127
17128 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17129 with more than one argument (bug#15538).
17130
17131 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17132
17133 * vc/pcvs.el: Use lexical-binding.
17134 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17135 environment of `eval'.
17136 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17137 than a list of expressions. Adjust callers.
17138 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17139
17140 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17141
17142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17143 case of the dot in a chained method call being on the following line.
17144
17145 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17146
17147 * electric.el (electric-indent-inhibit): New var.
17148 (electric-indent-post-self-insert-function): Use it.
17149 * progmodes/python.el (python-mode): Set it.
17150
17151 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17152 open braces.
17153
17154 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17155
17156 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17157 (css-mode): Use electric-indent-chars.
17158
17159 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17160 (font-lock-beg, font-lock-end): Move before first use.
17161 (nxml-mode): Use syntax-propertize-function.
17162 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17163 (nxml-extend-after-change-region): Remove.
17164 * nxml/xmltok.el: Use lexical-binding.
17165 (xmltok-save): Use `declare'.
17166 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17167 * nxml/nxml-util.el: Use lexical-binding.
17168 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17169 Use `declare'.
17170 * nxml/nxml-ns.el: Use lexical-binding.
17171 (nxml-ns-save): Use `declare'.
17172 (nxml-ns-prefixes-for): Avoid add-to-list.
17173 * nxml/rng-match.el: Use lexical-binding.
17174 (rng--ipattern): Use cl-defstruct.
17175 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17176 (rng-cons-group-after, rng-subst-group-after)
17177 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17178 Use closures instead of `(lambda...).
17179
17180 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17181
17182 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17183 of BEG and END.
17184
17185 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17186 Use `tramp-handle-insert-file-contents'.
17187 (tramp-gvfs-handle-insert-file-contents): Remove function.
17188
17189 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17190 Use `save-restriction' in order to keep markers.
17191
17192 * net/trampver.el: Update release number.
17193
17194 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17195
17196 * progmodes/compile.el (compilation-parse-errors):
17197 Use compilation--put-prop.
17198 (compilation--ensure-parse): Check compilation-multiline.
17199
17200 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17201
17202 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17203 lexical-binding.
17204
17205 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17206
17207 * progmodes/ruby-mode.el: Fix recently added tests.
17208 (ruby-smie-grammar): Add - and +.
17209 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17210 (ruby-smie--backward-id): New functions.
17211 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17212 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17213 any more.
17214
17215 2013-10-07 Leo Liu <sdl.web@gmail.com>
17216
17217 * register.el (register-preview-delay)
17218 (register-preview-functions): New variables.
17219 (register-read-with-preview, register-preview)
17220 (register-describe-oneline): New functions.
17221 (point-to-register, window-configuration-to-register)
17222 (frame-configuration-to-register, jump-to-register)
17223 (number-to-register, view-register, insert-register)
17224 (copy-to-register, append-to-register, prepend-to-register)
17225 (copy-rectangle-to-register): Use register-read-with-preview to
17226 read register. (Bug#15525)
17227
17228 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17229
17230 * net/network-stream.el (network-stream-open-starttls): Don't add
17231 --insecure if it's already present, because that gnutls-cli
17232 rejects getting that parameter twice.
17233
17234 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17235
17236 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17237 keyword, too.
17238
17239 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17240
17241 * newcomment.el (comment-use-global-state): Change default value
17242 to t, mark obsolete (Bug#15251).
17243 (comment-beginning): In addition to `comment-to-syntax', check the
17244 value of `comment-use-global-state'.
17245
17246 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17247
17248 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17249 (ruby-comment-column): Follow the global default, by default.
17250 (ruby-smie-grammar): Add assignment syntax.
17251 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17252 open-paren, a comma, or a \.
17253 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17254 and line continuations.
17255 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17256 followed by implicit semi-colons. Add rule for string concatenation
17257 and for indentation at BOB.
17258 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17259
17260 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17261 calling next-sexp, since next-token may have skipped chars which
17262 next-sexp doesn't know should be skipped!
17263
17264 2013-10-05 Leo Liu <sdl.web@gmail.com>
17265
17266 * progmodes/octave.el (octave-send-region):
17267 Call compilation-forget-errors.
17268
17269 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17270
17271 * vc/vc-svn.el (vc-svn-find-admin-dir):
17272 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17273 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17274 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17275 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17276
17277 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17278
17279 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17280
17281 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17282
17283 * subr.el (read-passwd): Hide chars even when called within a context
17284 where after-change-functions is disabled (bug#15501).
17285 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17286 until we removed ourself from overriding-terminal-local-map.
17287
17288 2013-10-04 Leo Liu <sdl.web@gmail.com>
17289
17290 * progmodes/octave.el (inferior-octave-mode):
17291 Call compilation-forget-errors.
17292
17293 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17294
17295 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17296
17297 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17298
17299 * net/secrets.el (secrets-create-collection): Add optional
17300 argument ALIAS. Use proper Label keyword. Append ALIAS as
17301 dbus-call-method argument. (Bug#15516)
17302
17303 2013-10-04 Leo Liu <sdl.web@gmail.com>
17304
17305 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17306 (inferior-octave-compilation-font-lock-keywords): New variables.
17307 (compilation-error-regexp-alist)
17308 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17309 (inferior-octave-mode): Use compilation-shell-minor-mode.
17310
17311 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17312
17313 * minibuffer.el (completion--replace): Be careful that `end' might be
17314 a marker.
17315
17316 2013-10-03 Daiki Ueno <ueno@gnu.org>
17317
17318 Add support for package signature checking.
17319 * emacs-lisp/package.el (url-http-file-exists-p)
17320 (epg-make-context, epg-context-set-home-directory)
17321 (epg-verify-string, epg-context-result-for)
17322 (epg-signature-status, epg-signature-to-string)
17323 (epg-check-configuration, epg-configuration)
17324 (epg-import-keys-from-file): Declare.
17325 (package-check-signature): New user option.
17326 (package-unsigned-archives): New user option.
17327 (package-desc): Add `signed' field.
17328 (package-load-descriptor): Set `signed' field if .signed file exists.
17329 (package--archive-file-exists-p): New function.
17330 (package--check-signature): New function.
17331 (package-install-from-archive): Check package signature.
17332 (package--download-one-archive): Check archive signature.
17333 (package-delete): Remove .signed file.
17334 (package-import-keyring): New command.
17335 (package-refresh-contents): Import default keyring.
17336 (package-desc-status): Add "unsigned" status.
17337 (describe-package-1, package-menu--print-info)
17338 (package-menu-mark-delete, package-menu--find-upgrades)
17339 (package-menu--status-predicate): Support "unsigned" status.
17340
17341 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17342
17343 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17344 the new compilation scheme using the new byte-codes.
17345
17346 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17347 (byte-pophandler): New byte codes.
17348 (byte-goto-ops): Adjust accordingly.
17349 (byte-compile--use-old-handlers): New var.
17350 (byte-compile-catch): Use new byte codes depending on
17351 byte-compile--use-old-handlers.
17352 (byte-compile-condition-case--old): Rename from
17353 byte-compile-condition-case.
17354 (byte-compile-condition-case--new): New function.
17355 (byte-compile-condition-case): New function that dispatches depending
17356 on byte-compile--use-old-handlers.
17357 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17358 when we can.
17359
17360 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17361 Optimize under `condition-case' and `catch' if
17362 byte-compile--use-old-handlers is nil.
17363 (disassemble-offset): Handle new bytecodes.
17364
17365 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17366
17367 * subr.el (error): Use `declare'.
17368 (decode-char, encode-char): Use advertised-calling-convention instead
17369 of the docstring to discourage use of the `restriction' arg.
17370
17371 2013-10-03 Daiki Ueno <ueno@gnu.org>
17372
17373 * epg.el (epg-verify-file): Add a comment saying that it does not
17374 notify verification error as a return value nor a signal.
17375 (epg-verify-string): Ditto.
17376
17377 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17378
17379 * progmodes/compile.el (compilation-start): Try globbing the arg to
17380 `cd' (bug#15417).
17381
17382 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17383
17384 Sync with Tramp 2.2.8.
17385
17386 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17387 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17388 * net/trampver.el: Update release number.
17389
17390 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17391
17392 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17393 and default-process-coding-system for darwin only.
17394
17395 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17396
17397 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17398
17399 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17400
17401 * vc/vc-git.el (vc-git-grep): Disable pager.
17402
17403 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17404
17405 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17406 Use :url instead of :homepage, as per
17407 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17408
17409 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17410 non-nil, use `syntax-ppss' (Bug#15251).
17411
17412 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17413
17414 * progmodes/octave.el (inferior-octave-startup-file):
17415 Prefer ~/.emacs.d/init_octave.m.
17416
17417 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17418
17419 * emacs-lisp/package.el (package-desc-from-define):
17420 Accept additional arguments as plist, convert them to an alist and store
17421 them in the `extras' slot.
17422 (package-generate-description-file): Convert extras alist back to
17423 plist and append to the `define-package' form arguments.
17424 (package--alist-to-plist): New function.
17425 (package--ac-desc): Add `extras' slot.
17426 (package--add-to-archive-contents): Check if the archive-contents
17427 vector is long enough, and if it is, pass its `extras' slot value
17428 to `package-desc-create'.
17429 (package-buffer-info): Call `lm-homepage', pass the returned value
17430 to `package-desc-from-define'.
17431 (describe-package-1): Render the homepage button (Bug#13291).
17432
17433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17434 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17435
17436 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17437
17438 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17439 and default-process-coding-system to utf-8-unix (Bug#15402).
17440
17441 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17442
17443 * subr.el (looking-back): Do not recommend using looking-back.
17444
17445 2013-09-28 Alan Mackenzie <acm@muc.de>
17446
17447 Fix indentation/fontification of Java enum with "implements".
17448
17449 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17450 regexp which matches "implements", etc., in Java.
17451 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17452 specifier clauses coming after "enum".
17453 * progmodes/cc-fonts.el (c-font-lock-declarations)
17454 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17455 after "enum".
17456
17457 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17458
17459 * faces.el (region): Change ns_selection_color to
17460 ns_selection_fg_color, add ns_selection_bg_color.
17461
17462 2013-09-28 Leo Liu <sdl.web@gmail.com>
17463
17464 * progmodes/octave.el (inferior-octave-completion-table)
17465 (inferior-octave-completion-at-point): Minor tweaks.
17466
17467 * textmodes/ispell.el (ispell-lookup-words): Rename from
17468 lookup-words. (Bug#15460)
17469 (lookup-words): Obsolete.
17470 (ispell-complete-word, ispell-command-loop): All uses changed.
17471
17472 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17473
17474 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17475 (octave-mode-menu): Add octave-send-buffer.
17476 (octave-send-buffer): New function.
17477
17478 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17479
17480 * progmodes/octave.el (octave-mode-map): Add key binding for
17481 octave-lookfor.
17482 (octave-mode-menu): Add octave-lookfor.
17483 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17484 octave-lookfor.
17485 (octave-lookfor): New function.
17486
17487 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17490 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17491 its convention.
17492 (cl--loop-set-iterator-function): New function.
17493 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17494 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17495 Bind `it' with `let' instead of substituting it with `cl-subst'.
17496 (cl--unused-var-p): New function.
17497 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17498 Eliminate some unused variable warnings (bug#15326).
17499
17500 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17501
17502 * doc-view.el (doc-view-scale-reset): Rename from
17503 `doc-view-reset-zoom-level'.
17504 (doc-view-scale-adjust): New command.
17505 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17506 `doc-view-scale-adjust'.
17507
17508 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17509
17510 * doc-view.el (doc-view-reset-zoom-level): New command.
17511 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17512 zoom commands (bug#15466).
17513
17514 2013-09-26 Kenichi Handa <handa@gnu.org>
17515
17516 * international/quail.el (quail-help): Make it not a command.
17517
17518 2013-09-26 Leo Liu <sdl.web@gmail.com>
17519
17520 * minibuffer.el (completion-all-sorted-completions): Make args
17521 optional as they are.
17522
17523 2013-09-25 Daniel Colascione <dancol@dancol.org>
17524
17525 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17526 specs are and that they're not evaluated.
17527
17528 2013-09-24 Sam Steingold <sds@gnu.org>
17529
17530 * midnight.el (clean-buffer-list-kill-regexps)
17531 (clean-buffer-list-kill-buffer-names): Update for the new Man
17532 buffer naming which includes the object name.
17533
17534 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17537 (eshell-parse-command, eshell-parse-pipeline): Use it since
17538 eshell-separate-commands requires a dynamic scoped var.
17539 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17540
17541 2013-09-23 Leo Liu <sdl.web@gmail.com>
17542
17543 * autoinsert.el (auto-insert-alist): Make the value of
17544 lexical-binding match its file setting.
17545
17546 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17547
17548 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17549
17550 * autoarg.el (autoarg-kp-digit-argument):
17551 * electric.el (Electric-command-loop):
17552 * kmacro.el (kmacro-step-edit-insert):
17553 Do not set universal-argument-num-events.
17554
17555 2013-09-22 Leo Liu <sdl.web@gmail.com>
17556
17557 * files.el (interpreter-mode-alist): Add octave.
17558
17559 2013-09-21 Alan Mackenzie <acm@muc.de>
17560
17561 C++: fontify identifier in declaration following "public:" correctly.
17562 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17563 to match "public", etc.
17564 (c-decl-prefix-re): Add ":" into the C++ value.
17565 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17566 bit. Add a check for a ":" preceded by "public", etc.
17567
17568 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17569
17570 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17571 recognized by GDB 7.5 and later.
17572
17573 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17574
17575 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17576
17577 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17578
17579 * subr.el (internal--call-interactively): New const.
17580 (called-interactively-p): Use it (bug#3984).
17581
17582 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17583
17584 * vc/pcvs.el (cvs-mode-ignore):
17585 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17586 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17587
17588 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17591 (eshell-ls-orig-insert-directory): Remove.
17592 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17593 (eshell-ls-use-in-dired): Use advice-add/remove.
17594 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17595 Add `orig-fun' arg for use in :around advice.
17596 Make it check (redundantly) eshell-ls-use-in-dired.
17597
17598 2013-09-19 Glenn Morris <rgm@gnu.org>
17599
17600 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17601
17602 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17603
17604 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17605
17606 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17607
17608 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17609 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17610 (tramp-get-remote-python): New defuns.
17611 (tramp-get-remote-uid-with-perl)
17612 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17613 contributed by yary <not.com@gmail.com> (tiny change).
17614 (tramp-get-remote-uid-with-python)
17615 (tramp-get-remote-gid-with-python): New defuns. Python code
17616 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17617 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17618
17619 2013-09-19 Glenn Morris <rgm@gnu.org>
17620
17621 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17622
17623 * eshell/em-unix.el (eshell-remove-entries):
17624 Rename argument to avoid name-clash with global `top-level'.
17625
17626 * eshell/esh-proc.el (eshell-kill-process-function):
17627 Remove eshell-reset-after-proc from eshell-kill-hook if present.
17628 (eshell-reset-after-proc): Remove unused arg `proc'.
17629
17630 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17631 (directory-files-and-attributes): Mark unused arg.
17632
17633 * eshell/em-unix.el (eshell-remove-entries):
17634 Remove unused arg `path'. Update callers.
17635
17636 * eshell/em-hist.el (eshell-hist-parse-arguments):
17637 Remove unused arg `silent'. Update callers.
17638
17639 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17640 Fix (f)boundp mix-up.
17641
17642 * eshell/em-smart.el (eshell-smart-scroll-window)
17643 (eshell-disable-after-change):
17644 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17645
17646 2013-09-18 Alan Mackenzie <acm@muc.de>
17647
17648 Fix fontification of type when followed by "const".
17649 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17650 "known" types from fontification.
17651
17652 2013-09-18 Glenn Morris <rgm@gnu.org>
17653
17654 * emacs-lisp/chart.el (x-display-color-cells): Declare.
17655 (chart-face-list): Drop Emacsen without display-color-p.
17656
17657 * net/eww.el (libxml-parse-html-region): Declare.
17658 (eww-display-html): Explicit error if no libxml2 support.
17659
17660 * doc-view.el (doc-view-mode): Silence --without-x compilation.
17661
17662 * image.el (image-type-from-buffer, image-multi-frame-p):
17663 Remove --without-x warning/error.
17664
17665 * mouse.el (mouse-yank-primary):
17666 * term.el (term-mouse-paste):
17667 Reorder to silence --without-x compilation.
17668
17669 * mpc.el (doc-view-mode): Silence --without-x compilation.
17670
17671 * mail/rmailmm.el (rmail-mime-set-bulk-data):
17672 Silence --without-x compilation.
17673
17674 * progmodes/gud.el (gud-find-file, gud-mode):
17675 Silence --without-x compilation.
17676 (tooltip-mode): Declare.
17677
17678 * wdired.el (dired-backup-overwrite): Remove declaration.
17679 (wdired-mode-map): Add doc string.
17680
17681 * custom.el (x-get-resource): Declare.
17682
17683 * eshell/em-glob.el (ange-cache):
17684 * eshell/em-unix.el (ange-cache): Declare.
17685
17686 * faces.el (x-display-list, x-open-connection, x-get-resource):
17687 Declare.
17688
17689 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17690 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17691 Declare.
17692
17693 * frame.el (x-display-grayscale-p, x-display-name): Declare.
17694
17695 * net/gnutls.el (gnutls-log-level): Declare.
17696
17697 * net/shr.el (image-size, image-animate): Declare.
17698
17699 * simple.el (font-info): Declare.
17700
17701 * subr.el (x-popup-dialog): Declare.
17702
17703 * term/common-win.el (x-select-enable-primary)
17704 (x-last-selected-text-primary, x-last-selected-text-clipboard):
17705 Declare.
17706
17707 * term/ns-win.el (x-handle-args): Declare.
17708
17709 * term/x-win.el (x-select-enable-clipboard): Declare.
17710
17711 * term/w32-win.el (create-default-fontset): Declare.
17712
17713 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17714 Declare.
17715
17716 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17717 (fit-frame-to-buffer): Explicit error if --without-x.
17718 (mouse-autoselect-window-select): Silence compiler.
17719
17720 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17721
17722 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17723 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17724 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17725 * eshell/esh-util.el (eshell-sublist):
17726 Remove unused local variables.
17727
17728 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17729
17730 * textmodes/two-column.el: Make 2C-split work for --without-x.
17731 (scroll-bar-columns): Autoload.
17732 (top-level): Require fringe when compiling.
17733
17734 2013-09-18 Leo Liu <sdl.web@gmail.com>
17735
17736 * subr.el (add-hook): Robustify to handle closure as well.
17737
17738 2013-09-17 Glenn Morris <rgm@gnu.org>
17739
17740 * simple.el (messages-buffer-mode-map): Unbind "g".
17741
17742 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17743
17744 * help-mode.el (help-mode-finish): Use derived-mode-p.
17745 Remove obsolete highlighting.
17746
17747 * play/life.el (life-mode): Use define-derived-mode. Derive from
17748 special-mode.
17749 (life): Let-bind inhibit-read-only.
17750 (life-setup): Avoid `setq'. Use `life-mode'.
17751
17752 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17753 which should not be needed any more.
17754 (package-menu-refresh, package-menu-describe-package): Use user-error.
17755
17756 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17757 (eshell-post-rewrite-command-hook): Make obsolete.
17758 (eshell-parse-command): Simplify.
17759 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17760 (eshell--cmd): Declare.
17761 (eshell-parse-pipeline): Remove unused var `final-p'.
17762 Pass a dynvar to eshell-post-rewrite-command-hook.
17763 Implement the new eshell-post-rewrite-command-function.
17764 (eshell-invoke-directly): Remove unused arg `input'.
17765 * eshell/esh-io.el (eshell-io-initialize):
17766 Use eshell-post-rewrite-command-function (bug#15399).
17767 (eshell--apply-redirections): Rename from eshell-apply-redirections;
17768 adjust to new calling convention.
17769 (eshell-create-handles): Rename args to avoid clashing with dynvar
17770 `standard-output'.
17771
17772 2013-09-17 Glenn Morris <rgm@gnu.org>
17773
17774 * simple.el (messages-buffer-mode): New major mode.
17775 (messages-buffer): New function.
17776 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17777 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17778 (ert-run-test): Use `messages-buffer' function.
17779 (ert--force-message-log-buffer-truncation): Ignore read-only.
17780 * help.el (view-echo-area-messages): Use `messages-buffer' function.
17781 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17782
17783 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17784
17785 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17786
17787 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17788
17789 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * icomplete.el (icomplete-in-buffer): New var.
17792 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17793 vars and replace them with functions.
17794 (icomplete-minibuffer-setup): Adjust accordingly.
17795 (icomplete--completion-table, icomplete--completion-predicate)
17796 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17797 New functions.
17798 (icomplete-forward-completions, icomplete-backward-completions)
17799 (icomplete-simple-completing-p, icomplete-exhibit)
17800 (icomplete-completions): Use them.
17801 (icomplete--in-region-buffer): New var.
17802 (icomplete--in-region-setup): New function.
17803 (icomplete-mode): Use it.
17804
17805 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17806 (bug#15379).
17807 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17808 return args and options.
17809 (eshell-eval-using-options): Use the new return value of
17810 eshell--do-opts to set the options's vars in their scope.
17811 (eshell--set-option): Rename from eshell-set-option.
17812 Add arg `opt-vals'.
17813 (eshell--process-option): Rename from eshell-process-option.
17814 Add arg `opt-vals'.
17815 (eshell--process-args): Use an `opt-vals' alist to store the options's
17816 values during their processing and return them additionally to the
17817 remaining args.
17818
17819 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
17820
17821 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17822 continuation character an operator, as far as indentation is
17823 concerned (Bug#15369).
17824
17825 2013-09-15 Martin Rudalics <rudalics@gmx.at>
17826
17827 * window.el (window--state-put-2): Don't process buffer state
17828 when buffer doesn't exist any more (Bug#15382).
17829
17830 2013-09-15 Glenn Morris <rgm@gnu.org>
17831
17832 * eshell/em-unix.el (eshell/rm):
17833 Make -f ignore missing files. (Bug#15373)
17834
17835 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
17836 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17837 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17838
17839 2013-09-14 Glenn Morris <rgm@gnu.org>
17840
17841 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17842
17843 2013-09-13 Glenn Morris <rgm@gnu.org>
17844
17845 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17846 (dired-guess-default): Make `file' available in the env. (Bug#15363)
17847
17848 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17849
17850 * frame.el (x-focus-frame): Mark as declared in frame.c.
17851
17852 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17853
17854 * ls-lisp.el: Use advice-add.
17855 (original-insert-directory): Remove.
17856 (ls-lisp--insert-directory): Rename from insert-directory; add
17857 `orig-fun' argument.
17858 (insert-directory): Advise.
17859
17860 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17861
17862 * term.el (term-emulate-terminal): Decode the command string
17863 before passing it to term-command-hook. (Bug#15337)
17864
17865 2013-09-13 Glenn Morris <rgm@gnu.org>
17866
17867 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17868
17869 * eshell/esh-ext.el (eshell-search-path): Declare.
17870
17871 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17872 Otherwise an error occurs if eshell-dirs module not loaded.
17873
17874 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17875
17876 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17877
17878 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17879 `tramp-check-proper-host'. Check for a valid method name.
17880
17881 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17882 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17883 * net/tramp-sh.el (tramp-maybe-open-connection):
17884 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17885
17886 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17887 also for hash values.
17888
17889 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17890
17891 * term/ns-win.el (parameters): Don't declare as dynamic.
17892 (before-make-frame-hook): Don't add ineffective function.
17893
17894 * eshell/*.el: Use lexical-binding (bug#15231).
17895
17896 2013-09-12 Kenichi Handa <handa@gnu.org>
17897
17898 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17899
17900 2013-09-12 Glenn Morris <rgm@gnu.org>
17901
17902 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17903 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17904
17905 * subr.el (do-after-load-evaluation): Also give compiler warnings
17906 when obsolete files are used (except by obsolete files).
17907
17908 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17909 in the status output, assume `filename' is the first. (Bug#15322)
17910
17911 * vc/vc.el (vc-deduce-fileset): Doc fix.
17912
17913 * calc/calc-help.el (Info-goto-node):
17914 * progmodes/cperl-mode.el (Info-find-node):
17915 * vc/ediff.el (Info-goto-node): Update declarations.
17916
17917 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17918
17919 * vc/vc-bzr.el (vc-compilation-mode): Declare.
17920 (vc-bzr-pull): Require vc-dispatcher.
17921 * vc/vc-git.el (vc-compilation-mode): Declare.
17922 (vc-git-pull): Require vc-dispatcher.
17923
17924 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17925
17926 * progmodes/octave.el (help-button-action): Declare.
17927
17928 * shell.el (shell-directory-tracker): Output error as a message
17929 rather than just returning it as a string.
17930 (shell-process-pushd): Remove useless use of message.
17931
17932 * dframe.el (dframe-timer-fn):
17933 * files.el (dir-locals-read-from-file):
17934 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17935 (mpc-format):
17936 * reveal.el (reveal-post-command):
17937 * saveplace.el (load-save-place-alist-from-file):
17938 * shell.el (shell-resync-dirs):
17939 * w32-common-fns.el (x-get-selection-value):
17940 * emacs-lisp/copyright.el (copyright-find-copyright):
17941 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17942 * emulation/tpu-edt.el (tpu-copy-keyfile):
17943 * play/bubbles.el (bubbles--mark-neighbourhood):
17944 * progmodes/executable.el
17945 (executable-make-buffer-file-executable-if-script-p):
17946 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17947
17948 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17949
17950 Cleanup Eshell to rely less on dynamic scoping.
17951 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17952 last-value, and ext-command here. Bind `args' closer to `body'.
17953 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17954 (eshell--args): Declare new dynamic var.
17955 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
17956 last-value, and ext-command. Pass `args' to `body'.
17957 (eshell-process-args): Bind eshell--args.
17958 (eshell-set-option): Use eshell--args.
17959 * eshell/eshell.el (eshell): Use derived-mode-p.
17960 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17961 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17962 (eshell-glob-function): Declare.
17963 * eshell/esh-util.el: Require cl-lib.
17964 (eshell-read-hosts-file): Avoid add-to-list.
17965 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17966 `err'.
17967 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17968 Declare.
17969 (eshell/diff): Remove unused var `err'.
17970 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17971 `killflag'.
17972 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17973 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17974 first use.
17975 * eshell/em-glob.el (eshell-glob-matches, message-shown):
17976 Move declaration before first use.
17977 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17978 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17979 rely on cl-return.
17980
17981 2013-09-12 Glenn Morris <rgm@gnu.org>
17982
17983 * term/ns-win.el (global-map): Remove binding for ispell-next,
17984 deleted 1999-05-29. (Bug#15357)
17985
17986 2013-09-11 Glenn Morris <rgm@gnu.org>
17987
17988 * echistory.el (electric-command-history): Remove call to deleted func.
17989
17990 * play/landmark.el (landmark-mode): Fix typos.
17991
17992 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17993 Check cvs-sort-ignore-file is bound.
17994
17995 * savehist.el: No need for cl when compiling on Emacs.
17996
17997 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18000 (bug#15338).
18001 (eshell-self-insert-command, eshell-send-invisible):
18002 Remove unused argument.
18003 (eshell-handle-control-codes): Remove unused var `orig'.
18004 Avoid delete-backward-char.
18005
18006 * files.el (set-auto-mode): Simplify a bit further.
18007
18008 2013-09-11 Glenn Morris <rgm@gnu.org>
18009
18010 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18011 (set-auto-mode): Don't regexp-quote elements.
18012 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18013 * progmodes/cc-mode.el (interpreter-mode-alist):
18014 * progmodes/ruby-mode.el (interpreter-mode-alist):
18015 Revert previous change.
18016
18017 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18018
18019 * play/snake.el (snake-mode):
18020 * play/mpuz.el (mpuz-mode):
18021 * play/landmark.el (lm-mode):
18022 * play/blackbox.el (blackbox-mode):
18023 * play/5x5.el (5x5-mode):
18024 * obsolete/options.el (Edit-options-mode):
18025 * net/quickurl.el (quickurl-list-mode):
18026 * net/newst-treeview.el (newsticker-treeview-mode):
18027 * mail/rmailsum.el (rmail-summary-mode):
18028 * mail/mspools.el (mspools-mode):
18029 * locate.el (locate-mode):
18030 * ibuffer.el (ibuffer-mode):
18031 * emulation/ws-mode.el (wordstar-mode):
18032 * emacs-lisp/debug.el (debugger-mode):
18033 * array.el (array-mode):
18034 * net/eudc.el (eudc-mode): Use define-derived-mode.
18035 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18036 Move initialization into declaration.
18037 (mairix-searches-mode): Use define-derived-mode.
18038 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18039 (eudc-edit-hotlist): Use dolist.
18040 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18041 (Man-mode): Use define-derived-mode.
18042 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18043 (Info-edit-mode): Use define-derived-mode.
18044 (Info-cease-edit): Use Info-mode.
18045 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18046 into declaration.
18047 (eshell-mode): Use define-derived-mode.
18048 * chistory.el (command-history-mode-map): Rename from
18049 command-history-map.
18050 (command-history-mode): Use define-derived-mode.
18051 (Command-history-setup): Remove function.
18052 * calc/calc.el (calc-trail-mode-map): New var.
18053 (calc-trail-mode): Use define-derived-mode.
18054 (calc-trail-buffer): Set calc-main-buffer manually.
18055 * bookmark.el (bookmark-insert-annotation): New function.
18056 (bookmark-edit-annotation): Use it.
18057 (bookmark-edit-annotation-mode): Make it a proper major mode.
18058 (bookmark-send-edited-annotation): Use derived-mode-p.
18059 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18060 closer to its ideal place. Use \' to match EOS.
18061
18062 * profiler.el (profiler-calltree-find): Use function-equal.
18063
18064 2013-09-10 Glenn Morris <rgm@gnu.org>
18065
18066 * files.el (interpreter-mode-alist): Convert to regexps.
18067 (set-auto-mode): Adapt for this. (Bug#15306)
18068 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18069 Comment out unused variable.
18070 * progmodes/cc-mode.el (interpreter-mode-alist):
18071 * progmodes/python.el (interpreter-mode-alist):
18072 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18073 * progmodes/sh-script.el (sh-set-shell):
18074 No longer use interpreter-mode-alist to get list of shells.
18075
18076 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18077
18078 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18079
18080 * simple.el: Use set-temporary-overlay-map for universal-argument.
18081 (universal-argument-map): Don't use default-bindings (bug#15317).
18082 Bind switch-frame explicitly. Replace universal-argument-minus with
18083 a conditional binding.
18084 (universal-argument-num-events, saved-overriding-map): Remove.
18085 (restore-overriding-map): Remove.
18086 (universal-argument--mode): Rename from save&set-overriding-map,
18087 and rewrite.
18088 (universal-argument, universal-argument-more, negative-argument)
18089 (digit-argument): Adjust accordingly.
18090 (universal-argument-minus): Remove.
18091 (universal-argument-other-key): Remove.
18092
18093 * subr.el (with-demoted-errors): Add `format' argument.
18094
18095 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18096
18097 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18098 `tramp-cleanup-connection'.
18099
18100 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18101 parameters KEEP-DEBUG and KEEP-PASSWORD.
18102
18103 * net/tramp.el (tramp-file-name-handler):
18104 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18105 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18106 (tramp-maybe-open-connection):
18107 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18108 Use `tramp-cleanup-connection'.
18109
18110 * net/tramp-sh.el (tramp-maybe-open-connection):
18111 Catch 'uname-changed inside the progress reporter.
18112
18113 2013-09-10 Glenn Morris <rgm@gnu.org>
18114
18115 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18116
18117 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18118 returns "alternate access method" in mode (eg "-rw-r--r--.").
18119
18120 2013-09-08 Glenn Morris <rgm@gnu.org>
18121
18122 * saveplace.el (load-save-place-alist-from-file):
18123 Demote errors. (Bug#15305)
18124
18125 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18126
18127 Improve compatibility with older Emacsen, and XEmacs.
18128
18129 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18130 only if it is bound. It isn't for XEmacs.
18131 (with-tramp-progress-reporter): Do not let-bind `result'.
18132 This yields to scoping errors in XEmacs.
18133 (tramp-handle-make-auto-save-file-name): New function, moved from
18134 tramp-sh.el.
18135
18136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18137 for `make-auto-save-file-name'.
18138 (tramp-adb--gnu-switches-to-ash):
18139 Use `tramp-compat-replace-regexp-in-string'.
18140
18141 * net/tramp-cache.el (tramp-cache-print): Call
18142 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18143
18144 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18145 bound. It isn't for XEmacs.
18146
18147 * net/tramp-compat.el (tramp-compat-copy-file):
18148 Catch `wrong-number-of-arguments' error.
18149 (tramp-compat-replace-regexp-in-string): New defun.
18150
18151 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18152 for `make-auto-save-file-name'.
18153 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18154 `copy-file'.
18155 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18156 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18157 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18158
18159 * net/tramp-gw.el (tramp-gw-open-network-stream):
18160 Use `tramp-compat-replace-regexp-in-string'.
18161
18162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18163 Call `tramp-handle-make-auto-save-file-name'.
18164 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18165 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18166 (tramp-sh-file-inotifywait-process-filter):
18167 Use `tramp-compat-replace-regexp-in-string'.
18168 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18169
18170 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18171 for `make-auto-save-file-name'.
18172 (tramp-smb-handle-copy-directory):
18173 Call `tramp-compat-replace-regexp-in-string'.
18174 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18175 (tramp-smb-handle-copy-file): Improve error message.
18176 (tramp-smb-handle-rename-file): Rename directly only in case
18177 `newname' does not exist yet. This is a restriction of smbclient.
18178 (tramp-smb-maybe-open-connection): Rerun the function only when
18179 `auth-sources' is non-nil.
18180
18181 2013-09-08 Kenichi Handa <handa@gnu.org>
18182
18183 * international/characters.el: Set category "^" (Combining) for
18184 more characters.
18185
18186 2013-09-07 Alan Mackenzie <acm@muc.de>
18187
18188 Correctly fontify Java class constructors.
18189 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18190 in Java Mode.
18191 (c-recognize-typeless-decls): Set the Java value to t.
18192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18193 While handling a "(", add a check for, effectively, Java, and handle a
18194 "typeless" declaration there.
18195
18196 2013-09-07 Roland Winkler <winkler@gnu.org>
18197
18198 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18199 field subtitle for entry type book.
18200
18201 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18202
18203 * minibuffer.el: Make minibuffer-complete call completion-in-region
18204 rather than other way around.
18205 (completion--some, completion-pcm--find-all-completions):
18206 Don't delay signals when debugging.
18207 (minibuffer-completion-contents): Beware fields within the
18208 minibuffer contents.
18209 (completion-all-sorted-completions): Use defvar-local.
18210 (completion--do-completion, completion--cache-all-sorted-completions)
18211 (completion-all-sorted-completions, minibuffer-force-complete):
18212 Add args `beg' and `end'.
18213 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18214 (minibuffer-complete): Use completion-in-region.
18215 (completion-complete-and-exit): New fun, extracted from
18216 minibuffer-complete-and-exit.
18217 (minibuffer-complete-and-exit): Use it.
18218 (completion--complete-and-exit): Rename from
18219 minibuffer--complete-and-exit.
18220 (completion-in-region--single-word): New function, extracted from
18221 minibuffer-complete-word.
18222 (minibuffer-complete-word): Use it.
18223 (display-completion-list): Make `common-substring' argument obsolete.
18224 (completion--in-region): Call completion--in-region-1 instead of
18225 minibuffer-complete.
18226 (completion-help-at-point): Pass boundaries to
18227 minibuffer-completion-help as args rather than via an overlay.
18228 (completion-pcm--string->pattern): Use `any-delim'.
18229 (completion-pcm--optimize-pattern): New function.
18230 (completion-pcm--pattern->regex): Handle `any-delim'.
18231 * icomplete.el (icomplete-forward-completions)
18232 (icomplete-backward-completions, icomplete-completions):
18233 Adjust calls to completion-all-sorted-completions and
18234 completion--cache-all-sorted-completions.
18235 (icomplete-with-completion-tables): Default to t.
18236 * emacs-lisp/crm.el (crm--current-element): Rename from
18237 crm--select-current-element. Don't put an overlay but return the
18238 boundaries instead.
18239 (crm--completion-command): Take two new args to bind to the boundaries.
18240 (crm-completion-help): Adjust accordingly.
18241 (crm-complete): Use completion-in-region.
18242 (crm-complete-word): Use completion-in-region--single-word.
18243 (crm-complete-and-exit): Use completion-complete-and-exit.
18244
18245 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18246
18247 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18248 than dynamically.
18249
18250 2013-09-06 Juri Linkov <juri@jurta.org>
18251
18252 * info.el (Info-display-images-node): When image file doesn't exist
18253 display text version of the image if it's provided in the Info file.
18254 Otherwise, display the location of missing image from SRC attribute.
18255 Add help-echo text property from ALT attribute. (Bug#15279)
18256
18257 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18258
18259 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18260 (edit-abbrevs-mode): Use define-derived-mode.
18261
18262 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18263 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18264 that it's defined.
18265 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18266 Use define-derived-mode.
18267
18268 * epg.el (epg-start-encrypt): Minor CSE simplification.
18269
18270 2013-09-06 William Xu <william.xwl@gmail.com>
18271
18272 * arc-mode.el: Add support for 7za (bug#15264).
18273 (archive-7z-program): New var.
18274 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18275 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18276 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18277
18278 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18279
18280 Remove URL syntax.
18281
18282 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18283 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18284 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18285 (tramp-postfix-host-format, tramp-file-name-regexp)
18286 (tramp-completion-file-name-regexp)
18287 (tramp-completion-dissect-file-name)
18288 (tramp-handle-substitute-in-file-name): Remove 'url case.
18289 (tramp-file-name-regexp-url)
18290 (tramp-completion-file-name-regexp-url): Remove constants.
18291
18292 2013-09-06 Glenn Morris <rgm@gnu.org>
18293
18294 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18295
18296 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18297
18298 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18299 keywords" below "here-doc beginnings" (Bug#15270).
18300
18301 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18302
18303 * subr.el (pop): Use `car-safe'.
18304 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18305 to detect unused `pop' return value.
18306
18307 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18308 var `block-regexp'.
18309 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18310 (python-fill-string): Remove unused var `marker'.
18311 (python-skeleton-add-menu-items): Remove unused var `items'.
18312
18313 * international/mule-cmds.el: Require CL.
18314 (find-coding-systems-for-charsets): Avoid add-to-list.
18315 (sanitize-coding-system-list): New function, extracted from
18316 select-safe-coding-system-interactively.
18317 (select-safe-coding-system-interactively): Use it.
18318 (read-input-method-name): Accept symbols for `default'.
18319
18320 * emacs-lisp/advice.el (defadvice): Add indent rule.
18321
18322 2013-09-05 Daniel Hackney <dan@haxney.org>
18323
18324 * dired-x.el:
18325 * net/ange-ftp.el:
18326 * net/browse-url.el:
18327 * net/dbus.el:
18328 * net/eudc.el:
18329 * net/eudcb-ldap.el:
18330 * net/eww.el:
18331 * net/imap.el:
18332 * printing.el:
18333 * vc/ediff-diff.el:
18334 * vc/ediff-init.el:
18335 * vc/ediff-merg.el:
18336 * vc/ediff-mult.el:
18337 * vc/ediff-util.el:
18338 * vc/ediff-wind.el:
18339 * vc/ediff.el:
18340 * vc/emerge.el:
18341 * vc/pcvs.el:
18342 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18343 byte compiler. Remove some unused let-bound variables.
18344
18345 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18346
18347 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18348 a "ref-cell", since it gets better optimized (bug#14883).
18349
18350 2013-09-05 Glenn Morris <rgm@gnu.org>
18351
18352 * progmodes/cc-awk.el (c-forward-sws): Declare.
18353
18354 2013-09-04 Glenn Morris <rgm@gnu.org>
18355
18356 * generic-x.el [rul-generic-mode]: Require cc-mode.
18357 (c++-mode-syntax-table): Declare.
18358 (rul-generic-mode-syntax-table): Init in the defvar.
18359
18360 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18361
18362 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18363 (vc-do-command, vc-set-async-update):
18364 * vc/vc-mtn.el (vc-mtn-dir-status):
18365 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18366 (vc-hg-pull, vc-hg-merge-branch):
18367 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18368 (vc-git-merge-branch):
18369 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18370 (vc-cvs-dir-status-files):
18371 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18372 (vc-bzr-dir-status-files):
18373 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18374 * vc/vc-annotate.el: Use lexical-binding.
18375 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18376 (vc-sentinel-movepoint): Declare.
18377 (vc-annotate): Don't use `goto-line'.
18378 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18379 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18380 (vc-sentinel-movepoint): Declare.
18381 * vc/vc-svn.el: Use lexical-binding.
18382 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18383 * vc/vc-sccs.el:
18384 * vc/vc-rcs.el: Use lexical-binding.
18385
18386 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18387 `deleted'. Don't drop errors silently.
18388
18389 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18390
18391 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18392
18393 * vc/vc.el (vc-ignore): Rewrite.
18394 (vc-default-ignore): New function.
18395 (vc-default-ignore-completion-table): Use find-ignore-file.
18396
18397 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18398 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18399 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18400 Remove. Most code moved to vc.el.
18401
18402 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18403
18404 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18405 * net/tramp-smb.el (tramp-smb-get-file-entries):
18406 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18407 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18408
18409 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18410 Update call to it.
18411 (eww-change-select): Remove unused var `properties'.
18412 (eww-make-unique-file-name): Remove unused var `base'.
18413
18414 * finder.el (finder-compile-keywords): Don't mess with windows.
18415
18416 * calculator.el (calculator-funcall): Fix typo in last change.
18417
18418 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18419
18420 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18421 <pkg>-autoloads.el file stop us.
18422
18423 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18424 warnings, and factor out common code.
18425
18426 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18427
18428 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18429 two-character operators and whether the character preceding them
18430 changes their meaning (Bug#15208).
18431
18432 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18433
18434 Format code sent to Python shell for robustness.
18435 * progmodes/python.el (python-shell-buffer-substring):
18436 New function.
18437 (python-shell-send-region, python-shell-send-buffer): Use it.
18438
18439 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18440
18441 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18442 * net/tramp.el (tramp-user-error): ... here.
18443 (tramp-find-method, tramp-check-proper-host)
18444 (tramp-dissect-file-name, tramp-debug-message)
18445 (tramp-handle-shell-command):
18446 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18447 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18448
18449 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18450
18451 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18452
18453 * avoid.el (mouse-avoidance-point-position)
18454 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18455 returns nil.
18456
18457 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18458
18459 * progmodes/python.el (python-shell-completion-get-completions):
18460 Drop use of deleted `comint-last-prompt-overlay'.
18461 (python-nav-if-name-main): New command.
18462
18463 2013-09-01 Glenn Morris <rgm@gnu.org>
18464
18465 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18466 Avoid leading space in $wins. Otherwise the sed command used by
18467 eg compile-main ends up containing "/*.el". (Bug#15170)
18468
18469 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18470
18471 2013-08-30 Glenn Morris <rgm@gnu.org>
18472
18473 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18474 Fix is-this-a-directory logic. (Bug#15220)
18475
18476 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18477
18478 * textmodes/css-mode.el: Use SMIE.
18479 (css-smie-grammar): New var.
18480 (css-smie--forward-token, css-smie--backward-token)
18481 (css-smie-rules): New functions.
18482 (css-mode): Use them.
18483 (css-navigation-syntax-table): Remove var.
18484 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18485 (css-indent-calculate, css-indent-line): Remove functions.
18486
18487 Misc changes to reduce use of `(lambda...); and other cleanups.
18488 * cus-edit.el: Use lexical-binding.
18489 (customize-push-and-save, customize-apropos)
18490 (custom-buffer-create-internal): Use closures.
18491 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18492 * progmodes/ada-xref.el: Use setq.
18493 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18494 * dframe.el: Use lexical-binding.
18495 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18496 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18497 * descr-text.el: Use lexical-binding.
18498 (describe-text-widget, describe-text-sexp, describe-property-list):
18499 Use closures.
18500 * comint.el (comint-history-isearch-push-state): Use a closure.
18501 * calculator.el: Use lexical-binding.
18502 (calculator-number-to-string): Make it work with lexical-binding.
18503 (calculator-funcall): Same and use cl-letf.
18504
18505 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18506 (lisp--company-doc-string, lisp--company-location): New functions.
18507 (lisp-completion-at-point): Use them to improve Company support.
18508
18509 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18510 params of lambda expressions.
18511 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18512 (ruby-smie--opening-pipe-p): New function.
18513 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18514 symbols and matched |...| for formal params.
18515 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18516 from being treated as hanging. Handle "rescue".
18517
18518 2013-08-29 Glenn Morris <rgm@gnu.org>
18519
18520 * progmodes/cc-engine.el (c-pull-open-brace):
18521 Move definition before use.
18522
18523 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18524
18525 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18526 are immutable. Don't use `unsafe' any more.
18527 (cl--defsubst-expand): Don't substitute at the same time as keeping
18528 a residual unused let-binding. Don't use `unsafe' any more.
18529
18530 2013-08-29 Glenn Morris <rgm@gnu.org>
18531
18532 * calendar/cal-china.el (calendar-chinese-year-cache):
18533 Recenter on 2015.
18534
18535 * nxml/nxml-util.el (nxml-debug-clear-inside):
18536 Use cl-loop rather than loop.
18537
18538 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18539
18540 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18541
18542 2013-08-28 Glenn Morris <rgm@gnu.org>
18543
18544 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18545
18546 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18547
18548 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18549
18550 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 * simple.el (repeat-complex-command--called-interactively-skip):
18553 New function.
18554 (repeat-complex-command): Use it (bug#14136).
18555
18556 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18557 (c-define-abbrev-table): Add `doc' argument.
18558 (c-mode-abbrev-table, c++-mode-abbrev-table)
18559 (objc-mode-abbrev-table, java-mode-abbrev-table)
18560 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18561 (awk-mode-abbrev-table): Use it.
18562 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18563 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18564 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18565 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18566 Move initialization into the declaration; and remove any
18567 autoload cookie.
18568
18569 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18570 and dynamic let binding.
18571
18572 * vc/smerge-mode.el: Remove redundant :group args.
18573
18574 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18575 to load-path.
18576
18577 2013-08-28 Juri Linkov <juri@jurta.org>
18578
18579 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18580 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18581 (isearch-other-meta-char): Handle an undefined shifted printing
18582 character by downshifting it. (Bug#15200)
18583
18584 2013-08-28 Juri Linkov <juri@jurta.org>
18585
18586 * isearch.el (isearch-search): Change regexp error message for
18587 non-regexp searches. (Bug#15166)
18588
18589 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18590
18591 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18592 for portability to hosts where /bin/sh has problems.
18593
18594 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18597
18598 2013-08-27 Juri Linkov <juri@jurta.org>
18599
18600 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18601 in the keyboard macro. (Bug#15126)
18602
18603 2013-08-27 Juri Linkov <juri@jurta.org>
18604
18605 * isearch.el (isearch-quote-char): Comment out converting unibyte
18606 to multibyte, thus syncing with its `quoted-insert' counterpart.
18607 (Bug#15166)
18608
18609 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18610
18611 * window.el (display-buffer-use-some-window): Add missing
18612 argument in call of get-largest-window (Bug#15185).
18613 Reported by Stephen Leake.
18614
18615 2013-08-27 Glenn Morris <rgm@gnu.org>
18616
18617 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18618
18619 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18620
18621 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18622 from a matcher-function unless there's no more matches (bug#15161).
18623
18624 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18625
18626 * minibuffer.el: Revert change from 2013-08-20.
18627
18628 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18629 with text property `tramp-default', if appropriate.
18630 (tramp-check-proper-host): New defun.
18631 (tramp-dissect-file-name): Do not check hostname. Revert change
18632 of 2013-03-18.
18633 (tramp-backtrace): Make VEC-OR-PROC optional.
18634
18635 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18636 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18637 * net/tramp-sh.el (tramp-maybe-open-connection):
18638 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18639 Apply `tramp-check-proper-host'.
18640
18641 2013-08-26 Tassilo Horn <tsdh@gnu.org>
18642
18643 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18644 lambda expression in order to have `describe-variable' display it.
18645
18646 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18647
18648 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18649 BUF can be optional. (Bug#15186)
18650
18651 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
18652
18653 * progmodes/flymake.el (flymake-get-real-file-name-function):
18654 Fix broken customization. (Bug#15184)
18655
18656 2013-08-25 Alan Mackenzie <acm@muc.de>
18657
18658 Improve indentation of bracelists defined by macros (without "=").
18659
18660 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18661 expansion begins with "{", regard it as bracelist when it doesn't
18662 contain a ";".
18663
18664 Parse C++ inher-intro when there's a template split over 2 lines.
18665
18666 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18667 rigorously the search for "class" etc. followed by ":".
18668
18669 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18670 random languages a regexp which never matches rather than nil.
18671
18672 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18673
18674 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18675 (c-awk-regexp-one-line-possibly-open-char-list-re)
18676 (c-awk-one-line-possibly-open-regexp-re)
18677 (c-awk-one-line-non-syn-ws*-re): Remove.
18678 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18679 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18680 (c-awk-space*-unclosed-regexp-/-re): New constants.
18681 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18682 aren't regexp delimiters.
18683
18684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18685 handling for a rare situation in AWK Mode involving unterminated
18686 strings/regexps.
18687
18688 2013-08-23 Glenn Morris <rgm@gnu.org>
18689
18690 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18691
18692 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18693
18694 * files.el (create-file-buffer): If the result would begin with
18695 spaces, prepend a "|" instead of removing them. (Bug#15162)
18696
18697 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18700 text-properties (bug#15155).
18701
18702 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18703 exist any more.
18704 (calc-keypad-redraw): Remove unused var `pad'.
18705 (calc-keypad-press): Remove unused var `menu'.
18706
18707 2013-08-23 Martin Rudalics <rudalics@gmx.at>
18708
18709 * window.el (display-buffer-pop-up-frame):
18710 Call pop-up-frame-function with BUFFER current so `make-frame' will
18711 use it as the new frame's buffer (Bug#15133).
18712
18713 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18714
18715 * calendar/timeclock.el: Minor cleanups.
18716 (timeclock-ask-before-exiting, timeclock-use-display-time):
18717 Use `symbol'.
18718 (timeclock-modeline-display): Define as alias before the
18719 actual definition.
18720 (timeclock-mode-line-display): Use define-minor-mode.
18721 (timeclock-day-list-template): Make it a function, add an argument.
18722 (timeclock-day-list-required, timeclock-day-list-length)
18723 (timeclock-day-list-debt, timeclock-day-list-span)
18724 (timeclock-day-list-break): Adjust calls accordingly.
18725
18726 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18727
18728 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18729 Use read--expression so that completion works again.
18730
18731 2013-08-21 Sam Steingold <sds@gnu.org>
18732
18733 Add rudimentary inferior shell interaction
18734 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18735 (sh-set-shell): Reset it.
18736 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18737 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18738
18739 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
18740
18741 * align.el: Use lexical-binding.
18742 (align-region): Simplify accordingly.
18743
18744 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
18745
18746 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18747
18748 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18749 `non-essential' up.
18750
18751 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
18752
18753 * net/tramp.el:
18754 * net/tramp-adb.el:
18755 * net/tramp-cmds.el:
18756 * net/tramp-ftp.el:
18757 * net/tramp-gvfs.el:
18758 * net/tramp-gw.el:
18759 * net/tramp-sh.el: Don't wrap external variable declarations by
18760 `eval-when-compile'.
18761
18762 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18763
18764 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18765 now that Emacs supports ImageMagick animations.
18766
18767 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
18768
18769 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18770 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18771
18772 2013-08-16 Martin Rudalics <rudalics@gmx.at>
18773
18774 * window.el (mouse-autoselect-window-select): Do autoselect when
18775 mouse pointer is on margin.
18776
18777 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
18778
18779 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
18780
18781 2013-08-16 Glenn Morris <rgm@gnu.org>
18782
18783 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18784 Handle "Remote Directory" response of some clients. (Bug#15058)
18785
18786 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18787 Tweak warning. (Bug#14926)
18788
18789 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18790 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
18791
18792 * image-mode.el (image-mode-map): Add menu items to reverse,
18793 increase, decrease, reset animation speed.
18794 (image--set-speed, image-increase-speed, image-decrease-speed)
18795 (image-reverse-speed, image-reset-speed): New functions.
18796 (image-mode-map): Add bindings for speed commands.
18797
18798 * image.el (image-animate-get-speed, image-animate-set-speed):
18799 New functions.
18800 (image-animate-timeout): Respect image :speed property.
18801
18802 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18803
18804 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18805 previous line (bug#15101).
18806 (debugger-eval-expression, debugger-record-expression):
18807 Use read--expression (bug#15102).
18808
18809 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
18810
18811 Remove byte compiler warnings, visible when compiling with
18812 `byte-compile-force-lexical-warnings' set to t.
18813
18814 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18815 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18816 (tramp-handle-unhandled-file-name-directory)
18817 (tramp-handle-file-notify-add-watch, tramp-action-login)
18818 (tramp-action-succeed, tramp-action-permission-denied)
18819 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18820 arguments with "_".
18821
18822 * net/tramp-adb.el (tramp-adb-parse-device-names)
18823 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18824 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18825 (tramp-adb-handle-file-truename): Remove unused arguments.
18826
18827 * net/tramp-cache.el (tramp-flush-directory-property)
18828 (tramp-flush-connection-property, tramp-list-connections)
18829 (tramp-parse-connection-properties): Prefix unused arguments with "_".
18830
18831 * net/tramp-compat.el (tramp-compat-make-temp-file):
18832 Rename FILENAME to F.
18833
18834 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18835 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18836 (tramp-zeroconf-parse-workstation-device-names)
18837 (tramp-zeroconf-parse-webdav-device-names)
18838 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18839
18840 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18841 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18842
18843 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18844 arguments.
18845 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18846 (tramp-sh-handle-insert-file-contents-literally)
18847 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18848 with "_".
18849 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18850 Remove unused variables.
18851
18852 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18853 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18854 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18855
18856 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18857 Make them a defconst.
18858 (tramp-uuencode-region): Remove unused variable.
18859
18860 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18861
18862 * frameset.el (frameset--prop-setter): New function.
18863 (frameset-prop): Add gv-setter declaration.
18864 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18865 parameter was already set in FILTERED. Doc fix.
18866 (frameset--record-minibuffer-relationships): Allow saving a
18867 minibufferless frame without its corresponding minibuffer frame.
18868 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18869 frame, if the frame id matches.
18870 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18871 frames before orphaned ones.
18872 (frameset-restore): Warn about orphaned windows, instead of error out.
18873
18874 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18875
18876 * window.el (window-make-atom): Don't overwrite parameter
18877 already present.
18878 (display-buffer-in-atom-window): Handle special case where we
18879 split an already atomic window.
18880 (window--major-non-side-window, display-buffer-in-side-window)
18881 (window--side-check): Ignore minibuffer window when walking
18882 window tree.
18883 (window-deletable-p): Return 'frame only if no other frame uses
18884 our minibuffer window.
18885 (record-window-buffer): Run buffer-list-update-hook.
18886 (split-window): Make sure window--check-frame won't destroy an
18887 existing atomic window in case the new window gets nested
18888 inside.
18889 (display-buffer-at-bottom): Ignore minibuffer window when
18890 walking window tree. Don't split a side window.
18891 (pop-to-buffer): Don't set-buffer here, the select-window call
18892 should do that.
18893 (mouse-autoselect-window-select): Autoselect only if we are in the
18894 text portion of the window.
18895
18896 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18897
18898 * net/shr.el (shr-parse-image-data): New function to grab both the
18899 data itself and the Content-Type.
18900 (shr-put-image): Use it.
18901
18902 * net/eww.el (eww-display-image): Ditto.
18903
18904 * image.el (image-content-type-suffixes): New variable.
18905
18906 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18907
18908 * progmodes/python.el (python-imenu--build-tree)
18909 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18910
18911 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
18912
18913 * simple.el (backward-word): Mention the optional argument.
18914
18915 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18916
18917 * frameset.el (frameset--make): Rename constructor from make-frameset.
18918 (frameset-p, frameset-valid-p): Don't autoload.
18919 (frameset-valid-p): Use normal accessors.
18920
18921 2013-08-13 Glenn Morris <rgm@gnu.org>
18922
18923 * progmodes/compile.el (compile-command): Tweak example in doc.
18924 * obsolete/scribe.el (scribe-mode):
18925 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
18926
18927 * mail/feedmail.el (feedmail-confirm-outgoing)
18928 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18929
18930 * cus-start.el (truncate-partial-width-windows): Fix type.
18931
18932 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18933
18934 * net/shr.el (shr-table-horizontal-line): Fix custom type.
18935
18936 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * emacs-lisp/timer.el (timer--time-setter): New function.
18939 (timer--time): Use it as gv-setter.
18940
18941 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18942 setter is not a symbol.
18943
18944 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
18945
18946 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18947 if sending fails. This makes debugging easier.
18948
18949 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
18950
18951 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18952 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18953 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18954
18955 2013-08-12 Eli Zaretskii <eliz@gnu.org>
18956
18957 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18958
18959 2013-08-12 Glenn Morris <rgm@gnu.org>
18960
18961 * format.el (format-annotate-function):
18962 Handle read-only text properties in the source. (Bug#14887)
18963
18964 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965
18966 * net/eww.el (eww-display-html): Ignore coding system errors.
18967 One web site uses "utf-8lias" as the coding system.
18968
18969 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
18970
18971 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18972
18973 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
18974
18975 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18976 (tutorial--detailed-help): Remove unused local variables.
18977 (tutorial--save-tutorial-to): Use ignore-errors.
18978 (help-with-tutorial): Use looking-at-p.
18979
18980 * view.el (view-buffer-other-window, view-buffer-other-frame):
18981 Mark unused arguments.
18982
18983 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18984 (woman-select-symbol-fonts, woman, woman-find-file)
18985 (woman-insert-file-contents, woman-non-underline-faces):
18986 Use string-match-p.
18987 (woman1-unquote): Move declaration.
18988
18989 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18990 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
18991 argument. Remove unused local variable.
18992 (xml-parse-elem-type): Use string-match-p.
18993 (xml-substitute-numeric-entities): Use ignore-errors.
18994
18995 * calculator.el (calculator): Mark unused argument.
18996 (calculator-paste, calculator-quit, calculator-integer-p):
18997 Use ignore-errors.
18998 (calculator-string-to-number, calculator-decimal, calculator-exp)
18999 (calculator-op-or-exp): Use string-match-p.
19000
19001 * dired.el (dired-buffer-more-recently-used-p): Declare.
19002 (dired-insert-set-properties, dired-insert-old-subdirs):
19003 Use ignore-errors.
19004
19005 * dired-aux.el (dired-compress): Use ignore-errors.
19006 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19007 (dired-do-async-shell-command, dired-do-shell-command)
19008 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19009 (dired-insert-subdir-validate): Use string-match-p.
19010 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19011 (dired-add-entry): Use string-match-p, looking-at-p.
19012 (dired-insert-subdir-newpos): Remove unused local variable.
19013
19014 * filenotify.el (file-notify-callback): Remove unused local variable.
19015
19016 * filesets.el (filesets-error): Mark unused argument.
19017 (filesets-which-command-p, filesets-filter-dir-names)
19018 (filesets-directory-files, filesets-get-external-viewer)
19019 (filesets-ingroup-get-data): Use string-match-p.
19020
19021 * find-file.el (ff-other-file-name, ff-other-file-name)
19022 (ff-find-the-other-file, ff-cc-hh-converter):
19023 Remove unused local variables.
19024 (ff-get-file-name): Use string-match-p.
19025 (ff-all-dirs-under): Use ignore-errors.
19026
19027 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19028 (follow-select-if-visible): Remove unused local variable.
19029
19030 * forms.el (read-file-filter): Move declaration.
19031 (forms--make-format, forms--make-parser, forms-insert-record):
19032 Quote function with #'.
19033 (forms--update): Use string-match-p. Quote function with #'.
19034
19035 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19036 (help-make-xrefs): Use looking-at-p.
19037 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19038
19039 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19040 (ibuffer-confirm-operation-on): Use string-match-p.
19041
19042 * msb.el (msb-item-handler, msb-dired-item-handler):
19043 Mark unused arguments.
19044
19045 * ses.el (ses-decode-cell-symbol)
19046 (ses-kill-override): Remove unused local variable.
19047 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19048 (ses-load): Use ignore-errors, looking-at-p.
19049 (ses-jump-safe): Use ignore-errors.
19050 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19051
19052 * tabify.el (untabify, tabify): Mark unused arguments.
19053
19054 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19055 Mark unused argument.
19056 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19057 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19058
19059 * emacs-lisp/timer.el (timer--time): Define setter with
19060 gv-define-setter to avoid deprecation warning.
19061
19062 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19063 (*record-cmpl-statistics-p*): Remove (was commented out).
19064 (cmpl-statistics-block): Remove (body was commented out).
19065 All callers changed.
19066 (add-completions-from-buffer, load-completions-from-file):
19067 Remove unused variables.
19068
19069 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19070
19071 * filecache.el (file-cache-delete-file-list):
19072 Print message only when told so.
19073 (file-cache-files-matching): Use #' in mapconcat argument.
19074
19075 * ffap.el (ffap-url-at-point): Fix reference to variable
19076 thing-at-point-default-mail-uri-scheme.
19077
19078 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19079
19080 * subr.el (define-error): New function.
19081 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19082 error-file-not-found and define with define-error.
19083 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19084 and define with define-error.
19085 * userlock.el (file-locked, file-supersession):
19086 * simple.el (mark-inactive):
19087 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19088 * progmodes/ada-mode.el (ada-mode-errors):
19089 * play/life.el (life-extinct):
19090 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19091 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19092 * nxml/rng-util.el (rng-error):
19093 * nxml/rng-uri.el (rng-uri-error):
19094 * nxml/rng-match.el (rng-compile-error):
19095 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19096 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19097 * nxml/nxml-rap.el (nxml-scan-error):
19098 * nxml/nxml-outln.el (nxml-outline-error):
19099 * net/soap-client.el (soap-error):
19100 * net/gnutls.el (gnutls-error):
19101 * net/ange-ftp.el (ftp-error):
19102 * mpc.el (mpc-proc-error):
19103 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19104 (json-number-format, json-string-escape, json-string-format)
19105 (json-key-format, json-object-format):
19106 * jka-compr.el (compression-error):
19107 * international/quail.el (quail-error):
19108 * international/kkc.el (kkc-error):
19109 * emacs-lisp/ert.el (ert-test-failed):
19110 * calc/calc.el (calc-error, inexact-result, math-overflow)
19111 (math-underflow):
19112 * bookmark.el (bookmark-error-no-filename):
19113 * epg.el (epg-error): Define with define-error.
19114
19115 * time.el (display-time-event-handler)
19116 (display-time-next-load-average): Don't call sit-for since it seems
19117 unnecessary (bug#15045).
19118
19119 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19120 Use #' instead of ' to quote functions.
19121 (checkdoc-output-mode): Use setq-local.
19122 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19123 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19124 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19125 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19126 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19127 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19128 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19129 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19130
19131 * ido.el (ido-completion-help): Fix up compiler warning.
19132
19133 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19134
19135 * frameset.el (frameset-p): Add autoload cookie.
19136 (frameset--jump-to-register): New function, based on code moved from
19137 register.el.
19138 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19139
19140 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19141 (frameset-restore, frameset-save, frameset-session-filter-alist):
19142 Remove declarations.
19143 (register-alist): Doc fix.
19144 (frameset-to-register): Move to frameset.el.
19145 (jump-to-register, describe-register-1): Remove frameset-specific code.
19146
19147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19148
19149 * allout-widgets.el (allout-widgets-pre-command-business)
19150 (allout-widgets-post-command-business)
19151 (allout-widgets-after-change-handler)
19152 (allout-decorate-item-and-context, allout-set-boundary-marker)
19153 (allout-body-modification-handler)
19154 (allout-graphics-modification-handler): Mark ignored arguments.
19155 (allout-widgets-post-command-business)
19156 (allout-widgets-exposure-change-processor)
19157 (allout-widgets-exposure-undo-processor)
19158 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19159 (allout-parse-item-at-point, allout-decorate-item-guides)
19160 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19161 * allout.el (epa-passphrase-callback-function): Declare.
19162 (allout-overlay-insert-in-front-handler)
19163 (allout-overlay-interior-modification-handler)
19164 (allout-isearch-end-handler, allout-chart-siblings)
19165 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19166 (allout-yank-processing, allout-process-exposed)
19167 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19168 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19169 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19170 (lisp-indent-defform): Mark ignored arguments.
19171 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19172 (calculate-lisp-indent): Remove unused variables.
19173 * international/characters.el (indian-2-column, arabic-2-column)
19174 (tibetan): Mark ignored arguments.
19175 (use-cjk-char-width-table): Mark ignored arguments.
19176 Remove unused variables.
19177 * international/fontset.el (build-default-fontset-data)
19178 (x-compose-font-name, create-fontset-from-fontset-spec):
19179 Mark ignored arguments.
19180 (fontset-plain-name): Remove unused variables.
19181 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19182 (keyboard-coding-system): Mark ignored arguments.
19183 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19184 * help.el (resize-temp-buffer-window):
19185 * window.el (display-buffer-in-major-side-window)
19186 (display-buffer-in-side-window, display-buffer-in-previous-window):
19187 Remove unused variables.
19188 * isearch.el (isearch-forward-symbol):
19189 * version.el (emacs-bzr-version-bzr):
19190 * international/mule-cmds.el (current-language-environment):
19191 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19192 (x-handle-display):
19193 * term/pc-win.el (x-list-fonts, x-display-planes)
19194 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19195 (x-server-version, x-display-screens, x-display-mm-height)
19196 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19197 (x-selection-owner-p, x-own-selection-internal)
19198 (x-disown-selection-internal, x-get-selection-internal)
19199 (msdos-initialize-window-system):
19200 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19201 * term/x-win.el (x-handle-no-bitmap-icon):
19202 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19203 (vc-default-find-file-hook, vc-default-extra-menu):
19204 Mark ignored arguments.
19205
19206 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19209 break-condition in the context of the debugged code (bug#12685).
19210
19211 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19212
19213 * comint.el:
19214 Do not use an overlay to highlight the last prompt. (Bug#14744)
19215 (comint-mode): Make comint-last-prompt buffer local.
19216 (comint-last-prompt): New variable.
19217 (comint-last-prompt-overlay): Remove. Superseded by
19218 comint-last-prompt.
19219 (comint-snapshot-last-prompt, comint-output-filter):
19220 Use comint-last-prompt.
19221
19222 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19223
19224 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19225 (frameset-save): Check validity of the resulting frameset.
19226
19227 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19228
19229 * ido.el (ido-record-command): Add doc string.
19230
19231 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19232
19233 * frameset.el (frameset): Do not disable creation of the default
19234 frameset-p predicate. Doc fix.
19235 (frameset-valid-p): New function, copied from the old predicate-p.
19236 Add additional checks.
19237 (frameset-restore): Check with frameset-valid-p.
19238 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19239 (frameset-name, frameset-description, frameset-properties)
19240 (frameset-states): Add docstring.
19241 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19242 (frameset-filter-alist): Doc fixes.
19243
19244 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19245
19246 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19247
19248 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19249
19250 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19251 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19252 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19253 (byte-compile-normal-call): Remove obsolescence check.
19254
19255 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19256
19257 * frameset.el (frameset-restore): Doc fix.
19258
19259 * register.el (frameset-frame-id, frameset-frame-with-id)
19260 (frameset-p, frameset-restore, frameset-save): Declare.
19261 (register-alist): Document framesets.
19262 (frameset-session-filter-alist): Declare.
19263 (frameset-to-register): New function.
19264 (jump-to-register): Implement jumping to framesets. Doc fix.
19265 (describe-register-1): Describe framesets.
19266
19267 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19268
19269 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19272 Use lexical-binding.
19273
19274 * frameset.el (frameset): Use type vector, not list (incompatible
19275 change). Do not declare a new constructor, use the default one.
19276 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19277 `name' and `description', respectively, and add read-only slot
19278 `timestamp'. Doc fixes.
19279 (frameset-copy, frameset-persistent-filter-alist)
19280 (frameset-filter-alist, frameset-switch-to-gui-p)
19281 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19282 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19283 (frameset-filter-iconified, frameset-keep-original-display-p):
19284 Doc fixes.
19285 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19286 Rename from frameset-filter-(save|restore)-param. All callers changed.
19287 Doc fix.
19288 (frameset-p): Adapt to change to vector and be more thorough.
19289 Change arg name to OBJECT. Doc fix.
19290 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19291 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19292 All callers changed.
19293 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19294 All callers changed.
19295 (frameset--record-minibuffer-relationships): Rename from
19296 frameset--process-minibuffer-frames. All callers changed.
19297 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19298 Use new default constructor (again). Doc fix.
19299 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19300 All callers changed.
19301 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19302 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19303 Doc fix.
19304 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19305 PARAMETERS and WINDOW-STATE, respectively.
19306 (frameset-restore): Add new keyword argument PREDICATE.
19307 Reset frameset--target-display to nil. Doc fix.
19308
19309 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19312 (bat-mode): Use it.
19313 (bat-mode-syntax-table): Mark \n as end-of-comment.
19314 (bat-font-lock-keywords): Remove comment rule.
19315
19316 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19317 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19318
19319 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19320 (byte-compile-callargs-warn): Use `push'.
19321 (byte-compile-arglist-warn): Ignore higher-order "calls".
19322 (byte-compile-file-form-autoload): Use `pcase'.
19323 (byte-compile-function-form): If quoting a symbol, check that it exists.
19324
19325 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19326
19327 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19328 and add a few popular commands found in batch files.
19329 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19330 (dos-mode): Doc fixes.
19331
19332 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19333
19334 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19335 (dos-mode): Use setq-local. Add space after "rem".
19336 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19337 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19338
19339 2013-08-07 Arni Magnusson <arnima@hafro.is>
19340
19341 * progmodes/dos.el: New file.
19342 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19343 dos-mode.
19344
19345 2013-08-06 Glenn Morris <rgm@gnu.org>
19346
19347 * calendar/calendar.el: Add new faces, and day-header-array.
19348 (calendar-weekday-header, calendar-weekend-header)
19349 (calendar-month-header): New faces.
19350 (calendar-day-header-construct): New function.
19351 (calendar-day-header-width): Also :set calendar-day-header-array.
19352 (calendar-american-month-header, calendar-european-month-header)
19353 (calendar-iso-month-header): Use calendar- faces.
19354 (calendar-generate-month):
19355 Use calendar-day-header-array for day headers; apply faces to them.
19356 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19357 (calendar-abbrev-construct): Add optional maxlen argument.
19358 (calendar-day-name-array): Doc fix.
19359 (calendar-day-name-array, calendar-abbrev-length)
19360 (calendar-day-abbrev-array):
19361 Also :set calendar-day-header-array, and maybe redraw.
19362 (calendar-day-header-array): New option. (Bug#15007)
19363 (calendar-font-lock-keywords): Set to nil and make obsolete.
19364 (calendar-day-name): Add option to use header array.
19365
19366 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19367
19368 * net/shr.el (shr-render-td): Remove debugging.
19369 (shr-render-td): Make width computation consistent by defaulting
19370 all zero-width columns to 10 characters. This may not be optimal,
19371 but it's at least consistent.
19372 (shr-make-table-1): Redo last change to fix the real problem in
19373 colspan handling.
19374
19375 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19376
19377 * files.el (cache-long-line-scans):
19378 Make obsolete alias to `cache-long-scans'.
19379
19380 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19381
19382 * frameset.el (frameset, frameset-filter-alist)
19383 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19384 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19385 (frameset-compute-pos): Rename from frameset--compute-pos,
19386 and add docstring.
19387 (frameset-move-onscreen): Use frameset-compute-pos.
19388 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19389
19390 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19391 Fix typos in docstrings.
19392
19393 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19394
19395 * frame.el (get-other-frame): Tiny cleanup.
19396
19397 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19398
19399 * vc/vc.el (vc-default-ignore-completion-table):
19400 Silence byte-compiler warning.
19401
19402 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19403 slot, which can indeed be nil.
19404 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19405 Move entry for `left' from persistent to live filter alist.
19406 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19407 Doc fixes.
19408 (frameset-filter-params): When restoring a frame, copy items added to
19409 `filtered', to avoid unwittingly modifying the original parameters.
19410 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19411 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19412
19413 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19414 to use looking-at-p instead of looking-at. (Bug#15028)
19415
19416 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19417
19418 Revert introduction of isearch-filter-predicates (bug#14714).
19419 Rely on add-function instead.
19420 * isearch.el (isearch-filter-predicates): Rename it back to
19421 isearch-filter-predicate.
19422 (isearch-message-prefix): Use advice-function-mapc and advice
19423 properties to get the isearch-message-prefix.
19424 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19425 instead of run-hook-with-args-until-failure.
19426 (isearch-filter-visible): Not obsolete any more.
19427 * loadup.el: Preload nadvice.
19428 * replace.el (perform-replace): Revert to funcall
19429 instead of run-hook-with-args-until-failure.
19430 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19431 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19432 dired-isearch-filenames-toggle; make it into a proper minor mode.
19433 Use add/remove-function.
19434 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19435 Call the minor-mode rather than add/remove-hook.
19436 (dired-isearch-filter-filenames):
19437 Remove isearch-message-prefix property.
19438 * info.el (Info--search-loop): New function, extracted from Info-search.
19439 Funcall isearch-filter-predicate instead of
19440 run-hook-with-args-until-failure isearch-filter-predicates.
19441 (Info-search): Use it.
19442 (Info-mode): Use isearch-filter-predicate instead of
19443 isearch-filter-predicates.
19444
19445 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19446
19447 Do not call to `selected-window' where it is assumed by default.
19448 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19449 `window-hscroll', `window-width', `window-height', `window-buffer',
19450 `window-frame', `window-start', `window-point', `next-window'
19451 and `window-display-table'.
19452 * abbrev.el (abbrev--default-expand):
19453 * bs.el (bs--show-with-configuration):
19454 * buff-menu.el (Buffer-menu-mouse-select):
19455 * calc/calc.el (calc):
19456 * calendar/calendar.el (calendar-generate-window):
19457 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19458 (diary-make-entry):
19459 * comint.el (send-invisible, comint-dynamic-complete-filename)
19460 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19461 * completion.el (complete):
19462 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19463 * disp-table.el (describe-current-display-table):
19464 * doc-view.el (doc-view-insert-image):
19465 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19466 * ehelp.el (with-electric-help):
19467 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19468 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19469 * emacs-lisp/helper.el (Helper-help-scroller):
19470 * emulation/cua-base.el (cua--post-command-handler-1):
19471 * eshell/esh-mode.el (eshell-output-filter):
19472 * ffap.el (ffap-gnus-wrapper):
19473 * help-macro.el (make-help-screen):
19474 * hilit-chg.el (highlight-compare-buffers):
19475 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19476 * hl-line.el (global-hl-line-highlight):
19477 * icomplete.el (icomplete-simple-completing-p):
19478 * isearch.el (isearch-done):
19479 * jit-lock.el (jit-lock-stealth-fontify):
19480 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19481 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19482 * mpc.el (mpc-tagbrowser, mpc):
19483 * net/rcirc.el (rcirc-any-buffer):
19484 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19485 * play/landmark.el (landmark-max-width, landmark-max-height):
19486 * play/zone.el (zone):
19487 * progmodes/compile.el (compilation-goto-locus):
19488 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19489 * progmodes/etags.el (find-tag-other-window):
19490 * progmodes/fortran.el (fortran-column-ruler):
19491 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19492 * progmodes/verilog-mode.el (verilog-point-text):
19493 * reposition.el (reposition-window):
19494 * rot13.el (toggle-rot13-mode):
19495 * server.el (server-switch-buffer):
19496 * shell.el (shell-dynamic-complete-command)
19497 (shell-dynamic-complete-environment-variable):
19498 * simple.el (insert-buffer, set-selective-display)
19499 (delete-completion-window):
19500 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19501 (speedbar-recenter):
19502 * startup.el (fancy-splash-head):
19503 * textmodes/ispell.el (ispell-command-loop):
19504 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19505 * tutorial.el (help-with-tutorial):
19506 * vc/add-log.el (add-change-log-entry):
19507 * vc/compare-w.el (compare-windows):
19508 * vc/ediff-help.el (ediff-indent-help-message):
19509 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19510 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19511 (ediff-setup-control-frame):
19512 * vc/emerge.el (emerge-position-region):
19513 * vc/pcvs-util.el (cvs-bury-buffer):
19514 * window.el (walk-windows, mouse-autoselect-window-select):
19515 * winner.el (winner-set-conf, winner-undo): Related users changed.
19516
19517 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19518
19519 * frameset.el (frameset--set-id): Doc fix.
19520 (frameset-frame-id, frameset-frame-id-equal-p)
19521 (frameset-locate-frame-id): New functions.
19522 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19523 (frameset-restore): Use them.
19524
19525 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19526
19527 Do not call to `selected-frame' where it is assumed by default.
19528 Affected functions are `raise-frame', `redraw-frame',
19529 `frame-first-window', `frame-terminal' and `delete-frame'.
19530 * calendar/appt.el (appt-disp-window):
19531 * epg.el (epg-wait-for-completion):
19532 * follow.el (follow-delete-other-windows-and-split)
19533 (follow-avoid-tail-recenter):
19534 * international/mule.el (set-terminal-coding-system):
19535 * mail/rmail.el (rmail-mail-return):
19536 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19537 * progmodes/f90.el (f90-add-imenu-menu):
19538 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19539 * server.el (server-switch-buffer):
19540 * simple.el (delete-completion-window):
19541 * talk.el (talk):
19542 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19543 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19544 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19545 * vc/ediff.el (ediff-documentation): Related users changed.
19546 * frame.el (selected-terminal): Remove the leftover.
19547
19548 2013-08-05 Glenn Morris <rgm@gnu.org>
19549
19550 * calendar/calendar.el (calendar-generate-month):
19551 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19552 (calendar-generate-month, calendar-font-lock-keywords):
19553 Fix for calendar-day-header-width > length of any day name.
19554
19555 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * desktop.el (desktop-clear): Use new name of sort predicate.
19558
19559 * frameset.el (frameset): Add docstring. Move :version property to its
19560 own `version' slot.
19561 (frameset-copy): Rename from copy-frameset.
19562 (frameset-p): Check more thoroughly.
19563 (frameset-prop): Do not check for :version, which is no longer a prop.
19564 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19565 Use new :never value instead of t.
19566 (frameset-filter-alist): Expand and clarify docstring.
19567 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19568 (frameset-filter-minibuffer, frameset-filter-save-param)
19569 (frameset-filter-restore-param, frameset-filter-iconified):
19570 Add pointer to docstring of frameset-filter-alist.
19571 (frameset-filter-params): Rename filter values to be more meaningful:
19572 :never instead of t, and reverse the meanings of :save and :restore.
19573 (frameset--process-minibuffer-frames): Clarify error message.
19574 (frameset-save): Avoid unnecessary and confusing call to framep.
19575 Use new BOA constructor for framesets.
19576 (frameset--reuse-list): Doc fix.
19577 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19578 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19579 (frameset-minibufferless-first-p): Doc fix.
19580 Rename from frameset-sort-frames-for-deletion.
19581 (frameset-restore): Doc fixes. Use new function names.
19582 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19583
19584 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19585
19586 * desktop.el (desktop-restore-forces-onscreen)
19587 (desktop-restore-reuses-frames): Document :keyword constant values.
19588 (desktop-filter-parameters-alist): Remove, now identical to
19589 frameset-filter-alist.
19590 (desktop--filter-tty*): Remove, moved to frameset.el.
19591 (desktop-save-frameset, desktop-restore-frameset):
19592 Do not pass :filters argument.
19593
19594 * frameset.el (frameset-live-filter-alist)
19595 (frameset-persistent-filter-alist): New variables.
19596 (frameset-filter-alist): Use them. Add autoload cookie.
19597 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19598 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19599 `frameset--id' (it's supposed to be internal to frameset.el).
19600 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19601 (frameset--initial-params): New function.
19602 (frameset--get-frame): Use it. Doc fix.
19603 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19604 Accept :all, not 'all.
19605 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19606 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19607 with fbound symbols. Fix frame id matching, and remove matching ids if
19608 the frame being restored is deleted. Obey :delete.
19609
19610 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19611
19612 * subr.el (macrop): New function.
19613 (text-clone--maintaining): New var.
19614 (text-clone--maintain): Rename from text-clone-maintain. Use it
19615 instead of inhibit-modification-hooks.
19616
19617 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19618 a proxy, so as handle autoloads and redefinitions of the target.
19619 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19620
19621 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19622 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19623 (pcase--mutually-exclusive-p): New function.
19624 (pcase--split-consp): Use it.
19625 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
19626 mutually exclusive with the current predicate.
19627
19628 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19629 (edebug-macrop): Remove. Use `macrop' instead.
19630 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
19631 (ad-macro-p):
19632 * eshell/esh-cmd.el (eshell-macrop):
19633 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
19634
19635 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19636
19637 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19638 (advice-mapc): New function, using it.
19639 (advice-function-member-p): New function.
19640 (advice--normalize): Store the cdr in advice--saved-rewrite since
19641 that's the part that will be changed.
19642 (advice--symbol-function): New function.
19643 (advice-remove): Handle removal before the function is defined.
19644 Adjust to new advice--saved-rewrite.
19645 (advice-member-p): Use advice-function-member-p and
19646 advice--symbol-function.
19647
19648 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19649
19650 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19651 (frameset-filter-minibuffer): Doc fix.
19652 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
19653 (frameset--set-id, frameset--process-minibuffer-frames)
19654 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19655 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19656
19657 * desktop.el (desktop-clear): Only delete frames when called
19658 interactively and desktop-restore-frames is non-nil. Doc fix.
19659 (desktop-read): Set desktop-saved-frameset to nil.
19660
19661 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
19662
19663 * vc/vc.el (vc-ignore): Rewrite.
19664 (vc-default-ignore-completion-table, vc--read-lines)
19665 (vc--add-line, vc--remove-regexp): New functions.
19666
19667 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19668 (vc-svn-ignore-completion-table): New function.
19669
19670 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19671 (vc-hg-ignore-completion-table)
19672 (vc-hg-find-ignore-file): New functions.
19673
19674 * vc/vc-git.el (vc-git-ignore): Rewrite.
19675 (vc-git-ignore-completion-table)
19676 (vc-git-find-ignore-file): New functions.
19677
19678 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19679
19680 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19681 (vc-bzr-ignore-completion-table)
19682 (vc-bzr-find-ignore-file): New functions.
19683
19684 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
19685
19686 * frameset.el (frameset-prop): New function and setter.
19687 (frameset-save): Do not modify frame list passed by the caller.
19688
19689 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19690
19691 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19692
19693 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
19694
19695 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19696 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19697
19698 * custom.el (custom-initialize-default, custom-initialize-set)
19699 (custom-initialize-reset, custom-initialize-changed): Affect the
19700 toplevel-default-value (bug#6275, bug#14586).
19701 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19702 for bug#6275.
19703
19704 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19705
19706 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19707 Add cl-def* expressions.
19708
19709 * frameset.el (frameset-filter-params): Fix order of arguments.
19710
19711 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19712
19713 Move code related to saving frames to frameset.el.
19714 * desktop.el: Require frameset.
19715 (desktop-restore-frames): Doc fix.
19716 (desktop-restore-reuses-frames): Rename from
19717 desktop-restoring-reuses-frames.
19718 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19719 (desktop-clear): Clear frames too.
19720 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19721 (desktop--filter-tty*, desktop-save, desktop-read):
19722 Use frameset functions.
19723 (desktop-before-saving-frames-functions, desktop--filter-*-color)
19724 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19725 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19726 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19727 (desktop--process-minibuffer-frames, desktop-save-frames)
19728 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19729 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19730 (desktop--sort-states, desktop-restoring-frames-p)
19731 (desktop-restore-frames): Remove. Most code moved to frameset.el.
19732 (desktop-restoring-frameset-p, desktop-restore-frameset)
19733 (desktop--check-dont-save, desktop-save-frameset): New functions.
19734 (desktop--app-id): New constant.
19735 (desktop-first-buffer, desktop-buffer-ok-count)
19736 (desktop-buffer-fail-count): Move before first use.
19737 * frameset.el: New file.
19738
19739 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19740
19741 * files.el: Use lexical-binding.
19742 (dir-locals-read-from-file): Remove unused `err' variable.
19743 (hack-dir-local-variables--warned-coding): New var.
19744 (hack-dir-local-variables): Use it to avoid repeated warnings.
19745 (make-backup-file-name--default-function): New function.
19746 (make-backup-file-name-function): Use it as default.
19747 (buffer-stale--default-function): New function.
19748 (buffer-stale-function): Use it as default.
19749 (revert-buffer-insert-file-contents--default-function): New function.
19750 (revert-buffer-insert-file-contents-function): Use it as default.
19751 (insert-directory): Avoid add-to-list.
19752
19753 * autorevert.el (auto-revert-handler): Simplify.
19754 Use buffer-stale--default-function.
19755
19756 2013-08-01 Tassilo Horn <tsdh@gnu.org>
19757
19758 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19759
19760 * whitespace.el (whitespace-ensure-local-variables): New function.
19761 (whitespace-cleanup-region): Call it.
19762 (whitespace-turn-on): Call it.
19763
19764 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
19765
19766 Complete file name handlers.
19767
19768 * net/tramp.el (tramp-handle-set-visited-file-modtime)
19769 (tramp-handle-verify-visited-file-modtime)
19770 (tramp-handle-file-notify-rm-watch): New functions.
19771 (tramp-call-process): Do not bind `default-directory'.
19772
19773 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19774 Order alphabetically.
19775 <access-file, add-name-to-file, dired-call-process>:
19776 <dired-compress-file, file-acl, file-notify-rm-watch>:
19777 <file-ownership-preserved-p, file-selinux-context>:
19778 <make-directory-internal, make-symbolic-link, set-file-acl>:
19779 <set-file-selinux-context, set-visited-file-modtime>:
19780 <verify-visited-file-modtime>: Add handler.
19781 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19782
19783 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19784 <file-notify-add-watch, file-notify-rm-watch>:
19785 <set-file-times, set-visited-file-modtime>:
19786 <verify-visited-file-modtime>: Add handler.
19787 (with-tramp-gvfs-error-message)
19788 (tramp-gvfs-handle-set-visited-file-modtime)
19789 (tramp-gvfs-fuse-file-name): Remove.
19790 (tramp-gvfs-handle-file-notify-add-watch)
19791 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19792 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19793
19794 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19795 Order alphabetically.
19796 <file-notify-rm-watch>: Use default Tramp handler.
19797 <executable-find>: Remove private handler.
19798 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19799 `default-directory'.
19800 (tramp-sh-handle-executable-find)
19801 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19802 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19803 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19804 Do not use `format' in `tramp-message'.
19805
19806 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19807 <file-notify-rm-watch, set-visited-file-modtime>:
19808 <verify-visited-file-modtime>: Add handler.
19809 (tramp-smb-call-winexe): Do not bind `default-directory'.
19810
19811 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
19812
19813 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19814
19815 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
19816
19817 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19818 use it.
19819 (log-view-diff-changeset): Same.
19820 (log-view-diff-common): Call backend command `previous-revision'
19821 to find out the previous revision, in both cases. Swap the
19822 variables `to' and `fr', so that `fr' usually refers to the
19823 earlier revision (Bug#14989).
19824
19825 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
19826
19827 * ibuf-ext.el (ibuffer-filter-by-filename):
19828 Make it work with dired buffers too.
19829
19830 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
19831
19832 * emacs-lisp/re-builder.el (reb-color-display-p):
19833 * files.el (save-buffers-kill-terminal):
19834 * net/browse-url.el (browse-url):
19835 * server.el (server-save-buffers-kill-terminal):
19836 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19837 Prefer nil to selected-frame for the first arg of frame-parameter.
19838
19839 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
19840
19841 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19842
19843 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
19844
19845 * minibuffer.el (completion--twq-all): Try and preserve each
19846 completion's case choice (bug#14907).
19847
19848 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19849
19850 * net/network-stream.el (open-network-stream): Mention the new
19851 :nogreeting parameter.
19852 (network-stream-open-starttls): Use the :nogreeting parameter
19853 (bug#14938).
19854
19855 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19856
19857 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19858 more natural than popping.
19859
19860 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19861 (shr-urlify): Highlight under mouse.
19862
19863 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19864
19865 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19866
19867 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19868
19869 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19870 buffer for output.
19871
19872 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19873 point-min==1. Fix search string. Fix parentheses missing.
19874
19875 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19876 assume point-min==1. Fix search string. Fix parentheses missing.
19877
19878 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19879
19880 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19881 buffer for output.
19882
19883 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19884
19885 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19886 initial frame is minibuffer-less. (Bug#14841)
19887
19888 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19889
19890 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19891 option.
19892
19893 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19894 (tramp-maybe-open-connection): Use it.
19895
19896 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19897
19898 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19899 minimal set of parameters passed when creating a frame, because
19900 the minibuffer status of a frame cannot be changed later.
19901
19902 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19903
19904 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19905 replace-regexp-in-string and inadvertent omissions in previous change.
19906 (todo-filter-items): Ensure only file names are comma-separated in
19907 name of filtered items buffer.
19908
19909 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19910
19911 * desktop.el: Optionally force offscreen frames back onscreen.
19912 (desktop-restoring-reuses-frames): New option.
19913 (desktop--compute-pos, desktop--move-onscreen): New functions.
19914 (desktop--make-frame): Use desktop--move-onscreen.
19915
19916 2013-07-27 Alan Mackenzie <acm@muc.de>
19917
19918 Fontify a Java generic method as a function.
19919 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19920 value to t.
19921
19922 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
19923
19924 * calendar/todo-mode.el: Add command to rename todo files.
19925 (todo-rename-file): New command.
19926 (todo-key-bindings-t): Add key binding for it. Change the
19927 bindings of todo-filter-regexp-items(-multifile) to use `x'
19928 instead of `r', since the latter is better suited to the new
19929 renaming command.
19930
19931 2013-07-27 Alan Mackenzie <acm@muc.de>
19932
19933 Make Java try-with-resources statement parse properly.
19934 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19935 (c-block-stmt-1-2-key): New language constants/variables.
19936 * progmodes/cc-engine.el (c-beginning-of-statement-1)
19937 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19938 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19939 with c-block-stmt-1-2-key.
19940
19941 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
19942
19943 * desktop.el (desktop--make-frame): Apply most frame parameters after
19944 creating the frame to force (partially or totally) offscreen frames to
19945 be restored as such.
19946
19947 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
19948
19949 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19950 (Bug#14948)
19951
19952 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19953
19954 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19955 `base' arg of backtrace-frame.
19956
19957 2013-07-26 Eli Zaretskii <eliz@gnu.org>
19958
19959 * simple.el (list-processes): Doc fix.
19960
19961 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19962
19963 * desktop.el (desktop--select-frame):
19964 Try harder to reuse existing frames.
19965
19966 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19967
19968 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19969 (edebug-eval): Use backtrace-eval.
19970 (edebug--display, edebug--recursive-edit): Don't let-bind the
19971 edebug-outer-* vars that keep track of variables we locally let-bind.
19972 (edebug-outside-excursion): Don't restore outside values of locally
19973 let-bound vars.
19974 (edebug--display): Use user-error.
19975 (cl-lexical-debug, cl-debug-env): Remove.
19976
19977 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19978
19979 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19980 are restored to be sure that they are visible before deleting any
19981 remaining ones.
19982
19983 2013-07-26 Matthias Meulien <orontee@gmail.com>
19984
19985 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19986 vc-print-root-log. (Bug#14948)
19987
19988 2013-07-26 Richard Stallman <rms@gnu.org>
19989
19990 Add aliases for encrypting mail.
19991 * epa.el (epa-mail-aliases): New option.
19992 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19993 Bind inhibit-read-only so read-only text doesn't ruin everything.
19994 (epa-mail-default-recipients): New subroutine broken out.
19995 Handle epa-mail-aliases.
19996
19997 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19998
19999 Add support for lexical variables to the debugger's `e' command.
20000 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20001 vars, except for debugger-outer-match-data.
20002 (debugger-frame-number): Move check for "on a function call" from
20003 callers into it. Add `skip-base' argument.
20004 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20005 (debugger-env-macro): Only reset the state stored in non-variables,
20006 i.e. current-buffer and match-data.
20007 (debugger-eval-expression): Rewrite using backtrace-eval.
20008 * subr.el (internal--called-interactively-p--get-frame): Remove.
20009 (called-interactively-p):
20010 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20011 `base' arg of backtrace-frame instead.
20012
20013 2013-07-26 Glenn Morris <rgm@gnu.org>
20014
20015 * align.el (align-regexp): Doc fix. (Bug#14857)
20016 (align-region): Explicit error if subexpression missing/does not match.
20017
20018 * simple.el (global-visual-line-mode):
20019 Do not duplicate the mode lighter. (Bug#14858)
20020
20021 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20022
20023 * window.el (display-buffer): In display-buffer bind
20024 split-window-keep-point to t, bug#14829.
20025
20026 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20027
20028 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20029 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20030 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20031 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20032 Change accordingly.
20033 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20034 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20035
20036 2013-07-25 Glenn Morris <rgm@gnu.org>
20037
20038 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20039
20040 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20041
20042 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20043 parameter to modify-frame-parameters if the value has not changed;
20044 this is a workaround for bug#14949.
20045 (desktop--make-frame): On cl-delete-if call, check parameter name,
20046 not full parameter.
20047
20048 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20049
20050 * vc/vc.el (vc-ignore): New function.
20051
20052 * vc/vc-svn.el (vc-svn-ignore): New function.
20053
20054 * vc/vc-hg.el (vc-hg-ignore): New function.
20055
20056 * vc/vc-git.el (vc-git-ignore): New function.
20057
20058 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20059 (vc-dir-ignore): New function.
20060
20061 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20062 (cvs-append-to-ignore): Move here from pcvs.el.
20063
20064 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20065
20066 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20067
20068 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20069
20070 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20071 (desktop-restore-frames): Warn when deleting an existing frame failed.
20072
20073 2013-07-24 Glenn Morris <rgm@gnu.org>
20074
20075 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20076
20077 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20078
20079 * filenotify.el (file-notify-supported-p):
20080 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20081 Remove functions.
20082
20083 * autorevert.el (auto-revert-use-notify)
20084 (auto-revert-notify-add-watch):
20085 * net/tramp.el (tramp-file-name-for-operation):
20086 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20088 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20089 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20090 Remove `file-notify-supported-p' entry.
20091
20092 2013-07-24 Glenn Morris <rgm@gnu.org>
20093
20094 * printing.el: Replace all uses of deleted ps-windows-system,
20095 ps-lp-system, ps-flatten-list with lpr- versions.
20096
20097 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20100 checked with memq (bug#14935).
20101
20102 * files.el (revert-buffer-function): Use a non-nil default.
20103 (revert-buffer-preserve-modes): Declare var to
20104 provide access to the `preserve-modes' argument.
20105 (revert-buffer): Let-bind it.
20106 (revert-buffer--default): New function, extracted from revert-buffer.
20107
20108 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20109
20110 * lpr.el: Signal print errors more prominently.
20111 (print-region-function): Don't default to nil.
20112 (lpr-print-region): New function, extracted from print-region-1.
20113 Check lpr's return value and signal an error in case of problem.
20114 (print-region-1): Use it.
20115 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20116 versions instead.
20117 (ps-printer-name): Default to nil.
20118 (ps-printer-name-option): Default to lpr-printer-switch.
20119 (ps-print-region-function): Don't default to nil.
20120 (ps-postscript-code-directory): Simplify default.
20121 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20122 (ps-string-list, ps-eval-switch, ps-flatten-list)
20123 (ps-flatten-list-1): Remove.
20124 (ps-multibyte-buffer): Avoid setq.
20125 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20126 (print-region-function, ps-print-region-function): Don't set them here.
20127
20128 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20129
20130 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20131 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20132 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20133 (ido-decorations): Doc fix.
20134
20135 * ansi-color.el: Fix old URL.
20136
20137 2013-07-23 Michael R. Mauger <michael@mauger.com>
20138
20139 * progmodes/sql.el: Version 3.3
20140 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20141 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20142 (sql-interactive-remove-continuation-prompt): Rewrite, use
20143 functions above. Fix continuation prompt and complete output line
20144 handling.
20145 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20146 redirected output buffer.
20147 (sql-mode): Restore deleted code (Bug#13591).
20148
20149 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20150
20151 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20152
20153 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20154
20155 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20156
20157 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20159 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20160
20161 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20162
20163 * desktop.el (desktop-clear): Simplify; remove useless checks
20164 against invalid buffer names.
20165 (desktop-list*): Use cl-list*.
20166 (desktop-buffer-info, desktop-create-buffer): Simplify.
20167
20168 2013-07-23 Leo Liu <sdl.web@gmail.com>
20169
20170 * bookmark.el (bookmark-make-record): Restore NAME as a default
20171 value. (Bug#14933)
20172
20173 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20174
20175 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20176 extracted from autoload--insert-text.
20177 (autoload--insert-text): Remove.
20178 (autoload--print-cookie-text): New function, extracted from
20179 autoload--insert-cookie-text.
20180 (autoload--insert-cookie-text): Remove.
20181 (autoload-generate-file-autoloads): Adjust calls accordingly.
20182
20183 * winner.el (winner-hook-installed-p): Remove.
20184 (winner-mode): Simplify accordingly.
20185
20186 * subr.el (add-to-list): Fix compiler-macro when `append' is
20187 not constant. Don't use `cl-member' for the base case.
20188
20189 * progmodes/subword.el: Fix boundary case (bug#13758).
20190 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20191 own group.
20192 (subword-backward-regexp): Make it a constant.
20193 (subword-forward-internal): Don't treat a trailing capital as the
20194 beginning of a word.
20195
20196 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20197
20198 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20199 global value of tabulated-list-revert-hook (bug#14930).
20200
20201 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20202
20203 * desktop.el: Require 'cl-lib.
20204 (desktop-before-saving-frames-functions): New hook.
20205 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20206 for frames being saved. Rename from desktop--save-minibuffer-frames.
20207 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20208 Do not save frames with non-nil `desktop-dont-save' parameter.
20209 Filter out deleted frames.
20210 (desktop--find-frame): Use cl-find-if.
20211 (desktop--select-frame): Use cl-(first|second|third) to access values
20212 of desktop-mini.
20213 (desktop--make-frame): Use cl-delete-if.
20214 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20215 (desktop-restore-frames): Use cl-(first|second|third) to access values
20216 of desktop-mini. Look for visible frame at the end, not while
20217 restoring frames.
20218
20219 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20220 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20221 Use string-match-p, looking-at-p (bug#14927).
20222
20223 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20224
20225 * desktop.el (desktop-saved-frame-states):
20226 Rename from desktop--saved-states; all users changed.
20227 (desktop-save-frames): Rename from desktop--save-frames.
20228 Do not save state to desktop file.
20229 (desktop-save): Save desktop-saved-frame-states to desktop file
20230 and reset to nil.
20231 (desktop-restoring-frames-p): New function.
20232 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20233 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20234 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20235
20236 * desktop.el: Correctly restore iconified frames.
20237 (desktop--filter-iconified-position): New function.
20238 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20239
20240 2013-07-20 Glenn Morris <rgm@gnu.org>
20241
20242 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20243 Let `message' do the formatting.
20244 (def-gdb-preempt-display-buffer): Add explicit format.
20245
20246 * image-dired.el (image-dired-track-original-file):
20247 Use with-current-buffer.
20248 (image-dired-track-thumbnail): Use with-current-buffer.
20249 Avoid changing point of wrong window.
20250
20251 * image-dired.el (image-dired-track-original-file):
20252 Avoid changing point of wrong window. (Bug#14909)
20253
20254 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20255
20256 * progmodes/gdb-mi.el (gdb-done-or-error):
20257 Guard against "%" in gdb output. (Bug#14127)
20258
20259 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20260
20261 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20262 (Bug#14826)
20263
20264 * international/mule.el (coding-system-iso-2022-flags): Fix last
20265 change.
20266
20267 2013-07-20 Kenichi Handa <handa@gnu.org>
20268
20269 * international/mule.el (coding-system-iso-2022-flags):
20270 Add `8-bit-level-4'. (Bug#8522)
20271
20272 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20275 (bug#14815).
20276
20277 * net/eww.el (eww-process-text-input): Allow inputting when the
20278 point is at the start of the line, as the properties aren't
20279 front-sticky.
20280
20281 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20282 degenerate widths.
20283
20284 2013-07-19 Richard Stallman <rms@gnu.org>
20285
20286 * epa.el (epa-popup-info-window): Doc fix.
20287
20288 * subr.el (split-string): New arg TRIM.
20289
20290 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20291
20292 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20293 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20294
20295 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20296
20297 * filenotify.el (file-notify--library): Rename from
20298 `file-notify-support'. Do not autoload. Adapt all uses.
20299 (file-notify-supported-p): New defun.
20300
20301 * autorevert.el (auto-revert-use-notify):
20302 Use `file-notify-supported-p' instead of `file-notify-support'.
20303 Adapt docstring.
20304 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20305
20306 * net/tramp.el (tramp-file-name-for-operation):
20307 Add `file-notify-supported-p'.
20308
20309 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20310 New defun.
20311 (tramp-sh-file-name-handler-alist): Add it as handler for
20312 `file-notify-supported-p '.
20313
20314 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20315 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20317 Add `ignore' as handler for `file-notify-*' functions.
20318
20319 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20320
20321 * simple.el (line-move-partial, line-move): Don't start vscroll or
20322 scroll-up if the current line is not taller than the window.
20323 (Bug#14881)
20324
20325 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20326
20327 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20328 highlight question marks in the method names as strings.
20329 (ruby-block-beg-keywords): Inline.
20330 (ruby-font-lock-keyword-beg-re): Extract from
20331 `ruby-font-lock-keywords'.
20332
20333 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20334
20335 * frame.el (blink-cursor-blinks): New defcustom.
20336 (blink-cursor-blinks-done): New defvar.
20337 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20338 (blink-cursor-timer-function): Check if number of blinks has been
20339 done on X and NS.
20340 (blink-cursor-suspend, blink-cursor-check): New defuns.
20341
20342 2013-07-15 Glenn Morris <rgm@gnu.org>
20343
20344 * edmacro.el (edmacro-format-keys): Fix previous change.
20345
20346 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20347
20348 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20349 The hack didn't work outside English locales anyway.
20350
20351 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20352
20353 * simple.el (define-alternatives): Rename from alternatives-define,
20354 per RMS' suggestion.
20355
20356 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20357
20358 * desktop.el (desktop-restore-frames): Change default to t.
20359 (desktop-restore-in-current-display): Now offer more options.
20360 (desktop-restoring-reuses-frames): New customization option.
20361 (desktop--saved-states): Doc fix.
20362 (desktop-filter-parameters-alist): New variable, renamed and expanded
20363 from desktop--excluded-frame-parameters.
20364 (desktop--target-display): New variable.
20365 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20366 (desktop--filter-tty*, desktop--filter-*-color)
20367 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20368 (desktop--filter-save-desktop-parm)
20369 (desktop-restore-in-original-display-p): New functions.
20370 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20371 (desktop--save-minibuffer-frames): New function, inspired by a similar
20372 function from Martin Rudalics.
20373 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20374 (desktop--restore-in-this-display-p): Remove.
20375 (desktop--find-frame): Rename from desktop--find-frame-in-display
20376 and add predicate argument.
20377 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20378 (desktop--reuse-list): New variable.
20379 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20380 New functions.
20381 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20382
20383 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20384
20385 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20386
20387 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20388
20389 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20390 Highlight conversion methods on Kernel.
20391
20392 2013-07-13 Alan Mackenzie <acm@muc.de>
20393
20394 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20395 and comment it out. This out-commenting enables certain C++
20396 declarations to be parsed correctly.
20397
20398 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20399
20400 * international/mule.el (define-coding-system): Doc fix.
20401
20402 * simple.el (default-font-height): Don't call font-info if the
20403 frame's default font didn't change since the frame was created.
20404 (Bug#14838)
20405
20406 2013-07-13 Leo Liu <sdl.web@gmail.com>
20407
20408 * ido.el (ido-read-file-name): Guard against non-symbol value.
20409
20410 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20411
20412 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20413 in nested defuns.
20414
20415 2013-07-13 Leo Liu <sdl.web@gmail.com>
20416
20417 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20418 ido-set-matches call. (Bug#6852)
20419
20420 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20421
20422 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20423 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20424 Ruby 2.0.
20425 (ruby-font-lock-keywords): Distinguish calls to functions with
20426 module-like names from module references. Highlight character
20427 literals.
20428
20429 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20430
20431 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20432 (gdb-send): Handle continued commands. (Bug#14847)
20433
20434 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20435
20436 * desktop.el (desktop--v2s): Remove unused local variable.
20437 (desktop-save-buffer): Make defvar-local; adjust docstring.
20438 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20439 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20440
20441 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20442
20443 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20444
20445 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20446
20447 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20448 (Bug#14842)
20449
20450 2013-07-12 Glenn Morris <rgm@gnu.org>
20451
20452 * doc-view.el: Require cl-lib at runtime too.
20453 (doc-view-remove-if): Remove.
20454 (doc-view-search-next-match, doc-view-search-previous-match):
20455 Use cl-remove-if.
20456
20457 * edmacro.el: Require cl-lib at runtime too.
20458 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20459 (edmacro-mismatch, edmacro-subseq): Remove.
20460
20461 * shadowfile.el: Require cl-lib.
20462 (shadow-remove-if): Remove.
20463 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20464 Use cl-remove-if.
20465
20466 * wid-edit.el: Require cl-lib.
20467 (widget-choose): Use cl-remove-if.
20468 (widget-remove-if): Remove.
20469
20470 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20471 (ebrowse-delete-if-not): Remove.
20472 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20473 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20474 Use cl-delete-if-not.
20475
20476 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20477
20478 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20479 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20480
20481 2013-07-12 Leo Liu <sdl.web@gmail.com>
20482
20483 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20484
20485 2013-07-11 Glenn Morris <rgm@gnu.org>
20486
20487 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20488 (edebug-gensym-index, edebug-gensym):
20489 Remove reimplementation of cl-gensym.
20490 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20491
20492 * thumbs.el: Require cl-lib at run-time too.
20493 (thumbs-gensym-counter, thumbs-gensym):
20494 Remove reimplementation of cl-gensym.
20495 (thumbs-temp-file): Use cl-gensym.
20496
20497 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20498 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20499 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20500 (ert--union, ert--gensym-counter, ert--gensym-counter)
20501 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20502 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20503 (ert-make-test-unbound, ert--expand-should-1)
20504 (ert--expand-should, ert--should-error-handle-error)
20505 (should-error, ert--explain-equal-rec)
20506 (ert--plist-difference-explanation, ert-select-tests)
20507 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20508 Use cl-lib functions rather than reimplementations.
20509
20510 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20511
20512 * net/tramp.el (tramp-methods): Extend docstring.
20513 (tramp-connection-timeout): New defcustom.
20514 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20515 (with-tramp-progress-reporter): Simplify.
20516 (tramp-process-actions): Improve messages.
20517
20518 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20519 * net/tramp-sh.el (tramp-maybe-open-connection):
20520 Use `tramp-connection-timeout'.
20521 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20522 (Bug#14808)
20523
20524 2013-07-11 Leo Liu <sdl.web@gmail.com>
20525
20526 * ido.el (ido-read-file-name): Conform to the requirements of
20527 read-file-name. (Bug#11861)
20528 (ido-read-directory-name): Conform to the requirements of
20529 read-directory-name.
20530
20531 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20532
20533 * subr.el (delay-warning): New function.
20534
20535 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20536
20537 * simple.el (default-line-height): New function.
20538 (line-move-partial, line-move): Use it instead of computing the
20539 line height inline.
20540 (line-move-partial): Always compute ROWH. If the last line is
20541 partially-visible, but its text is completely visible, allow
20542 cursor to enter such a partially-visible line.
20543
20544 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20545
20546 Improve error messages. (Bug#14808)
20547
20548 * net/tramp.el (tramp-current-connection): New defvar, moved from
20549 tramp-sh.el.
20550 (tramp-message-show-progress-reporter-message): Remove, not
20551 needed anymore.
20552 (tramp-error-with-buffer): Show message in minibuffer.
20553 Discard input before waiting. Reset connection timestamp.
20554 (with-tramp-progress-reporter): Improve messages.
20555 (tramp-process-actions): Use progress reporter. Delete process in
20556 case of error. Improve messages.
20557
20558 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20559 Call `tramp-error-with-buffer' with vector and buffer.
20560 (tramp-current-connection): Remove.
20561 (tramp-maybe-open-connection): The car of
20562 `tramp-current-connection' are the first 3 slots of the vector.
20563
20564 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20565
20566 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20567 inside continued strings.
20568
20569 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20570
20571 Timestamp fixes for undo (Bug#14824).
20572 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20573
20574 2013-07-10 Leo Liu <sdl.web@gmail.com>
20575
20576 * files.el (require-final-newline): Allow safe local value.
20577 (Bug#14834)
20578
20579 2013-07-09 Leo Liu <sdl.web@gmail.com>
20580
20581 * ido.el (ido-read-directory-name): Handle fallback.
20582 (ido-read-file-name): Update DIR to ido-current-directory.
20583 (Bug#1516)
20584 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20585
20586 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20587
20588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20589 "autoload". Remove "warn lower camel case" section, previously
20590 commented out. Highlight negation char. Do not highlight the
20591 target in singleton method definitions.
20592
20593 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20594
20595 * faces.el (tty-setup-hook): Declare the hook.
20596
20597 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20598 and detect when a guard/pred depends on local vars (bug#14773).
20599 (pcase--u1): Adjust caller.
20600
20601 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20602
20603 * simple.el (line-move-partial, line-move): Account for
20604 line-spacing.
20605 (line-move-partial): Avoid setting vscroll when the last
20606 partially-visible line in window is of default height.
20607
20608 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20609
20610 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20611 been used a while.
20612
20613 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20614
20615 * subr.el (read-quoted-char): Remove unused local variable `char'.
20616
20617 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20618
20619 * vc/ediff.el (ediff-version): Version update.
20620 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20621 (ediff-merge-with-ancestor-command, ediff-directories-command)
20622 (ediff-directories3-command, ediff-merge-directories-command)
20623 (ediff-merge-directories-with-ancestor-command): New functions.
20624 All are command-line interfaces to ediff: to facilitate calling
20625 Emacs with the appropriate ediff functions invoked.
20626
20627 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20628 New function.
20629 (viper-save-kill-buffer): Check if buffer is modified.
20630
20631 * emulation/viper.el (viper-version): Version update.
20632 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20633
20634 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20635
20636 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20637 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20638 (viper-intercept-ESC-key): Simplify.
20639 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20640 don't use kbd.
20641 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20642 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20643 (viper-setup-ESC-to-escape): New functions.
20644 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20645 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
20646
20647 2013-07-07 Eli Zaretskii <eliz@gnu.org>
20648
20649 * simple.el (default-font-height, window-screen-lines):
20650 New functions.
20651 (line-move, line-move-partial): Use them instead of
20652 frame-char-height and window-text-height. This makes scrolling
20653 text smoother when the buffer's default face uses a font that is
20654 different from the frame's default font.
20655
20656 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
20657
20658 * files.el (write-file): Do not display confirm dialog for NS,
20659 it does its own dialog, which can't be canceled (Bug#14578).
20660
20661 2013-07-06 Eli Zaretskii <eliz@gnu.org>
20662
20663 * simple.el (line-move-partial): Adjust the row returned by
20664 posn-at-point for the current window-vscroll. (Bug#14567)
20665
20666 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
20667
20668 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20669 (tramp-sh-file-inotifywait-process-filter): Handle file names with
20670 spaces.
20671
20672 2013-07-06 Martin Rudalics <rudalics@gmx.at>
20673
20674 * window.el (window-state-put-stale-windows): New variable.
20675 (window--state-put-2): Save list of windows without matching buffer.
20676 (window-state-put): Remove "bufferless" windows if possible.
20677
20678 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20679
20680 * simple.el (alternatives-define): Remove leftover :group keyword.
20681 Tweak docstring.
20682
20683 2013-07-06 Leo Liu <sdl.web@gmail.com>
20684
20685 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20686 (ido-enable-virtual-buffers): New variable.
20687 (ido-buffer-internal, ido-toggle-virtual-buffers)
20688 (ido-make-buffer-list): Use it.
20689 (ido-exhibit): Support turning on and off virtual buffers
20690 automatically.
20691
20692 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20693
20694 * simple.el (alternatives-define): New macro.
20695
20696 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20697
20698 * subr.el (read-quoted-char): Use read-key.
20699 (sit-for): Let read-event decode tty input (bug#14782).
20700
20701 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
20702
20703 * calendar/todo-mode.el: Add handling of file deletion, both by
20704 mode command and externally. Fix various related bugs.
20705 Clarify Commentary and improve some documentation strings and code.
20706 (todo-delete-file): New command.
20707 (todo-check-file): New function.
20708 (todo-show): Handle external deletion of the file we're trying to
20709 show (bug#14688). Replace called-interactively-p by an optional
20710 prefix argument to avoid problematic interaction with catch form
20711 when byte compiled (bug#14702).
20712 (todo-quit): Handle external deletion of the archive's todo file.
20713 Make sure the buffer that was visiting the archive file is still
20714 live before trying to bury it.
20715 (todo-category-completions): Handle external deletion of any
20716 category completion files.
20717 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20718 of todo files, in case of external deletion.
20719 (todo-add-file): Replace unnecessary setq by let-binding.
20720 (todo-find-archive): Check whether there are any archives.
20721 Replace unnecessary setq by let-binding.
20722 (todo-archive-done-item): Use find-file-noselect to get the
20723 archive buffer whether or not the archive already exists.
20724 Remove superfluous code. Use file size instead of buffer-file-name to
20725 check if the archive is new; if it is, update list of archives.
20726 (todo-default-todo-file): Allow nil to be a valid value for when
20727 there are no todo files.
20728 (todo-reevaluate-default-file-defcustom): Use corrected definition
20729 of todo-default-todo-file.
20730 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20731 (todo-delete-category, todo-show-categories-table)
20732 (todo-category-number): Clarify comment.
20733 (todo-filter-items): Clarify documentation string.
20734 (todo-show-current-file, todo-display-as-todo-file)
20735 (todo-reset-and-enable-done-separator): Tweak documentation string.
20736 (todo-done-separator): Make separator length window-width, since
20737 bug#2749 is now fixed.
20738
20739 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
20740
20741 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20742 Support both "gvfs-monitor-dir" and "inotifywait".
20743 (tramp-sh-file-inotifywait-process-filter): Rename from
20744 `tramp-sh-file-notify-process-filter'.
20745 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20746 (tramp-get-remote-gvfs-monitor-dir): New defuns.
20747
20748 2013-07-05 Leo Liu <sdl.web@gmail.com>
20749
20750 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20751
20752 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20753
20754 * frame.el (display-pixel-height, display-pixel-width)
20755 (display-mm-height, display-mm-width): Mention behavior on
20756 multi-monitor setups in docstrings.
20757 (w32-display-monitor-attributes-list): Declare function.
20758 (display-monitor-attributes-list): Use it.
20759
20760 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
20761
20762 * filenotify.el: New package.
20763
20764 * autorevert.el (top): Require filenotify.el.
20765 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
20766 instead.
20767 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20768 (auto-revert-notify-handler): Use `file-notify-*' functions.
20769
20770 * subr.el (file-notify-handle-event): Move function to filenotify.el.
20771
20772 * net/tramp.el (tramp-file-name-for-operation):
20773 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20774
20775 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20776 for `file-notify-add-watch' and `file-notify-rm-watch'.
20777 (tramp-process-sentinel): Improve trace.
20778 (tramp-sh-handle-file-notify-add-watch)
20779 (tramp-sh-file-notify-process-filter)
20780 (tramp-sh-handle-file-notify-rm-watch)
20781 (tramp-get-remote-inotifywait): New defuns.
20782
20783 2013-07-03 Juri Linkov <juri@jurta.org>
20784
20785 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20786 call of `occur-read-primary-args' to interactive spec.
20787
20788 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20789 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
20790
20791 2013-07-03 Matthias Meulien <orontee@gmail.com>
20792
20793 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20794 `Buffer-menu-multi-occur'. Add it to the menu.
20795 (Buffer-menu-mode): Document it in docstring.
20796 (Buffer-menu-multi-occur): New command. (Bug#14673)
20797
20798 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20799
20800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20801 keywords and built-ins.
20802
20803 2013-07-03 Glenn Morris <rgm@gnu.org>
20804
20805 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
20806
20807 Make info-xref checks case-sensitive by default
20808 * info.el (Info-find-node, Info-find-in-tag-table)
20809 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20810 Add option for exact case matching of nodes.
20811 * info-xref.el (info-xref): New custom group.
20812 (info-xref-case-fold): New option.
20813 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20814
20815 2013-07-03 Leo Liu <sdl.web@gmail.com>
20816
20817 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20818
20819 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20820
20821 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20822 middle of block statement initially, lower the depth. Remove
20823 FIXME comment, not longer valid. Remove middle of block statement
20824 detection, no need to do that anymore since we've been using
20825 `ruby-parse-region' here.
20826
20827 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
20828
20829 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20830
20831 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
20832
20833 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20834
20835 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
20836
20837 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20838 (desktop-restore-in-current-display): New customization option.
20839 (desktop--excluded-frame-parameters): Add `font'.
20840 (desktop--save-frames): Rename from desktop--save-windows.
20841 (desktop--restore-in-this-display-p): New function.
20842 (desktop--make-full-frame): Remove unwanted width/height from
20843 full(width|height) frames.
20844 (desktop--restore-frames): Rename from desktop--restore-windows.
20845 Obey desktop-restore-current-display. Do not delete old frames or
20846 select a new frame unless we were able to restore at least one frame.
20847
20848 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20849
20850 * files.el (find-file-noselect): Simplify conditional expression.
20851
20852 * textmodes/remember.el (remember-append-to-file):
20853 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20854
20855 Add `remember-notes' function to store random notes across Emacs
20856 restarts.
20857 * textmodes/remember.el (remember-data-file): Add :set callback to
20858 affect notes buffer (if any).
20859 (remember-notes): New command.
20860 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20861 New defcustoms for the `remember-notes' function.
20862 (remember-notes-save-and-bury-buffer): New command.
20863 (remember-notes-mode-map): New variable.
20864 (remember-mode): New minor mode.
20865 (remember-notes--kill-buffer-query): New function.
20866 * startup.el (initial-buffer-choice): Add notes to custom type.
20867
20868 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20869
20870 * bindings.el (right-char, left-char): Don't call sit-for, this is
20871 no longer needed. Use arithmetic comparison only for numerical
20872 arguments.
20873
20874 * international/mule-cmds.el (select-safe-coding-system):
20875 Handle the case of FROM being a string correctly. (Bug#14755)
20876
20877 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20878
20879 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20880 progression on degenerate tables.
20881 (shr-rescale-image): ImageMagick animated images currently don't work.
20882
20883 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20884
20885 Some fixes and improvements for desktop frame restoration.
20886 It is still experimental and disabled by default.
20887 * desktop.el (desktop--save-windows): Put the selected frame at
20888 the head of the list.
20889 (desktop--make-full-frame): New function.
20890 (desktop--restore-windows): Try to re-select the frame that was
20891 selected upon saving. Do not abort if some frames fail to restore,
20892 just show an error message and continue. Set up maximized frames
20893 so they have default non-maximized dimensions.
20894
20895 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20896
20897 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20898 Don't start heredoc inside a string or comment.
20899
20900 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20901
20902 * bindings.el (visual-order-cursor-movement): New defcustom.
20903 (right-char, left-char): Provide visual-order cursor motion by
20904 calling move-point-visually. Update the doc strings.
20905
20906 2013-06-28 Kenichi Handa <handa@gnu.org>
20907
20908 * international/mule.el (define-coding-system): New coding system
20909 properties :inhibit-null-byte-detection,
20910 :inhibit-iso-escape-detection, and :prefer-utf-8.
20911 (set-buffer-file-coding-system): If :charset-list property of
20912 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20913 appropriate for setting.
20914
20915 * international/mule-cmds.el (select-safe-coding-system):
20916 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20917 multibyte characters, return utf-8 (or one of its siblings).
20918
20919 * international/mule-conf.el (prefer-utf-8): New coding system.
20920 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20921 files.
20922
20923 2013-06-28 Ivan Kanis <ivan@kanis.fr>
20924
20925 * net/shr.el (shr-render-region): New function.
20926
20927 * net/eww.el: Autoload `eww-browse-url'.
20928
20929 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
20930
20931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20932 Adapt to `package-desc-version' being a list.
20933 Use `package--ac-desc-version' to retrieve version from a package
20934 archive element.
20935
20936 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
20937
20938 New experimental feature to save&restore window and frame setup.
20939 * desktop.el (desktop-save-windows): New defcustom.
20940 (desktop--saved-states): New var.
20941 (desktop--excluded-frame-parameters): New defconst.
20942 (desktop--filter-frame-parms, desktop--find-frame-in-display)
20943 (desktop--restore-windows, desktop--save-windows): New functions.
20944 (desktop-save): Call `desktop--save-windows'.
20945 (desktop-read): Call `desktop--restore-windows'.
20946
20947 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20948
20949 * net/shr.el (add-face-text-property): Remove compat definition.
20950
20951 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20952
20953 * info.el (Info-try-follow-nearest-node): Move search for footnote
20954 above search for node name to prevent missing a footnote (bug#14717).
20955
20956 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20957
20958 * obsolete/otodo-mode.el: Add obsolescence info to file header.
20959
20960 2013-06-27 Leo Liu <sdl.web@gmail.com>
20961
20962 * net/eww.el (eww-read-bookmarks): Check file size.
20963
20964 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20965
20966 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20967 advice--pending if newdef is nil or an autoload (bug#13820).
20968 (advice-mapc): New function.
20969
20970 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20971
20972 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20973 probably.
20974 (eww-mode-map): Add a menu bar.
20975 (eww-add-bookmark): New command.
20976 (eww-bookmark-mode): New mode and commands.
20977 (eww-add-bookmark): Remove newlines from the title.
20978 (eww-bookmark-browse): Don't bug out if it's the only window.
20979
20980 2013-06-26 Glenn Morris <rgm@gnu.org>
20981
20982 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20983 (hfy-size): Handle ttys. (Bug#14668)
20984
20985 * info-xref.el: Update for Texinfo 5 change in *note format.
20986 (info-xref-node-re, info-xref-note-re): New constants.
20987 (info-xref-check-buffer): Use info-xref-note-re.
20988
20989 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20990
20991 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20992
20993 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20994 nil terminate the loop (bug#14718).
20995
20996 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20997
20998 * net/eww.el: Rework history traversal. When going forward/back,
20999 put these actions into the history, too, so that they can be
21000 replayed.
21001 (eww-render): Move the history reset to the correct buffer.
21002
21003 2013-06-25 Juri Linkov <juri@jurta.org>
21004
21005 * files-x.el (modify-dir-local-variable): Change the header comment
21006 in the file with directory local variables. (Bug#14692)
21007
21008 * files-x.el (read-file-local-variable-value): Add `default'.
21009 (Bug#14710)
21010
21011 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21012
21013 * net/eww.el (eww-make-unique-file-name): Create a unique file
21014 name before saving to entering `y' accidentally asynchronously.
21015
21016 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21017
21018 * net/eww.el (eww-download): New command and keystroke.
21019
21020 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21021
21022 * net/eww.el (eww-copy-page-url): Change name of command.
21023
21024 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21025 be more consistent with Info and dired.
21026
21027 * net/eww.el (eww-mode-map): Ditto.
21028
21029 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21030
21031 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21032 packages from archives.
21033 (package-archive-contents): Change format; include obsolete packages.
21034 (package-desc): Use `dir' to mark builtin packages.
21035 (package--from-builtin): Set the `dir' field to `builtin'.
21036 (generated-autoload-file, version-control): Declare.
21037 (package-compute-transaction): Change first arg and return value to be
21038 lists of package-descs. Adjust to new package-archive-contents format.
21039 (package--add-to-archive-contents): Adjust to new
21040 package-archive-contents format.
21041 (package-download-transaction): Arg is now a list of package-descs.
21042 (package-install): If `pkg' is a package name, pass it as
21043 a requirement, so it is subject to the usual (e.g. disabled) checks.
21044 (describe-package): Accept package-desc as well.
21045 (describe-package-1): Describe a specific package-desc. Add links to
21046 other package-descs for the same package name.
21047 (package-menu-describe-package): Pass the actual package-desc.
21048 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21049 works correctly.
21050 (package-desc-status): New function.
21051 (package-menu--refresh): New function, extracted
21052 from package-menu--generate.
21053 (package-menu--generate): Use it.
21054 (package-delete): Update package-alist.
21055 (package-menu-execute): Don't call package-initialize.
21056
21057 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21058 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21059 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21060 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21061 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21062 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21063
21064 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21065
21066 * window.el (window--state-get-1): Workaround for bug#14527.
21067 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21068
21069 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21070
21071 * net/eww.el (eww-back-url): Implement the history by stashing all
21072 the data into a list.
21073 (eww-forward-url): Allow going forward in the history, too.
21074
21075 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21076
21077 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21078 for values and use read--expression for expressions (bug#14710).
21079 (read-file-local-variable): Avoid setq.
21080 (read-file-local-variable-mode): Use minor-mode-list.
21081
21082 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21083
21084 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21085 for DOI URLs.
21086
21087 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21088
21089 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21090 Update imenu-support when dialect changes.
21091
21092 2013-06-25 Leo Liu <sdl.web@gmail.com>
21093
21094 * ido.el (ido-read-internal): Allow forward slash on windows.
21095
21096 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21097
21098 * net/eww.el (eww): Start of strings is \\`, not ^.
21099
21100 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21101
21102 * net/shr.el (shr-browse-url): Fix interactive spec.
21103
21104 * net/eww.el (eww): Add a trailing slash to domain names.
21105
21106 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21107
21108 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21109
21110 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21111
21112 * net/shr.el (shr-browse-url): Use an external browser if given a
21113 prefix.
21114
21115 * net/eww.el (eww-external-browser): Move to shr.
21116
21117 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21118
21119 * net/eww.el (eww): Work more correctly for file: URLs.
21120 (eww-detect-charset): Allow quoted charsets.
21121 (eww-yank-page-url): New command and keystroke.
21122
21123 2013-06-24 Daiki Ueno <ueno@gnu.org>
21124
21125 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21126 file name of gpg executable.
21127 (epg-context-program): New function.
21128 (epg-context-home-directory): New function.
21129 (epg-context-set-program): New function.
21130 (epg-context-set-home-directory): New function.
21131 (epg--start): Use `epg-context-program' instead of
21132 'epg-gpg-program'.
21133 (epg--list-keys-1): Likewise.
21134
21135 2013-06-24 Leo Liu <sdl.web@gmail.com>
21136
21137 * ido.el (ido-read-internal): Fix bug#14620.
21138
21139 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21140
21141 * faces.el (face-documentation): Simplify.
21142 (read-face-attribute, tty-find-type, x-resolve-font-name):
21143 Use `string-match-p'.
21144 (list-faces-display): Use `string-match-p'. Simplify.
21145 (face-spec-recalc): Check face to avoid face alias loops.
21146 (read-color): Use `string-match-p' and non-capturing parenthesis.
21147
21148 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21149
21150 * net/shr.el (shr-rescale-image): Use the new
21151 :max-width/:max-height functionality.
21152
21153 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21154
21155 * net/eww.el (eww-search-prefix): New variable.
21156 (eww): Use it.
21157 (eww-external-browser): New variable.
21158 (eww-mode-map): New keystroke.
21159 (eww-browse-with-external-browser): New command.
21160
21161 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21162
21163 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21164
21165 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21166 Don't skip aligning the next header field when padding is 0;
21167 otherwise, field width is not respected unless the title is as
21168 wide as the field.
21169
21170 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21171
21172 * emacs-lisp/package.el (package-el-version): Remove.
21173 (package-process-define-package): Fix inf-loop.
21174 (package-install): Allow symbols as arguments again.
21175
21176 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21177
21178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21179 add some more keyword-like methods.
21180 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21181
21182 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21183
21184 * bs.el (bs-buffer-show-mark): Make defvar-local.
21185 (bs-mode): Use setq-local.
21186
21187 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21188 (emacs-lock--try-unlocking): Make defvar-local.
21189
21190 2013-06-22 Glenn Morris <rgm@gnu.org>
21191
21192 * play/cookie1.el (cookie-apropos): Minor simplification.
21193
21194 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21195
21196 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21197
21198 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21199 `regexp-opt', it breaks the build during dumping.
21200
21201 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21202
21203 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21204 Highlight keyword-like methods on Kernel and Module with
21205 font-lock-builtin-face.
21206 (auto-mode-alist): Consolidate different entries into one regexp
21207 and add more *file-s.
21208
21209 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21210
21211 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21212
21213 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21214 (diary-entry): Use it in the action of this button type instead of
21215 diary-goto-entry.
21216
21217 * calendar/todo-mode.el: New version.
21218 (todo-add-category): Append new category to end of file and give
21219 it the highest number, instead of putting it at the beginning and
21220 giving it 0. Incorporate noninteractive functionality.
21221 (todo-forward-category): Adapt to 1-based category numbering.
21222 Allow skipping over archived categories.
21223 (todo-backward-category): Derive from todo-forward-category.
21224 (todo-backward-item, todo-forward-item): Make noninteractive and
21225 delegate interactive part to new commands. Make sensitive to done items.
21226 (todo-categories): Make value an alist of category names and
21227 vectors of item counts.
21228 (todo-category-beg): Make a defconst.
21229 (todo-category-number): Use 1 instead of 0 as initial value.
21230 (todo-category-select): Make sensitive to overlays, optional item
21231 highlighting and done items.
21232 (todo-delete-item): Make sensitive to overlays and marked and done items.
21233 (todo-edit-item): Make sensitive to overlays and editing of
21234 date/time header optional. Add format checks.
21235 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21236 no-op if point is not on an item. Advertise using todo-edit-quit.
21237 (todo-edit-mode): Make sensitive to new format, font-locking, and
21238 multiple todo files.
21239 (todo-insert-item, todo-insert-item-here): Derive from
21240 todo-basic-insert-item and extend functionality.
21241 (todo-item-end, todo-item-start): Make sensitive to done items.
21242 (todo-item-string): Don't return text properties. Restore point.
21243 (todo-jump-to-category): Make sensitive to multiple todo files and
21244 todo archives. Use extended category completion.
21245 (todo-lower-item, todo-raise-item): Rename to *-priority and
21246 derive from todo-set-item-priority.
21247 (todo-mode): Derive from special-mode. Make sensitive to new
21248 format, font-locking and multiple todo files. Make read-only.
21249 (todo-mode-map): Don't suppress digit keys, so they can supply
21250 prefix arguments. Add many new key bindings.
21251 (todo-prefix): Insert as an overlay instead of file text.
21252 Change semantics from diary date expression to purely visual mark.
21253 (todo-print): Rename to todo-print-buffer. Make buffer display
21254 features printable. Remove option to restrict number of items
21255 printed. Add option to print to file.
21256 (todo-print-function): Rename to todo-print-buffer-function.
21257 (todo-quit): Extend to handle exiting new todo modes.
21258 (todo-remove-item): Make sensitive to overlays.
21259 (todo-save): Extend to buffers of filtered items.
21260 (todo-show): Make sensitive to done items, multiple todo files and
21261 new todo modes. Offer to convert legacy todo file before creating
21262 first new todo file.
21263 (todo-show-priorities): Rename to todo-top-priorities.
21264 Change semantics of value 0.
21265 (todo-top-priorities): Rename to todo-filter-top-priorities,
21266 derive from todo-filter-items and extend functionality.
21267 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21268 and extend functionality to other types of filtered items.
21269 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21270 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21271 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21272 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21273 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21274 (todo-edit-mode-hook, todo-entry-prefix-function)
21275 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21276 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21277 (todo-initials, todo-insert-threshold, todo-item-string-start)
21278 (todo-line-string, todo-menu, todo-mode-hook)
21279 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21280 (todo-print-priorities, todo-remove-separator)
21281 (todo-save-top-priorities-too, todo-string-count-lines)
21282 (todo-string-multiline-p, todo-time-string-format)
21283 (todo-tmp-buffer-name): Remove.
21284 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21285 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21286 (todo-edit-category-diary-inclusion)
21287 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21288 (todo-edit-file, todo-edit-item-date-day)
21289 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21290 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21291 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21292 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21293 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21294 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21295 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21296 (todo-filter-top-priorities-multifile, todo-find-archive)
21297 (todo-find-filtered-items-file, todo-go-to-source-item)
21298 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21299 (todo-jump-to-archive-category, todo-lower-category)
21300 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21301 (todo-move-category, todo-move-item, todo-next-button)
21302 (todo-next-item, todo-padded-string, todo-powerset)
21303 (todo-previous-button, todo-previous-item)
21304 (todo-print-buffer-to-file, todo-raise-category)
21305 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21306 (todo-set-category-number, todo-set-item-priority)
21307 (todo-set-top-priorities-in-category)
21308 (todo-set-top-priorities-in-file, todo-show-categories-table)
21309 (todo-sort-categories-alphabetically-or-numerically)
21310 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21311 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21312 (todo-toggle-item-header, todo-toggle-item-highlighting)
21313 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21314 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21315 (todo-unarchive-items, todo-unmark-category): New commands.
21316 (todo-absolute-file-name, todo-add-to-buffer-list)
21317 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21318 (todo-basic-insert-item, todo-category-completions)
21319 (todo-category-number, todo-category-string-matcher-1)
21320 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21321 (todo-check-format, todo-clear-matches)
21322 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21323 (todo-current-category, todo-date-string-matcher)
21324 (todo-define-insertion-command, todo-diary-expired-matcher)
21325 (todo-diary-goto-entry, todo-diary-item-p)
21326 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21327 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21328 (todo-done-item-section-p, todo-done-separator)
21329 (todo-done-string-matcher, todo-files, todo-filter-items)
21330 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21331 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21332 (todo-insert-category-line, todo-insert-item-from-calendar)
21333 (todo-insert-sort-button, todo-insert-with-overlays)
21334 (todo-insertion-command-name, todo-insertion-key-bindings)
21335 (todo-label-to-key, todo-longest-category-name-length)
21336 (todo-make-categories-list, todo-mode-external-set)
21337 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21338 (todo-modes-set-3, todo-multiple-filter-files)
21339 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21340 (todo-read-category, todo-read-date, todo-read-dayname)
21341 (todo-read-file-name, todo-read-time)
21342 (todo-reevaluate-category-completions-files-defcustom)
21343 (todo-reevaluate-default-file-defcustom)
21344 (todo-reevaluate-filelist-defcustoms)
21345 (todo-reevaluate-filter-files-defcustom)
21346 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21347 (todo-reset-done-separator, todo-reset-done-separator-string)
21348 (todo-reset-done-string, todo-reset-global-current-todo-file)
21349 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21350 (todo-reset-prefix, todo-set-categories)
21351 (todo-set-date-from-calendar, todo-set-show-current-file)
21352 (todo-set-top-priorities, todo-short-file-name)
21353 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21354 (todo-total-item-counts, todo-update-buffer-list)
21355 (todo-update-categories-display, todo-update-categories-sexp)
21356 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21357 New functions.
21358 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21359 New major modes.
21360 (todo-categories, todo-display, todo-edit, todo-faces)
21361 (todo-filtered): New defgroups.
21362 (todo-archived-only, todo-button, todo-category-string, todo-date)
21363 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21364 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21365 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21366 (todo-add-item-if-new-category, todo-always-add-time-string)
21367 (todo-categories-align, todo-categories-archived-label)
21368 (todo-categories-category-label, todo-categories-diary-label)
21369 (todo-categories-done-label, todo-categories-number-separator)
21370 (todo-categories-todo-label, todo-categories-totals-label)
21371 (todo-category-completions-files, todo-completion-ignore-case)
21372 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21373 (todo-done-separator-string, todo-done-string)
21374 (todo-files-function, todo-filter-done-items, todo-filter-files)
21375 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21376 (todo-initial-category, todo-initial-file, todo-item-mark)
21377 (todo-legacy-date-time-regexp, todo-mode-line-function)
21378 (todo-nondiary-marker, todo-number-prefix)
21379 (todo-print-buffer-function, todo-show-current-file)
21380 (todo-show-done-only, todo-show-first, todo-show-with-done)
21381 (todo-skip-archived-categories, todo-top-priorities-overrides)
21382 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21383 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21384 New defcustoms.
21385 (todo-category-done, todo-date-pattern, todo-date-string-start)
21386 (todo-diary-items-buffer, todo-done-string-start)
21387 (todo-filtered-items-buffer, todo-item-start)
21388 (todo-month-abbrev-array, todo-month-name-array)
21389 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21390 (todo-top-priorities-buffer): New defconsts.
21391 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21392 (todo-categories-with-marks, todo-category-string-face)
21393 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21394 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21395 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21396 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21397 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21398 (todo-font-lock-keywords, todo-global-current-todo-file)
21399 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21400 (todo-insertion-commands-args)
21401 (todo-insertion-commands-args-genlist)
21402 (todo-insertion-commands-names, todo-insertion-map)
21403 (todo-key-bindings-t, todo-key-bindings-t+a)
21404 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21405 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21406 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21407 (todo-visited): New variables.
21408
21409 2013-06-21 Glenn Morris <rgm@gnu.org>
21410
21411 * play/cookie1.el (cookie-apropos): Add optional display argument.
21412 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21413 (psychoanalyze-pinhead): Use cookie-doctor.
21414
21415 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21416
21417 * emacs-lisp/package.el (tar-get-file-descriptor)
21418 (tar--extract): Declare.
21419
21420 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21421
21422 Extend flymake's warning predicate to be a function (bug#14217).
21423 * progmodes/flymake.el (flymake-warning-predicate): New.
21424 (flymake-parse-line): Use it.
21425 (flymake-warning-re): Make obsolete alias to
21426 `flymake-warning-predicate'.
21427
21428 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21429
21430 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21431 (package-obsolete-list): Remove.
21432 (package-activate): Remove min-version argument. Add `force' argument.
21433 Adjust to new package-alist format.
21434 (package-mark-obsolete): Remove.
21435 (package-unpack): Force reload of the package's autoloads.
21436 (package-installed-p): Check builtins if the installed package is not
21437 recent enough.
21438 (package-initialize): Don't reset package-obsolete-list.
21439 Don't specify which package version to activate.
21440 (package-process-define-package, describe-package-1)
21441 (package-menu--generate): Adjust to new package-alist format.
21442
21443 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21444
21445 * allout-widgets.el (allout-widgets-mode-off)
21446 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21447 (allout-widgets-post-command-business)
21448 (allout-widgets-after-copy-or-kill-function)
21449 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21450 (allout-decorate-item-and-context)
21451 (allout-graphics-modification-handler): Fix typos in docstrings.
21452 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21453
21454 * cmuscheme.el (scheme-start-file): Doc fix.
21455 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21456 (scheme-input-filter): Use `string-match-p'.
21457
21458 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21459
21460 * dired-x.el: Use Dired consistently in docstrings.
21461
21462 * dired.el: Use Dired consistently in docstrings.
21463 (dired-readin, dired-mode): Use `setq-local'.
21464 (dired-switches-alist): Make defvar-local.
21465 (dired-buffers-for-dir): Use `zerop'.
21466 (dired-safe-switches-p, dired-switches-escape-p)
21467 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21468 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21469 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21470 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21471 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21472 (dired-toggle-marks, dired-mark-files-containing-regexp)
21473 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21474 (dired-flag-auto-save-files, dired-flag-backup-files):
21475 Use `looking-at-p'.
21476 (dired-mark-files-regexp, dired-build-subdir-alist):
21477 Use `string-match-p', `looking-at-p'.
21478
21479 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21480 (direct-print-region-helper): Use `string-match-p'.
21481
21482 2013-06-21 Leo Liu <sdl.web@gmail.com>
21483
21484 * comint.el (comint-redirect-results-list-from-process):
21485 Fix infinite loop.
21486
21487 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21488
21489 * net/eww.el (eww-update-header-line-format): Quote % characters.
21490
21491 2013-06-21 Glenn Morris <rgm@gnu.org>
21492
21493 * play/cookie1.el (cookie): New custom group.
21494 (cookie-file): New option.
21495 (cookie-check-file): New function.
21496 (cookie): Make it interactive. Make start and end messages optional.
21497 Interactively, display the result. Default to cookie-file.
21498 (cookie-insert): Default to cookie-file.
21499 (cookie-snarf): Make start and end messages optional.
21500 Default to cookie-file. Use with-temp-buffer.
21501 (cookie-read): Rename from read-cookie.
21502 Make start and end messages optional. Default to cookie-file.
21503 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21504 Do not autoload it.
21505 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21506 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21507
21508 2013-06-21 Leo Liu <sdl.web@gmail.com>
21509
21510 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21511
21512 2013-06-21 Glenn Morris <rgm@gnu.org>
21513
21514 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21515
21516 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21517 Daniel Hackney <dan@haxney.org>
21518
21519 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21520 Consolidate the single-file vs tarball code.
21521 (package-desc-suffix): New function.
21522 (package-desc-full-name): Don't bother inlining it.
21523 (package-load-descriptor): Return the new package-desc.
21524 (package-mark-obsolete): Remove unused arg `package'.
21525 (package-unpack): Make it work for single files as well.
21526 Make it update package-alist.
21527 (package--make-autoloads-and-stuff): Rename from
21528 package--make-autoloads-and-compile. Don't compile any more.
21529 (package--compile): New function.
21530 (package-generate-description-file): New function, extracted from
21531 package-unpack-single.
21532 (package-unpack-single): Remove.
21533 (package--with-work-buffer): Add indentation and debugging info.
21534 (package-download-single): Remove.
21535 (package-install-from-archive): Rename from package-download-tar, make
21536 it take a pkg-desc, and make it work for single files as well.
21537 (package-download-transaction): Simplify.
21538 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21539 external tar program.
21540 (package-install-from-buffer): Remove `pkg-desc' argument.
21541 Use package-tar-file-info for tar-mode buffers.
21542 (package-install-file): Simplify accordingly.
21543 (package-archive-base): Change to take a pkg-desc.
21544 * tar-mode.el (tar--check-descriptor): New function, extracted from
21545 tar-get-descriptor.
21546 (tar-get-descriptor): Use it.
21547 (tar-get-file-descriptor): New function.
21548 (tar--extract): New function, extracted from tar-extract.
21549 (tar--extract): Use it.
21550 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21551 case the summary uses non-ascii. Adjust to new calling convention of
21552 package-tar-file-info.
21553
21554 2013-06-21 Leo Liu <sdl.web@gmail.com>
21555
21556 * comint.el (comint-redirect-results-list-from-process):
21557 Fix random delay. (Bug#14681)
21558
21559 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21560
21561 * profiler.el (profiler-format-number): Use log, not log10.
21562
21563 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21564
21565 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21566
21567 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21568
21569 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21570 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21571 yet available.
21572 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21573 (AUTOGENEL): ... here.
21574 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21575 (cl--defsubst-expand): Use it.
21576
21577 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21578
21579 * subr.el (log10): Move here from C code, and declare as obsolete.
21580 All uses of (log10 X) replaced with (log X 10).
21581
21582 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21583
21584 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21585 Declare with `defvar-local'.
21586 (tabulated-list-use-header-line, tabulated-list-entries)
21587 (tabulated-list-padding, tabulated-list-printer)
21588 (tabulated-list-sort-key): Declare with `defvar-local'.
21589 (tabulated-list-init-header, tabulated-list-print-fake-header):
21590 Use `setq-local'.
21591
21592 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21593
21594 * arc-mode.el (archive-mode): Add `archive-write-file' to
21595 `write-contents-functions' also for remote files. (Bug#14652)
21596
21597 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21598
21599 * cus-edit.el (custom-commands): Fix typos.
21600 (custom-display): Fix tooltip text.
21601 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21602 Fix typos in docstrings.
21603 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21604 (custom-unlispify-menu-entry, custom-magic-value-create)
21605 (custom-add-see-also, custom-group-value-create): Use ?\s.
21606 (custom-guess-type, customize-apropos, editable-field)
21607 (custom-face-value-create): Use `string-match-p'.
21608 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21609
21610 * custom.el (custom-load-symbol): Use `string-match-p'.
21611
21612 * ansi-color.el: Convert to lexical binding.
21613 (ansi-colors): Fix URL.
21614 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21615 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21616 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21617
21618 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21619
21620 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21621
21622 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21623
21624 2013-06-19 Tom Tromey <tromey@redhat.com>
21625
21626 * net/eww.el (eww-top-url): Remove.
21627 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21628 (eww-render): Set new variables. Don't set eww-top-url.
21629 (eww-handle-link): Handle "prev", "home", and "contents".
21630 Downcase the rel text.
21631 (eww-top-url): Choose best top URL.
21632
21633 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21634
21635 * net/eww.el: Rewrite to implement form elements "by hand" instead of
21636 relying in widget.el. Using widget.el leads to too many
21637 user interface inconsistencies.
21638 (eww-self-insert): Implement entering commands in text fields.
21639 (eww-process-text-input): New function to make text input field editing
21640 work.
21641 (eww-submit): Rewrite to use the new-style form methods.
21642 (eww-select-display): Display the correct selected item.
21643 (eww-change-select): Implement changing the select value.
21644 (eww-toggle-checkbox): Implement radio/checkboxes.
21645 (eww-update-field): Fix compilation error.
21646 (eww-tag-textarea): Implement <textarea>.
21647
21648 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21649 we don't shadow mode-specific bindings.
21650
21651 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21652 nothing to push.
21653
21654 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21655
21656 2013-06-19 Glenn Morris <rgm@gnu.org>
21657
21658 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21659
21660 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21661
21662 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21663 not needed.
21664
21665 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21666
21667 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21668
21669 * net/browse-url.el (browse-url-browser-function):
21670 `eww-browse-url' has the right calling signature, `eww' does not.
21671
21672 2013-06-19 Glenn Morris <rgm@gnu.org>
21673
21674 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21675 Only eval autoloaded macros.
21676 (byte-compile-autoload): Only give the macro warning for macros.
21677
21678 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21679 (ps-underlined-faces): Declare.
21680
21681 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21682 (speedbar-add-supported-extension): Declare.
21683
21684 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21685 Don't include a date stamp in the header of the generated file;
21686 it leads to needless differences between output files.
21687
21688 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21689
21690 * net/secrets.el (secrets-struct-secret-content-type):
21691 Replace check of introspection data by a test call of "CreateItem".
21692 Some servers do not offer introspection.
21693
21694 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21695
21696 * electric.el (electric-pair-mode): Improve interaction with
21697 electric-layout-mode.
21698 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21699 (electric-pair-syntax): Use text-mode-syntax-table in comments
21700 and strings.
21701 (electric-pair--insert): New function.
21702 (electric-pair-post-self-insert-function): Use it and
21703 electric--after-char-pos.
21704
21705 2013-06-19 Leo Liu <sdl.web@gmail.com>
21706
21707 * progmodes/octave.el (octave-help): Fix regexp.
21708
21709 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21710
21711 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21712 (shr-table-horizontal-line): Allow nil as a value, and change the
21713 default.
21714 (shr-insert-table-ruler): Respect the nil value.
21715
21716 2013-06-18 Tom Tromey <tromey@barimba>
21717
21718 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21719 New defvars.
21720 (eww-open-file): New defun.
21721 (eww-render): Initialize new variables.
21722 (eww-display-html): Handle "link" and "a".
21723 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21724 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
21725 (eww-back-url): Rename from eww-previous-url.
21726 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21727 New defuns.
21728
21729 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
21730
21731 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21732 Distinguish ternary operator tokens from slash symbol and slash
21733 char literal.
21734
21735 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21736
21737 Convert symbol prettification into minor mode and global minor mode.
21738
21739 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21740 `prog-prettify-symbols', and make a local defvar instead of defcustom.
21741 (prettify-symbols--keywords): Rename from
21742 `prog-prettify-symbols-alist' and make a local defvar.
21743 (prettify-symbols--compose-symbol): Rename from
21744 `prog--prettify-font-lock-compose-symbol'.
21745 (prettify-symbols--make-keywords): Rename from
21746 `prog-prettify-font-lock-symbols-keywords' and simplify.
21747 (prog-prettify-install): Remove.
21748 (prettify-symbols-mode): New minor mode, based on
21749 `prog-prettify-install'.
21750 (turn-on-prettify-symbols-mode): New function.
21751 (global-prettify-symbols-mode): New globalized minor mode.
21752
21753 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21754 * progmodes/cfengine.el (cfengine3-mode):
21755 * progmodes/perl-mode.el (perl-mode): Don't call
21756 `prog-prettify-install'; set `prettify-symbols-alist' instead.
21757
21758 2013-06-18 Juri Linkov <juri@jurta.org>
21759
21760 * files-x.el (modify-file-local-variable-message): New function.
21761 (modify-file-local-variable)
21762 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21763 and call `modify-file-local-variable-message' when it's non-nil.
21764 (add-file-local-variable, delete-file-local-variable)
21765 (add-file-local-variable-prop-line)
21766 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21767 and use it. (Bug#9820)
21768
21769 2013-06-18 Juri Linkov <juri@jurta.org>
21770
21771 * emulation/vi.el (vi-shell-op):
21772 * emulation/vip.el (vip-execute-com, ex-command):
21773 * emulation/viper-cmd.el (viper-exec-bang):
21774 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21775 the call of `shell-command-on-region'. (Bug#14637)
21776
21777 * simple.el (shell-command-on-region): Doc fix.
21778
21779 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21780
21781 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21782 (bug#14633).
21783
21784 2013-06-18 Glenn Morris <rgm@gnu.org>
21785
21786 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21787
21788 * newcomment.el (comment-search-forward, comment-search-backward):
21789 Doc fix. (Bug#14376)
21790
21791 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21792
21793 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21794 (buffer-face-mode-invoke): Doc fix.
21795
21796 2013-06-18 Matthias Meulien <orontee@gmail.com>
21797
21798 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21799 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21800
21801 2013-06-18 Glenn Morris <rgm@gnu.org>
21802
21803 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21804 Replace obsolete function generic-make-keywords with its expansion.
21805
21806 * progmodes/python.el (ffap-alist): Declare.
21807
21808 * textmodes/reftex.el (bibtex-mode-map): Declare.
21809
21810 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21811
21812 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21813 (package-unpack, package-unpack-single): Return the pkg-dir.
21814 (package-download-transaction): Use it to update package-alist.
21815
21816 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21817
21818 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21819 possible choice.
21820
21821 2013-06-17 Juri Linkov <juri@jurta.org>
21822
21823 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21824
21825 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21826
21827 * emacs-lisp/package.el (package-load-descriptor):
21828 Remove `with-syntax-table' call, `read' doesn't need it.
21829 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21830
21831 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21832
21833 * startup.el (command-line): Expand package name returned by
21834 `package--description-file' (bug#14639).
21835
21836 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21837
21838 * emacs-lisp/package.el (package-load-descriptor): Do not call
21839 `emacs-lisp-mode', just use its syntax table.
21840
21841 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21842
21843 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21844 `font-lock-extra-managed-props' if any prettifying keyword is added.
21845 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21846 (prog-mode): Use `setq-local'.
21847
21848 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21849
21850 * international/characters.el (standard-case-table): Set syntax of ?»
21851 and ?« to punctuation.
21852
21853 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21854
21855 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21856 Save relevant match data before calling `syntax-ppss' (bug#14595).
21857
21858 2013-06-15 Juri Linkov <juri@jurta.org>
21859
21860 * files-x.el (modify-file-local-variable-prop-line): Add local
21861 variables to the end of the existing comment on the first line.
21862 Use `file-auto-mode-skip' to skip interpreter magic line,
21863 and also skip XML declaration.
21864
21865 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21866
21867 * startup.el (package--builtin-versions): New var.
21868 (package-subdirectory-regexp): Remove.
21869 (package--description-file): Hard code its value instead.
21870
21871 * emacs-lisp/package.el: Don't activate packages older than builtin.
21872 (package-obsolete-list): Rename from package-obsolete-alist, and make
21873 it into a simple list of package-desc.
21874 (package-strip-version): Remove.
21875 (package-built-in-p): Use package--builtin-versions.
21876 (package-mark-obsolete): Simplify.
21877 (package-process-define-package): Mark it obsolete if older than the
21878 builtin version.
21879 (package-handle-response): Use line-end-position.
21880 (package-read-archive-contents, package--download-one-archive):
21881 Simplify.
21882 (package--add-to-archive-contents): Skip if older than the builtin or
21883 installed version.
21884 (package-menu-describe-package): Fix last change.
21885 (package-list-unversioned): New var.
21886 (package-menu--generate): Use it.
21887
21888 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21889 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21890 (autoload-builtin-package-versions): New variable.
21891 (autoload-generate-file-autoloads): Use them.
21892 Remove the list of autoloaded functions/macros from the
21893 (autoload...) comments.
21894
21895 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21896
21897 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21898
21899 * simple.el (line-move-partial): Don't jump to the next screen
21900 line as soon as it becomes visible. Instead, continue enlarging
21901 the vscroll until the portion of a tall screen line that's left on
21902 display is about the height of the frame's default font.
21903 (Bug#14567)
21904
21905 2013-06-15 Glenn Morris <rgm@gnu.org>
21906
21907 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21908 compilation-error-regexp-alist void, or local while let-bound.
21909
21910 * progmodes/make-mode.el (makefile-mode-syntax-table):
21911 Treat "=" as punctuation. (Bug#14614)
21912
21913 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
21914
21915 * help-fns.el (describe-variable):
21916 Add extra line for permanent-local variables.
21917
21918 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
21919
21920 * progmodes/scheme.el (scheme-font-lock-keywords-2):
21921 Add export, import, library. (Bug#9164)
21922 (library): Set indent function.
21923
21924 2013-06-14 Glenn Morris <rgm@gnu.org>
21925
21926 * term/xterm.el (xterm--query):
21927 Stop after first matching handler. (Bug#14615)
21928
21929 2013-06-14 Ivan Kanis <ivan@kanis.fr>
21930
21931 Add support for dired in saveplace.
21932 * dired.el (dired-initial-position-hook): New variable.
21933 (dired-initial-position): Call hook to place cursor position.
21934 * saveplace.el (save-place-to-alist): Add dired position.
21935 (save-place-dired-hook): New function.
21936
21937 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
21938
21939 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21940 through a symbol rather than letrec.
21941
21942 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
21943 (package-desc): Add `dir' field.
21944 (package-desc-full-name): New function.
21945 (package-load-descriptor): Combine the two arguments. Don't use `load'.
21946 (package-maybe-load-descriptor): Remove.
21947 (package-load-all-descriptors): Just call package-load-descriptor.
21948 (package--disabled-p): New function.
21949 (package-desc-vers, package-desc-doc): Remove aliases.
21950 (package--dir): Remove function.
21951 (package-activate): Check if a package is disabled.
21952 (package-process-define-package): New function, extracted from
21953 define-package.
21954 (define-package): Turn into a place holder.
21955 (package-unpack-single, package-tar-file-info):
21956 Use package--description-file.
21957 (package-compute-transaction): Use package--disabled-p.
21958 (package-download-transaction): Don't call
21959 package-maybe-load-descriptor since they're all loaded anyway.
21960 (package-install): Change argument to be a pkg-desc.
21961 (package-delete): Use a single pkg-desc argument.
21962 (describe-package-1): Use package-desc-dir instead of package--dir.
21963 Use package-desc property instead of package-symbol.
21964 (package-install-button-action): Adjust accordingly.
21965 (package--push): Rewrite.
21966 (package-menu--print-info): Adjust accordingly. Change the ID format
21967 to be a pkg-desc.
21968 (package-menu-describe-package, package-menu-get-status)
21969 (package-menu--find-upgrades, package-menu-mark-upgrades)
21970 (package-menu-execute, package-menu--name-predicate):
21971 Adjust accordingly.
21972 * startup.el (package--description-file): New function.
21973 (command-line): Use it.
21974 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21975 Use package-desc-version.
21976
21977 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21978 (byte-compile-preprocess): Use it.
21979 (byte-compile-file-form-defalias): Try a bit harder to use macros we
21980 can't quite recognize.
21981 (byte-compile-add-to-list): Remove.
21982 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21983 (cconv-closure-convert): Add assertion.
21984
21985 * emacs-lisp/map-ynp.el: Use lexical-binding.
21986 (map-y-or-n-p): Remove unused vars `tail' and `object'.
21987 Factor out some repeated code.
21988
21989 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21990
21991 * subr.el (with-eval-after-load): New macro.
21992 (eval-after-load): Allow form to be a function.
21993 take advantage of lexical-binding.
21994 (do-after-load-evaluation): Use dolist and adjust to new format.
21995 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21996
21997 2013-06-13 Juri Linkov <juri@jurta.org>
21998
21999 * replace.el (perform-replace): Display "symbol " and other search
22000 modes from `isearch-message-prefix' in the *Help* buffer.
22001
22002 * isearch.el (isearch-query-replace): Add " symbol" and other
22003 possible search modes from `isearch-message-prefix' to the prompt.
22004 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22005 when reading a regexp to collect.
22006
22007 2013-06-13 Juri Linkov <juri@jurta.org>
22008
22009 * isearch.el (word-search-regexp): Match whitespace if the search
22010 string begins or ends in whitespace. The LAX arg is applied to
22011 both ends of the search string. Use `regexp-quote' and explicit
22012 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22013 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22014 boundaries are replaced with symbol boundaries, and characters
22015 between symbols match non-word non-symbol syntax. (Bug#14602)
22016
22017 2013-06-13 Juri Linkov <juri@jurta.org>
22018
22019 * isearch.el (isearch-del-char): Don't exceed the length of
22020 `isearch-string' by the prefix arg. (Bug#14563)
22021
22022 2013-06-13 Juri Linkov <juri@jurta.org>
22023
22024 * isearch.el (isearch-yank-word, isearch-yank-line)
22025 (isearch-char-by-name, isearch-quote-char)
22026 (isearch-printing-char, isearch-process-search-char):
22027 Add optional count prefix arg. (Bug#14563)
22028
22029 * international/isearch-x.el
22030 (isearch-process-search-multibyte-characters):
22031 Add optional count prefix arg.
22032
22033 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22034
22035 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22036 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22037 lexical-binding.
22038
22039 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22040
22041 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22042
22043 2013-06-13 Glenn Morris <rgm@gnu.org>
22044
22045 * startup.el (tty-handle-args):
22046 Don't just discard "--" and anything after. (Bug#14608)
22047
22048 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22049
22050 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22051
22052 Implement changes in Secret Service API. Make it backward compatible.
22053 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22054 (secrets-create-item): Use it. Prefix properties with interface.
22055
22056 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22057
22058 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22059 (term-emulate-terminal): Respect term-suppress-hard-newline.
22060
22061 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22062
22063 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22064 Only remove a `thumb-file' overlay. (Bug#14548)
22065
22066 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22067
22068 * mail/reporter.el (reporter-submit-bug-report):
22069 Handle missing package-name. (Bug#14600)
22070
22071 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22072
22073 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22074 (reftex-citation-prompt, reftex-default-bibliography)
22075 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22076 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22077 (reftex-bib-sort-author, reftex-bib-sort-year)
22078 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22079 (reftex-extract-bib-entries-from-thebibliography)
22080 (reftex-get-bibkey-default, reftex-get-bib-names)
22081 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22082 (reftex-format-bib-entry, reftex-parse-bibitem)
22083 (reftex-format-bibitem, reftex-do-citation)
22084 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22085 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22086 (reftex-insert-bib-matches, reftex-format-citation)
22087 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22088 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22089 existing comments into docstrings.
22090
22091 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22092
22093 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22094
22095 2013-06-12 Andreas Schwab <schwab@suse.de>
22096
22097 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22098 for auto-save files.
22099
22100 2013-06-12 Glenn Morris <rgm@gnu.org>
22101
22102 * ido.el (ido-delete-ignored-files): Remove.
22103 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22104 Go back to calling ido-ignore-item-p directly.
22105
22106 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22107
22108 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22109
22110 * ido.el (ido-delete-ignored-files): New function,
22111 split from ido-make-file-list-1.
22112 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22113 (ido-make-file-list-1): Use ido-delete-ignored-files.
22114
22115 2013-06-12 Leo Liu <sdl.web@gmail.com>
22116
22117 * progmodes/octave.el (inferior-octave-startup)
22118 (inferior-octave-completion-table)
22119 (inferior-octave-track-window-width-change)
22120 (octave-eldoc-function-signatures, octave-help)
22121 (octave-find-definition): Use single quoted strings.
22122 (inferior-octave-startup-args): Change default value.
22123 (inferior-octave-startup): Do not hard code "-i" and
22124 "--no-line-editing".
22125 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22126 (inferior-octave-directory-tracker): Use it.
22127 (octave-goto-function-definition): Robustify.
22128 (octave-help): Support highlighting operators in 'See also'.
22129 (octave-find-definition): Find subfunctions only in Octave mode.
22130
22131 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22132
22133 * help-fns.el (help-fns--compiler-macro): If the handler function is
22134 named, then put a link to it.
22135 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22136 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22137 (cl-typep): Use it.
22138 (cl-eval-when): Simplify debug spec.
22139 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22140 compiler-macro function instead of setting `compiler-macro-file'.
22141
22142 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22143
22144 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22145 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22146
22147 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22148 Daniel Hackney <dan@haxney.org>
22149
22150 First part of Daniel Hackney's patch to package.el.
22151 * emacs-lisp/package.el: Use defstruct.
22152 (package-desc): New, main struct.
22153 (package--bi-desc, package--ac-desc): New structs, used to describe the
22154 format in external files.
22155 (package-desc-vers): Replace with package-desc-version accessor.
22156 (package-desc-doc): Replace with package-desc-summary accessor.
22157 (package-activate-1): Remove `package' arg since the pkg-vec now
22158 includes the name.
22159 (define-package): Use package-desc-from-define.
22160 (package-unpack-single): Change file-name arg to be a symbol.
22161 (package--add-to-archive-contents): Use package-desc-create and new
22162 accessor functions to package--ac-desc.
22163 (package-buffer-info, package-tar-file-info): Return a package-desc.
22164 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22165 arg to be a package-desc.
22166 (package-install-file): Adjust accordingly. Use \' to match EOS.
22167 (package--from-builtin): New function.
22168 (describe-package-1, package-menu--generate): Use it.
22169 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22170 (package-generate-autoloads): Idem and return the name of the file.
22171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22172 Change pkg-info arg to be a package-desc.
22173 Use package-make-ac-desc.
22174 (package-upload-file): Use \' to match EOS.
22175 * finder.el (finder-compile-keywords): Use package-make-builtin.
22176
22177 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22178
22179 * vc/vc.el (vc-deduce-fileset): Change error message.
22180 (vc-read-backend): New function.
22181 (vc-next-action): Use it.
22182
22183 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22184
22185 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22186 (prolog-font-lock-keywords): Use regexp-opt instead.
22187 Don't manually highlight strings.
22188 (prolog-mode-variables): Simplify comment-start-skip.
22189 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22190
22191 * emacs-lisp/generic.el (generic--normalise-comments)
22192 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22193 (generic-mode-set-comments): Use them.
22194 (generic-bracket-support): Use setq-local.
22195 (generic-make-keywords-list): Declare obsolete.
22196
22197 2013-06-11 Glenn Morris <rgm@gnu.org>
22198
22199 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22200 Prettify after setting font-lock-defaults. (Bug#14574)
22201
22202 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22203
22204 * replace.el (query-replace, occur-read-regexp-defaults-function)
22205 (replace-search):
22206 * subr.el (declare-function, number-sequence, local-set-key)
22207 (substitute-key-definition, locate-user-emacs-file)
22208 (with-silent-modifications, split-string, eval-after-load):
22209 Fix typos, remove unneeded backslashes and reflow some docstrings.
22210
22211 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22212
22213 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22214 default for Elisp files.
22215
22216 2013-06-11 Glenn Morris <rgm@gnu.org>
22217
22218 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22219 although define-derived-mode was doing this anyway. (Bug#14583)
22220
22221 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22222
22223 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22224 Fix make-variable-buffer-local call to refer to the correct variable.
22225
22226 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22227
22228 * eshell/em-term.el (eshell-visual-commands)
22229 (eshell-visual-subcommands, eshell-visual-options):
22230 Add summary line to docstrings. Add cross-references.
22231
22232 2013-06-10 Glenn Morris <rgm@gnu.org>
22233
22234 * epa.el (epa-read-file-name): New function. (Bug#14510)
22235 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22236
22237 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22238
22239 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22240 output redirection to be ignored with visual commands.
22241
22242 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22243
22244 * eshell/em-term.el (eshell-visual-command-p): New function.
22245 (eshell-term-initialize): Move long lambda to separate function
22246 eshell-visual-command-p.
22247 * eshell/em-dirs.el (eshell-dirs-initialize):
22248 * eshell/em-script.el (eshell-script-initialize):
22249 Add missing #' to lambda.
22250
22251 2013-06-08 Leo Liu <sdl.web@gmail.com>
22252
22253 * progmodes/octave.el (octave-add-log-current-defun): New function.
22254 (octave-mode): Set add-log-current-defun-function.
22255 (octave-goto-function-definition): Do not move point if not found.
22256 (octave-find-definition): Enhance to try subfunctions first.
22257
22258 2013-06-08 Glenn Morris <rgm@gnu.org>
22259
22260 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22261 (byte-compile-backward-char, byte-compile-backward-word):
22262 Improve previous change, to handle non-explicit nil.
22263
22264 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22265
22266 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22267 (smie--opener/closer-at-point): New function.
22268 (smie--matching-block-data): Use it. Don't match from right after an
22269 opener or right before a closer. Obey smie-blink-matching-inners.
22270 Don't signal a mismatch for repeated inners like "switch..case..case".
22271
22272 2013-06-07 Leo Liu <sdl.web@gmail.com>
22273
22274 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22275 to t. (Bug#14303)
22276 (octave-function-header-regexp): Fix. (Bug#14570)
22277 (octave-help-mode-finish-hook, octave-help-mode-finish):
22278 Remove. Just use temp-buffer-show-hook.
22279
22280 * newcomment.el (comment-search-backward): Revert last change.
22281 (Bug#14434)
22282
22283 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22284
22285 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22286
22287 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22288 through xargs, to avoid failure due to MS-Windows limitations on
22289 command-line length.
22290
22291 2013-06-06 Glenn Morris <rgm@gnu.org>
22292
22293 * font-lock.el (lisp-font-lock-keywords-2):
22294 Treat user-error like error.
22295
22296 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22297 (byte-compile-backward-char, byte-compile-backward-word):
22298 Handle explicit nil arguments. (Bug#14565)
22299
22300 2013-06-05 Alan Mackenzie <acm@muc.de>
22301
22302 * isearch.el (isearch-allow-prefix): New user option.
22303 (isearch-other-meta-char): Don't exit isearch when a prefix
22304 argument is typed whilst `isearch-allow-prefix' is non-nil.
22305 (Bug#9706)
22306
22307 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22308
22309 * autorevert.el (auto-revert-notify-handler): Use memq.
22310 Hide assertion failure.
22311
22312 * skeleton.el: Use cl-lib.
22313 (skeleton-further-elements): Use defvar-local.
22314 (skeleton-insert): Use cl-progv.
22315
22316 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22317
22318 * progmodes/prog-mode.el (prog-prettify-symbols)
22319 (prog-prettify-install): Update docstrings.
22320
22321 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22322
22323 * simple.el: Move all the prog-mode code to prog-mode.el.
22324 * progmodes/prog-mode.el: New file.
22325 * loadup.el: Add prog-mode.el.
22326
22327 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22328
22329 * simple.el (prog-prettify-symbols): Add version.
22330 (prog-prettify-install): Add convenience function to prettify symbols.
22331
22332 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22333 (perl--augmented-font-lock-keywords-1)
22334 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22335 variables and use it.
22336
22337 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22338 (cfengine3-mode): Remove unneeded variable and use it.
22339
22340 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22341 (lisp--augmented-font-lock-keywords-1)
22342 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22343 Remove unneeded variables and use it.
22344
22345 2013-06-05 João Távora <joaotavora@gmail.com>
22346
22347 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22348 to point when opening the connection. (Bug#14380)
22349
22350 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22351
22352 * subr.el (load-history-regexp, load-history-filename-element)
22353 (eval-after-load, after-load-functions, do-after-load-evaluation)
22354 (eval-next-after-load, display-delayed-warnings)
22355 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22356 definition of save-match-data.
22357 (overriding-local-map): Remove accidental obsolescence declaration.
22358
22359 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22360
22361 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22362
22363 Generalize symbol prettify support to prog-mode and implement it
22364 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22365 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22366 (prog--prettify-font-lock-compose-symbol)
22367 (prog-prettify-font-lock-symbols-keywords): New variables and
22368 functions to support symbol prettification.
22369 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22370 (lisp--augmented-font-lock-keywords-1)
22371 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22372 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22373 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22374 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22375 Implement prettify of -> => :: strings.
22376 * progmodes/perl-mode.el (perl-prettify-symbols)
22377 (perl--font-lock-compose-symbol)
22378 (perl--font-lock-symbols-keywords): Move to prog-mode.
22379 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22380 (perl-font-lock-keywords-1)
22381 (perl-font-lock-keywords-2): Remove explicit prettify support.
22382 (perl--augmented-font-lock-keywords)
22383 (perl--augmented-font-lock-keywords-1)
22384 (perl--augmented-font-lock-keywords-2, perl-mode):
22385 Implement prettify support.
22386
22387 2013-06-05 Leo Liu <sdl.web@gmail.com>
22388
22389 Re-implement SMIE matching block highlight using
22390 show-paren-data-function. (Bug#14395)
22391 * emacs-lisp/smie.el (smie-matching-block-highlight)
22392 (smie--highlight-matching-block-overlay)
22393 (smie--highlight-matching-block-lastpos)
22394 (smie-highlight-matching-block)
22395 (smie-highlight-matching-block-mode): Remove.
22396 (smie--matching-block-data-cache): New variable.
22397 (smie--matching-block-data): New function.
22398 (smie-setup): Use smie--matching-block-data for
22399 show-paren-data-function.
22400
22401 * progmodes/octave.el (octave-mode-menu): Fix.
22402 (octave-find-definition): Skip garbage lines.
22403
22404 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22405
22406 Fix compilation error with simultaneous dynamic+lexical scoping.
22407 Add warning when a defvar appears after the first let-binding.
22408 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22409 (byte-compile-close-variables): Initialize it.
22410 (byte-compile--declare-var): New function.
22411 (byte-compile-file-form-defvar)
22412 (byte-compile-file-form-define-abbrev-table)
22413 (byte-compile-file-form-custom-declare-variable): Use it.
22414 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22415 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22416 (byte-compile-bind): Handle dynamic bindings that shadow
22417 lexical bindings.
22418 (byte-compile-unbind): Make arg non-optional.
22419 (byte-compile-let): Simplify.
22420 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22421 (cconv--analyse-function, cconv-analyse-form): Populate it.
22422 Protect byte-compile-bound-variables to limit the scope of defvars.
22423 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22424 Remove unneeded rule for `declare'.
22425
22426 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22427 so as to avoid depending on cl-adjoin at run-time.
22428 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22429
22430 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22431 (macroexp--warn-and-return): Use it.
22432
22433 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22434
22435 * subr.el: Convert to lexical binding.
22436 (overriding-local-map): Make obsolete.
22437 (add-to-list): Doc fix. Add compiler macro.
22438 (read-key): Swap values of local maps.
22439
22440 2013-06-05 Leo Liu <sdl.web@gmail.com>
22441
22442 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22443
22444 2013-06-04 Leo Liu <sdl.web@gmail.com>
22445
22446 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22447 (compilation-auto-jump): Suppress the "Mark set" message to give
22448 way to exit message.
22449
22450 2013-06-04 Alan Mackenzie <acm@muc.de>
22451
22452 Remove faulty optimization from indentation calculation.
22453 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22454 search limit based on 2000 characters back from indent-point.
22455
22456 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22457
22458 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22459
22460 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22461
22462 * emacs-lisp/lisp.el: Use lexical-binding.
22463 (lisp--local-variables-1, lisp--local-variables): New functions.
22464 (lisp--local-variables-completion-table): New var.
22465 (lisp-completion-at-point): Use it complete let-bound vars.
22466
22467 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22468 eagerly (bug#14422).
22469
22470 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22471
22472 * autorevert.el (auto-revert-notify-enabled)
22473 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22474 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22475 (auto-revert-notify-handler): Handle also gfilenotify.
22476
22477 * subr.el (file-notify-handle-event): New defun. Replacing ...
22478 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22479 Remove.
22480
22481 2013-06-03 Juri Linkov <juri@jurta.org>
22482
22483 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22484 `M-s h .'. (Bug#14427)
22485
22486 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22487 command `hi-lock-face-symbol-at-point'.
22488 (hi-lock-face-symbol-at-point): New command.
22489 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22490 (hi-lock-menu): Add `highlight-symbol-at-point'.
22491 (hi-lock-mode): Doc fix.
22492
22493 * isearch.el (isearch-forward-symbol-at-point): New command.
22494 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22495 (isearch-highlight-regexp): Add a regexp which matches
22496 words/symbols for word/symbol mode.
22497
22498 * subr.el (find-tag-default-bounds): New function with the body
22499 mostly moved from `find-tag-default'.
22500 (find-tag-default): Move most code to `find-tag-default-bounds',
22501 call it and apply `buffer-substring-no-properties' afterwards.
22502
22503 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22504
22505 * eshell/em-term.el (eshell-term-initialize):
22506 Use `cl-intersection' rather than `intersection'.
22507
22508 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22509
22510 * vc/log-view.el: Doc fix.
22511 (log-view-mode-map): Copy keymap from `special-mode-map'.
22512
22513 2013-06-02 Eric Ludlam <zappo@gnu.org>
22514
22515 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22516 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22517 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22518 (eieio-unbound, eieio-default-superclass)
22519 (eieio--define-field-accessors, method-static, method-before)
22520 (method-primary, method-after, method-num-lists)
22521 (method-generic-before, method-generic-primary)
22522 (method-generic-after, method-num-slots)
22523 (eieio-specialized-key-to-generic-key)
22524 (eieio--check-type, class-v, class-p)
22525 (eieio-class-name, define-obsolete-function-alias)
22526 (eieio-class-parents-fast, eieio-class-children-fast)
22527 (same-class-fast-p, class-constructor, generic-p)
22528 (generic-primary-only-p, generic-primary-only-one-p)
22529 (class-option-assoc, class-option, eieio-object-p)
22530 (class-abstract-p, class-method-invocation-order)
22531 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22532 (eieio-class-un-autoload, eieio-defclass)
22533 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22534 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22535 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22536 (eieio-defgeneric-reset-generic-form)
22537 (eieio-defgeneric-form-primary-only)
22538 (eieio-defgeneric-reset-generic-form-primary-only)
22539 (eieio-defgeneric-form-primary-only-one)
22540 (eieio-defgeneric-reset-generic-form-primary-only-one)
22541 (eieio-unbind-method-implementations)
22542 (eieio--defmethod, eieio--typep)
22543 (eieio-perform-slot-validation, eieio-validate-slot-value)
22544 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22545 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22546 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22547 (eieio-slot-name-index, eieio-class-slot-name-index)
22548 (eieio-set-defaults, eieio-initarg-to-attribute)
22549 (eieio-attribute-to-initarg, eieio-c3-candidate)
22550 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22551 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22552 (eieio-class-precedence-list, eieio-generic-call-methodname)
22553 (eieio-generic-call-arglst, eieio-generic-call-key)
22554 (eieio-generic-call-next-method-list)
22555 (eieio-pre-method-execution-functions, eieio-generic-call)
22556 (eieio-generic-call-primary-only, eieiomt-method-list)
22557 (eieiomt-optimizing-obarray, eieiomt-install)
22558 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22559 (eieio-generic-form, eieio-defmethod, make-obsolete)
22560 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22561 (defclass): Remove `eval-and-compile' from macro.
22562 (call-next-method, shared-initialize): Instead of using
22563 `scoped-class' variable, use new eieio--scoped-class, and
22564 eieio--with-scoped-class.
22565 (initialize-instance): Rename local variable 'scoped-class' to
22566 'this-class' to remove ambiguitity from old global.
22567
22568 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22569 eieio.el.
22570 (eieio--scoped-class-stack): New variable.
22571 (eieio--scoped-class): New fcn.
22572 (eieio--with-scoped-class): New scoping macro.
22573 (eieio-defclass): Use pushnew instead of add-to-list.
22574 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22575 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22576 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22577 `scoped-class' variable, use new eieio--scoped-class, and
22578 eieio--with-scoped-class.
22579
22580 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22581
22582 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22583
22584 * eshell/esh-ext.el (eshell-external-command): Pass args to
22585 `eshell-find-interpreter'.
22586 (eshell-find-interpreter): Add new second parameter ARGS.
22587
22588 * eshell/em-script.el (eshell-script-initialize): Add second arg
22589 to the function added as MATCH to `eshell-interpreter-alist'.
22590
22591 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22592 the function added as MATCH to `eshell-interpreter-alist'.
22593
22594 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22595 (eshell-visual-options): New defcustom.
22596 (eshell-escape-control-x): Adapt docstring.
22597 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22598 `eshell-visual-options' in addition to `eshell-visual-commands'.
22599 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22600
22601 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22602
22603 * progmodes/python.el (python-indent-block-enders): Add break,
22604 continue and raise keywords.
22605
22606 2013-06-01 Glenn Morris <rgm@gnu.org>
22607
22608 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22609
22610 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22611 * progmodes/cc-cmds.el (delete-forward-p):
22612 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22613 * progmodes/cc-engine.el (buffer-syntactic-context):
22614 * progmodes/cc-fonts.el (face-property-instance):
22615 * progmodes/cc-mode.el (set-keymap-parents):
22616 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22617 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22618 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22619 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22620 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22621
22622 * progmodes/cc-vars.el (other): Emacs has this widget since
22623 at least 21.1, so don't (re)define it.
22624
22625 * eshell/em-cmpl.el (eshell-cmpl-initialize):
22626 Replace the obsolete alias pcomplete-arg-quote-list.
22627
22628 2013-06-01 Leo Liu <sdl.web@gmail.com>
22629
22630 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22631 punctuation syntax.
22632 (inferior-octave-minimal-columns)
22633 (inferior-octave-last-column-width): New variables.
22634 (inferior-octave-track-window-width-change): New function.
22635 (inferior-octave-mode): Adjust column width so that Octave output,
22636 for example from 'ls', can fit into the window nicely.
22637
22638 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22639
22640 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22641 Highlight expansions inside regexp literals.
22642
22643 2013-05-31 Glenn Morris <rgm@gnu.org>
22644
22645 * obsolete/sym-comp.el (symbol-complete):
22646 Replace obsolete completion-annotate-function.
22647
22648 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22649
22650 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22651
22652 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22653 New function, checks if point is inside a literal that allows
22654 expression expansion.
22655 (ruby-syntax-propertize-expansion): Use it.
22656 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22657 around the body.
22658
22659 2013-05-30 Juri Linkov <juri@jurta.org>
22660
22661 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22662 to "\M-si".
22663 (isearch-invisible): New variable.
22664 (isearch-forward): Doc fix.
22665 (isearch-mode): Set `isearch-invisible'
22666 to the value of `search-invisible'.
22667 (isearch-toggle-case-fold): Doc fix.
22668 (isearch-toggle-invisible): New command.
22669 (isearch-query-replace): Let-bind `search-invisible'
22670 to the value of `isearch-invisible'.
22671 (isearch-search): Use `isearch-invisible' instead of
22672 `search-invisible'. Let-bind `search-invisible'
22673 to the value of `isearch-invisible'. (Bug#11378)
22674
22675 2013-05-30 Juri Linkov <juri@jurta.org>
22676
22677 * replace.el (perform-replace): Avoid `isearch-range-invisible'
22678 call when `query-flag' is nil and `search-invisible' is non-nil.
22679 (Bug#11746)
22680
22681 2013-05-30 Glenn Morris <rgm@gnu.org>
22682
22683 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22684
22685 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22686 (cc-require): Suppress spurious "noruntime" warnings.
22687 (cc-require-when-compile): Use fboundp, for sake of compiler.
22688
22689 * progmodes/cc-mode.el: Move load of cc-vars before that of
22690 cc-langs (which in turn loads cc-vars), to quieten compiler.
22691
22692 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22693
22694 * paren.el: Simplify the code.
22695 (show-paren-mode): Always start the timer.
22696 (show-paren--idle-timer): Rename from show-paren-idle-timer.
22697 (show-paren--overlay, show-paren--overlay-1): Rename from
22698 show-paren-overlay and show-paren-overlay-1, and initialize to an
22699 overlay rather than to nil.
22700 (show-paren-function): Misc cleanup and simplifications.
22701
22702 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22703
22704 * paren.el (show-paren-data-function): New hook.
22705 (show-paren--default): New function, extracted from show-paren-function.
22706 (show-paren-function): Use show-paren-data-function.
22707
22708 2013-05-30 Glenn Morris <rgm@gnu.org>
22709
22710 * ielm.el (ielm-map, ielm-complete-symbol):
22711 Use completion-at-point rather than obsolete functions.
22712 (inferior-emacs-lisp-mode): Doc fix.
22713 Set completion-at-point-functions, rather than
22714 comint-dynamic-complete-functions.
22715
22716 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22717 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22718 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22719
22720 * image.el (image-animated-p): Tweak definition.
22721
22722 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22723 (rlogin-process-connection-type): Tweak default. Add set-after.
22724 (rlogin-host): Doc fix.
22725 (rlogin): Tweak prompt.
22726 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22727
22728 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22729 * progmodes/tcl.el (inferior-tcl-mode-map):
22730 Use completion-at-point rather than obsolete alias.
22731
22732 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22733
22734 * minibuffer.el (read-file-name-completion-ignore-case):
22735 Move before completion--in-region, for eager macro expansion.
22736
22737 2013-05-29 Juri Linkov <juri@jurta.org>
22738
22739 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22740 for total count of matching lines. Add `global-matches' for total
22741 count of matches. Rename `matches' to `lines' for count of
22742 matching lines. Add `matches' for count of matches.
22743 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
22744 to `prev-line' for line number of prev match endpt.
22745 Increment `matches' for every match. Print the number of
22746 matching lines in the header.
22747 (occur-context-lines): Rename `lines' to `curr-line'.
22748 Rename `prev-lines' to `prev-line'. (Bug#14017)
22749
22750 2013-05-29 Juri Linkov <juri@jurta.org>
22751
22752 * replace.el (perform-replace): Add `skip-read-only-count',
22753 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22754 Increment them for corresponding conditions and report the number
22755 of skipped occurrences in the final message. (Bug#11746)
22756 (query-replace, query-replace-regexp, query-replace-regexp-eval)
22757 (replace-string, replace-regexp): Doc fix.
22758
22759 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22760
22761 * emacs-lisp/trace.el (trace--read-args): Provide a default.
22762
22763 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22764 prog-mode-map (bug#14504).
22765
22766 2013-05-29 Leo Liu <sdl.web@gmail.com>
22767
22768 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22769 (octave-help): Small simplification.
22770
22771 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22772 off the highlight first.
22773
22774 2013-05-29 Glenn Morris <rgm@gnu.org>
22775
22776 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22777 Handle idlwave-last-system-routine-info-cons-cell being nil.
22778
22779 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22780 (idlwave-write-paths): Simplify via with-temp-buffer.
22781
22782 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22783 * emulation/cua-rect.el: Also load cua-base at run time.
22784
22785 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22786 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22787 (cperl-imenu-on-info): Require imenu.
22788
22789 2013-05-28 Alan Mackenzie <acm@muc.de>
22790
22791 Handle "capitalised keywords" correctly.
22792 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22793
22794 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
22795
22796 * eshell/em-unix.el: Add -r option to cp.
22797
22798 2013-05-28 Glenn Morris <rgm@gnu.org>
22799
22800 * vc/vc-arch.el (vc-exec-after): Declare.
22801 (vc-switches): Autoload.
22802 * vc/vc-bzr.el: No need to require vc when compiling.
22803 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22804 (vc-resynch-buffer, vc-dir-refresh): Declare.
22805 (vc-setup-buffer, vc-switches): Autoload.
22806 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22807 (vc-resynch-buffer): Declare.
22808 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22809 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22810 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22811 (grep-read-regexp, grep-read-files, grep-expand-template)
22812 (vc-dir-refresh): Declare.
22813 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22814 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22815 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22816 * vc/vc-mtn.el (vc-exec-after): Declare.
22817 (vc-switches): Autoload.
22818 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22819 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22820 (vc-file-tree-walk): Declare.
22821 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22822 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22823 (vc-tag-precondition, vc-rename-master): Autoload.
22824 * vc/vc-svn.el (vc-exec-after): Declare.
22825 (vc-switches, vc-setup-buffer): Autoload.
22826 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22827 Autoload.
22828 (vc-resynch-buffer): Declare.
22829
22830 * obsolete/fast-lock.el (byte-compile-warnings):
22831 Don't warn about obsolete features in this obsolete file.
22832
22833 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22834 Move definition before use.
22835
22836 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22837 (dun-unix-verbs): Remove dun-zippy.
22838 (dun-zippy): Remove function.
22839
22840 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22841
22842 2013-05-27 Juri Linkov <juri@jurta.org>
22843
22844 * replace.el (replace-search): New function with code moved out
22845 from `perform-replace'.
22846 (replace-highlight, replace-dehighlight): Move function definitions
22847 up closer to `replace-search'. (Bug#11746)
22848
22849 2013-05-27 Juri Linkov <juri@jurta.org>
22850
22851 * replace.el (perform-replace): Ignore invisible matches.
22852 In addition to checking `query-replace-skip-read-only', also
22853 filter out matches by calling `run-hook-with-args-until-failure'
22854 on `isearch-filter-predicates', and also check `search-invisible'
22855 for t or call `isearch-range-invisible'.
22856 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22857
22858 2013-05-27 Juri Linkov <juri@jurta.org>
22859
22860 * isearch.el (isearch-filter-predicates): Rename from
22861 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22862 (isearch-message-prefix): Display text from the property
22863 `isearch-message-prefix' of the currently active filters.
22864 (isearch-search): Don't compare `isearch-filter-predicate' with
22865 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22866 on `isearch-filter-predicates'. Also check `search-invisible' for t
22867 or call `isearch-range-invisible'.
22868 (isearch-filter-visible): Make obsolete.
22869 (isearch-lazy-highlight-search):
22870 Call `run-hook-with-args-until-failure' on
22871 `isearch-filter-predicates' and use `isearch-range-invisible'.
22872
22873 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22874 `isearch-filter-predicates' instead of `funcall'ing
22875 `isearch-filter-predicate'.
22876 (Info-mode): Set `Info-isearch-filter' to
22877 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22878
22879 * dired-aux.el (dired-isearch-filter-predicate-orig):
22880 Remove variable.
22881 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22882 (dired-isearch-filenames-end): Add and remove
22883 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22884 instead of changing the value of `isearch-filter-predicate'.
22885 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22886 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22887 Put property `isearch-message-prefix' to "filename " on
22888 `dired-isearch-filter-filenames'.
22889
22890 * wdired.el (wdired-change-to-wdired-mode):
22891 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22892 locally instead of changing `isearch-filter-predicate'.
22893 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22894
22895 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22896
22897 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22898 return the commit hash (Bug#14459). Also set the
22899 `vc-git-detached' property.
22900 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22901 (vc-git-mode-line-string): Use the same help-echo format whether
22902 in detached mode or not, because we know the actual revision now.
22903 When in detached mode, shorten the revision to 7 chars.
22904
22905 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22906
22907 * emacs-lisp/easy-mmode.el (define-minor-mode):
22908 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22909 mode hook and provide a docstring.
22910
22911 2013-05-27 Alan Mackenzie <acm@muc.de>
22912
22913 Remove spurious syntax-table text properties inserted by C-y.
22914 * progmodes/cc-mode.el (c-after-change): Also clear hard
22915 syntax-table property with value nil.
22916
22917 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
22918
22919 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22920 when reading the events; the buffer layout shall not be changed.
22921
22922 2013-05-27 Leo Liu <sdl.web@gmail.com>
22923
22924 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22925 New variable.
22926 (inferior-octave-directory-tracker): Automatically re-sync
22927 default-directory.
22928 (octave-help): Improve handling of 'See also'.
22929
22930 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22931
22932 * doc-view.el: Minor naming convention tweaks.
22933 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22934
22935 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22936 even if there's no `display' property yet (bug#14435).
22937
22938 2013-05-25 Eli Zaretskii <eliz@gnu.org>
22939
22940 * subr.el (unmsys--file-name): Rename from reveal-filename.
22941
22942 * Makefile.in (custom-deps, finder-data, autoloads)
22943 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22944 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22945 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22946
22947 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22948
22949 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22950 error-completion on the first 2 args of condition-case (bug#14446).
22951 Don't burp at EOB.
22952
22953 2013-05-25 Leo Liu <sdl.web@gmail.com>
22954
22955 * comint.el (comint-previous-matching-input): Do not flood the
22956 *Messages* buffer with trivial messages.
22957
22958 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22959
22960 * progmodes/flymake.el (flymake-nop): Don't return a string.
22961 (flymake-set-at): Fix typo.
22962
22963 * simple.el (read--expression): New function, extracted from
22964 eval-expression. Set completion-at-point-functions (bug#14465).
22965 (eval-expression, eval-minibuffer): Use it.
22966
22967 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
22968
22969 * progmodes/flymake.el (flymake-save-buffer-in-file)
22970 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22971 (flymake-selected-frame, flymake-log, flymake-ins-after)
22972 (flymake-set-at, flymake-get-buildfile-from-cache)
22973 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22974 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22975 Refine the doc string.
22976 (flymake-get-file-name-mode-and-masks): Reformat.
22977 (flymake-get-real-file-name-function): Fix a minor bug.
22978
22979 2013-05-24 Juri Linkov <juri@jurta.org>
22980
22981 * progmodes/grep.el (grep-mode-font-lock-keywords):
22982 Support =linenumber= format used by git-grep for lines with
22983 function names. (Bug#13549)
22984
22985 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22986
22987 * progmodes/octave.el (octave-smie-rules): Return nil rather than
22988 0 after a semi-colon; it works better for smie-auto-fill.
22989 (octave--indent-new-comment-line): New function.
22990 (octave-indent-new-comment-line): Use it (indirectly).
22991 (octave-mode): Don't disable smie-auto-fill. Use add-function to
22992 modify comment-line-break-function.
22993
22994 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22995 (smie-setup): Use add-function to set it.
22996
22997 2013-05-24 Sam Steingold <sds@gnu.org>
22998
22999 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23000 argument (before the `interactive' argument).
23001
23002 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23003
23004 * image-mode.el (image-mode-winprops): Add winprops to
23005 image-mode-winprops-alist before running
23006 image-mode-new-window-functions.
23007 * doc-view.el (doc-view-new-window-function): Don't delay
23008 doc-view-goto-page via timers (bug#14435).
23009
23010 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23011
23012 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23013 (doc-view-desktop-save-buffer): New function.
23014 (doc-view-restore-desktop-buffer): New function.
23015 (desktop-buffer-mode-handlers):
23016 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23017 handler.
23018 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23019 `desktop-save-buffer' function.
23020
23021 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23022
23023 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23024 (tramp-gvfs-file-name-handler): Raise a user error when
23025 `tramp-gvfs-enabled' is nil.
23026 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23027 Do not raise a user error when loading package. (Bug#14447)
23028
23029 * net/xesam.el: Move to obsolete/.
23030
23031 2013-05-24 Glenn Morris <rgm@gnu.org>
23032
23033 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23034
23035 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23036
23037 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23038 (Info-find-node, Man-getpage-in-background): Declare.
23039
23040 * mail/unrmail.el (unrmail):
23041 Replace obsolete detect-coding-with-priority.
23042
23043 * net/socks.el (socks-split-string): Use this rather than split-string.
23044 (socks-nslookup-host): Update for above change.
23045 (dynamic-choice, s5-dynamic-choice-match)
23046 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23047 Comment out unused code.
23048
23049 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23050 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23051 (gud-tooltip-echo-area): Make obsolete.
23052 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23053
23054 * progmodes/js.el (js--optimize-arglist): Declare.
23055
23056 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23057
23058 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23059 (ediff-window-C): Declare.
23060
23061 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23062 Tweak requires to silence compiler.
23063
23064 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23065 (he-search-string, he-tried-table, he-expand-list)
23066 (he-init-string, he-string-member, he-substitute-string)
23067 (he-reset-string): Declare.
23068
23069 * obsolete/options.el (list-options): Use custom-variable-p,
23070 rather than obsolete alias.
23071
23072 2013-05-23 Sam Steingold <sds@gnu.org>
23073
23074 * simple.el (shell-command-on-region): Pass the `replace' argument
23075 down to `call-process-region' to comply with the doc as reported on
23076 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23077
23078 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23079
23080 * emacs-lisp/smie.el (smie-indent-forward-token)
23081 (smie-indent-backward-token): Handle string tokens (bug#14381).
23082
23083 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23084
23085 * ielm.el (ielm-menu): New menu.
23086 (inferior-emacs-lisp-mode): Set comment-start.
23087
23088 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23089
23090 * textmodes/reftex.el (reftex-ref-style-toggle):
23091 Fix deactivate action.
23092
23093 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23094 Add cleveref macros.
23095
23096 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23097 Accept options for bibliography commands.
23098 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23099 Add addbibresource. Basic Biblatex support.
23100
23101 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23102
23103 * net/tramp-gvfs.el (top):
23104 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23105 when loading package. (Bug#14447)
23106
23107 2013-05-23 Glenn Morris <rgm@gnu.org>
23108
23109 * progmodes/js.el: No need to load comint when compiling.
23110 (ring-insert, comint-send-string, comint-send-input)
23111 (comint-last-input-end, ido-chop): Declare.
23112
23113 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23114 * vc/ediff-mult.el: Adjust requires.
23115 (ediff-directories-internal, ediff-directory-revisions-internal)
23116 (ediff-patch-file-internal): Declare.
23117 * vc/ediff-ptch.el: Adjust requires.
23118 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23119 (ediff-find-file): Autoload.
23120 * vc/ediff-util.el: No need to load ediff when compiling.
23121 (ediff-regions-internal): Declare.
23122 * vc/ediff-wind.el: Adjust requires.
23123 (ediff-compute-toolbar-width): Define when compiling.
23124 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23125 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23126 (dired-get-filename, dired-get-marked-files)
23127 (ediff-last-dir-patch, ediff-patch-default-directory)
23128 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23129 (ediff-patch-buffer-internal): Declare.
23130
23131 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23132 (ispell-process, ispell-buffer-local-words, lm-summary)
23133 (lm-section-start, lm-section-end): Declare.
23134 (checkdoc-ispell-init): Simplify.
23135
23136 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23137 (he-string-member, he-reset-string, he-substitute-string): Declare.
23138
23139 * eshell/em-ls.el: Adjust requires.
23140 (eshell-glob-regexp): Declare.
23141 * eshell/em-tramp.el: Adjust requires.
23142 (eshell-parse-command): Autoload.
23143 * eshell/em-xtra.el: Adjust requires.
23144 (eshell-parse-command): Autoload.
23145 * eshell/esh-ext.el: Adjust requires.
23146 (eshell-parse-command, eshell-close-handles): Autoload.
23147 * eshell/esh-io.el: Adjust requires.
23148 (eshell-output-filter): Autoload.
23149 * eshell/esh-util.el: No need to load tramp when compiling.
23150 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23151 Declare.
23152 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23153 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23154 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23155 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23156 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23157 * eshell/esh-opt.el, eshell/esh-proc.el:
23158 * eshell/esh-var.el: Adjust requires.
23159 * eshell/eshell.el: Do not require esh-util twice.
23160 (eshell-add-input-to-history): Declare.
23161 (eshell-command): Check history module is active before using it.
23162
23163 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23164
23165 2013-05-22 Leo Liu <sdl.web@gmail.com>
23166
23167 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23168
23169 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23170
23171 * autorevert.el (auto-revert-notify-add-watch)
23172 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23173 it indicates changes in file modification time.
23174
23175 2013-05-22 Glenn Morris <rgm@gnu.org>
23176
23177 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23178 Always delete the autoloaded function from the noruntime and
23179 unresolved functions lists.
23180
23181 * allout.el: No need to load epa, epg, overlay when compiling.
23182 (epg-context-set-passphrase-callback, epg-list-keys)
23183 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23184 (epg-key-user-id-list): Declare.
23185
23186 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23187 (viper-set-parsing-style-toggling-macro)
23188 (viper-set-emacs-state-searchstyle-macros):
23189 Use called-interactively-p on Emacs.
23190 (viper-looking-back): Make it an obsolete alias. Update callers.
23191 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23192 Use looking-back rather than viper-looking-back.
23193 (viper-tmp-insert-at-eob, viper-enlarge-region)
23194 (viper-read-string-with-history, viper-register-to-point)
23195 (viper-append-to-register, viper-change-state-to-vi)
23196 (viper-backward-char-carefully, viper-forward-char-carefully)
23197 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23198 (viper-change-state-to-emacs): Declare.
23199 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23200 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23201 * emulation/viper-mous.el: Do not load viper-cmd.
23202 (viper-backward-char-carefully, viper-forward-char-carefully)
23203 (viper-forward-word, viper-adjust-window): Declare.
23204
23205 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23206
23207 * progmodes/idlw-help.el (idlwave-help-fontify):
23208 Use called-interactively-p.
23209
23210 * term/w32console.el (w32-get-console-codepage)
23211 (w32-get-console-output-codepage): Declare.
23212
23213 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23214 Remove unnecessary declarations.
23215 (dframe-message): Doc fix.
23216
23217 * info.el (dframe-select-attached-frame, dframe-current-frame):
23218 Declare.
23219
23220 * speedbar.el (speedbar-message): Make it an obsolete alias.
23221 Update all callers.
23222 (speedbar-with-attached-buffer)
23223 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23224 (speedbar-with-writable): Use backquote.
23225 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23226 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23227 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23228 rather than speedbar- aliases.
23229 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23230 (speedbar-make-specialized-keymap, speedbar-insert-button)
23231 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23232 (speedbar-do-function-pointer): Declare.
23233 (rmail-speedbar-button, rmail-speedbar-find-file)
23234 (rmail-speedbar-move-message):
23235 Use dframe-with-attached-buffer rather than speedbar- alias.
23236 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23237 (dframe-message, speedbar-make-specialized-keymap)
23238 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23239 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23240 (speedbar-insert-button, dframe-select-attached-frame)
23241 (dframe-maybee-jump-to-attached-frame)
23242 (speedbar-change-initial-expansion-list)
23243 (speedbar-previously-used-expansion-list-name): Declare.
23244 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23245 Use dframe-message, dframe-with-attached-buffer rather than
23246 speedbar- aliases.
23247 (gud-sentinel): Silence compiler.
23248 * progmodes/vhdl-mode.el (speedbar-refresh)
23249 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23250 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23251 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23252 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23253 (speedbar-file-lists, speedbar-make-tag-line)
23254 (speedbar-line-directory, speedbar-goto-this-file)
23255 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23256 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23257 (speedbar-make-button, speedbar-reset-scanners)
23258 (speedbar-files-item-info, speedbar-line-text)
23259 (speedbar-find-file-in-frame, speedbar-set-timer)
23260 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23261 (speedbar-with-writable): Do not (re)define it.
23262 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23263 rather than speedbar- alias.
23264
23265 2013-05-21 Leo Liu <sdl.web@gmail.com>
23266
23267 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23268 menu items.
23269 (octave-mode): Tweak fill-nobreak-predicate.
23270 (inferior-octave-startup): Check process to avoid infinite loop.
23271 (inferior-octave): Pop to buffer first to show abornmal process
23272 exit information.
23273
23274 2013-05-21 Glenn Morris <rgm@gnu.org>
23275
23276 * printing.el (pr-menu-bar): Define when compiling.
23277
23278 2013-05-21 Leo Liu <sdl.web@gmail.com>
23279
23280 * progmodes/octave.el (octave-auto-fill): Remove.
23281 (octave-indent-new-comment-line): Improve.
23282 (octave-mode): Use auto fill mode through
23283 comment-line-break-function and fill-nobreak-predicate.
23284 (octave-goto-function-definition): Support DEFUN_DLD.
23285 (octave-beginning-of-defun): Small tweak.
23286 (octave-help): Show parent directory.
23287
23288 2013-05-21 Glenn Morris <rgm@gnu.org>
23289
23290 * files.el (dired-unmark):
23291 * progmodes/gud.el (gdb-input): Update declarations.
23292
23293 * calculator.el (electric, ehelp): No need to load when compiling.
23294 (Electric-command-loop, electric-describe-mode): Declare.
23295
23296 * doc-view.el (doc-view-current-converter-processes): Move before use.
23297
23298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23299 Move MODE-set-explicitly definition before use.
23300
23301 * international/mule-diag.el (mule-diag):
23302 Don't use obsolete window-system-version.
23303
23304 * mail/feedmail.el (smtpmail): No need to load when compiling.
23305 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23306
23307 * mail/mail-utils.el (rfc822): No need to load when compiling.
23308 (rfc822-addresses): Autoload it.
23309 (mail-strip-quoted-names): Trivial simplification.
23310
23311 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23312 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23313
23314 * net/snmp-mode.el (tempo): Don't duplicate requires.
23315
23316 * progmodes/prolog.el (info): No need to load when compiling.
23317 (comint): Require before shell requires it.
23318 (Info-goto-node): Autoload it.
23319 (Info-follow-nearest-node): Declare.
23320 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23321
23322 * textmodes/artist.el (picture-mode-exit): Declare.
23323
23324 * textmodes/reftex-parse.el (reftex-parse-from-file):
23325 Trivial rewrite so the compiler can parse it better.
23326
23327 2013-05-20 Leo Liu <sdl.web@gmail.com>
23328
23329 * progmodes/octave.el (octave-help-mode-map)
23330 (octave-help-mode-finish-hook): New variables.
23331 (octave-help-mode, octave-help-mode-finish): New functions.
23332 (octave-help): Use octave-help-mode.
23333
23334 2013-05-20 Glenn Morris <rgm@gnu.org>
23335
23336 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23337
23338 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23339
23340 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23341 start at point, so that expansion starting right after opening
23342 slash in a regexp is recognized.
23343 (ruby-syntax-before-regexp-re): New defvar, extracted from
23344 ruby-syntax-propertize-function. Since the value of this regexp
23345 is looked up at runtime now, we should be able to turn
23346 `ruby-syntax-methods-before-regexp' into a defcustom later.
23347 (ruby-syntax-propertize-function): Split regexp matching into two
23348 parts, for opening and closing slashes. That allows us to skip
23349 over string interpolations and support multiline regexps.
23350 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23351 for them, which calls `ruby-syntax-propertize-expansion'.
23352 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23353 call to `ruby-syntax-propertize-function'.
23354 (ruby-syntax-propertize-expansion): Extracted from
23355 `ruby-syntax-propertize-expansions'. Handles one expansion.
23356 (ruby-syntax-propertize-percent-literal): Leave point right after
23357 the percent symbol, so that the expression expansion rule can
23358 propertize the contents.
23359 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23360 heredoc openers.
23361 (ruby-syntax-propertize-expansions): Remove.
23362
23363 2013-05-18 Juri Linkov <juri@jurta.org>
23364
23365 * man.el (Man-default-man-entry): Remove `-' from the end
23366 of the default value. (Bug#14400)
23367
23368 2013-05-18 Glenn Morris <rgm@gnu.org>
23369
23370 * comint.el (comint-password-prompt-regexp):
23371 Allow "password for XXX" where XXX contains colons (eg https://...).
23372
23373 2013-05-18 Leo Liu <sdl.web@gmail.com>
23374
23375 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23376 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23377 (octave-source-directories): Don't check process.
23378 (octave-source-directories, octave-find-definition): Doc fix.
23379
23380 2013-05-18 Glenn Morris <rgm@gnu.org>
23381
23382 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23383 Remove backspace/delete bindings. (Bug#14392)
23384
23385 * cus-dep.el (custom-make-dependencies): Sort the output.
23386 (custom-versions-load-alist): Convert comment to doc.
23387
23388 2013-05-17 Leo Liu <sdl.web@gmail.com>
23389
23390 * newcomment.el (comment-search-backward): Stricter in finding
23391 comment start. (Bug#14303)
23392
23393 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23394 (octave-comment-start-skip): Properly anchored.
23395
23396 2013-05-17 Leo Liu <sdl.web@gmail.com>
23397
23398 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23399 Clean up when turned off. (Bug#14395)
23400 (smie--highlight-matching-block-overlay): No longer buffer-local.
23401 (smie-highlight-matching-block): Adjust.
23402
23403 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23404
23405 Doc string fix for "nanoseconds" (Bug#14406).
23406 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23407 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23408
23409 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23410
23411 * calc/calc-units.el (math-extract-units): Preserve powers
23412 of units.
23413
23414 2013-05-17 Leo Liu <sdl.web@gmail.com>
23415
23416 * subr.el (delete-consecutive-dups): New function.
23417 * ido.el (ido-set-matches-1): Use it.
23418 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23419 * ido.el (ido-remove-consecutive-dups): Remove.
23420
23421 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23422
23423 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23424 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23425 regexp-opt's `words'.
23426
23427 2013-05-16 Leo Liu <sdl.web@gmail.com>
23428
23429 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23430 (smie--highlight-matching-block-overlay)
23431 (smie--highlight-matching-block-lastpos)
23432 (smie--highlight-matching-block-timer): New variables.
23433 (smie-highlight-matching-block): New function.
23434 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23435 (smie-setup): Conditionally enable smie-blink-matching-open.
23436
23437 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23438
23439 Sync with upstream verilog-mode r840.
23440 * progmodes/verilog-mode.el (verilog-mode-version)
23441 (verilog-mode-release-date): Update.
23442 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23443 (verilog-sig-tieoff): Fix string error on
23444 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23445 (verilog-read-decls): Fix parameters confusing
23446 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23447
23448 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23449
23450 * subr.el (reveal-filename): New function.
23451
23452 * loadup.el: Compute Emacs executable versions on MS-Windows,
23453 where executables have the .exe extension. Add a hard link
23454 emacs-XX.YY.ZZ.exe on MS-Windows.
23455
23456 * Makefile.in (XARGS_LIMIT): New variable.
23457 (custom-deps, finder-data, autoloads)
23458 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23459 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23460 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23461 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23462
23463 2013-05-16 Leo Liu <sdl.web@gmail.com>
23464
23465 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23466 (octave-mode-menu, octave-mode-map): Remove its uses.
23467
23468 2013-05-16 Reto Zimmermann <reto@gnu.org>
23469
23470 Sync with upstream vhdl mode v3.34.2.
23471 * progmodes/vhdl-mode.el: Use `push' throughout.
23472 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23473 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23474 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23475 (vhdl-actual-generic-name): New option to derive actual generic name.
23476 (vhdl-port-paste-signals): Replace formal by actual generics.
23477 (vhdl-beautify): New name for old group vhdl-align. Update users.
23478 (vhdl-beautify-options): New option.
23479 (vhdl-last-input-event): New compat alias. Use throughout.
23480 (vhdl-goto-line): Replace user level function `goto-line'.
23481 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23482 vhdl-fix-statement-buffer.
23483 (vhdl-create-mode-menu): Add some entries.
23484 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23485 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23486 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23487 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23488 to force statements on one line.
23489 (vhdl-remove-trailing-spaces-region):
23490 New, split from vhdl-remove-trailing-spaces.
23491 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23492 Respect vhdl-beautify-options.
23493 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23494 (vhdl-update-sensitivity-list): Not add with index if exists without.
23495 Not include array index with signal. Ignore keywords in comments.
23496 (vhdl-get-visible-signals): Regexp tweaks.
23497 (vhdl-template-component-inst): Handle empty library.
23498 (vhdl-template-type): Add template for 'enum' type.
23499 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23500 Use vhdl-replace-string.
23501 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23502 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23503 (vhdl-speedbar-initialize): Update for above name change.
23504 (vhdl-compose-wire-components): Fix in handling of constants.
23505 (vhdl-error-regexp-emacs-alist): New variable.
23506 (vhdl-error-regexp-add-emacs): New function;
23507 adds support for new compile.el (Emacs 22+)
23508 (vhdl-generate-makefile-1): Change target order for single lib. units.
23509 Allow use of absolute file names.
23510
23511 2013-05-16 Leo Liu <sdl.web@gmail.com>
23512
23513 * simple.el (prog-indent-sexp): Indent enclosing defun.
23514
23515 2013-05-15 Glenn Morris <rgm@gnu.org>
23516
23517 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23518 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23519 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23520 (whitespace-highlight): Move to whitespace group.
23521
23522 * comint.el (comint-source):
23523 * pcmpl-linux.el (pcmpl-linux):
23524 * shell.el (shell-faces):
23525 * eshell/esh-opt.el (eshell-opt):
23526 * international/ccl.el (ccl): Remove empty custom groups.
23527
23528 * completion.el (dynamic-completion-mode):
23529 * jit-lock.el (jit-lock-debug-mode):
23530 * minibuffer.el (completion-in-region-mode):
23531 * type-break.el (type-break-mode-line-message-mode)
23532 (type-break-query-mode):
23533 * emulation/tpu-edt.el (tpu-edt-mode):
23534 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23535 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23536 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23537
23538 * term/xterm.el (xterm): Change parent group to terminals.
23539
23540 * master.el (master): Remove empty custom group.
23541 (master-mode): Remove unused :group argument.
23542 * textmodes/refill.el (refill): Remove empty custom group.
23543 (refill-mode): Remove unused :group argument.
23544
23545 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23546
23547 * cus-dep.el: Provide a feature.
23548 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23549 Don't mistakenly ignore files whose basenames match a basename
23550 from preloaded-file-list (eg cedet/ede/simple.el).
23551 Add a fallback method for getting :group.
23552
23553 2013-05-15 Juri Linkov <juri@jurta.org>
23554
23555 * isearch.el (isearch-char-by-name): Rename from
23556 `isearch-insert-char-by-name'. Doc fix.
23557 (isearch-forward): Mention `isearch-char-by-name' in
23558 the docstring. (Bug#13348)
23559
23560 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23561 `exit-minibuffer' instead of
23562 `isearch-nonincremental-exit-minibuffer'.
23563 (isearch-edit-string): Remove mention of
23564 `isearch-nonincremental-exit-minibuffer' from docstring.
23565 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23566 (isearch-forward-exit-minibuffer)
23567 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23568
23569 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23570
23571 * loadup.el: Just use unversioned DOC.
23572
23573 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23574 literals as extending to EOB.
23575 (nxml-last-fontify-end): Remove unused variable.
23576 (nxml-after-change1): Use with-silent-modifications.
23577 (nxml-extend-after-change-region): Simplify.
23578 (nxml-extend-after-change-region1): Remove function.
23579 (nxml-after-change1): Don't adjust for dependent regions.
23580 (nxml-fontify-matcher): Simplify.
23581 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23582 (xmltok-add-dependent): Remove function.
23583 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23584 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23585 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23586 unclosed <[[, <?, comment, and other literals as extending to EOB.
23587 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23588 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23589 Remove functions.
23590 (rng-do-some-validation-1): Don't mark dependent regions.
23591 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23592 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23593 (nxml-clear-dependent-regions): Remove functions.
23594 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23595 (nxml-ensure-scan-up-to-date):
23596 Don't clear&mark dependent regions.
23597
23598 2013-05-15 Leo Liu <sdl.web@gmail.com>
23599
23600 * progmodes/octave.el (octave-goto-function-definition):
23601 Improve and fix callers.
23602
23603 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23604
23605 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23606 the setter (bug#14387).
23607
23608 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23609 surrounding group (bug#14402).
23610
23611 2013-05-14 Juri Linkov <juri@jurta.org>
23612
23613 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23614 (Bug#14390)
23615
23616 2013-05-14 Glenn Morris <rgm@gnu.org>
23617
23618 * progmodes/f90.el (f90-imenu-generic-expression):
23619 Fix typo in 2013-05-08 change. (Bug#14402)
23620
23621 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23622
23623 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23624 Remove signals for which replies are never received.
23625
23626 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23627
23628 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23629 (gdb-handler-alist, gdb-handler-number): Remove variables.
23630 (gdb-handler-list): New variable.
23631 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23632 (gdb-pending-handler-p, gdb-handle-reply)
23633 (gdb-remove-all-pending-triggers): New functions.
23634 (gdb-discard-unordered-replies): New defcustom.
23635 (gdb-handler): New defstruct.
23636 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
23637 instead of gdb-pending-triggers. Update docstring.
23638 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
23639 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23640 (gdb-var-update-handler, def-gdb-auto-update-trigger)
23641 (def-gdb-auto-update-handler, gdb-get-changed-registers)
23642 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23643 (gdb-frame-handler): Pending triggers are now automatically managed.
23644 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23645 Remove argument.
23646 (gdb-input): Automatically handles pending triggers. Update docstring.
23647 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23648 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23649 Update comments.
23650 (gdb-done-or-error): Now use gdb-handle-reply.
23651
23652 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23653
23654 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23655 gdb-debug-log.
23656
23657 2013-05-14 Glenn Morris <rgm@gnu.org>
23658
23659 * subr.el (user-emacs-directory-warning): New option.
23660 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
23661
23662 2013-05-14 Leo Liu <sdl.web@gmail.com>
23663
23664 * progmodes/octave.el (octave-font-lock-keywords): Fix error
23665 during redisplay.
23666 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23667 (octave-font-lock-texinfo-comment): Fix invalid search bound
23668 error: wrong side of point.
23669
23670 2013-05-14 Glenn Morris <rgm@gnu.org>
23671
23672 * progmodes/flymake.el (flymake-xml-program): New option.
23673 (flymake-xml-init): Use it.
23674
23675 * term/xterm.el: Provide a feature.
23676
23677 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
23678
23679 2013-05-13 Glenn Morris <rgm@gnu.org>
23680
23681 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23682 Add compat aliases as a hack workaround. (Bug#14384)
23683
23684 2013-05-13 Leo Liu <sdl.web@gmail.com>
23685
23686 * progmodes/octave.el (octave-indent-comment): Fix indentation for
23687 ###, and %!.
23688 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23689 C-M-q.
23690 (octave-comment-start-skip): Include %!.
23691 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23692
23693 2013-05-12 Leo Liu <sdl.web@gmail.com>
23694
23695 * progmodes/octave.el (inferior-octave-startup): Store the value
23696 of __octave_srcdir__ for octave-source-directories.
23697 (inferior-octave-check-process): New function refactored out of
23698 inferior-octave-send-list-and-digest.
23699 (octave-source-directories)
23700 (octave-find-definition-filename-function): New variables.
23701 (octave-source-directories)
23702 (octave-find-definition-default-filename): New functions.
23703 (octave-find-definition): Improve to find functions implemented in C++.
23704
23705 2013-05-12 Glenn Morris <rgm@gnu.org>
23706
23707 * calendar/diary-lib.el (diary-outlook-format-1):
23708 Don't include dayname in the output. (Bug#14349)
23709
23710 2013-05-11 Glenn Morris <rgm@gnu.org>
23711
23712 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23713
23714 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23715 Treat cc-provide like provide.
23716
23717 2013-05-11 Kevin Ryde <user42@zip.com.au>
23718
23719 * cus-dep.el (custom-make-dependencies):
23720 Use generated-autoload-load-name for the sake of files such
23721 such cedet/semantic/bovine/c.el, where the base file name
23722 is not in load-path. (Bug#5277)
23723
23724 2013-05-11 Glenn Morris <rgm@gnu.org>
23725
23726 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23727 Provide features.
23728
23729 2013-05-11 Leo Liu <sdl.web@gmail.com>
23730
23731 * progmodes/octave.el (octave-indent-comment): Improve.
23732 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23733 (octave-eldoc-function-signatures, octave-eldoc-function):
23734 New functions.
23735 (octave-mode, inferior-octave-mode): Add eldoc support.
23736
23737 2013-05-11 Richard Stallman <rms@gnu.org>
23738
23739 * epa.el (epa-decrypt-file): Take output file name as argument
23740 and read it using `interactive'.
23741
23742 2013-05-11 Leo Liu <sdl.web@gmail.com>
23743
23744 * progmodes/octave.el (octave-beginning-of-line)
23745 (octave-end-of-line): Check before using up-list because it jumps
23746 out of more syntactic contructs since moving to smie.
23747 (octave-indent-comment): New function.
23748 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
23749 (octave-begin-keywords, octave-end-keywords)
23750 (octave-reserved-words, octave-smie-bnf-table)
23751 (octave-smie-rules): Add new keywords from Octave 3.6.4.
23752
23753 2013-05-11 Glenn Morris <rgm@gnu.org>
23754
23755 * faces.el (internal-face-x-get-resource):
23756 * frame.el (ns-display-monitor-attributes-list):
23757 * calc/calc-aent.el (math-to-radians-2):
23758 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23759 Fix declarations.
23760
23761 * calc/calc-menu.el: Make it loadable in isolation.
23762
23763 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23764 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23765 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23766 (eudc-bbdb-query-internal): Require 'bbdb.
23767
23768 * lpr.el (lpr-headers-switches):
23769 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23770
23771 * progmodes/sql.el (sql-login-params): Fix and improve :type.
23772
23773 * emulation/edt-mapper.el: In batch mode, error rather than hang.
23774
23775 * term.el (term-set-escape-char): Make it idempotent.
23776
23777 2013-05-10 Leo Liu <sdl.web@gmail.com>
23778
23779 * progmodes/octave.el (inferior-octave-completion-table):
23780 No longer a function and all uses changed. Use cache to speed up
23781 completion due to bug#11906.
23782 (octave-beginning-of-defun): Re-write to be more general.
23783
23784 2013-05-10 Glenn Morris <rgm@gnu.org>
23785
23786 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23787
23788 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
23789
23790 * comint.el (comint-redirect-send-command-to-process): Use :around
23791 rather than :override for comint-redirect-filter.
23792 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23793 Call it instead of comint-redirect-original-filter-function (which
23794 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
23795
23796 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
23797
23798 * frame.el (display-monitor-attributes-list): Add NS case.
23799 (ns-display-monitor-attributes-list): Declare.
23800
23801 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
23802
23803 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
23804
23805 2013-05-09 Glenn Morris <rgm@gnu.org>
23806
23807 * international/fontset.el (vertical-centering-font-regexp):
23808 Set standard-value.
23809
23810 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23811
23812 * bookmark.el (bookmark-search-delay):
23813 * cus-start.el (vertical-centering-font-regexp):
23814 * ps-mule.el (ps-mule-font-info-database-default):
23815 * ps-print.el (ps-default-fg, ps-default-bg):
23816 * type-break.el (type-break-good-break-interval):
23817 * whitespace.el (whitespace-indentation-regexp)
23818 (whitespace-space-after-tab-regexp):
23819 * emacs-lisp/testcover.el (testcover-1value-functions)
23820 (testcover-noreturn-functions, testcover-progn-functions)
23821 (testcover-prog1-functions):
23822 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23823 * eshell/em-glob.el (eshell-glob-translate-alist):
23824 * play/tetris.el (tetris-tty-colors):
23825 * progmodes/cpp.el (cpp-face-default-list):
23826 * progmodes/flymake.el (flymake-allowed-file-name-masks):
23827 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23828 (idlwave-help-browser-generic-args):
23829 * progmodes/make-mode.el (makefile-special-targets-list):
23830 * progmodes/python.el (python-shell-virtualenv-path):
23831 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23832 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23833 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23834 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23835 * textmodes/reftex-vars.el (reftex-format-label-function):
23836 * textmodes/remember.el (remember-diary-file): Fix custom types.
23837
23838 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23839 Add :version.
23840
23841 2013-05-09 Leo Liu <sdl.web@gmail.com>
23842
23843 * progmodes/octave.el (inferior-octave-completion-at-point):
23844 Restore file completion. (Bug#14300)
23845 (inferior-octave-startup): Fix incorrect highlighting for the
23846 first prompt.
23847
23848 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23849
23850 * progmodes/ruby-mode.el: First cut at SMIE support.
23851 (ruby-use-smie): New var.
23852 (ruby-smie-grammar): New constant.
23853 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23854 (ruby-smie--forward-token, ruby-smie--backward-token)
23855 (ruby-smie-rules): New functions.
23856 (ruby-mode-variables): Setup SMIE if applicable.
23857
23858 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23859
23860 * simple.el (line-move-visual): Signal beginning/end of buffer
23861 only if vertical-motion moved less than it was requested. Avoids
23862 silly incorrect error messages when there are display strings with
23863 multiple newlines at EOL.
23864
23865 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23866
23867 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23868 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23869 (prolog-char-quote-workaround):
23870 * progmodes/cperl-mode.el (cperl-under-as-char):
23871 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23872 Mark as obsolete.
23873 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23874 their declaration.
23875 (vhdl-mode-syntax-table-init): Remove.
23876
23877 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23878 last change.
23879
23880 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23881 syntax for "_".
23882 (ld-script-font-lock-keywords):
23883 Change regexps to use things like \_< and \_>.
23884
23885 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23886 Change all regexps to use things like \_< and \_>.
23887
23888 * progmodes/autoconf.el (autoconf-definition-regexp)
23889 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23890 Handle a _ with symbol syntax.
23891 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23892
23893 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23894 Consolidate declaration.
23895 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23896 the declaration.
23897 (ada-create-syntax-table): Remove.
23898 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23899 already has the right syntax nowadays.
23900 (ada-goto-next-word): Don't change the syntax of "_".
23901
23902 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23903 with-wrapper-hook.
23904
23905 2013-05-08 Sam Steingold <sds@gnu.org>
23906
23907 * thingatpt.el (thing-at-point): Accept optional second argument
23908 NO-PROPERTIES to strip the text properties from the return value.
23909 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23910 to `thing-at-point' instead of stripping the properties ourselves.
23911 Also, when `thing-at-point' fails to find a url, prepend "http://"
23912 to the filename at point on the assumption that the user is
23913 pointing at something like gnu.org/gnu.
23914
23915 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
23916
23917 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23918 * faces.el (crm-separator):
23919 Silence byte-compiler.
23920
23921 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23922 (tool-bar-map): Remove unneeded defvars.
23923
23924 2013-05-08 Leo Liu <sdl.web@gmail.com>
23925
23926 Re-work a fix for bug#10994 based on Le Wang's patch.
23927 * ido.el (ido-remove-consecutive-dups): New helper.
23928 (ido-completing-read): Use it.
23929 (ido-chop): Revert fix for bug#10994.
23930
23931 2013-05-08 Adam Spiers <emacs@adamspiers.org>
23932
23933 * cus-edit.el (custom-save-variables):
23934 Pretty-print long values. (Bug#14187)
23935
23936 2013-05-08 Glenn Morris <rgm@gnu.org>
23937
23938 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23939 (m4-mode-syntax-table): Init in the defvar.
23940 (m4-mode-abbrev-table): Let define-derived-mode define it.
23941
23942 2013-05-08 Tom Tromey <tromey@redhat.com>
23943
23944 * progmodes/m4-mode.el (m4-mode-syntax-table):
23945 Do not treat "_" as word constituent. (Bug#14167)
23946
23947 2013-05-07 Glenn Morris <rgm@gnu.org>
23948
23949 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23950 Remove explicit eshell-isearch-cancel-map.
23951
23952 * progmodes/f90.el (f90-smart-end-names): New option.
23953 (f90-smart-end): Doc fix.
23954 (f90-end-block-optional-name): New constant.
23955 (f90-block-match): Respect f90-smart-end-names.
23956
23957 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23958
23959 * progmodes/octave.el (octave-smie-forward-token): Be more careful
23960 about implicit semi-colons (bug#14218).
23961
23962 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23963
23964 * frame.el (display-monitor-attributes-list)
23965 (frame-monitor-attributes): New functions.
23966
23967 2013-05-06 Leo Liu <sdl.web@gmail.com>
23968
23969 * progmodes/octave.el (octave-syntax-propertize-function): Change
23970 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
23971 (octave-font-lock-keywords): Use octave-operator-regexp.
23972 (octave-completion-at-point): Rename from
23973 octave-completion-at-point-function.
23974 (inferior-octave-directory-tracker): Robustify.
23975 (octave-text-functions): Remove and fix its uses. No such things
23976 any more.
23977
23978 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23979
23980 * emacs-lisp/trace.el (trace--display-buffer): New function.
23981 (trace-make-advice): Use it.
23982
23983 2013-05-06 Juri Linkov <juri@jurta.org>
23984
23985 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
23986 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23987 Doc fix.
23988 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23989 in the help string. (Bug#12985)
23990
23991 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
23992
23993 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
23994
23995 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23996
23997 * progmodes/perl-mode.el: Add support for here documents.
23998 (perl-syntax-propertize-function): Match here-doc markers.
23999 (perl-syntax-propertize-special-constructs): Find their end.
24000 (perl-imenu-generic-expression): Use [:alnum:].
24001
24002 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24003 (advice--add-function): Refresh the advice if already present
24004 (bug#14317).
24005
24006 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24007
24008 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24009
24010 2013-05-06 Glenn Morris <rgm@gnu.org>
24011
24012 * w32-fns.el (w32-charset-info-alist): Declare.
24013
24014 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24015 of its defcustom properties.
24016 (eshell-cmpl-initialize): No need to load pcomplete.
24017
24018 * generic-x.el: No need to require comint when compiling.
24019
24020 * net/eudc-export.el: Make it loadable without bbdb.
24021 (top-level): Use require rather than load-library.
24022 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24023 (eudc-batch-export-records-to-bbdb)
24024 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24025 Require bbdb.
24026
24027 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24028
24029 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24030 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24031 some tweaks, instead.
24032
24033 2013-05-05 Leo Liu <sdl.web@gmail.com>
24034
24035 * progmodes/octave.el (octave-font-lock-keywords)
24036 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24037 (inferior-octave-send-list-and-digest): Improve error message.
24038 (octave-mode, inferior-octave-mode): Use setq-local.
24039 (octave-help): Set info-lookup-mode.
24040
24041 2013-05-05 Richard Stallman <rms@gnu.org>
24042
24043 * vc/compare-w.el (compare-windows-whitespace):
24044 Treat no-break space as whitespace.
24045
24046 * mail/rmailsum.el (rmail-summary-rmail-update):
24047 Detect empty summary and don't change selected message.
24048 (rmail-summary-goto-msg): Likewise.
24049
24050 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24051 Doc fixes, rename args.
24052
24053 2013-05-05 Alan Mackenzie <acm@muc.de>
24054
24055 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24056
24057 2013-05-05 Juri Linkov <juri@jurta.org>
24058
24059 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24060 to not add the length of the summary segment to the return value.
24061 (Bug#14125)
24062
24063 2013-05-05 Leo Liu <sdl.web@gmail.com>
24064
24065 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24066 (inferior-octave-output-filter): Remove.
24067 (octave-send-region, inferior-octave-startup): Fix callers.
24068 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24069 (octave-binary-file-extensions): New user variable.
24070 (octave-find-definition): Confirm if opening binary files.
24071 (octave-help-file): Use octave-find-definition to get the binary
24072 confirmation.
24073 (octave-help): Adjust for octave-help-file change.
24074
24075 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24076
24077 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24078 Merge the two entries that handle function definitions.
24079 (pascal--syntax-propertize): New const.
24080 (pascal-mode): Use it. Use setq-local.
24081
24082 2013-05-04 Glenn Morris <rgm@gnu.org>
24083
24084 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24085 (diary-from-outlook): Respect diary-from-outlook-function.
24086
24087 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24088
24089 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24090 Move the declaration from C.
24091 (read-minibuffer, eval-minibuffer): Move from C.
24092 (completion-setup-function): Avoid minibuffer-completion-contents.
24093
24094 2013-05-03 Leo Liu <sdl.web@gmail.com>
24095
24096 * progmodes/octave.el (octave-font-lock-keywords): Do not
24097 dehighlight 'end' in comments or strings.
24098 (octave-completing-read, octave-goto-function-definition):
24099 New helpers.
24100 (octave-help-buffer): New user variable.
24101 (octave-help-file, octave-help-function): New button types.
24102 (octave-help): New command and bind it to C-h ;.
24103 (octave-find-definition): New command and bind it to M-.
24104 (user-error): Alias to error if not defined.
24105
24106 2013-05-02 Leo Liu <sdl.web@gmail.com>
24107
24108 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24109 for \. (bug#14332)
24110 (octave-font-lock-keywords): Include [ and {.
24111
24112 2013-05-02 Leo Liu <sdl.web@gmail.com>
24113
24114 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24115 (inferior-octave): Remove calling comint-mode and return the buffer.
24116 (inferior-octave-startup): Cosmetic changes.
24117
24118 2013-05-02 Leo Liu <sdl.web@gmail.com>
24119
24120 * progmodes/octave.el (octave-syntax-propertize-function):
24121 Include the case when ' is at line beginning. (Bug#14336)
24122
24123 2013-05-02 Glenn Morris <rgm@gnu.org>
24124
24125 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24126 * desktop.el (vc-dir-mode): Just autoload it here.
24127
24128 2013-05-02 Alan Mackenzie <acm@muc.de>
24129
24130 Eliminate variable c-standard-font-lock-fontify-region-function.
24131 * progmodes/cc-mode.el
24132 (c-standard-font-lock-fontify-region-function): Remove.
24133 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24134
24135 2013-05-01 Leo Liu <sdl.web@gmail.com>
24136
24137 * progmodes/octave.el: Compatible with older emacs-24 releases.
24138 (inferior-octave-has-built-in-variables): Remove. Built-in
24139 variables were removed from Octave in 2007.
24140 (inferior-octave-startup): Fix uses.
24141 (comint-line-beginning-position): Remove compatibility code for
24142 emacs 21.
24143
24144 2013-05-01 Juri Linkov <juri@jurta.org>
24145
24146 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24147
24148 2013-05-01 Juri Linkov <juri@jurta.org>
24149
24150 * comint.el (comint-previous-matching-input): Don't print message
24151 "History item: %d" when `isearch-mode' is active.
24152 (comint-history-isearch-message): Print message "History item: %d"
24153 when `comint-input-ring-index' is not empty and this function is
24154 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24155
24156 2013-05-01 Leo Liu <sdl.web@gmail.com>
24157
24158 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24159 definitions. Use completion-at-point to insert keywords.
24160 (octave-abbrev-start): Remove.
24161 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24162
24163 2013-04-30 Leo Liu <sdl.web@gmail.com>
24164
24165 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24166 change.
24167
24168 2013-04-30 Alan Mackenzie <acm@muc.de>
24169
24170 Handle arbitrarily long C++ member initialisation lists.
24171 * progmodes/cc-engine.el (c-back-over-member-initializers):
24172 new function.
24173 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24174 (most) member init lists.
24175
24176 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24177
24178 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24179 variable.
24180
24181 2013-04-30 Leo Liu <sdl.web@gmail.com>
24182
24183 * progmodes/octave.el (octave-variables): Remove. No builtin
24184 variables any more. All converted to functions.
24185 (octave-font-lock-keywords, octave-completion-at-point-function):
24186 Fix uses.
24187 (octave-font-lock-texinfo-comment): New user variable.
24188 (octave-texinfo-font-lock-keywords): New variable for texinfo
24189 comment block.
24190 (octave-function-comment-block): New face.
24191 (octave-font-lock-texinfo-comment): New function.
24192 (octave-mode): Font lock texinfo comment block.
24193
24194 2013-04-29 Leo Liu <sdl.web@gmail.com>
24195
24196 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24197 indexing expression.
24198 (octave-continuation-string): Do not use \.
24199 (inferior-octave-complete-impossible): Remove.
24200 (inferior-octave-completion-table)
24201 (inferior-octave-completion-at-point): Remove its uses.
24202 (inferior-octave-startup): completion_matches was introduced to
24203 Octave in 1996 so safe to assume it.
24204 (octave-function-file-comment): Improve to follow how Octave does it.
24205 (octave-update-function-file-comment): Tweak.
24206
24207 2013-04-29 Leo Liu <sdl.web@gmail.com>
24208
24209 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24210 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24211 (octave-function-file-comment): Fix typo.
24212 (octave-sync-function-file-names): Use read-char-choice.
24213
24214 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24215
24216 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24217 to t for the less important warnings.
24218
24219 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24220
24221 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24222
24223 2013-04-27 Glenn Morris <rgm@gnu.org>
24224
24225 * vc/log-view.el (log-view-current-entry):
24226 Treat "---" separator lines as part of the following rev. (Bug#14169)
24227
24228 2013-04-27 Juri Linkov <juri@jurta.org>
24229
24230 * subr.el (read-number): Doc fix about using it by interactive
24231 code letter `n'. (Bug#14254)
24232
24233 2013-04-27 Juri Linkov <juri@jurta.org>
24234
24235 * desktop.el (desktop-auto-save-timeout): New option.
24236 (desktop-file-checksum): New variable.
24237 (desktop-save): Add optional arg `auto-save' and don't auto-save
24238 if nothing changed.
24239 (desktop-auto-save-timer): New variable.
24240 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24241 (after-init-hook): Call `desktop-auto-save-set-timer'.
24242 Suggested by Reuben Thomas <rrt@sc3d.org> in
24243 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24244
24245 2013-04-27 Leo Liu <sdl.web@gmail.com>
24246
24247 * progmodes/octave.el (octave-function-file-p)
24248 (octave-skip-comment-forward, octave-function-file-comment)
24249 (octave-update-function-file-comment): New functions.
24250 (octave-mode-map): Bind C-c ; to
24251 octave-update-function-file-comment.
24252 (octave-mode-menu): Add octave-update-function-file-comment.
24253 (octave-mode, inferior-octave-mode): Fix doc-string.
24254 (octave-insert-defun): Conform to Octave's coding convention.
24255 (Bug#14285)
24256
24257 * files.el (basic-save-buffer): Don't let errors in
24258 before-save-hook prevent saving buffer.
24259
24260 2013-04-20 Roland Winkler <winkler@gnu.org>
24261
24262 * faces.el (read-face-name): Use completing-read if arg multiple
24263 is nil.
24264
24265 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24266
24267 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24268 displayed, move point to after the totals line.
24269 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24270 for the details.
24271
24272 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24273
24274 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24275 Add current dir to the load-path.
24276 (package-generate-autoloads): Don't rely on
24277 autoload-ensure-default-file.
24278
24279 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24280
24281 * textmodes/remember.el (remember-store-in-files): Document that
24282 the file name format is passed to `format-time-string'.
24283
24284 2013-04-26 Leo Liu <sdl.web@gmail.com>
24285
24286 * progmodes/octave.el (octave-sync-function-file-names): New function.
24287 (octave-mode): Use it in before-save-hook.
24288
24289 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24290
24291 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24292 (bug#14274).
24293
24294 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24295 \n and comment, even if it's not an implicit ; (bug#14218).
24296
24297 2013-04-26 Glenn Morris <rgm@gnu.org>
24298
24299 * subr.el (read-number): Once more use `read' rather than
24300 `string-to-number', to trap non-numeric input. (Bug#14254)
24301
24302 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24303
24304 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24305 Use `syntax-multiline' text property consistently instead of
24306 `font-lock-multiline'. (Bug#14237)
24307
24308 2013-04-26 Glenn Morris <rgm@gnu.org>
24309
24310 * emacs-lisp/shadow.el (list-load-path-shadows):
24311 No longer necessary to check for duplicate simple.el, since
24312 2012-07-07 change to init_lread to not include installation lisp
24313 directories in load-path when running uninstalled. (Bug#14270)
24314
24315 2013-04-26 Leo Liu <sdl.web@gmail.com>
24316
24317 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24318 (octave-mode, inferior-octave-mode): Use setq-local.
24319 (octave-not-in-string-or-comment-p): Rename to
24320 octave-in-string-or-comment-p.
24321 (octave-in-comment-p, octave-in-string-p)
24322 (octave-in-string-or-comment-p): Replace defsubst with defun.
24323
24324 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24325
24326 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24327
24328 2013-04-25 Bastien Guerry <bzg@gnu.org>
24329
24330 * textmodes/remember.el (remember-data-directory)
24331 (remember-directory-file-name-format): Fix custom types.
24332
24333 2013-04-25 Leo Liu <sdl.web@gmail.com>
24334
24335 * progmodes/octave.el (octave-completion-at-point-function):
24336 Make use of inferior octave process.
24337 (octave-initialize-completions): Remove.
24338 (inferior-octave-completion-table): New function.
24339 (inferior-octave-completion-at-point): Use it.
24340 (octave-completion-alist): Remove.
24341
24342 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24343
24344 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24345 (opascal-mode-syntax-table): New var.
24346 (opascal-literal-kind, opascal-is-literal-end)
24347 (opascal-literal-token-at): Rewrite.
24348 (opascal--literal-start-re, opascal-font-lock-keywords)
24349 (opascal--syntax-propertize): New constants.
24350 (opascal-font-lock-defaults): Adjust.
24351 (opascal-mode): Use them. Set comment-<foo> variables as well.
24352 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24353 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24354 (delphi-other-face, opascal-other-face): Remove face variables.
24355 (opascal-save-state): Remove macro.
24356 (opascal-fontifying-progress-step): Remove constant.
24357 (opascal--ignore-changes): Remove var.
24358 (opascal-set-token-property, opascal-parse-next-literal)
24359 (opascal-is-stable-literal, opascal-complete-literal)
24360 (opascal-is-literal-start, opascal-face-of)
24361 (opascal-parse-region, opascal-parse-region-until-stable)
24362 (opascal-fontify-region, opascal-after-change)
24363 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24364 (opascal-debug-parse-region, opascal-debug-parse-window)
24365 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24366 (opascal-debug-fontify-buffer): Remove.
24367 (opascal-debug-mode-map): Adjust accordingly.
24368
24369 2013-04-25 Leo Liu <sdl.web@gmail.com>
24370
24371 Merge octave-mod.el and octave-inf.el into octave.el with some
24372 cleanups.
24373 * progmodes/octave.el: New file renamed from octave-mod.el.
24374 * progmodes/octave-inf.el: Merged into octave.el.
24375 * progmodes/octave-mod.el: Renamed to octave.el.
24376
24377 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24378
24379 * textmodes/reftex-vars.el
24380 (reftex-label-ignored-macros-and-environments): New defcustom.
24381
24382 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24383
24384 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24385
24386 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24387 (smie-indent-keyword): Improve the check to ensure that the next
24388 comment is really on the same line.
24389 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24390
24391 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24392 semi-colons if the line is not otherwise empty (bug#14218).
24393
24394 2013-04-25 Glenn Morris <rgm@gnu.org>
24395
24396 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24397
24398 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24399
24400 * progmodes/opascal.el (opascal-set-token-property): Rename from
24401 opascal-set-text-properties and only set `token' (bug#14134).
24402 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24403 (opascal-literal-text-properties): Remove.
24404 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24405 Adjust callers.
24406
24407 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24408
24409 * textmodes/remember.el (remember-handler-functions): Add an
24410 option for a new handler `remember-store-in-files'.
24411 (remember-data-directory, remember-directory-file-name-format):
24412 New options.
24413 (remember-store-in-files): New function to store remember notes
24414 as separate files within a directory.
24415
24416 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24417
24418 * progmodes/compile.el (compilation-next-error-function):
24419 Pass "formats" to compilation-find-file (bug#11777).
24420
24421 2013-04-24 Glenn Morris <rgm@gnu.org>
24422
24423 * vc/vc-bzr.el (vc-bzr-print-log):
24424 * vc/vc-hg.el (vc-hg-print-log):
24425 * vc/vc-svn.el (vc-svn-print-log):
24426 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24427
24428 * vc/vc-bzr.el (vc-bzr-print-log):
24429 * vc/vc-cvs.el (vc-cvs-print-log):
24430 * vc/vc-git.el (vc-git-print-log):
24431 * vc/vc-hg.el (vc-hg-print-log):
24432 * vc/vc-mtn.el (vc-mtn-print-log):
24433 * vc/vc-rcs.el (vc-rcs-print-log):
24434 * vc/vc-sccs.el (vc-sccs-print-log):
24435 * vc/vc-svn.el (vc-svn-print-log):
24436 * vc/vc.el (vc-print-log-internal): Doc fixes.
24437
24438 2013-04-23 Glenn Morris <rgm@gnu.org>
24439
24440 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24441 Remove venerable code attempting to avoid substitute-command-keys.
24442
24443 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24444
24445 * textmodes/reftex-vars.el (reftex-label-regexps):
24446 Call `reftex-compile-variables' after changes to this variable.
24447
24448 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24449
24450 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24451 Use lexical-binding.
24452 (jit-lock-force-redisplay): Use markers, check buffer's continued
24453 existence and beware narrowed buffers.
24454 (jit-lock-fontify-now): Adjust call accordingly.
24455
24456 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24457
24458 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24459 to avoid misleading the user.
24460
24461 2013-04-22 Leo Liu <sdl.web@gmail.com>
24462
24463 * info-look.el: Prefer latex2e.info. (Bug#14240)
24464
24465 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24466
24467 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24468
24469 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24470 * net/tramp.el (tramp-call-process): ... here.
24471 (tramp-set-completion-function, tramp-parse-putty):
24472 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24473 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24474 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24475 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24476 (tramp-call-local-coding-command): Use `tramp-call-process'
24477 instead of `tramp-compat-call-process'.
24478
24479 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24480 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24481 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24482 (tramp-find-inline-compress): Improve traces.
24483 (tramp-maybe-send-script): Check for Perl binary.
24484 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24485
24486 2013-04-22 Daiki Ueno <ueno@gnu.org>
24487
24488 * epg.el (epg-context-pinentry-mode): New function.
24489 (epg-context-set-pinentry-mode): New function.
24490 (epg--start): Pass --pinentry-mode option to gpg command.
24491
24492 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24493
24494 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24495 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24496 `completion-at-point'. (Bug#13774)
24497
24498 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24499 default key binding for `describe-distribution' has been moved to
24500 `C-h C-o'. (Bug#13970)
24501
24502 2013-04-21 Glenn Morris <rgm@gnu.org>
24503
24504 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24505 Add doc strings.
24506 (vc-print-log): Clarify interactive prompt.
24507
24508 2013-04-20 Glenn Morris <rgm@gnu.org>
24509
24510 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24511 No longer include timestamp etc information.
24512
24513 2013-04-20 Roland Winkler <winkler@gnu.org>
24514
24515 * faces.el (read-face-name): Bug fix, return just one face if arg
24516 multiple is nil. (Bug#14209)
24517
24518 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24519
24520 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24521 (remove-function): Autoload.
24522
24523 * comint.el (comint-redirect-original-filter-function): Remove.
24524 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24525 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24526 (vc-cvs-annotate-command):
24527 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24528 * progmodes/prolog.el (prolog-consult-compile):
24529 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24530 Use add/remove-function instead.
24531 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24532 (gud-tooltip-process-output, gud-tooltip-tips):
24533 Use add/remove-function instead.
24534 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24535 (scheme-interaction-mode, exit-scheme-interaction-mode):
24536 Use add/remove-function instead.
24537
24538 * vc/vc-dispatcher.el: Use lexical-binding.
24539 (vc--process-sentinel): Rename from vc-process-sentinel.
24540 Change last arg to be the code to run. Don't use vc-previous-sentinel
24541 and vc-sentinel-commands any more.
24542 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24543 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24544
24545 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24546
24547 * progmodes/sh-script.el (sh-imenu-generic-expression):
24548 Handle function names with a single character. (Bug#14111)
24549
24550 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24551
24552 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24553 for subroutines defined in an eval (bug#14182).
24554
24555 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24556
24557 * bookmark.el (bookmark-completing-read): Improve handling of empty
24558 string (bug#14176).
24559
24560 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24561
24562 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24563
24564 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24565
24566 New faster Imenu implementation (bug#14058).
24567 * progmodes/python.el (python-imenu-prev-index-position)
24568 (python-imenu-format-item-label-function)
24569 (python-imenu-format-parent-item-label-function)
24570 (python-imenu-format-parent-item-jump-label-function):
24571 New vars.
24572 (python-imenu-format-item-label)
24573 (python-imenu-format-parent-item-label)
24574 (python-imenu-format-parent-item-jump-label)
24575 (python-imenu--put-parent, python-imenu--build-tree)
24576 (python-imenu-create-index, python-imenu-create-flat-index)
24577 (python-util-popn): New functions.
24578 (python-mode): Set imenu-create-index-function to
24579 python-imenu-create-index.
24580
24581 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24582
24583 * winner.el (winner-active-region): Use region-active-p, activate-mark
24584 and deactivate-mark (bug#14225).
24585
24586 * simple.el (deactivate-mark): Don't inline it.
24587
24588 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24589
24590 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24591
24592 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24593
24594 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24595 file extensions from the archive-mode entry in order to prefer
24596 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24597
24598 2013-04-18 Leo Liu <sdl.web@gmail.com>
24599
24600 * bindings.el (help-event-list): Add ?\?.
24601
24602 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24603
24604 * subr.el (with-wrapper-hook): Declare obsolete.
24605 * simple.el (filter-buffer-substring-function): New hook.
24606 (filter-buffer-substring): Use it.
24607 (filter-buffer-substring-functions): Mark obsolete.
24608 * minibuffer.el (completion-in-region-function): New hook.
24609 (completion-in-region): Use it.
24610 (completion-in-region-functions): Mark obsolete.
24611 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24612 * abbrev.el (abbrev-expand-function): New hook.
24613 (expand-abbrev): Use it.
24614 (abbrev-expand-functions): Mark obsolete.
24615 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24616 and :filter-return.
24617
24618 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24619
24620 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24621 and do not care about match data.
24622
24623 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24624
24625 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24626 completion tables when completing error conditions and
24627 `declare' arguments.
24628 (lisp-complete-symbol, field-complete): Mark as obsolete.
24629 (check-parens): Unmatched parens are user errors.
24630 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24631
24632 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
24633
24634 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24635 command changed buffer (ie. `flyspell-pre-buffer' is not current
24636 buffer), which prevents making decisions based on invalid value of
24637 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
24638 cause an error when `flyspell-pre-point' was nil after switching
24639 buffers.
24640 (flyspell-post-command-hook): No longer needs to change buffers when
24641 checking pre-word. While at it remove unnecessary progn.
24642
24643 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
24644
24645 * textmodes/ispell.el (ispell-add-per-file-word-list):
24646 Fix `flyspell-correct-word-before-point' error when accepting
24647 words and `coment-padding' is an integer by using
24648 `comment-normalize-vars' (Bug #14214).
24649
24650 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24651
24652 New defun movement commands.
24653 * progmodes/python.el (python-nav--syntactically)
24654 (python-nav--forward-defun, python-nav-backward-defun)
24655 (python-nav-forward-defun): New functions.
24656
24657 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24658
24659 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24660 (python-syntax-context): Use named compiler-macro for backwards
24661 compatibility with Emacs 24.x.
24662
24663 2013-04-17 Leo Liu <sdl.web@gmail.com>
24664
24665 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24666 octave-hide-process-buffer.
24667
24668 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24669
24670 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24671 (bug#14216).
24672
24673 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
24674
24675 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24676 Fix adjustment of offset when receiving incomplete responses from GDB
24677 (bug#14129).
24678
24679 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24680
24681 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24682 python-mode-abbrev-table.
24683 (python-skeleton-define): Adjust accordingly.
24684 (python-mode-abbrev-table): New table that inherits from it so that
24685 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24686
24687 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24688 (abbrev-symbol): Use it.
24689 (abbrev--before-point): Use it since we already handle inheritance.
24690
24691 2013-04-16 Leo Liu <sdl.web@gmail.com>
24692
24693 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24694 binding to info-lookup-symbol.
24695
24696 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
24697
24698 * minibuffer.el (completion--twq-all):
24699 * term/ns-win.el (ns-initialize-window-system):
24700 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24701
24702 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24703
24704 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24705 global bindings.
24706
24707 * doc-view.el (doc-view-start-process): Handle url-handler directories.
24708
24709 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
24710
24711 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24712 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24713 to nil.
24714 (ruby-end-of-defun): Remove the unused arg, change the docstring
24715 to reflect that this function is only used as the value of
24716 `end-of-defun-function'.
24717 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24718 to reflect an earlier change that beginning/end-of-defun functions
24719 jump between methods in a class definition, as well as top-level
24720 functions.
24721
24722 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24723
24724 * minibuffer.el (minibuffer-complete): Don't just scroll
24725 a *Completions* that's been iconified.
24726 (minibuffer-force-complete): Make sure repetitions do cycle when going
24727 through completion-in-region -> minibuffer-complete.
24728
24729 2013-04-15 Alan Mackenzie <acm@muc.de>
24730
24731 Correct the placement of c-cpp-delimiters when there're #s not at
24732 col 0.
24733
24734 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24735 place a submatch around the #.
24736 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24737 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
24738 on the #, not BOL.
24739
24740 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24741
24742 * emacs-lisp/nadvice.el: Properly test names when adding advice.
24743 (advice--member-p): New arg `name'.
24744 (advice--add-function, advice-member-p): Use it (bug#14202).
24745
24746 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
24747
24748 Reformulate java imenu-generic-expression.
24749 The old expression contained ill formed regexps.
24750
24751 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24752 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24753 (cc-imenu-java-method-arg-regexp): New defconsts.
24754 (cc-imenu-java-build-type-args-regex): New defun.
24755 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24756 handling of spaces in the regexp.
24757
24758 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24759
24760 * textmodes/ispell.el (ispell-command-loop): Remove
24761 flyspell highlight of a word when ispell accepts it (bug #14178).
24762
24763 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
24764
24765 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24766 uses code from the previous `ange-ftp-run-real-handler'.
24767 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24768 only in case that function exist. This is needed for proper
24769 unloading of Tramp.
24770
24771 2013-04-15 Tassilo Horn <tsdh@gnu.org>
24772
24773 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24774
24775 * textmodes/reftex.el (reftex-compile-variables): Use it.
24776
24777 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24778
24779 * files.el (normal-mode): Only use default major-mode if no other mode
24780 was specified.
24781
24782 * emacs-lisp/trace.el (trace-values): New function.
24783
24784 * files.el: Allow : in local variables (bug#14089).
24785 (hack-local-variable-regexp): New var.
24786 (hack-local-variables-prop-line, hack-local-variables): Use it.
24787
24788 2013-04-13 Roland Winkler <winkler@gnu.org>
24789
24790 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
24791 data before it gets modified by bibtex-beginning-of-entry.
24792
24793 2013-04-13 Roland Winkler <winkler@gnu.org>
24794
24795 * textmodes/bibtex.el (bibtex-url): Doc fix.
24796
24797 2013-04-13 Roland Winkler <winkler@gnu.org>
24798
24799 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24800 does not visit a BibTeX file, exclude it from the list of buffers
24801 returned by bibtex-initialize.
24802
24803 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
24804
24805 * window.el (split-window): Remove interactive form, since as a
24806 command this function is a special case of split-window-below.
24807 Correct doc string.
24808
24809 2013-04-12 Roland Winkler <winkler@gnu.org>
24810
24811 * faces.el (read-face-name): Do not override value of arg default.
24812 Allow single faces and strings as default values. Remove those
24813 elements from return value that are not faces.
24814 (describe-face): Simplify.
24815 (face-at-point): New optional args thing and multiple so that this
24816 function can provide the same functionality previously provided by
24817 read-face-name.
24818 (make-face-bold, make-face-unbold, make-face-italic)
24819 (make-face-unitalic, make-face-bold-italic, invert-face)
24820 (modify-face, read-face-and-attribute): Use face-at-point.
24821
24822 * cus-edit.el (customize-face, customize-face-other-window)
24823 * cus-theme.el (custom-theme-add-face)
24824 * face-remap.el (buffer-face-set)
24825 * facemenu.el (facemenu-set-face): Use face-at-point.
24826
24827 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
24828
24829 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24830
24831 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24832
24833 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24834 off leading { and trailing } from field values.
24835
24836 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
24837
24838 * emacs-lisp/timer.el (timer--check): New function.
24839 (timer--time, timer-set-function, timer-event-handler): Use it.
24840 (timer-set-idle-time): Simplify.
24841 (timer--activate): CSE.
24842 (timer-event-handler): Give more info in error message.
24843 (internal-timer-start-idle): New function, moved from C.
24844
24845 * mpc.el (mpc-proc): Add `restart' argument.
24846 (mpc-proc-cmd): Use it.
24847 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24848 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24849 less often.
24850
24851 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24852
24853 * progmodes/sh-script.el: Implement `sh-mode' own
24854 `add-log-current-defun-function' (bug#14112).
24855 (sh-current-defun-name): New function.
24856 (sh-mode): Use the function.
24857
24858 2013-04-09 Bastien Guerry <bzg@gnu.org>
24859
24860 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24861
24862 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24863
24864 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24865
24866 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24867 timer (bug#14156).
24868
24869 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24870
24871 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24872 declaration.
24873
24874 2013-04-07 Leo Liu <sdl.web@gmail.com>
24875
24876 * pcmpl-x.el: New file.
24877
24878 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24879
24880 Do not set x-display-name until X connection is established.
24881 This is needed to prevent from weird situation described at
24882 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24883 * frame.el (make-frame): Set x-display-name after call to
24884 window system initialization function, not before.
24885 * term/x-win.el (x-initialize-window-system): Add optional
24886 display argument and use it.
24887 * term/w32-win.el (w32-initialize-window-system):
24888 * term/ns-win.el (ns-initialize-window-system):
24889 * term/pc-win.el (msdos-initialize-window-system):
24890 Add compatible optional display argument.
24891
24892 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24893
24894 * files.el (normal-backup-enable-predicate): On MS-Windows and
24895 MS-DOS compare truenames of temporary-file-directory and of the
24896 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24897 don't fail comparison by compare-strings. Also, compare file
24898 names case-insensitively on MS-Windows and MS-DOS.
24899
24900 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24901
24902 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24903 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24904
24905 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24906
24907 * whitespace.el (whitespace-color-on, whitespace-color-off):
24908 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24909
24910 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
24911
24912 * ispell.el (ispell-set-spellchecker-params):
24913 Really set `ispell-args' for all equivs.
24914
24915 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24916
24917 * ido.el (ido-completions): Use extra elements of ido-decorations
24918 (bug#14143).
24919 (ido-decorations): Update docstring.
24920
24921 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
24922
24923 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24924 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24925 nil during initialization, in order not to miss changes since the
24926 file was opened. (Bug#14140)
24927
24928 2013-04-05 Leo Liu <sdl.web@gmail.com>
24929
24930 * kmacro.el (kmacro-call-macro): Fix bug#14135.
24931
24932 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24933
24934 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24935
24936 2013-04-04 Glenn Morris <rgm@gnu.org>
24937
24938 * electric.el (electric-pair-inhibit-predicate): Add :version.
24939
24940 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
24941
24942 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24943 when a package is required several times (bug#14082).
24944
24945 2013-04-04 Roland Winkler <winkler@gnu.org>
24946
24947 * faces.el (read-face-name): Behave as promised by the docstring.
24948 Assume that arg default is a list of faces.
24949 (describe-face): Call read-face-name with list of default faces.
24950
24951 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24952
24953 * bookmark.el: Fix deletion of bookmarks (bug#13972).
24954 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24955 (bookmark-bmenu-execute-deletions): Only skip first line if it's
24956 the header.
24957 (bookmark-exit-hook-internal): Save even if list is empty.
24958
24959 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
24960
24961 * emacs-lisp/package.el (package-pinned-packages): New var.
24962 (package--add-to-archive-contents): Obey it (bug#14118).
24963
24964 2013-04-03 Alan Mackenzie <acm@muc.de>
24965
24966 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24967 Also adapt to the new values of element 7 of a parse state.
24968
24969 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24970 parameter `not-in-delimiter'. Handle being inside comment opener.
24971 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24972 character in case we're typing a '*' after a '/'.
24973 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24974 instead by passing the parameter to c-state-pp-to-literal.
24975
24976 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24977 for elt. 7 of a parse state.
24978
24979 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
24980
24981 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24982 * international/latin1-disp.el, international/mule-util.el:
24983 * language/cyril-util.el, language/european.el, language/ind-util.el:
24984 * language/lao-util.el, language/thai.el, language/tibet-util.el:
24985 * language/tibetan.el, language/viet-util.el:
24986 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24987
24988 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24989
24990 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24991 (electric-pair-post-self-insert-function): Use it.
24992 (electric-pair-default-inhibit): New function, extracted from
24993 electric-pair-post-self-insert-function.
24994
24995 2013-03-31 Roland Winkler <winkler@gnu.org>
24996
24997 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24998
24999 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25000
25001 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25002
25003 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25004
25005 Un-indent after "pass" and "return" statements (Bug#13888)
25006 * progmodes/python.el (python-indent-block-enders): New var.
25007 (python-indent-calculate-indentation): Use it.
25008
25009 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25010
25011 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25012 defun. Defining it as defalias could introduce too eager
25013 byte-compiler optimization. (Bug#14030)
25014
25015 2013-03-30 Chong Yidong <cyd@gnu.org>
25016
25017 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25018
25019 2013-03-30 Leo Liu <sdl.web@gmail.com>
25020
25021 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25022 (kmacro-execute-from-register): Pass the keyboard macro to
25023 kmacro-call-macro or repeating won't work correctly.
25024
25025 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25026
25027 * progmodes/subword.el: Back to using `forward-symbol'.
25028
25029 * subr.el (forward-whitespace, forward-symbol)
25030 (forward-same-syntax): Move from thingatpt.el.
25031
25032 2013-03-29 Leo Liu <sdl.web@gmail.com>
25033
25034 * kmacro.el (kmacro-to-register): New command.
25035 (kmacro-execute-from-register): New function.
25036 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25037
25038 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25039
25040 * mpc.el: Use defvar-local and setq-local.
25041 (mpc--proc-connect): Connection failures are not bugs.
25042 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25043 (mpc-volume-map): Bind to the up-events.
25044
25045 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25046
25047 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25048 instead of `forward-symbol'.
25049
25050 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25051
25052 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25053 (edebug--recursive-edit): Use it.
25054 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25055 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25056
25057 2013-03-28 Leo Liu <sdl.web@gmail.com>
25058
25059 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25060
25061 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25062
25063 * facemenu.el (list-colors-callback): New defvar.
25064 (list-colors-redisplay): New function.
25065 (list-colors-display): Install list-colors-redisplay as the
25066 revert-buffer-function. (Bug#14063)
25067
25068 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25069
25070 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25071 and suffixes don't overlap (bug#14061).
25072
25073 * case-table.el: Use lexical-binding.
25074 (case-table-get-table): New function.
25075 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25076
25077 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25078
25079 * progmodes/subword.el: Add `superword-mode' to do word motion
25080 over symbol_words (parallels and leverages `subword-mode' which
25081 does word motion inside MixedCaseWords).
25082
25083 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25084
25085 * eshell/em-unix.el: Move su and sudo to...
25086 * eshell/em-tramp.el: ...Eshell tramp module.
25087
25088 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25089
25090 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25091 Change return value to be a sexp. Delay `get-buffer' to after
25092 restoring the desktop (bug#13951).
25093
25094 2013-03-26 Leo Liu <sdl.web@gmail.com>
25095
25096 * register.el: Move semantic tag handling back to
25097 cedet/semantic/senator.el. (Bug#14052)
25098
25099 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25100
25101 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25102 into the prompt either (bug#13963).
25103
25104 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25105
25106 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25107 part of "(error-foo)".
25108
25109 2013-03-24 Juri Linkov <juri@jurta.org>
25110
25111 * replace.el (list-matching-lines-prefix-face): New defcustom.
25112 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25113 `occur-engine' if `face-differs-from-default-p' returns t.
25114 (occur-engine): Add `,' inside backquote construct to evaluate
25115 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25116 Pass `prefix-face' to the functions `occur-context-lines' and
25117 `occur-engine-add-prefix'.
25118 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25119 `prefix-face' and propertize the prefix with `prefix-face'.
25120 (Bug#14017)
25121
25122 2013-03-24 Leo Liu <sdl.web@gmail.com>
25123
25124 * nxml/rng-valid.el (rng-validate-while-idle)
25125 (rng-validate-quick-while-idle): Guard against deleted buffer.
25126 (Bug#13999)
25127
25128 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25129 is the last entry in kill-buffer-hook.
25130
25131 * files.el (kill-buffer-hook): Doc fix.
25132
25133 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25134
25135 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25136 Make it safe-local.
25137
25138 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25139
25140 2013-03-23 Leo Liu <sdl.web@gmail.com>
25141
25142 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25143 Remove.
25144
25145 * nxml/rng-valid.el (rng-validate-mode)
25146 (rng-after-change-function, rng-do-some-validation):
25147 * nxml/rng-maint.el (rng-validate-buffer):
25148 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25149 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25150 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25151 (nxml-extend-after-change-region): Use with-silent-modifications.
25152
25153 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25154 timer-idle-list.
25155
25156 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25157 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25158 timer-idle-list. (Bug#13999)
25159
25160 2013-03-23 Juri Linkov <juri@jurta.org>
25161
25162 * info.el (info-index-match): New face.
25163 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25164 main pattern and add text properties with the new face to matches
25165 in index entries relative to the beginning of the index entry.
25166 (Bug#14015)
25167
25168 2013-03-21 Eric Ludlam <zappo@gnu.org>
25169
25170 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25171 Inhibit read only while inserting objects.
25172
25173 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25174
25175 * progmodes/cfengine.el: Update docs to mention
25176 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25177 symbol motion. Remove "_" from the word syntax.
25178
25179 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25180
25181 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25182 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25183
25184 2013-03-20 Juri Linkov <juri@jurta.org>
25185
25186 * info.el (Info-next-reference-or-link)
25187 (Info-prev-reference-or-link): New functions.
25188 (Info-next-reference, Info-prev-reference): Use them.
25189 (Info-try-follow-nearest-node): Handle footnote navigation.
25190 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25191
25192 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25193
25194 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25195 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25196
25197 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25198
25199 Suppress unnecessary non-ASCII chatter during build process.
25200 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25201 (batch-skkdic-convert): Suppress most of the chatter.
25202 It's not needed so much now that machines are faster,
25203 and its non-ASCII component was confusing; see Dmitry Gutov in
25204 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25205
25206 2013-03-20 Leo Liu <sdl.web@gmail.com>
25207
25208 * ido.el (ido-chop): Fix bug#10994.
25209
25210 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25211
25212 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25213 Remove vars.
25214 (whitespace-color-on, whitespace-color-off):
25215 Use `font-lock-fontify-buffer' (Bug#13817).
25216
25217 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25218
25219 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25220 remapping in mode-line.
25221 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25222
25223 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25224
25225 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25226 value for `whitespace-line' face (Bug#13875).
25227 (whitespace-font-lock-keywords): Change description.
25228 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25229 the constructed keywords instead.
25230 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25231
25232 2013-03-19 Leo Liu <sdl.web@gmail.com>
25233
25234 * progmodes/compile.el (compilation-display-error): New command.
25235 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25236 C-o. (Bug#13992)
25237
25238 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25239
25240 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25241
25242 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25243
25244 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25245
25246 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25247
25248 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25249
25250 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25251 * net/tramp-gvfs.el (top):
25252 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25253 (tramp-handle-shell-command): Use it.
25254 (tramp-dissect-file-name): Raise an error when hostname is a
25255 method name, and neither method nor user is specified.
25256
25257 * net/trampver.el: Update release number.
25258
25259 2013-03-18 Leo Liu <sdl.web@gmail.com>
25260
25261 Make sure eldoc can be turned off properly.
25262 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25263 eldoc-mode.
25264 (eldoc-display-message-p): Revert last change.
25265 (eldoc-display-message-no-interference-p)
25266 (eldoc-print-current-symbol-info): Tweak.
25267
25268 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25269
25270 * doc-view.el (doc-view-new-window-function): Check the new window
25271 overlay's display property instead the char property of the
25272 buffer's first char. Use `with-selected-window' instead of
25273 `save-window-excursion' with `select-window'.
25274 (doc-view-document->bitmap): Check the current doc-view overlay's
25275 display property instead the char property of the buffer's first char.
25276
25277 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25278
25279 Automate the build of ja-dic.el (Bug#13984).
25280 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25281 from the input, rather than assume that it's been done for us by the
25282 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25283 the current date into a ja-dic.el comment, as that complicates
25284 regression testing.
25285
25286 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25287
25288 * whitespace.el: Fix double evaluation.
25289 (whitespace-space, whitespace-hspace, whitespace-tab)
25290 (whitespace-newline, whitespace-trailing, whitespace-line)
25291 (whitespace-space-before-tab, whitespace-indentation)
25292 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25293 obsolete defvars.
25294 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25295 (whitespace-color-on): Use a single font-lock-add-keywords call.
25296 Fix double-evaluation of face variables.
25297
25298 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25299
25300 * net/tramp-adb.el (tramp-adb-parse-device-names):
25301 Use `start-process' instead of `call-process'. Otherwise, the
25302 function might be blocked under MS Windows. (Bug#13299)
25303
25304 2013-03-17 Leo Liu <sdl.web@gmail.com>
25305
25306 Extend eldoc to display info in the mode-line. (Bug#13978)
25307 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25308 (eldoc-mode-line-string): New variable.
25309 (eldoc-minibuffer-message): New function.
25310 (eldoc-message-function): New variable.
25311 (eldoc-message): Use it.
25312 (eldoc-display-message-p)
25313 (eldoc-display-message-no-interference-p):
25314 Support eldoc-post-insert-mode.
25315
25316 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25317 (eval-expression): Run it.
25318
25319 2013-03-17 Roland Winkler <winkler@gnu.org>
25320
25321 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25322 strings in the list of return values.
25323
25324 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25325
25326 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25327 radix before checking for HMS forms.
25328
25329 2013-03-16 Leo Liu <sdl.web@gmail.com>
25330
25331 * progmodes/scheme.el: Add indentation and font-locking for λ.
25332 (Bug#13975)
25333
25334 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25335
25336 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25337 token before point (bug#13942).
25338
25339 2013-03-16 Leo Liu <sdl.web@gmail.com>
25340
25341 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25342
25343 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25344
25345 * startup.el (command-line-normalize-file-name): Fix handling of
25346 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25347 <xfq.free@gmail.com> in
25348 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25349
25350 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25351
25352 Sync with Tramp 2.2.7.
25353
25354 * net/trampver.el: Update release number.
25355
25356 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25357
25358 * doc-view.el: Fix bug#13887.
25359 (doc-view-insert-image): Don't modify overlay associated to
25360 non-live windows, and implement horizontal centering of image in
25361 case it's smaller than the window.
25362 (doc-view-new-window-function): Force redisplay of new windows on
25363 doc-view buffers.
25364
25365 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25366
25367 * saveplace.el (save-place-alist-to-file): Don't sort
25368 `save-place-alist', just pretty-print it (bug#13882).
25369
25370 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25371
25372 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25373 Check whether `default-file-name-coding-system' is bound.
25374 It isn't in XEmacs.
25375
25376 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25377
25378 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25379 backquotes for `obsolete' (bug#13929).
25380
25381 * international/mule.el (find-auto-coding): Include file name in
25382 obsolescence warning (bug#13922).
25383
25384 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25385
25386 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25387 for CFEngine 3-specific indentation.
25388 (cfengine3-indent-line): Use it. Fix up category regex.
25389 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25390
25391 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25392
25393 * type-break.el (type-break-file-name):
25394 * textmodes/remember.el (remember-data-file):
25395 * strokes.el (strokes-file):
25396 * shadowfile.el (shadow-initialize):
25397 * saveplace.el (save-place-file):
25398 * ps-bdf.el (bdf-cache-file):
25399 * progmodes/idlwave.el (idlwave-config-directory):
25400 * net/quickurl.el (quickurl-url-file):
25401 * international/kkc.el (kkc-init-file-name):
25402 * ido.el (ido-save-directory-list-file):
25403 * emulation/viper.el (viper-custom-file-name):
25404 * emulation/vip.el (vip-startup-file):
25405 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25406 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25407
25408 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25409
25410 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25411 * language/thai-word.el: Switch to UTF-8.
25412
25413 See ChangeLog.16 for earlier changes.
25414
25415 ;; Local Variables:
25416 ;; coding: utf-8
25417 ;; End:
25418
25419 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25420
25421 This file is part of GNU Emacs.
25422
25423 GNU Emacs is free software: you can redistribute it and/or modify
25424 it under the terms of the GNU General Public License as published by
25425 the Free Software Foundation, either version 3 of the License, or
25426 (at your option) any later version.
25427
25428 GNU Emacs is distributed in the hope that it will be useful,
25429 but WITHOUT ANY WARRANTY; without even the implied warranty of
25430 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25431 GNU General Public License for more details.
25432
25433 You should have received a copy of the GNU General Public License
25434 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.