]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Recognize more format variation. Automatically reshow decrypted text.
[gnu-emacs] / lisp / ChangeLog
1 2015-03-22 Richard Stallman <rms@gnu.org>
2
3 * mail/rmail.el (rmail-show-message-1): When displaying a mime message,
4 indicate start and finish in the echo area.
5
6 * mail/rmail.el (rmail-epa-decrypt): Disregard <pre> before armor.
7 Ignore more kinds of whitespace in mime headers.
8 Modify the decrypted mime part's mime type so it will be displayed
9 by default when visiting this message again.
10
11 * net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc.
12 (browse-url-firefox-arguments)
13 (browse-url-firefox-startup-arguments): Doc fix.
14
15 2015-02-01 Joakim Verona <joakim@verona.se>
16 Support for the new Xwidget feature.
17 * xwidget.el:
18
19 2015-02-01 Grégoire Jadi <daimrod@gmail.com>
20 Support for testing xwidgets
21 * emacs-parallel/parallell-remote.el, emacs-parallel/parallell-xwidget.el:
22 * emacs-parallel/parallell.el:
23
24 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
27 and eieio-make-child-predicate.
28 (eieio-class-parents): Use eieio--class-object.
29 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
30 (slot-exists-p): Use find-class.
31
32 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
33 Use find-lisp-object-file-name, help-fns-short-filename and new calling
34 convention for eieio-class-def.
35 (eieio-build-class-list): Remove function, unused.
36 (eieio-method-def): Remove button type, unused.
37 (eieio-class-def): Inherit from help-function-def.
38 (eieio--defclass-regexp): New constant.
39 (find-function-regexp-alist): Use it.
40 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
41 (eieio-help-find-method-definition, eieio-help-find-class-definition):
42 Remove functions.
43
44 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
45 Use cl-check-type everywhere instead.
46 (eieio-class-object): Remove, use find-class instead when needed.
47 (class-p): Don't inline.
48 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
49 such as eieio classes, as objects. Don't inline.
50 (object-p): Mark as obsolete.
51 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
52 (eieio--generic-tagcode): Avoid `class-p'.
53 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
54 (eieio-defclass-internal): Use current-load-list rather than
55 `class-location'.
56
57 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
58
59 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
62 since it may be "equivalent" in some sense, yet different (bug#19734).
63
64 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
65
66 * outline.el (outline-font-lock-face): Add docstring.
67 (outline-invisible-p): Improve docstring.
68 (outline-invent-heading): Add docstring.
69 (outline-promote): Improve docstring.
70 (outline-demote): Improve docstring.
71 (outline-head-from-level): Improve docstring.
72 (outline-end-of-heading): Add docstring.
73 (outline-next-visible-heading): Improve docstring.
74 (outline-previous-visible-heading): Improve docstring.
75 (outline-hide-region-body): Improve docstring.
76 (outline-flag-subtree): Add docstring.
77 (outline-end-of-subtree): Add docstring.
78 (outline-headers-as-kill): Improve docstring.
79
80 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
81
82 * outline.el (outline-hide-entry): Rename from `hide-entry'.
83 (hide-entry): Declare as obsolete.
84 (outline-show-entry): Rename from `show-entry'.
85 (show-entry): Declare as obsolete.
86 (outline-hide-body): Rename from `hide-body'.
87 (hide-body): Declare as obsolete.
88 (outline-hide-region-body): Rename from `hide-region-body'.
89 (hide-region-body): Declare as obsolete.
90 (outline-show-all): Rename from `show-all'.
91 (show-all): Declare as obsolete.
92 (outline-hide-subtree): Rename from `hide-subtree'.
93 (hide-subtree): Declare as obsolete.
94 (outline-hide-leaves): Rename from `hide-leaves'.
95 (hide-leaves): Declare as obsolete.
96 (outline-show-subtree): Rename from `show-subtree'.
97 (show-subtree): Declare as obsolete.
98 (outline-hide-sublevels): Rename from `hide-sublevels'.
99 (hide-sublevels): Declare as obsolete.
100 (outline-hide-other): Rename from `hide-other'.
101 (hide-other): Declare as obsolete.
102 (outline-show-children): Rename from `show-children'.
103 (show-children): Declare as obsolete.
104 (outline-show-branches): Rename from `show-branches'.
105 (show-branches): Declare as obsolete.
106
107 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
108
109 * outline.el (outline-mode): Clean up docstring.
110 (font-lock-warning-face): Remove obsolete declaration.
111 (outline-font-lock-face): Remove obsolete comment.
112
113 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
114
115 * lisp/custom.el (defface): Set `indent' to 1.
116
117 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
118
119 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
120
121 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
122
123 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
124 is set, but user has just been asked whether they really want to
125 kill Emacs (for example with a ‘Modified buffers exist; exit
126 anyway?’ prompt), do not ask them for another confirmation.
127
128 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
129
130 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
131 (calc-convert-units): Check for missing units.
132 (math-consistent-units-p): Strengthen the test for consistent units.
133
134 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
135 `calc-convert-exact-units' and assign it a keybinding.
136
137 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
138 "un" keybinding.
139
140 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/cl.el (cl--function-convert): Simplify.
143
144 2015-01-28 Tassilo Horn <tsdh@gnu.org>
145
146 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
147 punctuation syntax since to allow bibtex fields with values such
148 as {Test 1) and 2)} (bug#19205, bug#19707).
149 (reftex--prepare-syntax-tables): New function.
150 (reftex-mode): Use it.
151
152 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
153
154 python.el: New non-global state dependent indentation engine.
155 (Bug#18319, Bug#19595)
156 * progmodes/python.el (python-syntax-comment-or-string-p):
157 Accept PPSS as argument.
158 (python-syntax-closing-paren-p): New function.
159 (python-indent-current-level)
160 (python-indent-levels): Mark obsolete.
161 (python-indent-context): Return more context cases.
162 (python-indent--calculate-indentation)
163 (python-indent--calculate-levels): New functions.
164 (python-indent-calculate-levels): Use them.
165 (python-indent-calculate-indentation, python-indent-line):
166 (python-indent-line-function): Rewritten to use new API.
167 (python-indent-dedent-line): Simplify logic.
168 (python-indent-dedent-line-backspace): Use `unless`.
169 (python-indent-toggle-levels): Delete function.
170
171 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
172
173 * subr.el (posnp): Correct docstring of `posnp'.
174 (posn-col-row): Make it work with all mouse position objects.
175 * textmodes/artist.el (artist-mouse-draw-continously):
176 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
177
178 2015-01-28 Eli Zaretskii <eliz@gnu.org>
179
180 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
181
182 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
183
184 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
185 Adapt docstring.
186 (file-notify--descriptor): New defun.
187 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
188 Adapt docstring. Handle multiple values for
189 `file-notify-descriptors' entries. (Bug#18880)
190
191 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
192 `file-notify-descriptors', the implementation has been changed.
193
194 2015-01-28 Eli Zaretskii <eliz@gnu.org>
195
196 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
197 On MS-Windows, bind coding-system-for-read to the console output
198 codepage. (Bug#19458)
199
200 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
201
202 Unbreak `mouse-action' property in text buttons.
203 * button.el (push-button): Fix regression from 2012-12-06.
204
205 2015-01-28 Glenn Morris <rgm@gnu.org>
206
207 * progmodes/sh-script.el (sh-mode): Doc fix.
208 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
209
210 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
211
212 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
213 * files.el (shell-quote-wildcard-pattern): Also quote "`".
214
215 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 Tighten up the tagcode used for eieio and cl-struct objects.
218 * loadup.el: Load cl-preloaded.
219 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
220 slot of the tag symbol to :quick-object-witness-check.
221 (eieio-object-p): Use :quick-object-witness-check.
222 (eieio--generic-tagcode): Use cl--generic-struct-tag.
223 * emacs-lisp/cl-preloaded.el: New file.
224 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
225 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
226 (cl--make-usage-args): Strip away &aux args.
227 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
228 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
229 (cl-defstruct): Use `declare' and cl-struct-define.
230 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
231 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
232
233 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
234
235 * emacs-lisp/cl.el (cl--function-convert):
236 Merge cache that cl--labels-convert adds (bug#19699).
237
238 2015-01-27 Ivan Shmakov <ivan@siamics.net>
239
240 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
241 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
242 (tar-header-serialize): New functions.
243 (tar-current-position): Split from tar-current-descriptor.
244 (tar-current-descriptor): Use it.
245 (tar-new-entry): New command.
246 (tar-mode-map): Bind it.
247
248 2015-01-27 Sam Steingold <sds@gnu.org>
249
250 * progmodes/python.el (python-check-custom-command): Buffer local
251 because it usually includes the buffer name.
252 (python-check-command): Set to epylint when pyflakes is not available.
253
254 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
255
256 * isearch.el (isearch-process-search-char): Add docstring.
257
258 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
259
260 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
261
262 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
263
264 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
265 for the case cl-flet or cl-labels form is wrapped with lexical-let
266 (bug#19613).
267
268 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
271 (cl--generic): The method-table is now a (list-of cl--generic-method).
272 (cl--generic-member-method): New function.
273 (cl-generic-define-method): Use it.
274 (cl--generic-build-combined-method, cl--generic-cache-miss):
275 Adapt to new method-table.
276 (cl--generic-no-next-method-function): Add `method' argument.
277 (cl-generic-call-method): Adapt to new method representation.
278 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
279 (cl-find-method, cl-method-qualifiers): New functions.
280 (cl--generic-method-info): Adapt to new method representation.
281 Return a string for the qualifiers.
282 (cl--generic-describe):
283 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
284 (eieio-all-generic-functions, eieio-method-documentation):
285 Adjust to new method representation.
286
287 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
288
289 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * emacs-lisp/cl-generic.el: Add a method-combination hook.
292 (cl-generic-method-combination-function): New var.
293 (cl--generic-lambda): Remove `with-cnm' arg.
294 (cl-defmethod): Change accordingly.
295 (cl-generic-define-method): Don't check qualifiers validity.
296 Preserve all qualifiers in `method-table'.
297 (cl-generic-call-method): New function.
298 (cl--generic-nest): Remove (morph into cl-generic-call-method).
299 (cl--generic-build-combined-method): Adjust to new format of method-table
300 and use cl-generic-method-combination-function.
301 (cl--generic-standard-method-combination): New function, extracted from
302 cl--generic-build-combined-method.
303 (cl--generic-cnm-sample): Adjust to new format of method-table.
304
305 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
306 instead of :primary.
307
308 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
309 Remove obsolete function.
310
311 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
312
313 * net/shr.el (shr-make-table-1): Fix colspan typo.
314 (shr-make-table-1): Add comments.
315 (shr-make-table-1): Make colspan display more sensibly.
316
317 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
318 slightly.
319
320 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
323 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
324 (bug#19672).
325 (cl--generic-typeof-types): Add support for `sequence'.
326 (cl-defmethod): Add non-keywords in the qualifiers.
327
328 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
329
330 * emacs-lisp/find-func.el (find-function-regexp): Don't match
331 `defgroup' (regression from the previous change here).
332
333 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
334
335 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
336 credentials error message.
337
338 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
339
340 * net/ldap.el (ldap-password-read): Validate password before
341 caching it.
342 (ldap-search-internal): Handle ldapsearch error conditions.
343
344 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
345
346 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
347
348 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
349
350 * net/eudc.el (eudc-expand-inline): Always restore former server
351 and protocol.
352
353 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
354
355 * net/eudcb-ldap.el: Don't nag the user in case a default base is
356 provided by the LDAP system configuration file.
357
358 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
359
360 * net/eudc.el (eudc-format-query): Preserve the
361 eudc-inline-query-format ordering of attributes in the returned list.
362 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
363 Append the LDAP wildcard character to the last attribute value.
364
365 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
366
367 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
368 Downcase field names of LDAP results.
369 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
370
371 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
372
373 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
374 (ldap-search-internal): Send password to ldapsearch through a pipe
375 instead of via the command line.
376
377 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
378
379 * net/ldap.el: Require password-cache.
380 (ldap-password-read): New function.
381 (ldap-search-internal): Call ldap-password-read when it is
382 configured to be called.
383
384 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
385
386 * net/eudc-vars.el (eudc-expansion-overwrites-query):
387 Change default to nil.
388
389 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
390
391 * net/eudc.el (eudc-expand-inline): Ignore text properties of
392 string-to-expand.
393
394 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
395
396 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
397 format that includes first name and surname.
398
399 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
400
401 * net/eudc-vars.el (eudc-inline-query-format): Change default to
402 query email and first name instead of surname.
403
404 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
405
406 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
407
408 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
409
410 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
411 eudc-server-hotlist.
412 (eudc-server-hotlist): Move from eudc.el and make defcustom.
413 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
414 (eudc-set-server): Allow setting protocol to nil.
415 (eudc-expand-inline): Support hotlist-only expansions when server
416 is not set.
417
418 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
421 (cl--generic-build-combined-method): Use it.
422
423 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
424
425 Don't downcase system diagnostics' first letters
426 * emacs-lisp/bytecomp.el (byte-compile-file):
427 * ffap.el (find-file-at-point):
428 * files.el (insert-file-1):
429 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
430 (ange-ftp-copy-file-internal):
431 * progmodes/etags.el (visit-tags-table):
432 Keep diagnostics consistent with system's.
433 * ffap.el (ffap-machine-p):
434 Ignore case while comparing diagnostics.
435
436 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
439 arg (bug#19645).
440 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
441 body with a docstring.
442
443 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
444
445 * progmodes/xref.el (xref-location-marker, xref-location-group):
446 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
447 counterparts.
448
449 * progmodes/etags.el (xref-location-marker): Same.
450
451 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
452 (xref--inhibit-mark-current): Rename from
453 `xref--inhibit-mark-selected'. Update the usages.
454 (xref-quit): Reword the docstring. Kill buffers after quitting
455 windows instead of before.
456 (xref--insert-xrefs): Tweak help-echo.
457 (xref--read-identifier-history, xref--read-pattern-history):
458 New variables.
459 (xref--read-identifier, xref-find-apropos): Use them.
460
461 2015-01-21 Ulrich Müller <ulm@gentoo.org>
462
463 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
464 Allow the 'update-game-score' helper program to run suid or sgid.
465
466 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * emacs-lisp/eieio.el: Use cl-defmethod.
469 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
470 (eieio-object-name-string): Declare as obsolete.
471
472 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
473 (eieio--specializers-apply-to-class-p): New function.
474 (eieio-all-generic-functions): Use it.
475 (eieio-method-documentation): Use it as well as cl--generic-method-info.
476 Change format of return value.
477 (eieio-help-class): Adapt accordingly.
478
479 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
480 errors when there's a `before' but no `primary' (bug#19645).
481 (next-method-p): Return nil rather than signal an error.
482 (eieio-defgeneric): Remove bogus (fboundp 'method).
483
484 * emacs-lisp/eieio-speedbar.el:
485 * emacs-lisp/eieio-datadebug.el:
486 * emacs-lisp/eieio-custom.el:
487 * emacs-lisp/eieio-base.el: Use cl-defmethod.
488
489 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
490 (cl--generic-setf-rewrite): Setup the setf expander right away.
491 (cl-defmethod): Make sure the setf expander is setup before we expand
492 the body.
493 (cl-defmethod): Silence byte-compiler warnings.
494 (cl-generic-define-method): Shuffle code to change return value.
495 (cl--generic-method-info): New function, extracted from
496 cl--generic-describe.
497 (cl--generic-describe): Use it.
498
499 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
500
501 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
502 the major mode. Remap `quit-window' to `xref-quit'.
503 (xref--xref-buffer-mode): Inherit from special-mode.
504
505 xref: Keep track of temporary buffers (bug#19466).
506 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
507 (xref--inhibit-mark-selected): New variables.
508 (xref--mark-selected): New function.
509 (xref--show-location): Maybe add the buffer to
510 `xref--temporary-buffers', add `xref--mark-selected' to
511 `buffer-list-update-hook' there.
512 (xref--window): Add docstring.
513 (xref-quit): Rename from `xref--quit'. Update both references.
514 Add KILL argument. When it's non-nil, kill the temporary buffers
515 that haven't been selected by the user.
516 (xref--show-xref-buffer): Change the second argument to alist,
517 extract the values for `xref--window' and
518 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
519 `buffer-list-update-hook' to each buffer in the list.
520 (xref--show-xrefs): Move the logic of calling `xref-find-function'
521 here. Save the difference between buffer lists before and after
522 it's called as "temporary buffers", and `pass it to
523 `xref-show-xrefs-function'.
524 (xref--find-definitions, xref-find-references)
525 (xref-find-apropos): Update accordingly.
526
527 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
528
529 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
530
531 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * emacs-lisp/eieio-generic.el: Remove.
534 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
535 * emacs-lisp/eieio-compat.el: New file.
536 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
537 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
538 Remove unused function.
539 (eieio-defclass): Move to eieio-compat.el.
540 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
541 (macroexp--expand-all): Use it.
542 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
543
544 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
545
546 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
547 major modes should use `add-function' to alter value of the variable.
548 * hexl.el (hexl-mode):
549 * ielm.el (inferior-emacs-lisp-mode):
550 * progmodes/cfengine.el (cfengine3-mode):
551 * progmodes/elisp-mode (emacs-lisp-mode):
552 * progmodes/octave.el (octave-mode):
553 * progmodes/python.el (python-mode):
554 * simple.el (read--expression): Set `eldoc-documentation-function'
555 using `add-function' so the default value is always used.
556
557 * descr-text.el (describe-char-eldoc): New function returning
558 basic Unicode codepoint information (e.g. name) about character
559 at point. It is meant to be used as a default value of the
560 `eldoc-documentation-function' variable.
561 (describe-char-eldoc--format, describe-char-eldoc--truncate):
562 New helper functions for `describe-char-eldoc' function.
563
564 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
565
566 * textmodes/paragraphs.el (sentence-end-base): Include an
567 ellipsis (…) and interrobang (‽) characters as end of a sentence,
568 and a closing single quote (’) as an end of a quote.
569
570 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
571
572 * textmodes/tildify.el (tildify-double-space-undos): A new
573 variable specifying whether pressing space in `tildify-mode' after
574 a space has been replaced with hard space undos the substitution.
575 (tildify-space): Add code branch for handling `tildify-doule-space'.
576
577 * textmodes/tildify.el (tildify-space): A new function
578 which can be used as a `post-self-insert-hook' to automatically
579 convert spaces into hard spaces.
580 (tildify-space-pattern): A new variable specifying pattern where
581 `tildify-space' should take effect.
582 (tildify-space-predicates): A new variable specifying list of
583 predicate functions that all must return non-nil for
584 `tildify-space' to take effect.
585 (tildify-space-region-predicate): A new functions meant to be
586 used as a predicate in `tildify-space-predicates' list.
587 (tildify-mode): A new minor mode enabling `tildify-space' as a
588 `post-self-insert-hook'
589
590 2015-01-20 Daniel Colascione <dancol@dancol.org>
591
592 * vc/vc-dir.el (vc-dir): Default to repository root, not
593 default-directory.
594
595 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
596
597 * progmodes/etags.el (xref-etags-location): New class.
598 (xref-make-etags-location): New function.
599 (etags--xref-find-definitions): Use it.
600 (xref-location-marker): New method implementation.
601
602 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
603 (xref--insert-xrefs): Expand help-echo string.
604
605 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
606
607 * ido.el: Update Customization instructions.
608
609 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
610
611 Define Ido keymaps once (bug#17000).
612 * ido.el (ido-common-completion-map)
613 (ido-file-dir-completion-map)
614 (ido-file-completion-map, ido-buffer-completion-map): Set up key
615 bindings when each variable is defined.
616 (ido-completion-map): Move definition.
617 (ido-init-completion-maps): Noop.
618 (ido-common-initialization): Don't call it.
619 (ido-setup-completion-map): Improve doc-string, cleanup.
620
621 2015-01-19 Ivan Shmakov <ivan@siamics.net>
622
623 * cus-dep.el (custom-make-dependencies): Ensure that
624 default-directory is interpreted as a directory (see bug#19140.)
625
626 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
627
628 * progmodes/xref.el (xref--display-position):
629 Set `other-window-scroll-buffer'.
630 (xref-goto-xref): Use `user-error'.
631
632 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
633
634 * progmodes/xref.el (xref--display-history): New variable.
635 (xref--window-configuration): Remove.
636 (xref--save-to-history): New function.
637 (xref--display-position): Use it. Add new argument.
638 (xref--restore-window-configuration): Remove.
639 (xref--show-location, xref-show-location-at-point):
640 Update accordingly.
641 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
642 (xref--quit): New command.
643 (xref-goto-xref): Use it.
644 (xref--xref-buffer-mode-map): Bind `q' to it.
645
646 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
647
648 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
649 indentation or at eol.
650
651 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
654 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
655 New functions.
656 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
657
658 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
659 `newname' argument.
660
661 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
662 introduction of a new dispatch argument.
663 (cl--generic-cache-miss): Handle dispatch on an argument which was not
664 considered as dispatchable for this method.
665 (cl-defmethod): Warn when adding a method to an obsolete generic function.
666 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
667
668 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
669
670 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
671
672 * emacs-lisp/package.el (package--append-to-alist): Rename from
673 `package--add-to-alist'
674 Updated docstring due to new name.
675
676 2015-01-18 Leo Liu <sdl.web@gmail.com>
677
678 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
679 multiple evaluation. (Bug#19519)
680
681 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
682 error. (Bug#19434)
683
684 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
687 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
688 New functions.
689 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
690
691 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
692 or print is nil.
693 (cl-struct-type-p): New function.
694
695 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
696 (cl-defmethod): Add edebug spec.
697 (cl--generic-build-combined-method): Fix call to
698 cl-no-applicable-method.
699 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
700 (cl--generic-isnot-nnm-p): New function.
701 (cl--generic-lambda): Use it to add support for cl-next-method-p.
702 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
703 (cl-next-method-p): New function.
704
705 2015-01-17 Ulrich Müller <ulm@gentoo.org>
706
707 * version.el (emacs-repository-get-version): Update docstring.
708
709 2015-01-17 Ivan Shmakov <ivan@siamics.net>
710
711 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
712 and print-level to nil to avoid writing a garbled list. (Bug#16805)
713
714 * files.el (find-file-other-window, find-file-other-frame):
715 Use mapc instead of mapcar. (Bug#18175)
716
717 * files.el (dir-locals-collect-variables): Use default-directory
718 in place of the file name while working on non-file buffers, just
719 like hack-dir-local-variables already does. (Bug#19140)
720
721 * textmodes/enriched.el (enriched-encode):
722 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
723 (Bug#18246)
724
725 * desktop.el (desktop-read): Do not call desktop-clear when no
726 desktop file is found. (Bug#18371)
727
728 * misearch.el (multi-isearch-unload-function): New function.
729 (misearch-unload-function): New alias. (Bug#19566)
730
731 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
734 class-constructor, and make it an alias for `identity'.
735 Update all callers.
736
737 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
738 argument here (bug#19620)...
739 (defclass): ...instead of in the constructor here.
740
741 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
742
743 * emacs-lisp/package.el (package-archive-priorities):
744 Specify correct type.
745
746 2015-01-17 Ulrich Müller <ulm@gentoo.org>
747
748 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
749 Remove.
750 (emacs-repository-get-version): Discard the Bazaar case.
751 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
752 emacs-bzr-version-dirstate and move from version.el to here.
753 (vc-bzr-working-revision): Use it.
754
755 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
758 eieio--scoped-class any more.
759
760 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
761 (eieio--scoped-class): Remove function.
762 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
763 (eieio--slot-name-index): Don't check the :protection anymore.
764 (eieio-initializing-object): Remove var.
765 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
766
767 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 Improve handling of doc-strings and describe-function for cl-generic.
770
771 * help-mode.el (help-function-def): Add optional arg `type'.
772
773 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
774 as it's a symbol.
775 (help-fns-short-filename): New function.
776 (describe-function-1): Use it. Use autoload-do-load.
777
778 * emacs-lisp/find-func.el: Use lexical-binding.
779 (find-function-regexp): Don't rule out `defgeneric'.
780 (find-function-regexp-alist): Document new possibility of including
781 a function instead of a regexp.
782 (find-function-search-for-symbol): Implement that new possibility.
783 (find-function-library): Don't assume that `function' is a symbol.
784 (find-function-do-it): Remove unused var `orig-buf'.
785
786 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
787 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
788 (eieio--method-optimize-primary): Don't mess with the docstring.
789 (defgeneric): Keep the `args' in the docstring.
790 (defmethod): Don't use the method's docstring for the generic
791 function's docstring.
792
793 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
794 (eieio-defclass-autoload): Don't record the superclasses any more.
795 (eieio-defclass-internal): Reuse the old class object if it was just an
796 autoload stub.
797 (eieio--class-precedence-list): Load the class if it's autoloaded.
798
799 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
800 override an autoload.
801 (cl-generic-current-method-specializers): Replace dyn-bind variable
802 with a lexically-scoped macro.
803 (cl--generic-lambda): Update accordingly.
804 (cl-generic-define-method): Record manually in the load-history with
805 type `cl-defmethod'.
806 (cl--generic-get-dispatcher): Minor optimization.
807 (cl--generic-search-method): New function.
808 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
809 (cl--generic-search-method): Add hyperlinks for methods. Merge the
810 specializers and the function's arguments.
811
812 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
813
814 * emacs-lisp/package.el (package--read-pkg-desc):
815 New function. Read a `define-package' form in current buffer.
816 Return the pkg-desc, with desc-kind set to KIND.
817 (package-dir-info): New function. Find package information for a
818 directory. The return result is a `package-desc'.
819 (package-install-from-buffer): Install packages from dired buffer.
820 (package-install-file): Install packages from directory.
821 (package-desc-suffix)
822 (package-install-from-archive)
823 * emacs-lisp/package-x.el (package-upload-buffer-internal):
824 Ensure all remaining instances of `package-desc-kind' handle the 'dir
825 value.
826
827 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
828
829 * emacs-lisp/package.el: Provide repository priorities.
830 (package-archive-priorities): New variable.
831 (package--add-to-alist): New function.
832 (package--add-to-archive-contents): Use it.
833 (package-menu--find-upgrades): Use it as well. Small clean up to
834 make the use of the package name here explicit.
835 (package-archive-priority): New function.
836 (package-desc-priority-version): New function.
837
838 2015-01-16 Daniel Colascione <dancol@dancol.org>
839
840 * cus-start.el (all): Make `ring-bell-function' customizable.
841
842 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
843
844 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
845 vc-svn-after-dir-status's second argument. (Bug#19429)
846
847 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
848
849 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
850 regardless of pcomplete-cycle-completions's value. (Bug#18950)
851
852 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
853
854 * dom.el (dom-strings): New function.
855
856 * files.el (directory-files-recursively): Don't use the word
857 "path" for a file name.
858
859 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
860
861 * calc/calc-units.el (math-units-in-expr-p)
862 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
863 (math-extract-units): Handle the `neg' operator. (Bug#19582)
864
865 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
868 (cl--labels-convert): Use it to ask the macro what is its replacement
869 in the #'f case.
870
871 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
872 Return the value of the primary rather than the after method.
873
874 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
875 (eieio--generic-tagcode): New function.
876 (cl-generic-tagcode-function): Use it.
877 (eieio--generic-tag-types): New function.
878 (cl-generic-tag-types-function): Use it.
879 (eieio-object-p): Tighten up the test.
880
881 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
882
883 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * emacs-lisp/cl-generic.el: New file.
886
887 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
888 (cl-load-time-value, cl-labels): Use closures rather than
889 backquoted lambdas.
890 (cl-macrolet): Use `eval' to create the function value, and support CL
891 style arguments in for the defined macros.
892
893 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * net/eww.el: Use lexical-binding.
896 (eww-links-at-point): Remove unused arg.
897 (eww-mode-map): Inherit from special-mode-map.
898 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
899
900 2015-01-13 Alan Mackenzie <acm@muc.de>
901
902 Allow compilation during loading of CC Mode-derived modes (bug#19206).
903 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
904 New function which walks the stack to discover whether we're compiling
905 or loading.
906 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
907 (cc-bytecomp-is-loading): New defsubst.
908 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
909 Use the above defsubsts.
910 (cc-require-when-compile, cc-bytecomp-defvar)
911 (cc-bytecomp-defun): Simplify conditionals.
912 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
913 "Borrow" this function from cc-bytecomp.el.
914 (c-get-current-file): Reformulate using the above.
915 (c-lang-defconst): Prevent duplicate entries of file names in a
916 symbol's 'source property.
917 (c-lang-const): Use cc-bytecomp-is-compiling.
918 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
919 Use cc-bytecomp-is-compiling.
920
921 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
924 (bug#19552).
925
926 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
927
928 * menu-bar.el (menu-bar-goto-menu): Before calling
929 `xref-marker-stack-empty-p', first check that `xref' is loaded.
930 (Bug#19554)
931
932 2015-01-12 Martin Rudalics <rudalics@gmx.at>
933
934 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
935 cookie (Bug#19554).
936
937 * frame.el (frame-notice-user-settings): Remove code dealing with
938 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
939 only if `window-system-frame-alist' or `default-frame-alist' ask
940 for it.
941 (make-frame): Update frame-adjust-size-history if needed.
942
943 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
944
945 Have 'make' output better GEN names
946 * Makefile.in (PHONY_EXTRAS): New macro.
947 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
948 relevant files' time stamps are ignored.
949 (custom-deps, $(lisp)/cus-load.el, finder-data)
950 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
951 (custom-deps, $(lisp)/cus-load.el, finder-data)
952 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
953 ($(lisp)/subdirs.el, update-subdirs):
954 Output more-accurate destination names with GEN.
955
956 Say "ELC foo.elc" instead of "GEN foo.elc"
957 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
958 New macros.
959 ($(THEFILE)c, .el.elc): Use them.
960
961 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
962
963 * files.el (directory-files-recursively): Do not include
964 superfluous remote file names.
965
966 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
967
968 * net/eww.el (eww): Interpret anything that looks like a protocol
969 designator as a full URL.
970
971 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
972
973 * net/shr.el (shr-urlify): Don't bother the user about
974 invalidly-encoded display strings.
975
976 2015-01-10 Ivan Shmakov <ivan@siamics.net>
977
978 * net/shr.el (shr-urlify): Decode URLs before using them as titles
979 (bug#19555).
980
981 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
982
983 * net/eww.el (eww): Always interpret URLs that start with https?:
984 as plain URLs, even if they have spaces in them (bug#19556).
985 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
986 software" as an URL.
987 (eww): Don't interpret "org/foo" as an URL.
988 (eww): Clear the title when loading so that we don't display
989 misleading information.
990
991 2015-01-10 Daniel Colascione <dancol@dancol.org>
992
993 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
994 by analogy with dired.
995
996 2015-01-09 Daniel Colascione <dancol@dancol.org>
997
998 * progmodes/js.el (js--function-heading-1-re)
999 (js--function-prologue-beginning): Parse ES6 generator function
1000 declarations. (That is, "function* name()").
1001
1002 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
1005 that creates functions, and most of the sanity checks.
1006 Mark as obsolete the <class>-child-p function.
1007 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
1008 (eieio--class, eieio--object): Use cl-defstruct.
1009 (eieio--object-num-slots): Define manually.
1010 (eieio-defclass-autoload): Use eieio--class-make.
1011 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
1012 `(lambda...) definitions and most of the sanity checks to `defclass'.
1013 Mark as obsolete the <class>-list-p function, the <class> variable and
1014 the <initarg> variables. Use pcase-dolist.
1015 (eieio-defclass): New compatibility function.
1016 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
1017 (eieio-class-speedbar): Don't use eieio-default-superclass var.
1018
1019 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/eieio-generic.el: New file.
1022 * emacs-lisp/eieio-core.el: Move all generic function code to
1023 eieio-generic.el.
1024 (eieio--defmethod): Declare.
1025
1026 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
1027 function code to eieio-generic.el.
1028 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
1029 eieio-generic.el.
1030 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
1031 to eieio--generic-call.
1032 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
1033 <class>-child type.
1034
1035 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
1038 Don't use <class> as a variable.
1039
1040 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
1041 (call-next-method): Simplify.
1042 (clone): Obey eieio-backward-compatibility.
1043
1044 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
1045 (eieio-read-generic): Use `generic-p' instead.
1046
1047 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
1048 (eieio-defclass-autoload): Obey it.
1049 (eieio--class-object): Improve error behavior.
1050 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
1051 every use site.
1052 (eieio--defgeneric-form-primary-only): Rename from
1053 eieio-defgeneric-form-primary-only; update all callers.
1054 (eieio--defgeneric-form-primary-only-one): Rename from
1055 eieio-defgeneric-form-primary-only-one; update all callers.
1056 (eieio-defgeneric-reset-generic-form)
1057 (eieio-defgeneric-reset-generic-form-primary-only)
1058 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
1059 (eieio--method-optimize-primary): New function to replace them.
1060 (eieio--defmethod, eieio-defmethod): Use it.
1061 (eieio--perform-slot-validation): Rename from
1062 eieio-perform-slot-validation; update all callers.
1063 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
1064 Change `class' to be a class object. Update all callers.
1065 (eieio--validate-class-slot-value): Rename from
1066 eieio-validate-class-slot-value. Change `class' to be a class object.
1067 Update all callers.
1068 (eieio-oset-default): Accept class object as well.
1069 (eieio--generic-call-primary-only): Rename from
1070 eieio-generic-call-primary-only. Update all callers.
1071
1072 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1073 Improve error messages.
1074 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
1075 well as user-defined types. Emit errors for legacy types like
1076 <class>-child and <class>-list, if not eieio-backward-compatibility.
1077
1078 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
1081 (eieio--class-slot-initarg): Rename from class-slot-initarg.
1082 Change `class' arg to be a class object. Update all callers.
1083 (call-next-method): Adjust to new return value of `eieio-generic-form'.
1084 (eieio-default-superclass): Set var to the class object.
1085 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
1086 Change print behavior to affect class objects rather than
1087 class symbols.
1088
1089 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
1090 (eieio-class-parents-fast): Remove macro.
1091 (eieio--class-option-assoc): Rename from class-option-assoc.
1092 Update all callers.
1093 (eieio--class-option): Rename from class-option. Change `class' arg to
1094 be a class object. Update all callers.
1095 (eieio--class-method-invocation-order): Rename from
1096 class-method-invocation-order. Change `class' arg to be a class
1097 object. Update all callers.
1098 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
1099 a list of class objects rather than names.
1100 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
1101 for accessors to class allocated slots.
1102 (eieio--perform-slot-validation-for-default): Rename from
1103 eieio-perform-slot-validation-for-default. Update all callers.
1104 (eieio--add-new-slot): Rename from eieio-add-new-slot.
1105 Update all callers. Use push.
1106 (eieio-copy-parents-into-subclass): Adjust to new content of
1107 `parent' field. Use dolist.
1108 (eieio-oref): Remove support for providing a class rather than
1109 an object.
1110 (eieio-oref-default): Prefer class objects over class names.
1111 (eieio--slot-originating-class-p): Rename from
1112 eieio-slot-originating-class-p. Update all callers. Use `or'.
1113 (eieio--slot-name-index): Turn check into assertion.
1114 (eieio--class-slot-name-index): Rename from
1115 eieio-class-slot-name-index. Change `class' arg to be a class object.
1116 Update all callers.
1117 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
1118 (eieio--c3-candidate): Rename from eieio-c3-candidate.
1119 Update all callers.
1120 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
1121 Update all callers.
1122 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
1123 Update all callers.
1124 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
1125 Update all callers.
1126 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
1127 Update all callers. Adjust to new `parent' content.
1128 (eieio--class-precedence-list): Rename from -class-precedence-list.
1129 Update all callers.
1130 (eieio-generic-call): Use autoloadp and autoload-do-load.
1131 Slight simplification.
1132 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
1133 return value of `eieio-generic-form'.
1134 (eieiomt-add): Index the hashtable with class objects rather than
1135 class names.
1136 (eieio-generic-form): Accept class objects as well.
1137
1138 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
1139 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
1140 (eieio-persistent-validate/fix-slot-value):
1141 Change `class' arg to be a class object. Update all callers.
1142
1143 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
1146 additionally to class names.
1147
1148 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
1149 (object): Remove first (constant) slot; rename second to `class-tag'.
1150 (eieio--object-class-object, eieio--object-class-name): New funs
1151 to replace eieio--object-class.
1152 (eieio--class-object, eieio--class-p): New functions.
1153 (same-class-fast-p): Make it a defsubst, change its implementation
1154 to check the class objects rather than their names.
1155 (eieio-object-p): Rewrite.
1156 (eieio-defclass): Adjust the object initialization according to the new
1157 object layout.
1158 (eieio--scoped-class): Declare it returns a class object (not a class
1159 name any more). Adjust calls accordingly (along with calls to
1160 eieio--with-scoped-class).
1161 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
1162 its class arg to be a class object. Adjust callers accordingly.
1163 (eieio-slot-originating-class-p): Make its start-class arg a class
1164 object. Adjust all callers.
1165 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
1166 Make its `class' arg a class object. Adjust all callers.
1167
1168 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1169 Use eieio--slot-name-index rather than eieio-slot-name-index.
1170
1171 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
1174 name argument.
1175 (eieio-object-name): Use eieio-object-name-string.
1176 (eieio--object-names): New const.
1177 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
1178 using a hashtable rather than a built-in slot.
1179 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
1180 (clone): Don't mess with the object's "name".
1181
1182 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
1183 (eieio-object-value-get): Use eieio-object-set-name-string.
1184
1185 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
1186 (eieio--object): Remove `name' field.
1187 (eieio-defclass): Adjust to new convention where constructors don't
1188 take an "object name" any more.
1189 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
1190 (eieio-validate-slot-value, eieio-oset-default)
1191 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
1192 (eieio-generic-call-primary-only): Simplify.
1193
1194 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
1195 Use call-next-method.
1196 (eieio-constructor): Rename from `constructor'.
1197 (eieio-persistent-convert-list-to-object): Drop objname.
1198 (eieio-persistent-validate/fix-slot-value): Don't hardcode
1199 eieio--object-num-slots.
1200 (eieio-named): Use a normal slot.
1201 (slot-missing) <eieio-named>: Remove.
1202 (eieio-object-name-string, eieio-object-set-name-string, clone)
1203 <eieio-named>: New methods.
1204
1205 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
1208 (method-*): Add a "eieio--" prefix to those constants.
1209
1210 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
1211
1212 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
1213
1214 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
1217 `eieio-default-superclass'.
1218
1219 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
1220
1221 * emacs-lisp/eieio-custom.el: Use lexical-binding.
1222 (eieio-object-value-to-abstract): Simplify.
1223
1224 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1225 (eieio-build-class-alist): Use dolist.
1226 (eieio-all-generic-functions): Adjust to use of hashtables.
1227
1228 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1229 symbol-hashtable. It contains a hashtable instead of an obarray.
1230 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1231 `eieio-method-obarray'.
1232 (generic-primary-only-p, generic-primary-only-one-p):
1233 Slight optimization.
1234 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1235 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1236 (eieio-class-un-autoload): Use autoload-do-load.
1237 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1238 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1239 Don't hardcode the value of eieio--object-num-slots.
1240 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1241 Use a closure rather than a backquoted lambda.
1242 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1243 function-documentation property.
1244 (eieio-slot-originating-class-p, eieio-slot-name-index)
1245 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1246 (eieio-generic-form): Adjust to use of hashtables.
1247 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1248 additional class argument.
1249 (eieio-generic-call-methodname): Remove, unused.
1250
1251 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1252 Prefer \' to $.
1253
1254 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1255
1256 * simple.el (line-move-visual): When converting X pixel coordinate
1257 to temporary-goal-column, adjust the value for right-to-left
1258 screen lines. This fixes vertical-motion, next/prev-line, etc.
1259
1260 2015-01-08 Glenn Morris <rgm@gnu.org>
1261
1262 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1263
1264 2015-01-07 K. Handa <handa@gnu.org>
1265
1266 * international/ccl.el (define-ccl-program): Improve the docstring.
1267
1268 2015-01-06 Sam Steingold <sds@gnu.org>
1269
1270 * shell.el (shell-display-buffer-actions): Remove,
1271 use `display-buffer-alist' instead.
1272
1273 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1274
1275 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1276 to the references.
1277
1278 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * minibuffer.el (completion-category-defaults): New var.
1281 Set unicode-name to use substring completion.
1282 (completion-category-defaults): Set it to nil.
1283
1284 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1285
1286 Add mouse interaction to xref.
1287 * progmodes/xref.el (xref--button-map): New variable.
1288 (xref--mouse-2): New command.
1289 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1290 the inserted references.
1291
1292 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1293
1294 Less 'make' chatter for lisp dir
1295 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1296 to make it clearer that the caller must specify it.
1297 (compile-onefile): Remove, replacing by ...
1298 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1299 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1300 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1301 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1302 Use AM_V_GEN to lessen 'make' chatter.
1303 (.el.elc): Omit duplicate comment.
1304
1305 Less 'make' chatter in batch mode
1306 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1307 * emacs-lisp/bytecomp.el (byte-compile-file):
1308 * files.el (save-buffer, basic-save-buffer):
1309 * international/quail.el (quail-update-leim-list-file):
1310 Don't output messages like "Generating ..." in batch mode.
1311
1312 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 Unbreak `mouse-action' property in text buttons.
1315 * button.el (push-button): Fix regression from 2012-12-06.
1316
1317 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1318
1319 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1320
1321 * menu-bar.el (menu-bar-goto-menu): Use it.
1322
1323 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * progmodes/xref.el (xref--window-configuration): New variable.
1326 (xref-show-location-at-point): New command.
1327 (xref--restore-window-configuration): New function.
1328 (xref-next-line, xref-prev-line): Delegate to
1329 `xref-show-location-at-point'.
1330 (xref--location-at-point): Don't signal the error.
1331 (xref-goto-xref): Do that here instead.
1332 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1333 to `pre-command-hook'.
1334 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1335 `previous-line'. Additionally bind `xref-next-line' and
1336 `xref-prev-line' to `n' and `p' respectively.
1337 Bind `xref-show-location-at-point' to `C-o'.
1338
1339 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1340
1341 * tool-bar.el (tool-bar-local-item)
1342 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1343 make sure the tool-bar changes show on display.
1344
1345 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1346
1347 Sync with Tramp 2.2.11.
1348
1349 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1350 Make an alias for `default-toplevel-value' if it doesn't exist.
1351
1352 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1353 Use `tramp-compat-delete-directory'.
1354
1355 * net/trampver.el: Update release number.
1356
1357 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1358
1359 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1360 for remote files. (Bug#19449)
1361
1362 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1363
1364 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1365
1366 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1367
1368 Less 'make' chatter in lisp directory
1369 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1370 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1371 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1372
1373 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1374
1375 * info.el (info-display-manual): Limit the completion alternatives
1376 to currently visited manuals if prefix argument is non-nil.
1377
1378 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1379
1380 * Makefile.in (semantic): Simplify.
1381
1382 2014-12-30 Juri Linkov <juri@linkov.net>
1383
1384 * net/eww.el (eww-isearch-next-buffer): New function.
1385 (eww-mode): Set multi-isearch-next-buffer-function to it.
1386
1387 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * progmodes/xref.el (xref-find-definitions): Mention "no
1390 identifier at point" case in the docstring.
1391
1392 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1393 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1394 and `separator-tag-file' items.
1395
1396 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1397
1398 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1399 This is instead of system-name, which is both wrong here and obsolete.
1400 * desktop.el (desktop-save-frameset):
1401 * dnd.el (dnd-get-local-file-uri):
1402 * nxml/rng-uri.el (rng-uri-file-name-1):
1403 Prefer (system-name) to system-name, and avoid naming
1404 locals 'system-name'.
1405 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1406
1407 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1408
1409 * menu-bar.el (menu-bar-next-tag-other-window)
1410 (menu-bar-next-tag): Remove.
1411
1412 2014-12-29 K. Handa <handa@gnu.org>
1413
1414 * international/mule.el (make-translation-table-from-alist):
1415 Accept nil or zero-length vector for FROM and TO.
1416
1417 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1418
1419 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1420 display when resizing.
1421
1422 * net/shr.el (shr-width): Default to using the window width when
1423 rendering.
1424
1425 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 Unbreak jumping to an alias's definition.
1428 * emacs-lisp/find-func.el (find-function-library): Return a pair
1429 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1430 (find-function-noselect): Use it.
1431 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1432 `elisp--xref-identifier-location', incorporate logic from
1433 `elisp--xref-find-definitions', use the changed
1434 `find-function-library' return value.
1435
1436 2014-12-29 Juri Linkov <juri@linkov.net>
1437
1438 * comint.el (comint-history-isearch-message): Use field-beginning
1439 instead of comint-line-beginning-position - that's more fixes for
1440 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1441 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1442
1443 2014-12-29 Juri Linkov <juri@linkov.net>
1444
1445 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1446 (vc-dir-mode-map): Bind it to "\C-o".
1447 (vc-dir-menu-map): Add it to menu.
1448
1449 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1450
1451 * progmodes/etags.el (find-tag-other-window)
1452 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1453 (tags-apropos): Declare obsolete.
1454
1455 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1456 with xref ones.
1457
1458 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1459
1460 * international/mule.el (define-coding-system): Fix typos in the
1461 doc string.
1462
1463 2014-12-28 Kenichi Handa <handa@gnu.org>
1464
1465 * international/mule.el (define-coding-system): Improve the doc
1466 string.
1467
1468 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1469
1470 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1471 elements in tables (bug#19444).
1472
1473 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1474 (bug#19445).
1475
1476 2014-12-28 Juri Linkov <juri@linkov.net>
1477
1478 * vc/compare-w.el: Require diff-mode for diff faces.
1479 (compare-windows-removed, compare-windows-added): New faces
1480 inheriting from diff faces.
1481 (compare-windows): Define obsolete face alias.
1482 (compare-windows-highlight): Replace face `compare-windows' with
1483 new faces `compare-windows-added' and `compare-windows-removed'
1484 (bug#19451).
1485 (compare-windows-get-recent-window): Signal an error when
1486 no other window is found (bug#19170).
1487
1488 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1491 Skip features that have no sources.
1492
1493 * simple.el (execute-extended-command):
1494 When `suggest-key-bindings' is nil, don't.
1495
1496 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1497
1498 python.el: Native readline completion.
1499 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1500 (python-shell-completion-native-enable)
1501 (python-shell-completion-native-output-timeout): New defcustoms.
1502 (python-shell-completion-native-interpreter-disabled-p)
1503 (python-shell-completion-native-try)
1504 (python-shell-completion-native-setup)
1505 (python-shell-completion-native-turn-off)
1506 (python-shell-completion-native-turn-on)
1507 (python-shell-completion-native-turn-on-maybe)
1508 (python-shell-completion-native-turn-on-maybe-with-msg)
1509 (python-shell-completion-native-toggle): New functions.
1510 (python-shell-completion-native-get-completions): New function.
1511 (python-shell-completion-at-point): Use it.
1512
1513 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1514
1515 python.el: Enhance shell user interaction and deprecate
1516 python-shell-get-or-create-process.
1517 * progmodes/python.el (python-shell-get-process-or-error):
1518 New function.
1519 (python-shell-with-shell-buffer): Use it.
1520 (python-shell-send-string, python-shell-send-region)
1521 (python-shell-send-buffer, python-shell-send-defun)
1522 (python-shell-send-file, python-shell-switch-to-shell): Use it.
1523 Add argument MSG to display user-friendly message when no process
1524 is running.
1525 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1526 (python-shell-make-comint): Rename argument SHOW from POP.
1527 Use display-buffer instead of pop-to-buffer.
1528 (run-python): Doc fix. Return process.
1529 (python-shell-get-or-create-process): Make obsolete.
1530
1531 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1532
1533 * progmodes/python.el (python-shell-buffer-substring):
1534 Handle cornercase when region sent starts at point-min.
1535
1536 2014-12-27 Eli Zaretskii <eliz@gnu.org>
1537
1538 * language/misc-lang.el (composition-function-table): Add Syriac
1539 characters and also ZWJ/ZWNJ.
1540 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1541 for the details.
1542
1543 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1544
1545 python.el: Fix message when sending region.
1546 * progmodes/python.el (python-shell-send-region): Rename argument
1547 send-main from nomain. Fix message.
1548 (python-shell-send-buffer): Rename argument send-main from arg.
1549
1550 python.el: Cleanup temp files even with eval errors.
1551 * progmodes/python.el (python-shell-send-file): Make file-name
1552 mandatory. Fix temp file removal in the majority of cases.
1553
1554 python.el: Handle file encoding for shell.
1555 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1556 (python-shell--save-temp-file): Write file with proper encoding.
1557 (python-shell-buffer-substring): Add coding cookie for detected
1558 encoding to generated content. Fix blank lines when removing
1559 if-name-main block.
1560 (python-shell-send-file): Handle file encoding.
1561 (python-info-encoding-from-cookie)
1562 (python-info-encoding): New functions.
1563
1564 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1565
1566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1567 Use `tramp-rsh-end-of-line', it ought to be more robust.
1568
1569 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
1572 (bug#19397).
1573
1574 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
1577
1578 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
1579 as end-of-line delimeter for passwords, when running on MS Windows.
1580
1581 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
1584 of indent-line-function (bug#19433).
1585
1586 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1587
1588 Fix line numbers on Python shell.
1589 * progmodes/python.el (python-shell--save-temp-file): Do not
1590 append coding cookie.
1591 (python-shell-send-string): Generalize for
1592 python-shell-send-region.
1593 (python--use-fake-loc): Delete var.
1594 (python-shell-buffer-substring): Cleanup fake-loc logic.
1595 (python-shell-send-region): Remove fake-loc logic, simplify.
1596
1597 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1598
1599 * progmodes/python.el (python-indent-post-self-insert-function):
1600 Make colon to re-indent only for dedenters, handling
1601 multiline-statements gracefully.
1602
1603 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1604
1605 * net/tramp.el (tramp-handle-insert-file-contents):
1606 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
1607
1608 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1609
1610 * net/tramp-sh.el (tramp-send-command-and-read): New optional
1611 arg MARKER.
1612 (tramp-get-remote-path): Use it.
1613
1614 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * subr.el (redisplay-dont-pause): Mark as obsolete.
1617
1618 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
1621 (tramp-accept-process-output): Use nil as argument for
1622 `accept-process-output', when there is a gateway prepended.
1623
1624 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
1625 wrong debug buffer.
1626 (tramp-gw-open-connection): Set process coding system 'binary.
1627 (tramp-gw-open-network-stream): Handle HTTP error 403.
1628
1629 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1630 wrong debug buffer.
1631 (tramp-maybe-open-connection): Set connection property "gateway".
1632
1633 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * subr.el (sit-for): Tweak docstring (bug#19381).
1636
1637 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1638
1639 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1640 stage to after `diff-index' (bug#19386).
1641
1642 2014-12-27 João Távora <joaotavora@gmail.com>
1643
1644 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1645 `electric-pair-mode' (bug#19356).
1646
1647 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1648
1649 elisp-xref-find: Don't create buffers eagerly.
1650
1651 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1652 into `elisp--company-location'.
1653 (elisp--identifier-completion-table): Rename to
1654 `elisp--identifier-completion-table', and do not include just any
1655 symbols with a property list.
1656 (elisp-completion-at-point): Revert the 2014-12-25 change.
1657 (elisp--xref-identifier-file): New function.
1658 (elisp--xref-find-definitions): Use it.
1659
1660 * emacs-lisp/find-func.el (find-function-library): New function,
1661 extracted from `find-function-noselect'.
1662
1663 * progmodes/xref.el (xref-elisp-location): New class.
1664 (xref-make-elisp-location): New function.
1665 (xref-location-marker): New implementation.
1666
1667 2014-12-27 Juri Linkov <juri@linkov.net>
1668
1669 * minibuffer.el (minibuffer-completion-help):
1670 Use shrink-window-if-larger-than-buffer in window-height
1671 when temp-buffer-resize-mode is nil.
1672
1673 * window.el (with-displayed-buffer-window): Remove window-height
1674 from the action alist in the temp-buffer-window-show call
1675 when window-height is handled explicitly afterwards (bug#19355).
1676
1677 2014-12-27 Juri Linkov <juri@linkov.net>
1678
1679 Support subdirectories when saving places in dired.
1680 * saveplace.el (toggle-save-place, save-place-to-alist)
1681 (save-places-to-alist, save-place-dired-hook):
1682 Use dired-current-directory instead of dired-directory (bug#19436).
1683 (save-place-dired-hook): Add check for alist to make the new
1684 format future-proof to allow other possible formats.
1685
1686 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1687
1688 python.el: Generate clearer shell buffer names.
1689 * progmodes/python.el (python-shell-get-process-name)
1690 (python-shell-internal-get-process-name): Use `buffer-name`.
1691 (python-shell-internal-get-or-create-process): Simplify.
1692
1693 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
1694
1695 Add basic xref apropos implementation to elisp-mode.
1696
1697 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1698 Filter out nil results.
1699 (elisp--xref-find-apropos): New function.
1700 (elisp-xref-find): Use it.
1701
1702 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1703
1704 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
1705
1706 * dired-aux.el (dired-maybe-insert-subdir):
1707 Make dired-maybe-insert-subdir always skip trivial files.
1708
1709 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
1710 Dmitry Gutov <dgutov@yandex.ru>
1711
1712 Consolidate cross-referencing commands.
1713
1714 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1715 `C-x 5 .' from etags.el to xref.el.
1716
1717 * progmodes/xref.el: New file.
1718
1719 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1720 (elisp--identifier-location): New function, extracted from
1721 `elisp--company-location'.
1722 (elisp--company-location): Use it.
1723 (elisp--identifier-completion-table): New variable.
1724 (elisp-completion-at-point): Use it.
1725 (emacs-lisp-mode): Set the local values of `xref-find-function'
1726 and `xref-identifier-completion-table-function'.
1727 (elisp-xref-find, elisp--xref-find-definitions)
1728 (elisp--xref-identifier-completion-table): New functions.
1729
1730 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1731 favor of `xref--marker-ring'.
1732 (tags-lazy-completion-table): Autoload.
1733 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1734 (find-tag-noselect): Use `xref-push-marker-stack'.
1735 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1736 (etags--xref-limit): New constant.
1737 (etags-xref-find, etags--xref-find-definitions): New functions.
1738
1739 2014-12-25 Martin Rudalics <rudalics@gmx.at>
1740
1741 * cus-start.el (resize-mini-windows): Make it customizable.
1742
1743 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
1744
1745 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1746 to (info "(emacs)Contributing"). (Bug#19299)
1747
1748 2014-12-24 Martin Rudalics <rudalics@gmx.at>
1749
1750 * window.el (mouse-autoselect-window-position-1): New variable.
1751 (mouse-autoselect-window-cancel)
1752 (mouse-autoselect-window-select, handle-select-window):
1753 With delayed autoselection select window only if mouse moves after
1754 selecting its frame.
1755
1756 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
1757
1758 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1759 remote file names. (Bug#18782)
1760
1761 2014-12-23 Sam Steingold <sds@gnu.org>
1762
1763 * shell.el (shell-display-buffer-actions): New user option.
1764 (shell): Pass it to `pop-to-buffer' instead of hard-coding
1765 `pop-to-buffer-same-window'.
1766
1767 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1770 (js-syntax-propertize-regexp): Use it to recognize "slash in
1771 a character class" (bug#19397).
1772
1773 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * completion.el: Use post-self-insert-hook (bug#19400).
1776 (completion-separator-self-insert-command)
1777 (completion-separator-self-insert-autofilling): Remove.
1778 (completion-separator-chars): New var.
1779 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1780 of changing the keymap.
1781 (completion--post-self-insert): New function.
1782 (dynamic-completion-mode): Use it instead of rebinding keys.
1783 (cmpl--completion-string): Rename from completion-string.
1784 (add-completion-to-head, delete-completion): Let-bind it explicitly.
1785
1786 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
1787
1788 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1789 by leveraging `syntax-ppss'.
1790
1791 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
1792
1793 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1794
1795 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * net/tramp-sh.el (tramp-histfile-override): Add :version.
1798
1799 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
1800
1801 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1802
1803 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
1804
1805 * let-alist.el (let-alist): Enable access to deeper alists by
1806 using dots inside the dotted symbols.
1807
1808 2014-12-19 Alan Mackenzie <acm@muc.de>
1809
1810 Make C++11 uniform init syntax work.
1811 New keywords "final" and "override".
1812 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1813 New function.
1814 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1815 new function.
1816 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1817 carefully for "are we at a declarator?" using
1818 c-back-over-member-initializers.
1819 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1820 and "override" in the C++ value.
1821
1822 2014-12-19 Martin Rudalics <rudalics@gmx.at>
1823
1824 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1825
1826 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
1827
1828 * net/nsm.el (nsm-save-host): Don't save the host name twice
1829 (bug#19269).
1830
1831 2014-12-18 Sam Steingold <sds@gnu.org>
1832
1833 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1834 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1835 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1836 * menu-bar.el (menu-bar-buffer-vector): Extract from
1837 `menu-bar-update-buffers'.
1838 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1839 (buffer-menu-open): New user command, bound globally to C-f10,
1840 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1841 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1842 convert the value returned by `mouse-buffer-menu-map' to a list
1843 acceptable to `popup-menu' for `buffer-menu-open'.
1844
1845 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
1846
1847 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1848
1849 2014-12-18 Sam Steingold <sds@gnu.org>
1850
1851 * emacs-lisp/package.el: Avoid compilation warning by declaring
1852 the `find-library-name' function.
1853 (package-activate-1): Fix the `with-demoted-errors' calls:
1854 the first argument must be a string literal.
1855
1856 2014-12-18 Martin Rudalics <rudalics@gmx.at>
1857
1858 Add code for "preserving" window sizes.
1859 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1860 `preserve-size' t.
1861 (dired-mark-pop-up): Preserve size of window showing marked files.
1862 * electric.el (Electric-pop-up-window):
1863 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1864 with `preserve-size' t.
1865 * minibuffer.el (minibuffer-completion-help):
1866 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1867 (Bug#19355). Preserve size of completions window.
1868 * register.el (register-preview): Preserve size of register
1869 preview window.
1870 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1871 with `preserve-size' t (Bug#1291).
1872 * window.el (with-displayed-buffer-window): Add calls to
1873 `window-preserve-size'.
1874 (window-min-pixel-size, window--preservable-size)
1875 (window-preserve-size, window-preserved-size)
1876 (window--preserve-size, window--min-size-ignore-p): New functions.
1877 (window-min-size, window-min-delta, window--resizable)
1878 (window--resize-this-window, split-window-below)
1879 (split-window-right): Amend doc-string.
1880 (window--min-size-1, window-sizable, window--size-fixed-1)
1881 (window-size-fixed-p, window--min-delta-1)
1882 (frame-windows-min-size, window--max-delta-1, window-resize)
1883 (window--resize-child-windows, window--resize-siblings)
1884 (enlarge-window, shrink-window, split-window): Handle preserving
1885 window sizes.
1886 (adjust-window-trailing-edge): Handle preserving window
1887 sizes. Signal user-error instead of an error when there's no
1888 window above or below.
1889 (window--state-put-2): Handle horizontal scroll bars.
1890 (window--display-buffer): Call `preserve-size' if asked for.
1891 (display-buffer): Mention `preserve-size' alist member in doc-string.
1892 (fit-window-to-buffer): New argument PRESERVE-SIZE.
1893 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1894 scroll bar on ispell's windows. Don't count window lines and
1895 don't deal with dedicated windows.
1896 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1897 do the window handling.
1898 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1899 (ispell-display-buffer): New function to reuse, create and fit
1900 window to ispell's buffers. (Bug#3413)
1901
1902 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1903
1904 * emacs-lisp/package.el (package-activate): Do not re-activate or
1905 reload the dependencies (bug#19390).
1906
1907 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1910 (c-update-modeline):
1911 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1912 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1913 (c-mode-base-map): Use c-subword-mode.
1914
1915 2014-12-18 Eli Zaretskii <eliz@gnu.org>
1916
1917 * international/mule-diag.el (describe-font-internal):
1918 Display additional info returned by font-info.
1919
1920 * linum.el (linum--face-width): Rename from linum--face-height,
1921 and use the new functionality of font-info.
1922 (linum-update-window): Use linum--face-width and frame-char-width,
1923 instead of approximating with height.
1924
1925 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
1926
1927 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1928 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
1929
1930 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1931 and a docstring.
1932 (package-activate): Call itself on dependencies on PACKAGE with
1933 the same FORCE argument. Pass FORCE as RELOAD into
1934 `package-activate-1' (bug#19390).
1935
1936 2014-12-17 Sam Steingold <sds@gnu.org>
1937
1938 * emacs-lisp/package.el (package--list-loaded-files):
1939 Handle `(nil ...)' elements in `load-history'.
1940
1941 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
1942
1943 * net/tramp-sh.el (tramp-histfile-override): New variable.
1944 (tramp-open-shell, tramp-maybe-open-connection): Use it.
1945
1946 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * vc/vc.el: Improve `dir-status-files' description.
1949
1950 * emacs-lisp/package.el (package--list-loaded-files): Don't call
1951 file-truename on load-history elements (bug#19390).
1952
1953 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
1954
1955 * emacs-lisp/seq.el: New file.
1956
1957 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1960 is 0 and there is no input pending.
1961
1962 2014-12-15 Juri Linkov <juri@linkov.net>
1963
1964 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1965 only on the return value (bug#19383).
1966
1967 2014-12-15 Juri Linkov <juri@linkov.net>
1968
1969 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
1970 the wrapped search by the length of the search string to be able
1971 to lazy-highlight the whole search string at point (bug#19353).
1972
1973 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1974
1975 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
1976
1977 2014-12-14 Alan Mackenzie <acm@muc.de>
1978
1979 * cus-start.el (all): Add fast-but-imprecise-scrolling.
1980
1981 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
1982
1983 * let-alist.el: Add lexical binding.
1984
1985 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
1986
1987 * emacs-lisp/package.el (package-menu-mode): Use an extra column
1988 for the "Version" column, to accomodate date-and-time-based versions.
1989
1990 2014-12-14 Cameron Desautels <camdez@gmail.com>
1991
1992 * cus-edit.el (custom-unsaved-options): New function, extracted
1993 from `customize-unsaved'.
1994 (custom-unsaved): Use it.
1995 (custom-prompt-customize-unsaved-options): New function.
1996 (Bug#19328)
1997
1998 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
2001
2002 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2003
2004 Move ASYNC argument to the `diff' VC command to the fifth
2005 position, for better compatibility with existing third-party code,
2006 and document it.
2007
2008 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
2009 backend `diff' command in the last position.
2010
2011 * vc/vc-svn.el (vc-svn-diff):
2012 * vc/vc-src.el (vc-src-diff):
2013 * vc/vc-sccs.el (vc-sccs-diff):
2014 * vc/vc-rcs.el (vc-rcs-diff):
2015 * vc/vc-mtn.el (vc-mtn-diff):
2016 * vc/vc-hg.el (vc-hg-diff):
2017 * vc/vc-git.el (vc-git-diff):
2018 * vc/vc-dav.el (vc-dav-diff):
2019 * vc/vc-cvs.el (vc-cvs-diff):
2020 * vc/vc-bzr.el (vc-bzr-diff):
2021 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
2022
2023 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
2024
2025 * emacs-lisp/cconv.el (cconv--analyze-use):
2026 Rename from cconv--analyse-use.
2027 (cconv--analyze-function): Rename from cconv--analyse-function.
2028 (cconv-analyze-form): Rename from cconv-analyse-form.
2029
2030 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
2031
2032 * net/shr.el (shr-next-link): Don't error out at eob.
2033
2034 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2035
2036 * isearch.el (isearch-open-necessary-overlays): Open overlay
2037 ending at point (bug#19333).
2038
2039 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2040
2041 * net/shr.el (shr-fold-text): New function.
2042 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
2043 alt/title texts.
2044 (shr-fold-text): Inhibit state from being altered.
2045
2046 * files.el (directory-files-recursively): Really check whether
2047 files are symlinks.
2048 (directory-name-p): New function.
2049 (directory-files-recursively): Use it.
2050
2051 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
2052
2053 * emacs-lisp/package.el (package--list-loaded-files): New function
2054 to list files in a given directory which correspond to already
2055 loaded files.
2056 (package-activate-1): Reload files given by `package--list-loaded-files'.
2057 Fix bug#10125, bug#18443, and bug#18448.
2058
2059 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
2060
2061 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
2062
2063 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * simple.el (password-word-equivalents): Add "passcode", used for
2066 numeric secrets like PINs or RSA tokens.
2067
2068 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2069
2070 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
2071 order to determine `tramp-own-remote-path'.
2072
2073 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2074
2075 * progmodes/python.el (python-shell-parse-command):
2076 Quote `python-shell-interpreter`. (Bug#19289)
2077
2078 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
2081 (python-indent-levels): Document extra value.
2082 (python-indent-calculate-indentation): Return `noindent' in strings.
2083 (python-indent-post-self-insert-function)
2084 (python-indent-calculate-levels): Handle new value.
2085
2086 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2087
2088 * net/network-stream.el (network-stream-open-starttls): No need to
2089 check for the availability of `gnutls-available-p'.
2090
2091 * files.el (directory-files-recursively): Don't follow symlinks to
2092 other directories.
2093
2094 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
2095
2096 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
2097 * vc/vc.el: latest-on-branch-p is no longer a public method.
2098
2099 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
2100 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
2101 Remove `rollback' method, to be replaced in the future by uncommit.
2102
2103 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
2106 that there is empty output.
2107
2108 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
2111 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
2112
2113 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
2114
2115 * let-alist.el: Add new package and macro.
2116
2117 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
2118
2119 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
2120 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
2121 it's a shoot-self-in-foot archaism. Workfiles are always kept.
2122
2123 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
2124
2125 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
2126 trouble with ls over ftp. These flags result in ls returning no
2127 output, causing Tramp-breakage. (bug#19192)
2128
2129 2014-12-10 Andreas Schwab <schwab@suse.de>
2130
2131 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
2132
2133 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2134
2135 * files.el (directory-files-recursively):
2136 Use `file-name-all-completions' instead of `directory-files' for
2137 greater speed.
2138
2139 * net/shr.el (shr-tag-object): Don't bug out on text elements in
2140 <object>.
2141
2142 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
2143
2144 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
2145 and Puppetfile.
2146 (ruby-toggle-string-quotes): New command that allows you to quickly
2147 toggle between single-quoted and double-quoted string literals.
2148
2149 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
2150
2151 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
2152 list, avoids problems witt names containing hyphens.
2153
2154 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
2155
2156 Sync with upstream verilog-mode revision aa4b777.
2157 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2158 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
2159 (verilog-set-auto-endcomments): Automatically comment property/
2160 endproperty blocks to match other similar blocks like sequence/
2161 endsequence, function/endfunction, etc. Reported by Alex Reed.
2162 (verilog-set-auto-endcomments): Fix end comments for functions of
2163 type void, etc. Detect the function- or task-name when
2164 auto-commenting blocks that lack an explicit portlist.
2165 Reported by Alex Reed.
2166 (verilog-nameable-item-re): Fix nameable items that can have an
2167 end-identifier to include endchecker, endgroup, endprogram,
2168 endproperty, and endsequence. Reported by Alex Reed.
2169 (verilog-preprocessor-re, verilog-beg-of-statement):
2170 Fix indentation of property/endproperty around pre-processor
2171 directives. Reported by Alex Reed.
2172 (verilog-label-be): When auto-commenting a buffer, consider
2173 auto-comments on all known keywords (not just a subset thereof).
2174 Reported by Alex Reed.
2175 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
2176 Reported by Alex Reed.
2177 (verilog-beg-of-statement-1, verilog-at-constraint-p):
2178 Fix hanging with many curly-bracket pairs, bug663.
2179 (verilog-do-indent): Fix electric tab deleting form-feeds.
2180 Note caused by indent-line-to deleting tabls pre 24.5.
2181 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
2182 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
2183 (verilog-read-always-signals, verilog-auto-sense-sigs)
2184 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
2185 bug844. Reported by Greg Hilton.
2186
2187 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
2188
2189 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
2190 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
2191 'foreach', and 'do' keywords.
2192 (verilog-endcomment-reason-re, verilog-beg-of-statement):
2193 Fix labeling do-while blocks, bug842.
2194 (verilog-backward-token): Fix indenting sensitivity lists with
2195 named events, bug840.
2196
2197 2014-12-09 Reto Zimmermann <reto@gnu.org>
2198
2199 Sync with upstream vhdl mode v3.36.1.
2200 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2201 (vhdl-compiler-alist): Anchor all error regexps.
2202 (vhdl-compile-use-local-error-regexp): Change default to nil.
2203 (vhdl-asort, vhdl-anot-head-p): Remove.
2204 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
2205 Remove optional argument of vhdl-aget and update all callers.
2206 (vhdl-import-project): Also set `vhdl-compiler'.
2207
2208 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2209
2210 * files.el (find-files): New function.
2211
2212 * net/shr.el (shr-dom-print): Don't print comments.
2213 (shr-tag-svg): Give inline SVG images the right type.
2214
2215 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
2216 certificates in the header line.
2217 (eww-invalid-certificate, eww-valid-certificate): New faces.
2218
2219 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
2220
2221 * progmodes/python.el (inferior-python-mode):
2222 Set `comint-prompt-read-only` to `t` only locally.
2223
2224 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225
2226 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2227 (nsm-format-certificate): Include more data about the connection.
2228 (nsm-query): Fill the text to that it looks nicer.
2229 (nsm-check-protocol): Also warn if using SSL3 or older.
2230
2231 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2234
2235 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2236
2237 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2238
2239 * info.el (Info-mode-map): Remove left-over binding.
2240
2241 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2242 (avl-tree--root): Remove redundant defsetf.
2243
2244 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2245
2246 * net/nsm.el (network-security-level): Remove the detailed
2247 description, which was already outdated, and refer the users to
2248 the manual.
2249 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2250 (bug#19153).
2251
2252 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2253
2254 * net/eww.el (eww-buffers-mode): New major mode.
2255 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2256 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2257 New commands/functions (bug#19131).
2258
2259 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2260
2261 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2262 'file-name-handler-alist' since the gnutls library can't use those
2263 (bug#15866).
2264
2265 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2268 when FILES is non-nil (bug#19304).
2269
2270 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2271
2272 * vc/vc-arch.el: Move to obsolete directory so a test framework
2273 won't trip over bit-rot in it. There has been no Arch snapshot
2274 for nine years.
2275
2276 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2277
2278 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2279 previous behavior.
2280 (eww-copy-page-url): Add doc string.
2281
2282 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2283
2284 * net/eww.el (eww): Move history recording here...
2285 (eww-browse-url): ... from here (bug#19253).
2286
2287 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2288 iterating over possible buffer names.)
2289
2290 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2291
2292 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2293 (eww-current-buffer): Compilation fix for bug#18550 patch.
2294
2295 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2296
2297 * net/eww.el (eww-list-histories): Restore the history in the
2298 correct buffer (bug#18550).
2299
2300 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2301
2302 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2303 displaying shortened titles first (bug#16398).
2304
2305 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2306
2307 * progmodes/python.el: Recognize docstrings.
2308 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2309 New functions.
2310 (python-mode): Use them.
2311
2312 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2313
2314 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2315 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2316 (newsticker--treeview-create-groups-menu)
2317 (newsticker--treeview-create-tree-menu): Remove.
2318 (newsticker--treeview-tree-open-menu): New.
2319 (newsticker-treeview-tree-click): Pass event to
2320 `newsticker-treeview-tree-do-click'.
2321 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2322
2323 2014-12-05 Juri Linkov <juri@linkov.net>
2324
2325 * comint.el (comint-history-isearch-search)
2326 (comint-history-isearch-wrap): Use field-beginning instead of
2327 comint-line-beginning-position.
2328 (comint-send-input): Go to the end of the field instead of the end
2329 of the line to accept whole multi-line input.
2330 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2331
2332 2014-12-05 Juri Linkov <juri@linkov.net>
2333
2334 * minibuffer.el (minibuffer-completion-help):
2335 Compare selected-window with minibuffer-window to check whether
2336 completions should be displayed near the minibuffer. (Bug#17809)
2337 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2338
2339 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2340
2341 * vc/vc-mtn.el (vc-mtn-root):
2342 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2343
2344 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2347 of the whole pipe when indenting an opening keyword after a |.
2348 Generalize this treatment to opening keywords like "while" (bug#18031).
2349
2350 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * simple.el (newline): Place the hook buffer-locally,
2353 to make sure it's first.
2354
2355 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2356 Fix handling of symbols with different syntax at beginning/end or with
2357 symbol rather than word syntax.
2358
2359 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2360
2361 * simple.el (line-move): If noninteractive, call line-move-1, not
2362 forward-line, since the former is compatible with line-move-visual
2363 both in terms of the column to which it moves and the return
2364 value. (Bug#19211)
2365
2366 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * vc/ediff-init.el (ediff-odd-p): Remove.
2369 (ediff-background-face): Use cl-oddp instead.
2370 (ediff-buffer-live-p): Make it a defsubst.
2371
2372 * tooltip.el (tooltip-region-active-p): Remove.
2373
2374 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2375 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2376
2377 * fringe.el (fringe-bitmap-p): Make it a plain function.
2378
2379 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2380 (class-p, generic-p, eieio-object-p, class-abstract-p):
2381 Make them defsubst, so as to avoid corner case problems where
2382 the arg might be evaluated in the condition-case, or it can't be passed
2383 to higher-order functions like `cl-some'.
2384
2385 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2386
2387 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2388 and remove old menu-related code.
2389
2390 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2391
2392 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2393 display PDF files (bug#19270).
2394
2395 2014-12-05 Juri Linkov <juri@linkov.net>
2396
2397 Compare with the most recent window by default.
2398 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2399 (compare-windows-get-recent-window)
2400 (compare-windows-get-next-window): New functions.
2401 (compare-windows, compare-windows-sync-default-function):
2402 Use `compare-windows-get-window-function' instead of `next-window'.
2403 (compare-windows): Add diff/match messages with region boundaries.
2404 (Bug#19170)
2405
2406 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2409
2410 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2411
2412 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2413
2414 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2415
2416 Implement copying of a buffer portion while preserving visual order.
2417 * simple.el (bidi-directional-controls-chars)
2418 (bidi-directional-non-controls-chars): New variables.
2419 (squeeze-bidi-context-1, squeeze-bidi-context)
2420 (line-substring-with-bidi-context)
2421 (buffer-substring-with-bidi-context): New functions.
2422
2423 * files.el (file-tree-walk): Doc fix.
2424
2425 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2426 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2427
2428 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2429 program support to match more extensions. Replace non-alnum
2430 characters when generating include guards (headers) and check for
2431 more extensions when generating includes (programs)
2432 (bug#19254).
2433
2434 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2435
2436 * files.el (file-tree-walk): Fix docstring.
2437
2438 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2439
2440 Fix bug whereby saving files hung in VC hook.
2441
2442 Saving a buffer visiting a file under SVN control would hang if
2443 the remote repository were unreachable, because the VC hooks tried
2444 to run "svn status -u" on the file, where the "-u" tells svn to
2445 get update information from the remote repository.
2446 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2447
2448 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2449 argument and always pass "-v" to "svn status", never "-u".
2450
2451 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * emacs-lisp/inline.el: Fix up copyright header.
2454 (inline-quote, inline-const-p, inline-const-val, inline-error):
2455 Silence compiler warnings.
2456 (inline-letevals): Fix edebug spec.
2457 (inline--testconst-p): Consider lambda expressions as const-p.
2458 (inline--getconst-val): Use inline--testconst-p.
2459
2460 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2461 and change default to stay in the minibuffer when called from
2462 the minibuffer (bug#19250).
2463 (lazy-completion-table): Use this new argument to preserve the
2464 old behavior.
2465
2466 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2467 incorrect lexical elements (bug#19250).
2468
2469 2014-12-03 A. N. Other <none@example.com>
2470
2471 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2472
2473 2014-12-02 Glenn Morris <rgm@gnu.org>
2474
2475 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2476
2477 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2478
2479 * subr.el (filter): New macro. Because it's just silly for a Lisp
2480 not to have this in 2014. And VC needs it.
2481
2482 * vc.el: All backends: API simplification: Abolish dir-status.
2483 It's replaced by dir-status-files.
2484
2485 * vc.el: All backends: API simplification: Remove 4th
2486 'default-state' argument from vc-dir-status files and its backend
2487 methods - no backend method ever set it. It was used only in the
2488 fallback method to to set a default of 'up-to-date, though a
2489 convoluted call chain obscured this.
2490
2491 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2492
2493 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2494 improving behavior on directories using multiple file-oriented VCSes.
2495
2496 * vc/vc.el: All backends: API simplification; clear-headers
2497 is no longer a public method. It is now local to the one place
2498 it's used, in the RCS steal-lock method.
2499
2500 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2501
2502 * vc/vc.el: In all backends: API simplification; could-register
2503 is no longer a public method. (vc-cvs.el still has a private
2504 implementation.)
2505
2506 * vc/vc.el: In all backends: API cleanup; the backend diff method
2507 takes an explicit async flag. This eliminates a particularly ugly
2508 global.
2509
2510 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2511 VC randomly/unpredictably fails without it; cause not yet established.
2512
2513 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 Merge some of the differences from the standalone CC-mode.
2516 The main change is to only use the `category' text-property only when
2517 available. For that many calls are changed to use c-get-char-property,
2518 c-next-single-property-change, c-sc-scan-lists,
2519 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2520
2521 * progmodes/cc-mode.el (c-just-done-before-change): New var.
2522 (c-basic-common-init): Initialize it.
2523 (c-common-init): Only use mode-require-final-newline when available.
2524 (c-before-change): Check and set c-just-done-before-change.
2525 (c-after-change): Re-set c-just-done-before-change.
2526 (c-advise-fl-for-region): New macro.
2527 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2528 (font-lock-after-change-function, jit-lock-after-change):
2529 Advise if needed.
2530
2531 * progmodes/cc-langs.el (c-modified-constant): New lang var.
2532 (c-known-type-key): Don't make a list just to throw it away.
2533
2534 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2535 Handle the case where categories are not available.
2536 (c-record-parse-state-state, c-replay-parse-state-state):
2537 Handle marker values.
2538 (c-before-change-check-<>-operators): Look for the `syntax-table'
2539 property rather than for the corresponding `category'.
2540 (c-looking-at-decl-block): Remove unused var
2541 `c-disallow-comma-in-<>-arglists'.
2542 (c-forward-<>-arglist-recur): Remove unused var
2543 `orig-record-found-types'.
2544
2545 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2546 (c-use-category): New const.
2547 (c-next-single-property-change): New macro.
2548 (c-region-is-active-p): Prefer region-active-p when available.
2549 (c-search-backward-char-property): Fix old min/max typo; probably
2550 a copy/paste error.
2551 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2552 Turn them into macros that obey c-use-category.
2553 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2554 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2555 (c-sc-scan-lists, c-sc-parse-partial-sexp)
2556 (c-looking-at-non-alphnumspace): New macros.
2557 (c-sc-parse-partial-sexp-no-category): New function.
2558 (c-emacs-features): Add `category-properties' element.
2559
2560 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2561 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2562 not available.
2563 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2564 (c-indent-line-or-region): Use c-region-is-active-p.
2565
2566 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2567 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
2568 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
2569 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
2570 (cc-bytecomp-obsolete-fun): Delete unused functions.
2571
2572 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
2573
2574 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2575
2576 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
2577 dom.el changes.
2578
2579 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
2582 current "project" rather than just the current directory.
2583 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
2584 the file names make sense.
2585
2586 * vc/smerge-mode.el (smerge-swap): New command.
2587
2588 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
2589
2590 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
2591
2592 * net/newst-treeview.el (newsticker--treeview-item-show):
2593 Check window liveliness before measuring its width.
2594
2595 * net/newst-backend.el (newsticker--get-news-by-url-callback):
2596 Pass correct status to `newsticker--sentinel-work'.
2597 (newsticker--sentinel-work): Use "newsticker--download-error" as
2598 guid in order to prevent multiple "Could not download..."
2599 messages. Fixes bug#19166.
2600
2601 2014-12-01 Ivan Shmakov <ivan@siamics.net>
2602
2603 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
2604 correct buffer (bug#19225).
2605
2606 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2607
2608 * net/nsm.el (network-security-level): Change the default to `medium'.
2609
2610 * net/eww.el (eww): Leave point in a place that doesn't cause
2611 scrolling when displaying "Loading...".
2612
2613 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2614
2615 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
2616 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
2617 'merge-branch'. Prompting for merge revisions is pushed down to
2618 the back ends; this fixes a layering violation that caused bad
2619 behavior with SVN.
2620
2621 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2622 vc-stay-local-p and repository-hostname are no longer public
2623 methods. Only the CVS and SVN backends used these, and the SVN
2624 support was conditioned out because svn status -v is too slow.
2625 The CVS back end retains this machinery and the vc-stay-local
2626 configuration variable now only affects it.
2627
2628 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * emacs-lisp/inline.el: New file.
2631
2632 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2633
2634 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2635 vc-state-heuristic is no longer a public method, having been
2636 removed where it is redundant, unnecessary, or known buggy.
2637 This eliminated all backends except CVS. Eliminates bug#7850.
2638
2639 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2640 Eliminate vc-mistrust-permissions. It was only relevant to the
2641 RCS and SCCS back ends and defaulted to t. Code now always
2642 mistrusts permissions - by actual measurement the effect on
2643 performance is negligible. As a side effect bug#11490 is now
2644 irrelevant.
2645
2646 * vc/vc.el, vc-hooks.el: All backends: API simplification;
2647 vc-workfile-unchanged-p is no longer a public method (but the RCS
2648 and SCCS back ends retain it as a private method used in state
2649 computation). This method was redundant with vc-state and usually
2650 implemented as a trivial call to same. Fixes the failure mode
2651 described in bug#694.
2652
2653 * vc/vc.el: All backends: API simplification; init-revision is
2654 gone, and vc-registered functions no longer take an
2655 initial-revision argument.
2656
2657 2014-11-29 Glenn Morris <rgm@gnu.org>
2658
2659 * vc/vc-src.el (vc-src, vc-src-diff-switches)
2660 (vc-src-master-templates): Fix :version tags.
2661
2662 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
2663
2664 * outline.el (outline-move-subtree-down): Refactor and improve code.
2665
2666 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2667 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * outline.el (outline-move-subtree-down): Make sure we can move
2670 forward to find the end of the subtree and the insertion point
2671 (bug#19102).
2672
2673 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2674
2675 * progmodes/python.el (python-shell-completion-setup-code):
2676 Use __builtin__ module (or builtins in Python 3) and catch all errors
2677 when importing readline and rlcompleter.
2678
2679 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2680
2681 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2682 (todo-revert-buffer): New function.
2683 (todo-modes-set-1): Use it as the buffer-local value of
2684 revert-buffer-function.
2685
2686 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
2687
2688 * calendar/todo-mode.el (todo-mode): If called interactively, just
2689 display a message saying to call todo-show to enter Todo mode
2690 (Bug#19112).
2691
2692 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2695 (Bug#18579)
2696
2697 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2698 files. (Bug#18579)
2699
2700 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2703 remote `buffer-file-name'.
2704
2705 2014-11-29 Leo Liu <sdl.web@gmail.com>
2706
2707 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2708
2709 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
2710
2711 Set PYTHONUNBUFFERED on shell startup.
2712
2713 * progmodes/python.el (python-shell-unbuffered): New var.
2714 (python-shell-calculate-process-environment): Use it.
2715
2716 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp.el (tramp-action-password): Clean password on subsequent
2719 attempts even if there was no wrong password indication. (Bug#19047)
2720
2721 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2722 fallback.
2723 (tramp-open-connection-setup-interactive-shell): No need to check
2724 for nil as `tramp-get-remote-locale' return value.
2725
2726 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2727
2728 * vc/vc-git.el (vc-git-command, vc-git--call):
2729 Bind coding-system-for-read and coding-system-for-write to
2730 vc-git-commits-coding-system.
2731 (vc-git-previous-revision): Use "~1" instead of "^", since the
2732 latter is a special character for MS-Windows system shells.
2733
2734 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
2735
2736 Improve XEmacs compatibility.
2737
2738 * net/tramp.el (tramp-autoload-file-name-handler):
2739 Wrap `temporary-file-directory' by `symbol-value', it doesn't
2740 exist in XEmacs.
2741 (tramp-read-passwd): Don't use `with-timeout-suspend' and
2742 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2743 (tramp-time-less-p, tramp-time-subtract): Remove functions.
2744 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2745 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2746 * net/tramp-cache.el (tramp-get-file-property):
2747 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2748 Use `time-less-p' and `time-subtract, respectively.
2749
2750 * net/tramp-adb.el (top): Do not require time-date.el.
2751
2752 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2753
2754 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2755 Check, whether `utf-8' is a valid coding system.
2756
2757 2014-11-29 Eli Zaretskii <eliz@gnu.org>
2758
2759 * vc/vc.el (vc-retrieve-tag): Doc fix.
2760
2761 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2764 (bug#19152).
2765
2766 2014-11-28 Martin Rudalics <rudalics@gmx.at>
2767
2768 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
2769 * help.el (help-window-old-frame): New variable.
2770 (help-window-select): Default to nil (Bug#11039).
2771 Rewrite doc-string.
2772 (help-window-setup): When the help window appears on another
2773 frame and `help-window-select' is non-nil, give that frame input
2774 focus too (Bug#19012).
2775 (with-help-window): Store selected frame in
2776 help-window-old-frame.
2777
2778 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
2779
2780 * net/newst-treeview.el (newsticker--treeview-load): Take care of
2781 nil value for `newsticker-groups-filename'.
2782
2783 2014-11-28 Daiki Ueno <ueno@gnu.org>
2784
2785 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2786 (epa-sign-region, epa-encrypt-region):
2787 Use `epg-context-set-{passphrase,progress}-callback', instead of
2788 `setf'. This partially reverts commit 9e48a95c (bug#19150).
2789 Reported by José A. Romero L.
2790
2791 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2792
2793 * net/eww.el (eww-restore-history):
2794 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2795
2796 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2797
2798 * net/newst-backend.el (newsticker--parse-atom-1.0):
2799 Handle embedded (x)html in summary node.
2800
2801 2014-11-27 Sam Steingold <sds@gnu.org>
2802
2803 * menu-bar.el (menu-bar-open): When everything else fails,
2804 use (mouse-menu-bar-map).
2805
2806 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
2807
2808 * net/newst-treeview.el (newsticker-groups-filename):
2809 Change default value to nil. Point out that variable is obsolete in doc
2810 string.
2811 (newsticker--treeview-load): Change wording of the questions the
2812 user is asked when `newsticker-groups-filename' is found to be
2813 used and we offer to read and remove the groups file. (Bug#19165)
2814
2815 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2816
2817 * net/eww.el (eww): Record the new URL immediately, so that if the
2818 HTTP fetch fails, we have the right URL in the buffer.
2819 (eww-process-text-input): Don't shorten the input field if
2820 deleting at the last character (bug#19085).
2821 (eww-restore-history): Inhibit change functions while restoring
2822 the history.
2823 (eww-process-text-input): Fix deletion at the start of the field, too.
2824 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2825 (eww-process-text-input): Try to keep track of the size more reliably.
2826
2827 * dom.el (dom-pp): New function.
2828
2829 2014-11-27 Eli Zaretskii <eliz@gnu.org>
2830
2831 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2832 Don't assume --long is the default for "bzr log", always specify
2833 it explicitly, in case the user defined an alias for 'log' that
2834 uses some other format.
2835
2836 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2837
2838 * progmodes/python.el (python-eldoc--get-doc-at-point):
2839 Strip shell output before returning. (bug#18794)
2840
2841 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
2842
2843 Fix indentation before `!=' and after `+='. Originally reported
2844 in https://github.com/mooz/js2-mode/issues/174.
2845 * progmodes/js.el (js--indent-operator-re): Make assignments and
2846 (in)equality operator a separate case.
2847 (js--continued-expression-p): Escape the second `+' in the regexp.
2848
2849 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2852
2853 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2854
2855 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2856 when querying about new certificates.
2857
2858 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2859
2860 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2861 can be strings.
2862 (dom-elements): Protect against non-text nodes.
2863 (dom-non-text-children): New function.
2864
2865 * net/eww.el (eww-tag-title): Use `dom-text'.
2866
2867 2014-11-26 Sam Steingold <sds@gnu.org>
2868
2869 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2870
2871 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2872
2873 * net/eww.el (eww-highest-readability): More dom.el fixes.
2874
2875 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
2876
2877 * net/newst-backend.el (newsticker--parse-generic-items):
2878 Take care of UIDs when adding elements to cache.
2879
2880 2014-11-26 Alan Mackenzie <acm@muc.de>
2881
2882 Remove spurious reference to symbol category_properties.
2883 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2884
2885 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2886
2887 * net/eww.el: Use the new dom.el accessors throughout.
2888
2889 * net/shr.el: Ditto.
2890
2891 * dom.el: New file.
2892
2893 2014-11-26 Glenn Morris <rgm@gnu.org>
2894
2895 * arc-mode.el (archive-visit-single-files): Add :version.
2896
2897 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2898
2899 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2900 elements.
2901 (nsm-warnings-ok-p): The new version of this function always
2902 returned nil when everything was OK.
2903
2904 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
2905
2906 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2907
2908 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2909 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2910
2911 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2912
2913 * emacs-lisp/byte-run.el (function-put): Match argument names to
2914 docstring.
2915
2916 2014-11-24 Sam Steingold <sds@gnu.org>
2917
2918 * vc/vc-hooks.el (vc-directory-exclusion-list):
2919 Fix a trivial typo (bug#19171).
2920
2921 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * vc/vc-hooks.el (vc-state-base-face): Don't override
2924 mode-line-inactive.
2925
2926 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2927
2928 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2929 (eww-process-text-input): Inhibit read only so that input fields
2930 don't get shortened (bug#19085).
2931
2932 2014-11-24 Leo Liu <sdl.web@gmail.com>
2933
2934 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2935
2936 * window.el (with-temp-buffer-window)
2937 (with-current-buffer-window, with-displayed-buffer-window):
2938 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2939 * emacs-lisp/cl-lib.el (substring):
2940 * emacs-lisp/cl-extra.el (cl-getf): Use it.
2941
2942 2014-11-24 Eli Zaretskii <eliz@gnu.org>
2943
2944 * isearch.el (isearch-update): Don't assume
2945 pos-visible-in-window-p will return nil when point is hscrolled
2946 out of view. (Bug#19157)
2947
2948 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
2949
2950 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2951 (eww-follow-link): Follow in new buffer in case of prefix
2952 argument, open externally with double prefix (bug#19130).
2953
2954 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2955
2956 * net/eww.el (eww-display-html): Decode the document-defined charset.
2957 (eww): Pop to the *eww* buffer immediately after executing the
2958 `M-x eww' command to avoid having buffers pop up later.
2959 (eww-display-html): Don't pop the *eww* buffer.
2960 (eww-display-raw): Ditto.
2961 (eww-display-image): Ditto.
2962 (eww-follow-link): Make going to #targets in the page work again.
2963
2964 2014-11-23 Ivan Shmakov <ivan@siamics.net>
2965
2966 * net/eww.el (eww-suggest-uris): New variable.
2967 (eww-suggested-uris): New function.
2968 (eww): Default to URL under point.
2969 (eww-links-at-point): New function.
2970
2971 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2972
2973 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
2974
2975 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2976
2977 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
2978
2979 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2980
2981 * net/eww.el (eww-set-character-encoding): New command and keystroke.
2982 (eww-display-raw): Use it (bug#16225).
2983
2984 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2985
2986 * net/nsm.el (network-security-level): Rename from
2987 `nsm-security-level' and documented.
2988
2989 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
2990 we're sending a password.
2991
2992 * net/nsm.el: New file that implements a Network Security Manager.
2993
2994 * net/network-stream.el (open-network-stream): Add a new
2995 :warn-unless-encrypted parameter.
2996 (network-stream-open-plain): Allow warning unless encrypted.
2997 (network-stream-open-starttls): Call the Network Security Manager.
2998 (network-stream-open-tls): Ditto.
2999
3000 2014-11-23 Leo Liu <sdl.web@gmail.com>
3001
3002 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
3003 (calendar-chinese-to-absolute-for-diary)
3004 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
3005 Handle leap months in Chinese calendar. (Bug#18953)
3006
3007 2014-11-22 Alan Mackenzie <acm@muc.de>
3008
3009 Fix error with `mark-defun' and "protected:" in C++ Mode.
3010 Fixes: debbugs:19134.
3011
3012 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
3013 return code of (label) from c-beginning-of-decl-1.
3014
3015 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
3016
3017 * net/newst-backend.el (newsticker--sentinel-work):
3018 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
3019
3020 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
3021
3022 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
3023 (tramp-sh-handle-process-file): Propagate `process-environment'.
3024
3025 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
3026 Tramp propagates environment variables now.
3027
3028 2014-11-22 Eric S. Raymond <esr@snark>
3029
3030 * vc/vc-filewise.el: New file to isolate code used only by the
3031 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
3032 live in vc.el and certainly not in vc-hooks.el.
3033
3034 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
3035 This is preparatory to isolating all the 'master' functions
3036 used only by the file-oriented back ends. With this done first,
3037 the substantive diffs will be easier to read.
3038
3039 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3040
3041 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
3042 that is recognized by `help-mode'.
3043
3044 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * desktop.el (desktop-create-buffer): Use activate-mark to set
3047 `mark-active' (bug#19058).
3048
3049 2014-11-21 Eric S. Raymond <esr@snark>
3050
3051 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
3052 nil state.
3053
3054 2014-11-21 Eli Zaretskii <eliz@gnu.org>
3055
3056 * vc/vc.el (vc-deduce-fileset): Support invocation from
3057 *vc-change-log* buffer. (Bug#19084)
3058
3059 2014-11-13 Matthew Leach <matthew@mattleach.net>
3060
3061 * arc-mode.el (archive-visit-single-files): New.
3062 (archive-mode): Visit file if archive contains a single file.
3063 (Bug#1702)
3064
3065 2014-11-21 Ulrich Müller <ulm@gentoo.org>
3066
3067 * vc/vc.el: Fix a typo in the commentary.
3068
3069 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
3070
3071 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
3072 testing and a real log-view mode.
3073
3074 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
3075 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
3076 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
3077 checkout methods; where it matters (which is only in SCCS and RCS)
3078 files are always checked out editable. This may actually have
3079 been dynamically true already - it looks like the vc-next-action
3080 code evolved past visiting the other case. Tested with RCS.
3081
3082 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
3083 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
3084 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
3085 argument from the backend checkin methods. Only the RCS, SCCS,
3086 and CVS back ends tried to do anything with it, and that code was
3087 never exercised. Chiseling away the cruft of decades...
3088
3089 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3090
3091 * net/eww.el (eww-render): Remove a no-op :title setting.
3092
3093 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3094
3095 * net/eww.el (eww-history-limit): New variable.
3096 (eww-save-history): Use it (bug#19105).
3097 (eww-reload): Reload the page in the right buffer.
3098
3099 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100
3101 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
3102
3103 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3104
3105 * net/eww.el (eww-desktop-remove-duplicates)
3106 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
3107 (eww-mode): Set up desktop mode (bug#18010).
3108 (eww-desktop-data-save, eww-desktop-data-1)
3109 (eww-desktop-history-duplicate, eww-desktop-misc-data)
3110 (eww-restore-desktop): New functions.
3111
3112 2014-11-19 Eli Zaretskii <eliz@gnu.org>
3113
3114 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
3115 correct buffer. (Bug#19101)
3116
3117 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3118
3119 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
3120 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
3121
3122 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
3123
3124 * ido.el (ido-bury-buffer-at-head): New command.
3125 (ido-buffer-completion-map): Bind it to C-S-b.
3126
3127 2014-11-18 Juri Linkov <juri@linkov.net>
3128
3129 * simple.el (next-line-or-history-element): Wrap next-line
3130 in with-no-warnings.
3131 (previous-line-or-history-element): Wrap previous-line
3132 in with-no-warnings.
3133
3134 2014-11-18 Juri Linkov <juri@linkov.net>
3135
3136 * progmodes/grep.el (grep-compute-defaults):
3137 Compute grep-highlight-matches before its use.
3138
3139 2014-11-18 Juri Linkov <juri@linkov.net>
3140
3141 * replace.el (query-replace-from-to-separator): Turn defvar into
3142 defcustom. Wrap char-displayable-p in ignore-errors because an
3143 attempt to autoload char-displayable-p fails during pre-loading.
3144 Move (propertize "\0" ... 'separator t) out of customizable part
3145 to query-replace-read-from.
3146 (query-replace-read-from): Call custom-reevaluate-setting on
3147 query-replace-from-to-separator to reevaluate the separator
3148 depending on the return value of char-displayable-p.
3149 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
3150
3151 2014-11-18 Juri Linkov <juri@linkov.net>
3152
3153 * bindings.el (minibuffer-local-map): Rebind [down] from
3154 next-history-element to next-line-or-history-element, and [up]
3155 from previous-history-element to previous-line-or-history-element.
3156
3157 * simple.el (next-line-or-history-element)
3158 (previous-line-or-history-element): New commands.
3159 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
3160
3161 2014-11-18 Leo Liu <sdl.web@gmail.com>
3162
3163 * emacs-lisp/nadvice.el (define-advice): New macro.
3164 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3165 Add define-advice.
3166 (lisp-font-lock-keywords-1): Add define-advice.
3167
3168 2014-11-18 Daiki Ueno <ueno@gnu.org>
3169
3170 * epg.el (epg-context): New slot EDIT-CALLBACK.
3171 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
3172 (epg-reset): Reset EDIT-CALLBACK of the context.
3173 (epg-start-edit-key): New function.
3174 (epg-edit-key): New function.
3175
3176 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
3177
3178 Port new time stamp handling to Emacs 23.2.
3179 This fix is for Gnus. Reported by Katsumi Yamaoka.
3180 * calendar/time-date.el (time-add, time-subtract, time-less-p):
3181 Use eval-and-compile, not eval-when-compile.
3182
3183 2014-11-18 Daiki Ueno <ueno@gnu.org>
3184
3185 * epg.el (epg-context-set-passphrase-callback)
3186 (epg-context-set-progress-callback): Check if the CALLBACK
3187 argument is a function, instead of a cons.
3188
3189 2014-11-18 Daiki Ueno <ueno@gnu.org>
3190
3191 * epa-file.el (epa-file-insert-file-contents)
3192 (epa-file-write-region): Remove redundant check of
3193 epa-pinentry-mode.
3194 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3195 (epa-sign-region, epa-encrypt-region): Remove redundant check of
3196 epa-pinentry-mode.
3197
3198 2014-11-18 Daiki Ueno <ueno@gnu.org>
3199
3200 * epa-file.el (epa-file-insert-file-contents): Don't show
3201 "*Error*" buffer if input file does not exist.
3202 Reported by Herbert J. Skuhra.
3203
3204 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
3205 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3206
3207 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
3208 An alternative version of the patch from bug#13871.
3209 (c-operators): Add "alignof".
3210 (c-primitive-type-kwds): Add "char16_t", "char32_t".
3211 (c-type-modifier-kwds): Add "constexpr", "noexcept".
3212 (c-modifier-kwds): Add "thread_local".
3213 (c-constant-kwds): Add "nullptr".
3214
3215 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
3216
3217 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
3218 New variables for specifying tildify pattern and representation of
3219 a hard space -- a no-break space by default -- respectively.
3220 Being buffer-local they are much easier to handle than
3221 `tildify-string-alist' and `tildify-pattern-alist' respectively
3222 that have been used so far. They also works better with derived
3223 modes.
3224 (tildify-foreach-region-function): New variable specifying
3225 a function determining portions of buffer that should be
3226 tildified. It allows major modes to create a filtering function
3227 more elaborate than a set of regular expressions. Initialised to
3228 `tildify--deprecated-ignore-evironments' by default to handle now
3229 deprecated `tildify-ignored-environments-alist' variable.
3230 (tildify--foreach-region): A new function that takes
3231 `tildify-foreach-region-function' into account and calls callback
3232 for regions of the buffer that should be tildified.
3233 (tildify-foreach-ignore-environments): A new function which can be
3234 partially applied and used as `tildify-foreach-region-function'.
3235 (tildify-ignored-environments-alist, tildify-pattern)
3236 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3237 (tildify--find-env): Rename from `tildify-find-env' and mark as
3238 obsolete.
3239 (tildify--deprecated-ignore-evironments): New function,
3240 immediately marked as obsolete, used to handle deprecated
3241 `tildify-ignored-environments-alist'.
3242
3243 * textmodes/tex-mode.el (tex-common-initialization):
3244 Set `tildify-space-string' and `tildify-foreach-region-function'
3245 variables in all variants of TeX mode since `tildify-string-alist'
3246 and `tildify-ignored-environments-alist' are now empty by default.
3247
3248 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3249 If encoding supports it use no-break space instead of character
3250 entity; this changes previous default which used a numeric
3251 reference.
3252
3253 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3254 If encoding does not support no-break space, use numeric reference;
3255 this changes previous default which used named entity (“&nbsp;”)
3256 in HTML mode.
3257
3258 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3259
3260 * calendar/icalendar.el (icalendar-export-alarms):
3261 New customizable variable. (Bug#5433)
3262 (icalendar-export-region): Export alarms as specified in
3263 `icalendar-export-alarms'.
3264 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3265 New functions for exporting alarms.
3266
3267 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3268
3269 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3270
3271 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3272
3273 Port new time stamp handling to old Emacs and to XEmacs.
3274 This is needed for Gnus, which copies time-date.el and which
3275 runs on older Emacs implementations.
3276 * calendar/time-date.el (with-decoded-time-value):
3277 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3278 (encode-time-value, with-decoded-time-value):
3279 Obsolete only if new Emacs.
3280 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3281
3282 Improve time stamp handling, and be more consistent about it.
3283 This implements a suggestion made in:
3284 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3285 Among other things, this means timer.el no longer needs to
3286 autoload the time-date module.
3287 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3288 * arc-mode.el (archive-ar-summarize):
3289 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3290 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3291 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3292 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3293 * proced.el (proced-time-lessp):
3294 * timezone.el (timezone-time-from-absolute):
3295 * type-break.el (type-break-schedule, type-break-time-sum):
3296 Simplify by using new functionality.
3297 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3298 Do not return time values in obsolete and undocumented (HI . LO)
3299 format; use (HI LO) instead.
3300 * calendar/time-date.el (with-decoded-time-value):
3301 Treat 'nil' as current time. This is mostly for XEmacs.
3302 (encode-time-value, with-decoded-time-value): Obsolete.
3303 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3304 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3305 * ldefs-boot.el: Update to match new time-date.el
3306 * proced.el: Do not require time-date.
3307
3308 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3309
3310 * net/eww.el (eww-mode): Make the buffer read-only.
3311 (eww-form-text): Inhibit read-only-ness in text input fields
3312 (bug#16476).
3313
3314 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * simple.el (execute-extended-command--shorter): Cut search here.
3317 (execute-extended-command): Instead of here.
3318
3319 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3320
3321 * progmodes/python.el (python-mode): Avoid use of set-local to
3322 keep Emacs 24.x compatibility.
3323
3324 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3325
3326 * net/shr.el (shr): Move to the new defgroup `web'.
3327
3328 * net/eww.el (eww): Ditto.
3329
3330 * simple.el (execute-extended-command): Don't show the help
3331 message if the binding isn't significantly shorter than the
3332 M-x command the user typed (bug#19013).
3333
3334 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3335
3336 * calendar/icalendar.el (icalendar--convert-tz-offset):
3337 Return complete cons when offsets of standard time and daylight saving
3338 time are equal.
3339 (icalendar-export-region): Fix unbound variable warning.
3340
3341 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3342
3343 * progmodes/python.el (run-python): Allow CMD to be optional and
3344 default it to a safe command, even for Windows. (bug#18596)
3345
3346 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3347
3348 * progmodes/python.el (python-shell-calculate-command):
3349 Rename from python-shell-parse-command. Cleanup.
3350 (run-python, run-python-internal): Use it.
3351 (python-shell-calculate-pythonpath): Rename from
3352 python-new-pythonpath.
3353 (python-shell-calculate-process-environment): Use it.
3354 (python-shell-calculate-exec-path): Add comment.
3355
3356 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3357
3358 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3359 for date handling.
3360
3361 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3362
3363 * version.el (emacs-repository-get-version): Use git rev-parse
3364 instead of git log.
3365
3366 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3367
3368 * progmodes/python.el (python-indent-calculate-levels):
3369 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3370
3371 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3372
3373 * progmodes/python.el (python-indent-region):
3374 Use python-indent-line and skip special cases. (Bug#18843)
3375
3376 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3377
3378 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3379 envelope-from when reporting through sendmail (bug#19054).
3380
3381 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3382
3383 Add faces for the VC modeline state indicator.
3384 * vc/vc-hooks.el:
3385 (vc-state-faces, vc-state-base-face)
3386 (vc-up-to-date-state, vc-needs-update-state)
3387 (vc-locked-state, vc-locally-added-state)
3388 (vc-conflict-state, vc-removed-state)
3389 (vc-missing-state, vc-edited-state):
3390 New faces.
3391 (vc-default-mode-line-string): Use them
3392
3393 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3396
3397 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3398
3399 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3400
3401 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3402
3403 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3404 type checks, simplify printing. (Bug#18962)
3405
3406 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3407
3408 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3409 (python-shell-font-lock-with-font-lock-buffer)
3410 (python-shell-get-buffer, python-ffap-module-path):
3411 Use `derived-mode-p' instead of equality test on `major-mode'.
3412
3413 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3414
3415 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3416 python-shell-virtualenv-path.
3417 (python-shell-internal-get-process-name)
3418 (python-shell-calculate-process-environment)
3419 (python-shell-calculate-exec-path): Use it.
3420
3421 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3422
3423 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3424 bindings.el, since it is not yet loaded when bindings.el is
3425 preloaded.
3426
3427 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3428
3429 * progmodes/python.el (python-shell-completion-get-completions):
3430 Fix previous merge.
3431
3432 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3433
3434 * net/eww.el (eww-render): Don't set the title to the URL.
3435
3436 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3437
3438 * version.el (emacs-repository-get-version): Call `git log'
3439 command with proper format argument (bug#19049).
3440
3441 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3442
3443 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3444
3445 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3446
3447 * net/eww.el (eww-search-words): New command (bug#16258).
3448
3449 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3450
3451 * net/shr.el (shr-inhibit-images): Add a doc string.
3452
3453 * net/eww.el (eww-after-render-hook): New variable.
3454 (eww-render): Use it.
3455
3456 * net/shr.el (shr-descend): Don't descend further than
3457 `max-specpdl-size' allows (bug#16587).
3458 (shr-depth): New variable.
3459 (shr-warning): New variable.
3460
3461 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3462
3463 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3464 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3465
3466 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3467
3468 * net/eww.el (eww): Add comment to clarify.
3469
3470 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3471 external SVG images.
3472 (shr-tag-object): Display images in <object> forms (bug#16244).
3473 (shr-tag-table): Also insert <objects> after the tables.
3474
3475 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3476
3477 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3478
3479 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3480
3481 * net/eww.el (eww-form-file): Fix version number.
3482
3483 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3484
3485 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3486
3487 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3488
3489 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3490 (eww-submit-file): New key map of file upload.
3491 (eww-form-file): New file upload button and file name context.
3492 (eww-select-file): Select file and display selected file name.
3493 (eww-tag-input): Handle input tag of file type.
3494 (eww-update-field): Add point offset.
3495 (eww-submit): Add submit with multipart/form-data.
3496
3497 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3498
3499 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3500 Allow taking a buffer to render data in. This allows using several
3501 eww buffers (bug#16211).
3502
3503 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3504
3505 * net/eww.el (eww-download-callback): Save only the file contents,
3506 not the headers.
3507
3508 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3509
3510 * net/eww.el (eww-data): New plist to store all the data relevant
3511 to a single page, used throughout the file instead of the
3512 variables `eww-current-url', `eww-current-dom',
3513 `eww-current-source', and `eww-current-title'.
3514 (eww-readable): Copy over pertinent data from the parent page.
3515 (eww-save-history): Don't let the history grow infinitely.
3516
3517 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3518 `eww-up-url', `eww-home-url', `eww-start-url' and
3519 `eww-contents-url' and put the data into the `eww-data' plist.
3520 This allow restoring these values after going back in the history.
3521
3522 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
3523
3524 Allow VTIMEZONE where daylight and standard time zones are equal.
3525 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3526 * calendar/icalendar.el (icalendar--convert-tz-offset):
3527 Support timezone without daylight saving time.
3528
3529 2014-11-10 Glenn Morris <rgm@gnu.org>
3530
3531 * startup.el (command-line): Handle nil elements in load-path.
3532
3533 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * help.el (view-lossage): Include the actual commands run.
3536
3537 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
3538
3539 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3540 no state is specified. (Bug#18964)
3541
3542 2014-11-09 Eric Ludlam <zappo@gnu.org>
3543
3544 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3545 Set eieio-cog (current group) to g, which is an improved form of input
3546 group.
3547
3548 2014-11-09 Juri Linkov <juri@jurta.org>
3549
3550 * isearch.el (isearch-message-prefix): Show "Multi-file" and
3551 "Multi-buffer" instead of "Multi". (Bug#13592)
3552
3553 * misearch.el (multi-isearch-file-list):
3554 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3555 (multi-isearch-end): Reset multi-isearch-buffer-list and
3556 multi-isearch-file-list to nil.
3557
3558 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3561 Don't call byte-compile-preprocess since the result will go through
3562 cconv.
3563 (byte-compile-output-docform): Handle uninterned `name' correctly.
3564 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3565 to circumvent byte-compiler bug.
3566
3567 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
3568 (macroexp--compiler-macro): Remove left-over debug code.
3569
3570 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
3571
3572 2014-11-08 Juri Linkov <juri@jurta.org>
3573
3574 * simple.el (shell-command): Use buffer-name when output-buffer is
3575 a buffer. (Bug#18096)
3576
3577 2014-11-08 Juri Linkov <juri@jurta.org>
3578
3579 * minibuffer.el (minibuffer-completion-help): Compare this-command
3580 with completion-at-point. (Bug#17809)
3581
3582 2014-11-08 Glenn Morris <rgm@gnu.org>
3583
3584 * emacs-lisp/bytecomp.el (byte-compile-report-error):
3585 Allow the argument to be a string. Due to the vague doc,
3586 it was already being used this way.
3587
3588 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * net/tramp.el (tramp-check-cached-permissions): Include hop in
3591 the constructed Tramp file name. (Bug#18943)
3592
3593 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
3596 (bug#18952).
3597 (cua-set-mark, cua--post-command-handler-1):
3598 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
3599
3600 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * files.el (file-name-non-special): Wrap the call of
3603 `insert-file-contents' by `unwind-protect', in order to set the
3604 buffer's file name anyway. (Bug#18891)
3605
3606 2014-11-08 Alan Mackenzie <acm@muc.de>
3607
3608 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
3609 * progmodes/cc-fonts.el (c-font-lock-declarations):
3610 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
3611 the buffer is sometimes narrowed to less than "limit" (e.g., in
3612 the presence of macros).
3613
3614 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
3615
3616 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
3617 only when message appeared in minibuffer. (Bug#18891)
3618
3619 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
3620 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3621 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
3622 case of errors.
3623
3624 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3627 Don't compile before eval in `eval-and-compile'.
3628 (byte-compile-arglist-warn): Add check for defining macros after their
3629 first use. Check call use even if the function is fboundp.
3630
3631 2014-11-08 Richard Stallman <rms@gnu.org>
3632
3633 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3634 Check more carefully for mime-part specified character set.
3635 Check for mime-part Content Transfer Encoding.
3636 Notify if no armor found.
3637
3638 2014-11-08 Martin Rudalics <rudalics@gmx.at>
3639
3640 * faces.el (face-set-after-frame-default): Enable running
3641 `window-configuration-change-hook'.
3642
3643 2014-11-07 Juri Linkov <juri@jurta.org>
3644
3645 * replace.el: History for query replace pairs.
3646 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
3647 (query-replace-from-to-separator): New variable.
3648 (query-replace-read-from): Let-bind query-replace-from-to-history
3649 to a list of FROM-TO strings created from query-replace-defaults
3650 and separated by query-replace-from-to-separator. Use it as
3651 the history while reading from the minibuffer. Split the returned
3652 string by the separator to get FROM and TO parts, and add them
3653 to the history variables.
3654 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3655 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3656 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3657
3658 * isearch.el (isearch-text-char-description): Keep characters
3659 intact and put formatted strings with the `display' property.
3660
3661 2014-11-07 Martin Rudalics <rudalics@gmx.at>
3662
3663 * cus-start.el (frame-resize-pixelwise): Fix group.
3664 (frame-inhibit-implied-resize): Add entry.
3665
3666 2014-11-07 Daiki Ueno <ueno@gnu.org>
3667
3668 * epa.el (epa-pinentry-mode): New user option.
3669 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3670 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3671 * epa-file.el (epa-file-insert-file-contents)
3672 (epa-file-write-region): Respect epa-pinentry-mode.
3673
3674 2014-11-07 Daiki Ueno <ueno@gnu.org>
3675
3676 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3677 (bug#18979). Reported by Hideki Saito.
3678
3679 2014-11-06 Daiki Ueno <ueno@gnu.org>
3680
3681 * emacs-lisp/package.el (package--display-verify-error): New function.
3682 (package--check-signature): Use it to display output sent to stderr.
3683
3684 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * subr.el (pop): Don't call the getter twice (bug#18968).
3687
3688 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3689 uses of `funcall'.
3690
3691 2014-11-06 Daiki Ueno <ueno@gnu.org>
3692
3693 * epa.el (epa-error-buffer): New variable.
3694 (epa-display-error): New function.
3695 (epa-decrypt-file, epa-verify-file, epa-verify-region)
3696 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3697 (epa-sign-file, epa-sign-region, epa-encrypt-region)
3698 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3699 Use setf instead of epg-context-set-*.
3700 * epa-file.el (epa-file-insert-file-contents):
3701 Use epa-display-error instead of epa-display-info. Mimic the behavior
3702 of jka-compr when decryption program is not found.
3703 (epa-file-write-region): Use epa-display-error instead of
3704 epa-display-info.
3705
3706 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * vc/vc.el (vc-region-history): New command.
3709 (vc-print-log-internal): Use cl-some.
3710
3711 * vc/vc-git.el (vc-git-region-history): New function.
3712 (vc-git-region-history-mode-map)
3713 (vc-git--log-view-long-font-lock-keywords)
3714 (vc-git-region-history-font-lock-keywords): New vars.
3715 (vc-git-region-history-font-lock): New function.
3716 (vc-git-region-history-mode): New major mode.
3717
3718 2014-11-05 Tassilo Horn <tsdh@gnu.org>
3719
3720 * net/eww.el (subr-x): Require subr-x at compile-time because eww
3721 uses string-trim.
3722
3723 2014-11-05 Daiki Ueno <ueno@gnu.org>
3724
3725 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3726 (epg-error-output): New buffer-local variable.
3727 (epg--start): Initialize epg-error-output.
3728 (epg--process-filter): Record output lines sent to stderr, in
3729 epg-error-output.
3730 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3731 slot of context.
3732 * epa-file.el (epa-file-insert-file-contents): On error, display
3733 output sent to stderr.
3734 (epa-file-write-region): Likewise.
3735
3736 2014-11-05 Eli Zaretskii <eliz@gnu.org>
3737
3738 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3739 returned by load-average.
3740
3741 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
3742
3743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3744 a local copy; setting `inhibit-file-name-handlers' proper might be
3745 more performant. (Bug#18751)
3746
3747 2014-11-05 Glenn Morris <rgm@gnu.org>
3748
3749 * mail/emacsbug.el (report-emacs-bug): No longer include
3750 recent-keys in the report. (Bug#18900)
3751
3752 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
3753
3754 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3755
3756 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3757
3758 * net/eww.el (eww): Trim URL with `string-trim'.
3759 Suggested by Vibhav Pant <vibhavp@gmail.com>.
3760
3761 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3762
3763 * net/eww.el (eww-score-readability): Don't count comments positively.
3764
3765 * net/shr.el (shr-retransform-dom): Typo fix.
3766
3767 * net/eww.el (eww-score-readability): Parse SVC images correctly.
3768 (eww-display-html): Don't leave point inside forms.
3769
3770 * net/shr.el: Ditto.
3771
3772 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3775 edebug-prin1-to-string already handles circularity.
3776
3777 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3778 autoloading when specified as a lambda.
3779
3780 * simple.el (execute-extended-command--last-typed): New var.
3781 (read-extended-command): Set it.
3782 Don't complete obsolete commands.
3783 (execute-extended-command--shorter-1)
3784 (execute-extended-command--shorter): New functions.
3785 (execute-extended-command): Use them to suggest shorter names.
3786 (indicate-copied-region, deactivate-mark): Use region-active-p.
3787
3788 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3791 local copy of FILENAME, when it is remote. (Bug#18751)
3792
3793 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3794 an error when the command fails; the return code must indicate.
3795 (tramp-adb-send-command-and-check): Fix docstring.
3796
3797 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3798
3799 * net/shr.el (shr-retransform-dom): Don't ignore elements that
3800 have no children like <br />.
3801
3802 * net/eww.el (eww-display-html): Clear `url-queue'.
3803 (eww-display-pdf): New function.
3804 (eww-render): Display PDFs with `doc-view'.
3805 (url-queue): Require `url-queue' to avoid compilation warning.
3806 (eww-colorize-region): Remove duplicate function.
3807 (eww-tag-body): Use `shr-colorize-region'.
3808
3809 2014-11-03 Yoni Rabkin <yrk@gnu.org>
3810
3811 * net/eww.el (eww-list-bookmarks): Autoload.
3812
3813 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814
3815 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3816
3817 * net/eww.el (eww-display-html): The charset is called `utf-8',
3818 not `utf8'.
3819 (eww-readable): Decode the saved text correctly.
3820 (eww-readable): Save the history before displaying so that we can
3821 go back to the non-readable version.
3822 (eww-display-html): Don't try to decode the text if we've been
3823 passed in a pre-parsed DOM.
3824 (eww-tag-title): Remove newlines and extra whitespace from the
3825 displayed title.
3826
3827 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3828
3829 * net/eww.el (eww-readable): New command and keystroke.
3830
3831 * net/shr.el (shr-retransform-dom): New function.
3832
3833 * net/eww.el (eww-display-html): Set `eww-current-source' in the
3834 correct buffer.
3835 (eww-view-source): Use it.
3836
3837 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3838
3839 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3840 (Bug#18603).
3841
3842 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
3843
3844 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
3845
3846 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3847
3848 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
3849
3850 2014-11-02 Ivan Shmakov <ivan@siamics.net>
3851
3852 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3853 (Bug#18834).
3854
3855 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
3856
3857 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3858 use as advice.
3859 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
3860
3861 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3864 (bug#18821).
3865 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3866
3867 2014-11-01 Michael R. Mauger <michael@mauger.com>
3868
3869 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3870 syntax, add new keywords, and parse longer keywords first.
3871 (sql-redirect-one): Protect against empty command.
3872 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3873 to SQL. (Bug#14759)
3874
3875 2014-11-01 Michael R. Mauger <michael@mauger.com>
3876
3877 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3878 Bug#16814 with let-bind of comint-input-ring variables around read
3879 and save functions.
3880
3881 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
3882
3883 * net/tramp-cache.el (tramp-get-file-property)
3884 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3885 and `tramp-cache-set-count-*' are bound. Otherwise, there might
3886 be compiler warnings.
3887
3888 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3889 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3890
3891 2014-11-01 Eli Zaretskii <eliz@gnu.org>
3892
3893 * progmodes/compile.el (compilation-mode): Turn off deferred
3894 fontifications locally. (Bug#18856)
3895
3896 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
3897
3898 * net/tramp-sh.el (tramp-send-command): Fix the case where the
3899 remote-echo connection property is non-nil (bug#18858).
3900
3901 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * simple.el (newline): Add assertions to try and help catch bug#18913.
3904
3905 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3906 (bug#18886).
3907 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3908
3909 2014-11-01 Kim F. Storm <storm@cua.dk>
3910
3911 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3912 * delsel.el (delete-selection-save-to-register)
3913 (delsel--replace-text-or-position): New vars.
3914 (delete-active-region): Use them.
3915 (delete-selection-repeat-replace-region): New command, moved from
3916 cua-base.el.
3917 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3918 (cua-repeat-replace-region): Move command to delsel.el.
3919 (cua--init-keymaps): Update binding accordingly.
3920 (cua-mode): Set delete-selection-save-to-register.
3921
3922 2014-11-01 Alan Mackenzie <acm@muc.de>
3923
3924 Make blink-parens work with a closing template delimiter.
3925 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3926 before calling blink-paren-function, so as to apply syntax-table
3927 properties to the ">".
3928
3929 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
3930
3931 * select.el (gui-get-selection): Comment: data-type ignored on NS.
3932
3933 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3936 (macroexp--expand-all): Unrelated tweaks.
3937
3938 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3939
3940 2014-10-30 Glenn Morris <rgm@gnu.org>
3941
3942 * startup.el (command-line): Remove pointless attempt to avoid
3943 statting the file-system (which expand-file-name doesn't do).
3944
3945 2014-10-30 Daniel Colascione <dancol@dancol.org>
3946
3947 Add "enum class" support to C++ mode.
3948 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3949 (c-after-brace-list-key): New language consts/variables.
3950 * progmodes/cc-engine.el (c-looking-at-decl-block):
3951 Exclude spurious match of "enum struct" from decl-block recognition.
3952 (c-backward-colon-prefixed-type): New function.
3953 (c-backward-over-enum-header): Call above function to extend
3954 recognition of enum structure.
3955
3956 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3959 (c-lang-defconst):
3960 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3961
3962 2014-10-30 Eli Zaretskii <eliz@gnu.org>
3963
3964 * progmodes/compile.el (compilation-start):
3965 If compilation-scroll-output is non-nil, don't force window-start of
3966 the compilation buffer to be at beginning of buffer. (Bug#18874)
3967
3968 * startup.el (fancy-about-text): Read the entire tutorial, not
3969 just its first 256 bytes. (Bug#18760)
3970
3971 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
3974 * emacs-lisp/cl-extra.el: Add missing provide.
3975
3976 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
3977 all args are copyable (bug#18767).
3978 (=, <, >, <=, >=): Re-enable the optimization.
3979
3980 2014-10-29 Glenn Morris <rgm@gnu.org>
3981
3982 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
3983
3984 * version.el (emacs-bzr-version, emacs-bzr-get-version):
3985 Revert 2014-10-26 change.
3986
3987 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
3988
3989 Simplify use of current-time and friends.
3990 * allout-widgets.el (allout-widgets-hook-error-handler):
3991 * calendar/appt.el (appt-display-message):
3992 * calendar/icalendar.el (icalendar--convert-float-to-ical):
3993 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
3994 (timeclock-last-period, timeclock-day-base):
3995 * eshell/em-ls.el (eshell-ls-file):
3996 * eshell/esh-util.el (eshell-parse-ange-ls):
3997 * generic-x.el (named-database-print-serial):
3998 * net/newst-backend.el (newsticker--get-news-by-url-callback)
3999 (newsticker-get-news, newsticker--sentinel-work)
4000 (newsticker--image-get, newsticker--image-sentinel):
4001 * net/tramp-sh.el (tramp-get-remote-touch):
4002 * progmodes/opascal.el (opascal-debug-log):
4003 * textmodes/remember.el (remember-mail-date)
4004 (remember-store-in-files):
4005 * vc/vc-annotate.el (vc-annotate-display-autoscale)
4006 (vc-default-annotate-current-time):
4007 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
4008 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
4009 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
4010 Omit unnecessary call to current-time.
4011 * calendar/time-date.el (time-to-seconds) [!float-time]:
4012 * vc/vc-annotate.el (vc-annotate-convert-time):
4013 Use current time if arg is nil, to be compatible with float-time.
4014 (time-date--day-in-year): New function, with most of the guts of
4015 the old time-to-day-in-year.
4016 (time-to-day-in-year): Use it.
4017 (time-to-days): Use it, to avoid decoding the same time stamp twice.
4018 * calendar/timeclock.el (timeclock-time-to-date):
4019 Arg is now optional, like current-time-string.
4020 (timeclock-update-mode-line):
4021 Don't call current-time twice to get the current time stamp,
4022 as this can lead to inconsistent results.
4023 * completion.el (cmpl-hours-since-origin):
4024 * ido.el (ido-time-stamp):
4025 * vc/vc-annotate.el (vc-annotate-convert-time):
4026 Simplify by using float-time.
4027 * completion.el (save-completions-to-file):
4028 Rename local var to avoid confusion.
4029 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
4030 time-to-seconds now behaves like float-time with respect to nil arg.
4031 * subr.el (progress-reporter-do-update):
4032 Don't call float-time unless needed.
4033
4034 2014-10-29 Leo Liu <sdl.web@gmail.com>
4035
4036 * net/rcirc.el (rcirc-fill-column): Use function.
4037 (rcirc-markup-fill): Remove adjustment.
4038
4039 2014-10-28 Christopher Schmidt <ch@ristopher.com>
4040
4041 * calc/calc.el (quick-calc):
4042 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
4043
4044 2014-10-28 Sam Steingold <sds@gnu.org>
4045
4046 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
4047 the sake of `window-body-width' (in addition to `frame-width').
4048
4049 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
4050
4051 * version.el: Fix some fallback values to conform to the actual
4052 release number.
4053
4054 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
4055
4056 * Makefile.in: Change some production names so they're neutral
4057 about the repository type.
4058
4059 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
4062 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
4063 during initialization. (Bug#18774)
4064
4065 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
4066
4067 * ses.el (macroexp): Add require for this package, so that
4068 function `ses--cell' gets macroexp-quote --- this change was
4069 supposed to be in my previous commit, but left out by mistake.
4070 (ses--cell): Do not make formula a macroexp-quote of value when
4071 value, not formula, is *skip*.
4072
4073 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4074
4075 * ses.el (macroexp): Add require for this package, so that function
4076 `ses--cell gets macroexp-quote.
4077 (ses--cell): Makes formula a macroexp-quote of value when formula
4078 is nil. The rationale of this changr is to allow in the future
4079 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
4080 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
4081 reference list REFLIST would be re-computed after load --- thus
4082 trading off load time against file size.
4083
4084 * emacs-lisp/package.el (package--alist-to-plist-args):
4085 Use macroexp-quote instead of a lambda expression which has the same
4086 content as macroexp-quote.
4087 (macroexp): Add require for this package, so that function
4088 `package--alist-to-plist-args' gets macroexp-quote.
4089
4090 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
4091
4092 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * term/ns-win.el (ns-store-cut-buffer-internal)
4095 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
4096
4097 2014-10-24 Martin Rudalics <rudalics@gmx.at>
4098
4099 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
4100 Calculate increment from last position instead of window edge.
4101 Add right- and bottom-divider bindings to transient map.
4102
4103 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
4106 even if :predicate was nil, for the benefit of typep.
4107 Record the name of the predicate for typep's use.
4108 (cl--make-type-test): Use pcase. Obey new
4109 cl-deftype-satisfies property.
4110
4111 * epg.el: Use cl-defstruct.
4112 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
4113 (epg-data-string): Define via cl-defstruct.
4114 (epg--gv-nreverse): New macro.
4115 (epg-context--make): New constructor (provided vi cl-defstruct).
4116 (epg-make-context): Rewrite using it.
4117 (epg-context-protocol, epg-context-program)
4118 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
4119 (epg-context-include-certs, epg-context-cipher-algorithm)
4120 (epg-context-digest-algorithm, epg-context-compress-algorithm)
4121 (epg-context-passphrase-callback, epg-context-progress-callback)
4122 (epg-context-signers, epg-context-sig-notations, epg-context-process)
4123 (epg-context-output-file, epg-context-result, epg-context-operation)
4124 (epg-context-pinentry-mode): Define using cl-defstruct.
4125 (epg-context-set-protocol, epg-context-set-program)
4126 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
4127 (epg-context-set-digest-algorithm)
4128 (epg-context-set-sig-notations, epg-context-set-process)
4129 (epg-context-set-output-file, epg-context-set-result)
4130 (epg-context-set-operation, epg-context-set-pinentry-mode)
4131 (epg-context-set-compress-algorithm): Remove. Use setf instead.
4132 (epg-context-set-armor, epg-context-set-textmode)
4133 (epg-context-set-signers): Redefine using setf
4134 and declare as obsolete.
4135 (epg-context-set-passphrase-callback)
4136 (epg-context-set-progress-callback): Use setf.
4137 (epg-signature-notations): Rename from epg-sig-notations.
4138 (epg-make-signature, epg-signature-status, epg-signature-key-id)
4139 (epg-signature-validity, epg-signature-fingerprint)
4140 (epg-signature-creation-time, epg-signature-expiration-time)
4141 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
4142 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
4143 (epg-signature-set-status, epg-signature-set-key-id)
4144 (epg-signature-set-validity, epg-signature-set-fingerprint)
4145 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
4146 (epg-signature-set-pubkey-algorithm)
4147 (epg-signature-set-digest-algorithm, epg-signature-set-class)
4148 (epg-signature-set-version, epg-signature-set-notations): Remove.
4149 Use setf instead.
4150 (epg-make-new-signature, epg-new-signature-type)
4151 (epg-new-signature-pubkey-algorithm)
4152 (epg-new-signature-digest-algorithm, epg-new-signature-class)
4153 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
4154 Define using cl-defstruct.
4155 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
4156 (epg-key-user-id-list): Define using cl-defstruct.
4157 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
4158 Use setf instead.
4159 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
4160 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
4161 (epg-sub-key-id, epg-sub-key-creation-time)
4162 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
4163 cl-defstruct.
4164 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
4165 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
4166 (epg-user-id-signature-list): Define using cl-defstruct.
4167 (epg-user-id-set-signature-list): Remove. Use setf instead.
4168 (epg-make-key-signature, epg-key-signature-validity)
4169 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
4170 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
4171 (epg-key-signature-user-id, epg-key-signature-class)
4172 (epg-key-signature-exportable-p): Define using cl-defstruct.
4173 (epg-make-sig-notation, epg-sig-notation-name)
4174 (epg-sig-notation-value, epg-sig-notation-human-readable)
4175 (epg-sig-notation-critical): Define using cl-defstruct.
4176 (epg-sig-notation-set-value): Remove. Use setf instead.
4177 (epg-make-import-status, epg-import-status-fingerprint)
4178 (epg-import-status-reason, epg-import-status-new)
4179 (epg-import-status-user-id, epg-import-status-signature)
4180 (epg-import-status-sub-key, epg-import-status-secret): Define using
4181 cl-defstruct.
4182 (epg-make-import-result, epg-import-result-considered)
4183 (epg-import-result-no-user-id, epg-import-result-imported)
4184 (epg-import-result-imported-rsa, epg-import-result-unchanged)
4185 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
4186 (epg-import-result-new-signatures, epg-import-result-new-revocations)
4187 (epg-import-result-secret-read, epg-import-result-secret-imported)
4188 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
4189 (epg-import-result-imports): Define using cl-defstruct.
4190
4191 * emacs-lisp/package.el: Require EPG during macroexpansion.
4192 (package--check-signature, package-import-keyring): Use setf instead of
4193 epg-context-set-home-directory.
4194
4195 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
4198
4199 2014-10-23 Leo Liu <sdl.web@gmail.com>
4200
4201 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
4202 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
4203 (cfengine3-current-defun): New function.
4204 (cfengine3-mode): Set add-log-current-defun-function.
4205
4206 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * select.el: Use lexical-binding.
4209 (gui-set-selection): Provide an implementation for non-GUI frames
4210 (bug#18791).
4211 * term/x-win.el: Use lexical-binding.
4212 (x-clipboard-yank): Fix up missed renamings.
4213 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
4214 (w32--set-selection): Fix up var names.
4215 * term/pc-win.el: Use lexical-binding.
4216 (w16-selection-exists-p): Silence compiler warning.
4217 (w16-selection-owner-p): Fix up missed renamings.
4218
4219 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
4220
4221 * frame.el (frame-notice-user-settings): Fix excessive quoting.
4222
4223 2014-10-22 Tassilo Horn <tsdh@gnu.org>
4224
4225 * doc-view.el (doc-view-open-text): View the document's plain text
4226 in the current buffer instead of a new one.
4227 (doc-view-toggle-display): Handle the case where the current
4228 buffer contains the plain text contents of the document.
4229 (doc-view-initiate-display): Don't switch to fallback mode if the
4230 user wants to view the doc's plain text.
4231 (doc-view-set-doc-type): Use assoc-string instead of
4232 assoc-ignore-case.
4233
4234 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * subr.el (read-key): Fix clicks on the mode-line.
4237 (set-transient-map): Return exit function.
4238
4239 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4240 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4241 (mouse-yank-secondary): Use gui-get-selection.
4242 (mouse--down-1-maybe-follows-link): Use read-key.
4243
4244 * xt-mouse.el: Add `event-kind' property on the fly from
4245 xterm-mouse-translate-1 rather than statically at the outset.
4246
4247 2014-10-21 Daniel Colascione <dancol@dancol.org>
4248
4249 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4250 change window configuration when we turn it off.
4251
4252 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 Get rid of backend-dependent selection-handling functions for kill/yank
4255 and make it generic instead by relying on the lower-level selection
4256 management functions.
4257
4258 * select.el (select-enable-clipboard): Rename from
4259 gui-select-enable-clipboard.
4260 (select-enable-primary): Move from x-win.el and rename from
4261 x-select-enable-primary.
4262 (gui-last-selected-text): Remove.
4263 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4264 New vars.
4265 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4266 (gui-select-text-alist, gui-selection-value-alist): Remove.
4267 (x-select-request-type): Move from x-win.el.
4268 (gui--selection-value-internal): New function, taken from x-win's
4269 x-selection-value-internal.
4270 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4271 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4272 extend it to handle a nil value as a "disown" request.
4273 (gui-disown-selection-alist): Remove.
4274 (xselect-convert-to-delete): Adjust accordingly.
4275 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4276
4277 * term/x-win.el (x-last-selected-text-primary)
4278 (x-select-enable-primary): Remove (moved to select.el).
4279 (x-select-request-type): Move to select.el.
4280 (x-selection-value-internal, x--selection-value): Remove functions.
4281 (gui-selection-value, gui-select-text): Remove moethods.
4282 (gui-set-selection): Merge own and disown methods.
4283
4284 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4285 Delete function (move functionality into w32--set-selection and
4286 w32--get-selection).
4287 (gui-select-text, gui-selection-value): Don't define methods.
4288 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4289 New functions.
4290 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4291 Use them.
4292 (gui-selection-exists-p): Adjust to new name of C primitive.
4293
4294 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4295 test of gui-select-enable-clipboard, to make it usable as
4296 a gui-get-selection method.
4297 (gui-selection-exists-p): Adjust to new name of C primitive.
4298 (gui-set-selection): Merge own and disown methods.
4299 (gui-select-text, gui-selection-value): Delete methods.
4300 (w16--select-text): Delete function.
4301
4302 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4303 (ns-selection-value): Remove functions.
4304 (gui-select-text, gui-selection-value): Don't define method any more.
4305 (gui-set-selection): Merge the old own and disown methods.
4306 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4307 underlying C primitive.
4308
4309 * startup.el (command-line): Adjust now that `gui-method' expects nil
4310 for ttys.
4311
4312 * frame.el (gui-method): Use window-system rather than framep.
4313 (gui-method-declare): The tty case is now nil rather than t.
4314 (make-frame): Adjust accordingly.
4315
4316 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * net/newst-reader.el (newsticker--image-read): Simplify.
4319 (newsticker--icon-read): Use dolist and fix free var error.
4320
4321 * imenu.el (imenu--menubar-keymap): New var.
4322 (imenu-add-to-menubar): Set it to remember the keymap we used.
4323 (imenu-update-menubar): Use it instead of asking lookup-key.
4324
4325 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4326
4327 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4328
4329 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4330 case (bug#18767).
4331
4332 2014-10-21 Glenn Morris <rgm@gnu.org>
4333
4334 * Merge in all changes up to version 24.4 release.
4335
4336 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4339 case (bug#18767).
4340
4341 2014-10-20 Glenn Morris <rgm@gnu.org>
4342
4343 * Merge in all changes up to 24.4 release.
4344
4345 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4346
4347 * net/newst-backend.el
4348 (newsticker--image-download-by-url-callback): Make this function
4349 actually work: Check status properly, then save image.
4350
4351 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4354 `this-event'.
4355 (mouse-drag-line): Unless there's no actual mouse, use the event's
4356 position info.
4357
4358 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * textmodes/css-mode.el (scss-mode): New major-mode.
4361 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4362 (css-ident-re): Allow things like @-moz-keyframes.
4363 (scss--hash-re): New const.
4364 (css--font-lock-keywords): New function, extracted from
4365 css-font-lock-keywords.
4366
4367 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4368
4369 * net/newst-backend.el: Require url-parse.
4370 (newsticker--get-news-by-wget): Store feed name as process property.
4371 (newsticker--sentinel): Read feed name from process property.
4372 (newsticker--sentinel-work): Rename argument name to feed-name.
4373 Rename variable imageurl to image-url. Pick icon url from Atom
4374 1.0 data. Launch download of feed icon.
4375 (newsticker--get-icon-url-atom-1.0): New.
4376 (newsticker--unxml)
4377 (newsticker--unxml-node)
4378 (newsticker--unxml-attribute): Documentation.
4379 (newsticker--icons-dir): New.
4380 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4381 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4382 (newsticker--image-download-by-wget): New. Use process properties
4383 for storing informations.
4384 (newsticker--image-sentinel): Read informations from process properties.
4385 (newsticker--image-save)
4386 (newsticker--image-remove)
4387 (newsticker--image-download-by-url)
4388 (newsticker--image-download-by-url-callback): New.
4389 (newsticker-opml-export): Handle url list entries containing a
4390 function instead of an url string.
4391
4392 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4393 (newsticker--print-extra-elements)
4394 (newsticker--do-print-extra-element):
4395 Documentation (newsticker--image-read): Optionally limit image height.
4396 Use imagemagick if possible.
4397 (newsticker--icon-read): New.
4398
4399 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4400 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4401 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4402 (newsticker--tree-widget-leaf-icon): Use feed icon.
4403
4404 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4407 Use help-function-arglist instead.
4408
4409 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4410 (eieio--with-scoped-class): Use `declare'.
4411 (eieio-defclass): Remove compatibility code.
4412 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4413 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4414
4415 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4416
4417 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4418
4419 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4420 replacements to stock names before stock names in a list.
4421 Cdr may be a list, each name is tried in turn until one is found.
4422
4423 2014-10-18 Alan Mackenzie <acm@muc.de>
4424
4425 Check that a "macro" found near point-min isn't a ## operator.
4426 Fixes bug #18749.
4427 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4428 (c-beginning-of-macro): Use the above new function.
4429
4430 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4431
4432 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4433 correct data to `gnutls-boot' (Bug#18664).
4434 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4435
4436 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4437
4438 * whitespace.el (whitespace-style, whitespace-big-indent)
4439 (whitespace-big-indent-regexp, whitespace-style-value-list)
4440 (whitespace-toggle-option-alist, whitespace-interactive-char)
4441 (whitespace-toggle-options)
4442 (global-whitespace-toggle-options, whitespace-help-text)
4443 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4444 style to `whitespace-mode' to indicate that the line indentation
4445 is too deep. By default, 32 SPACEs or four TABs are considered
4446 too many but `whitespace-big-indent-regexp' can be configured.
4447
4448 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4449
4450 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4451 tildify-mode-alist.
4452
4453 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4456 (defclass, defgeneric, defmethod): Add doc-string position.
4457 (with-slots): Require cl-lib.
4458
4459 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4460 (list-of): New type.
4461 (eieio--typep): Remove.
4462 (eieio-perform-slot-validation): Use cl-typep instead.
4463
4464 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4465
4466 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4467
4468 2014-10-16 Alan Mackenzie <acm@muc.de>
4469
4470 Trigger showing when point is in the "periphery" of a line or just
4471 inside a paren.
4472 * paren.el (show-paren-style, show-paren-delay)
4473 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4474 Remove superfluous :group specifications.
4475 (show-paren-when-point-inside-paren)
4476 (show-paren-when-point-in-periphery): New customizable variables.
4477 (show-paren-highlight-openparen): Make into a defcustom.
4478 (show-paren--unescaped-p, show-paren--categorize-paren)
4479 (show-paren--locate-near-paren): New defuns.
4480 (show-paren--default): Refaactor and trigger on more paren
4481 positions.
4482 (show-paren-function): Small consequential changes.
4483
4484 2014-10-16 Tom Tromey <tom@tromey.com>
4485
4486 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4487 (bug #18719).
4488
4489 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4490
4491 * international/characters.el (bracket-type): Force pre-loading of
4492 uni-brackets.el.
4493
4494 2014-10-16 Alan Mackenzie <acm@muc.de>
4495
4496 * cus-edit.el (custom-command-apply): Specify the return value in
4497 the doc string.
4498 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4499 custom-command-apply has returned non-nil.
4500
4501 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4504 Remove incorrect handling of eldoc-print-after-edit.
4505 (eldoc-message-commands, eldoc-last-data): Use defvar.
4506 * loadup.el (emacs-lisp/eldoc): Load it.
4507
4508 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4509 (m4-mode): Use it.
4510 (m4--quoted-p): New function.
4511 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4512 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4513 for most special characters.
4514
4515 * progmodes/compile.el (compilation--previous-directory): Simplify.
4516 (compilation-next-error): Ensure the parse before we look at
4517 compilation-message property.
4518
4519 2014-10-15 Eli Zaretskii <eliz@gnu.org>
4520
4521 * simple.el (what-cursor-position):
4522 * descr-text.el (describe-char): Update to support the new bidi
4523 characters.
4524
4525 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4526 Force bidi-paragraph-direction to 'left-to-right'. This fixes
4527 buffer-menu display when the first buffer happens to start with
4528 R2L letter.
4529
4530 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * progmodes/elisp-mode.el (elisp--local-variables-1):
4533 Handle quoted expressions (bug#18688).
4534
4535 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
4536 Michael Albinus <michael.albinus@gmx.de>
4537
4538 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4539 Reduce the amount of set environment variable commands.
4540
4541 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4542
4543 Fix import completion. (Bug#18582)
4544 * progmodes/python.el (python-shell-completion-get-completions):
4545 Fix import case regexp.
4546
4547 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4550 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
4551 * progmodes/prolog.el (prolog-electric--underscore): Same.
4552
4553 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
4554
4555 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4556
4557 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4558
4559 * cus-start.el (all): Add missing ns and boolean to
4560 ns-use-fullscreen-animation.
4561
4562 2014-10-11 Leo Liu <sdl.web@gmail.com>
4563
4564 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4565 Use strings.
4566 (cfengine3-create-imenu-index): New function.
4567 (cfengine3-mode): Use it for `imenu-create-index-function'.
4568 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
4569 buffer is empty.
4570
4571 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4572
4573 * cus-start.el (all): Add ns-use-fullscreen-animation.
4574
4575 2014-10-11 Glenn Morris <rgm@gnu.org>
4576
4577 * calendar/diary-lib.el (diary-display-function):
4578 Drop support for deprecated nil and list forms.
4579 (diary-list-entries): Update for the above.
4580 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
4581
4582 2014-10-10 Leo Liu <sdl.web@gmail.com>
4583
4584 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
4585 (Bug#18656)
4586
4587 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * select.el (gui-selection-exists-p-alist): New method.
4590 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
4591 * simple.el (deactivate-mark): Use it.
4592 * term/x-win.el (gui-selection-exists-p):
4593 * term/w32-win.el (gui-selection-exists-p):
4594 * term/pc-win.el (gui-selection-exists-p):
4595 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
4596
4597 2014-10-10 Glenn Morris <rgm@gnu.org>
4598
4599 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
4600 Fix :type. Allow t to mean no limit.
4601 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
4602
4603 2014-10-09 Glenn Morris <rgm@gnu.org>
4604
4605 * frame.el (display-monitor-attributes-list): Doc tweaks.
4606
4607 2014-10-09 Eli Zaretskii <eliz@gnu.org>
4608
4609 * faces.el (display-grayscale-p): Mention in the doc string that
4610 the argument can be either a display name or a frame.
4611
4612 * frame.el (display-pixel-height, display-pixel-width)
4613 (display-mm-height, display-mm-width, display-backing-store)
4614 (display-save-under, display-planes, display-color-cells)
4615 (display-visual-class, display-monitor-attributes-list)
4616 (display-screens): Mention in the doc string that the argument can
4617 be either a display name or a frame. Improve the docs of the
4618 monitor attributes. (Bug#18636)
4619
4620 2014-10-09 Martin Rudalics <rudalics@gmx.at>
4621
4622 * term.el (term-window-width): Subtract 1 from the width when
4623 any fringe has zero width, not just the right fringe. (Bug#18601)
4624
4625 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4628
4629 2014-10-08 Leo Liu <sdl.web@gmail.com>
4630
4631 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4632
4633 2014-10-08 Glenn Morris <rgm@gnu.org>
4634
4635 * calendar/cal-x.el (calendar-dedicate-diary):
4636 Drop support for recently deleted aliases.
4637
4638 2014-10-08 Leo Liu <sdl.web@gmail.com>
4639
4640 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4641 Always return a syntax. Replace call-process-shell-command with
4642 process-file. Ensure cfengine-mode-syntax-functions-regex is
4643 always set. Ensure cache when cfengine-cf-promises fails.
4644 (Bug#18620)
4645
4646 2014-10-07 Glenn Morris <rgm@gnu.org>
4647
4648 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4649
4650 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
4651
4652 Sync with upstream verilog-mode revision c075a492.
4653 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4654 (verilog-menu): Add AUTOINSERTLAST.
4655 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4656 is nil, fix indenting initial/final to match always statements, bug825.
4657 Reported by Tim Clapp.
4658 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4659 bug557. Reported by ZeDong Mao and Jason Forkey.
4660 (verilog-read-decls): Fix parsing typed interfaces.
4661 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
4662 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4663 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4664 Reported by Pierre-David Pfister.
4665 (verilog-auto-insert-lisp): Doc fix.
4666 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4667 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
4668 (verilog-sk-ovm-class, verilog-sk-uvm-object)
4669 (verilog-sk-uvm-component): Fix missing string keyword in class
4670 skeletons, bug824. Reported by eldad faruhi.
4671
4672 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * term/w32-win.el: Move all code from 32-common-fns.el here.
4675 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4676 console as well (bug#18629).
4677 * w32-common-fns.el: Remove.
4678 * loadup.el: Don't load w32-common-fns.el.
4679 * w32-fns.elc: Don't require w32-common-fns.
4680
4681 * icomplete.el: Move Iswitchb autoload here. Much simpler.
4682 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4683 Remove redundant obsolescence thingy.
4684 * loadup.el: Don't load obsolete/loaddefs.el.
4685 * Makefile.in (obsolete-autoloads): Remove.
4686 (AUTOGENEL): Remove obsolete/loaddefs.el.
4687
4688 2014-10-06 Glenn Morris <rgm@gnu.org>
4689
4690 * Makefile.in (obsolete-autoloads): Write to a separate file,
4691 to workaround autoloads bug. (Bug#17407)
4692 (AUTOGENEL): Add obsolete/loaddefs.el.
4693 * loadup.el: Load obsolete/loaddefs.el if present.
4694 * subr.el (do-after-load-evaluation):
4695 Don't warn about obsolete/loaddefs.el.
4696
4697 * menu-bar.el (menu-bar-games-menu): Remove landmark.
4698 It has zero relationship to a game.
4699
4700 2014-10-06 Leo Liu <sdl.web@gmail.com>
4701
4702 * imenu.el (imenu): Re-write for clarity.
4703
4704 2014-10-06 Glenn Morris <rgm@gnu.org>
4705
4706 Remove calendar code obsolete since at least version 23.1.
4707 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4708 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4709 (calendar-goto-bahai-date, list-bahai-diary-entries)
4710 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4711 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4712 (insert-yearly-bahai-diary-entry):
4713 * calendar/cal-china.el (chinese-calendar-time-zone)
4714 (chinese-calendar-location-name)
4715 (chinese-calendar-daylight-time-offset)
4716 (chinese-calendar-standard-time-zone-name)
4717 (chinese-calendar-daylight-time-zone-name)
4718 (chinese-calendar-daylight-savings-starts)
4719 (chinese-calendar-daylight-savings-ends)
4720 (chinese-calendar-daylight-savings-starts-time)
4721 (chinese-calendar-daylight-savings-ends-time)
4722 (chinese-calendar-celestial-stem)
4723 (chinese-calendar-terrestrial-branch)
4724 (calendar-absolute-from-chinese, calendar-print-chinese-date)
4725 (calendar-goto-chinese-date):
4726 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4727 (calendar-print-coptic-date, coptic-prompt-for-date)
4728 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4729 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4730 * calendar/cal-french.el (calendar-absolute-from-french)
4731 (calendar-print-french-date, calendar-goto-french-date):
4732 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4733 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4734 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4735 (holiday-rosh-hashanah-etc, holiday-hanukkah)
4736 (holiday-passover-etc, holiday-tisha-b-av-etc)
4737 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4738 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4739 (insert-monthly-hebrew-diary-entry)
4740 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4741 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4742 (diary-sabbath-candles):
4743 * calendar/cal-islam.el (calendar-absolute-from-islamic)
4744 (calendar-print-islamic-date, calendar-goto-islamic-date)
4745 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4746 (mark-islamic-diary-entries, insert-islamic-diary-entry)
4747 (insert-monthly-islamic-diary-entry)
4748 (insert-yearly-islamic-diary-entry):
4749 * calendar/cal-iso.el (calendar-absolute-from-iso)
4750 (calendar-print-iso-date, calendar-iso-read-args)
4751 (calendar-goto-iso-date, calendar-goto-iso-week):
4752 * calendar/cal-julian.el (calendar-absolute-from-julian)
4753 (calendar-print-julian-date, calendar-goto-julian-date)
4754 (calendar-absolute-from-astro, calendar-print-astro-day-number)
4755 (calendar-goto-astro-day-number):
4756 * calendar/cal-mayan.el (calendar-print-mayan-date)
4757 (calendar-next-haab-date, calendar-previous-haab-date)
4758 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4759 (calendar-next-calendar-round-date)
4760 (calendar-previous-calendar-round-date)
4761 (calendar-absolute-from-mayan-long-count)
4762 (calendar-goto-mayan-long-count-date):
4763 * calendar/cal-move.el (scroll-calendar-left)
4764 (scroll-calendar-right, scroll-calendar-left-three-months)
4765 (scroll-calendar-right-three-months):
4766 * calendar/cal-persia.el (calendar-absolute-from-persian)
4767 (calendar-print-persian-date, persian-prompt-for-date)
4768 (calendar-goto-persian-date):
4769 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4770 * calendar/calendar.el (view-diary-entries-initially)
4771 (mark-diary-entries-in-calendar, calendar-today-face)
4772 (diary-face, holiday-face, view-calendar-holidays-initially)
4773 (mark-holidays-in-calendar, initial-calendar-window-hook)
4774 (today-visible-calendar-hook, today-invisible-calendar-hook)
4775 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4776 (bahai-diary-entry-symbol, american-date-diary-pattern)
4777 (european-date-diary-pattern, european-calendar-display-form)
4778 (american-calendar-display-form, holidays-in-diary-buffer)
4779 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4780 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4781 (fancy-diary-buffer, increment-calendar-month)
4782 (extract-calendar-month, extract-calendar-day)
4783 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4784 (mark-visible-calendar-date, calendar-version):
4785 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4786 (diary-display-hook, list-diary-entries-hook)
4787 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4788 (nongregorian-diary-marking-hook, print-diary-entries-hook)
4789 (abbreviated-calendar-year, number-of-diary-entries)
4790 (view-other-diary-entries, add-to-diary-list)
4791 (include-other-diary-files, simple-diary-display)
4792 (fancy-diary-display, print-diary-entries, mark-diary-entries)
4793 (mark-sexp-diary-entries, mark-included-diary-files)
4794 (mark-calendar-days-named, mark-calendar-month)
4795 (mark-calendar-date-pattern, sort-diary-entries)
4796 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4797 (insert-weekly-diary-entry, insert-monthly-diary-entry)
4798 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4799 (insert-block-diary-entry, insert-cyclic-diary-entry)
4800 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4801 * calendar/holidays.el (general-holidays, oriental-holidays)
4802 (local-holidays, other-holidays, hebrew-holidays)
4803 (christian-holidays, islamic-holidays, bahai-holidays)
4804 (solar-holidays, list-calendar-holidays)
4805 (check-calendar-holidays, mark-calendar-holidays)
4806 (filter-visible-calendar-holidays):
4807 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4808 (diary-phases-of-moon): Remove obsolete aliases.
4809 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4810 * calendar/cal-x.el (calendar-one-frame-setup)
4811 (calendar-only-one-frame-setup, calendar-two-frame-setup):
4812 Remove obsolete functions.
4813 (cal-x-load-hook): Remove obsolete hook.
4814 * calendar/calendar.el (european-calendar-style):
4815 Remove obsolete variable.
4816 (calendar-date-style): No longer consult european-calendar-style.
4817 * calendar/calendar.el (european-calendar, american-calendar):
4818 Remove obsolete commands.
4819 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4820 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4821 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4822 Use the face `diary' instead of the variable `diary-face'.
4823 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4824 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4825 * calendar/icalendar.el (icalendar--date-style): Remove function.
4826 Replace all uses with calendar-date-style.
4827 * textmodes/remember.el (calendar-date-style): Declare.
4828 (remember-diary-convert-entry):
4829 No longer consult european-calendar-style.
4830
4831 2014-10-05 Leo Liu <sdl.web@gmail.com>
4832
4833 * imenu.el (imenu-default-goto-function): Fix typo.
4834
4835 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4836
4837 * net/ntlm.el (ntlm-build-auth-request):
4838 Add NTLM2 Session support. (Bug#15603)
4839
4840 2014-10-04 Glenn Morris <rgm@gnu.org>
4841
4842 * apropos.el (apropos-symbols-internal):
4843 Avoid error with non-symbol properties. (Bug#18337#16)
4844
4845 * startup.el (command-line):
4846 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
4847
4848 2014-10-04 Martin Rudalics <rudalics@gmx.at>
4849
4850 * window.el (window-full-height-p): Make it behave correctly for
4851 minibuffer window.
4852 (window-current-scroll-bars): Fix code.
4853 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4854 window-scroll-bars.
4855 * frame.el (frame-current-scroll-bars): Fix doc-string.
4856 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4857
4858 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4859
4860 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
4861
4862 2014-10-04 Glenn Morris <rgm@gnu.org>
4863
4864 * frame.el (frame-monitor-attributes)
4865 (display-monitor-attributes-list): Doc fixes.
4866
4867 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 Merge trivially safe differences from standalone CC-mode.
4870 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4871 just to then pass it to `symbol-value'.
4872 (prog-mode): Provide fallback definition, if needed.
4873 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
4874 Remove "cl-" prefix accordingly.
4875 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4876 characterp depending on the type of characters.
4877 (c-font-lock-enum-tail): Remove unused var `start'.
4878 * progmodes/cc-engine.el: Load CL at compile-time.
4879 (c-declare-lang-variables): Use mapcan.
4880 (c-append-to-state-cache): Remove unused var `ce+1'.
4881 (c-parse-state-state): Make buffer-local.
4882 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4883 (c-just-after-func-arglist-p): Remove unused var `end'.
4884 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4885 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4886 (c-make-keywords-re): Use delete-dups.
4887 (c-get-current-file): Avoid file-name-base.
4888 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4889 `close-paren-inserted'.
4890 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4891
4892 * progmodes/python.el: Avoid building unneeded markers.
4893 (python-font-lock-keywords, python-indent-dedent-line)
4894 (python-fill-paren, python-shell-completion-complete-or-indent):
4895 Prefer point over point-marker.
4896 (inferior-python-mode): Remove redundant completion settings.
4897
4898 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4901 (vc-svn-ignore): Use it. (Bug#18619)
4902
4903 2014-10-03 Martin Rudalics <rudalics@gmx.at>
4904
4905 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4906 In doc-string mention need to set `frame-resize-pixelwise'.
4907
4908 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4911 similarly to Rogers's 2010-06-16 change for the remote case
4912 (bug#18605).
4913
4914 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 New gui-selection-value consolidating x-selection-value.
4917 * select.el (gui-selection-value-alist): New method.
4918 (gui-selection-value): New function.
4919 (x-selection-value): Make it an obsolete alias.
4920 * simple.el (interprogram-paste-function): Default to
4921 gui-selection-value.
4922 * w32-common-fns.el (w32-get-selection-value): Simplify.
4923 (x-selection-value): Remove alias.
4924 (interprogram-paste-function): Don't set.
4925 (gui-selection-value): Define for w32.
4926 * term/x-win.el (gui-selection-value): Define for x.
4927 (x--selection-value): Rename from x--selection-value.
4928 (interprogram-paste-function): Don't set.
4929 * term/pc-win.el (w16-get-selection-value): Simplify.
4930 (msdos-initialize-window-system): Don't set
4931 interprogram-paste-function.
4932 (gui-selection-value): Define for pc.
4933 * term/ns-win.el (x-selection-value): Remove.
4934 (gui-selection-value): Define for ns, instead.
4935 * term/common-win.el (x-setup-function-keys): Don't set
4936 interprogram-paste-function.
4937 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4938 Use gui-selection-value.
4939
4940 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
4941
4942 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4943
4944 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * obsolete/lucid.el (read-number): Remove, redundant.
4947 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4948 Remove, broken.
4949
4950 2014-10-02 Glenn Morris <rgm@gnu.org>
4951
4952 * emacs-lisp/package.el (package-import-keyring):
4953 Create gnupg directory private. (Bug#17625#155)
4954
4955 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * progmodes/python.el (python-shell-completion-get-completions):
4958 Use python-shell--prompt-calculated-input-regexp from the
4959 process buffer (bug#18582).
4960 Don't assume that `line' comes from the process buffer.
4961
4962 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * frame.el: Use lexical-binding (bug#18598).
4965 (make-frame): Use t rather than nil for tty's window-system.
4966 * startup.el (command-line): Use gui-method.
4967
4968 Consolidate management/ownership of selections.
4969 * select.el (gui-get-selection-alist): New method.
4970 (gui-get-selection): Use it. Rename from x-get-selection.
4971 (x-get-selection): Define as obsolete alias.
4972 (x-get-clipboard): Mark obsolete.
4973 (gui-get-primary-selection): New function.
4974 (x-get-selection-value): Mark obsolete.
4975 (gui-own-selection-alist, gui-disown-selection-alist)
4976 (gui-selection-owner-p-alist): New methods.
4977 (gui-set-selection): Use them. Rename from x-set-selection.
4978 (x-set-selection): Define as obsolete alias.
4979 (gui--valid-simple-selection-p): Rename from
4980 x-valid-simple-selection-p.
4981 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
4982 (gui-selection-owner-p, gui-get-selection): Define for w32.
4983 (w32-get-selection-value): Rename from x-get-selection-value.
4984 Use the new gui-last-selected-text.
4985 * term/x-win.el (x-get-selection-value): Remove.
4986 (x-clipboard-yank): Declare obsolete.
4987 (gui-own-selection, gui-disown-selection, gui-get-selection)
4988 (gui-selection-owner-p): Define for x.
4989 * term/w32-win.el (w32-win-suspend-error): Rename from
4990 x-win-suspend-error.
4991 * term/pc-win.el (w16-get-selection-value): Rename from
4992 x-get-selection-value.
4993 (w16-selection-owner-p): Rename from x-selection-owner-p.
4994 (gui-own-selection, gui-disown-selection, gui-get-selection)
4995 (gui-selection-owner-p): Define for pc.
4996 (w16--select-text): New function.
4997 * term/ns-win.el (gui-own-selection, gui-disown-selection)
4998 (gui-get-selection, gui-selection-owner-p): Define for ns.
4999 * term.el (term-mouse-paste):
5000 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
5001
5002 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
5003
5004 * calc/calc-help.el (calc-describe-thing): Quote strings
5005 which could look like regexps.
5006
5007 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 Consolidate x-select-text.
5010 * frame.el (gui-method, gui-method-define, gui-method-declare)
5011 (gui-call): New macros.
5012 (gui-method--name): New function.
5013 (frame-creation-function-alist): Use gui-method-declare.
5014 (make-frame): Use gui-method.
5015 * select.el (gui-select-enable-clipboard): Rename from
5016 x-select-enable-clipboard and move here.
5017 (x-select-enable-clipboard): Define as obsolete alias.
5018 (gui-last-selected-text): New var, to replace x-last-selected-text.
5019 (gui-select-text): New GUI method.
5020 (gui-select-text): New function.
5021 (x-select-text): Define as obsolete alias.
5022 * term/common-win.el (x-select-enable-clipboard, x-select-text):
5023 Move to select.el.
5024 * simple.el (interprogram-cut-function): Change default to
5025 x-select-text.
5026 (interprogram-paste-function): Change default to `ignore'.
5027 * w32-common-fns.el (interprogram-cut-function): Don't modify.
5028 * term/x-win.el (interprogram-cut-function): Don't modify.
5029 (gui-select-text): Add method for x.
5030 * term/w32-win.el (gui-select-text): Add method for w32.
5031 * term/pc-win.el (x-last-selected-text): Remove, use
5032 gui-last-selected-text instead.
5033 (msdos-initialize-window-system): Don't set interprogram-cut-function.
5034 (gui-select-text): Add method for pc.
5035 * term/ns-win.el (ns-last-selected-text): Remove, use
5036 gui-last-selected-text instead.
5037 (gui-select-text): Add method for ns.
5038 (x-setup-function-keys): Don't change interprogram-cut-function.
5039 * loadup.el ("startup"): Load after "frame".
5040 * subr.el (package--builtin-versions, package--description-file):
5041 Move from startup.el.
5042 * startup.el (package--builtin-versions, package--description-file):
5043 Move to subr.el.
5044 (handle-args-function-alist, window-system-initialization-alist):
5045 Use gui-method-declare.
5046 (command-line): Use gui-method.
5047
5048 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * subr.el (alist-get): New accessor.
5051 * emacs-lisp/gv.el (alist-get): Provide expander.
5052 * winner.el (winner-remember):
5053 * tempo.el (tempo-use-tag-list):
5054 * progmodes/gud.el (minor-mode-map-alist):
5055 * international/mule-cmds.el (define-char-code-property):
5056 * frameset.el (frameset-filter-params):
5057 * files.el (dir-locals-set-class-variables):
5058 * register.el (get-register, set-register):
5059 * calc/calc-yank.el (calc-set-register): Use it.
5060 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
5061 * tooltip.el (tooltip-set-param): Mark as obsolete.
5062 (tooltip-show): Use alist-get instead.
5063 * ses.el (ses--alist-get): Remove. Use alist-get instead.
5064
5065 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
5066
5067 * net/newst-backend.el: Remove Time-stamp. Rename variable
5068 `newsticker--download-logos' to `newsticker-download-logos' and
5069 make it customizable.
5070 (newsticker--sentinel-work): Move xml-workarounds to function
5071 `newsticker--do-xml-workarounds', call unless libxml-parser is
5072 used. Allow single quote in regexp for encoding.
5073 Use libxml-parser if available, else fall back to `xml-parse-region'.
5074 Take care of possibly missing namespace prefixes (like "RDF"
5075 instead of "rdf:RDF") when checking xml nodes and attributes (as
5076 libxml correctly removes the prefixes). Always use Atom 1.0 as
5077 fallback feed type. Rename `newsticker--download-logos' to
5078 `newsticker-download-logos'
5079 (newsticker--unxml, newsticker--unxml-node)
5080 (newsticker--unxml-attribute): New.
5081 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
5082 HTML code has become part of the xml parse tree.
5083 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
5084 of possibly missing namespace prefixes.
5085 (newsticker--parse-generic-items): Code formatting. Typo.
5086 (newsticker--images-dir): Add trailing slash.
5087 (newsticker--image-get): Fix error message.
5088
5089 * net/newst-plainview.el: Remove Time-stamp.
5090
5091 * net/newst-reader.el: Remove Time-stamp.
5092 (newsticker-download-logos): Rename variable
5093 `newsticker--download-logos' to `newsticker-download-logos' and
5094 make it customizable.
5095 (newsticker--print-extra-elements): Add optional parameter
5096 'htmlish for using html markup. Amend list of ignored elements.
5097 (newsticker--do-print-extra-element): Add parameter 'htmlish for
5098 using html markup.
5099
5100 * net/newst-ticker.el: Remove Time-stamp.
5101
5102 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
5103 for formatting extra elements.
5104
5105 * net/newsticker.el: Remove Time-stamp, Version.
5106 (newsticker-version): Make obsolete.
5107
5108 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
5109
5110 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
5111 (bug#18462).
5112
5113 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * emacs-lisp/package.el (package-check-signature): Default to nil if
5116 GPG is not available.
5117 (package-refresh-contents): Don't mess with the keyring if we won't
5118 check the signatures anyway.
5119
5120 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
5123 (ses-center, ses-center-span): Use them.
5124 (ses-print-cell): Bind them while calling the printer.
5125 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
5126 (ses-dorange): Revert last change.
5127 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
5128 the formula.
5129 (ses-set-cell): Avoid `eval'.
5130 (ses--time-check): Rename it from ses-time-check and turn it into
5131 a macro.
5132
5133 * ses.el (ses-setup): Don't assume modifying the iteration var of
5134 dotimes affects the iteration (bug#18191).
5135
5136 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5137
5138 * ses.el (ses-calculate-cell): Bind row and col dynamically to
5139 their values with 'cl-progv'.
5140 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
5141 their values with 'cl-progv', also use non-interned symbols for
5142 row, minrow, maxrow, mincol and maxcol.
5143 (maxrow maxcol): New defvar, to make the compiler happy.
5144
5145 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
5148 completion functions.
5149
5150 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * ses.el (ses--letref): Quote value before it gets re-evaluated.
5153
5154 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
5155
5156 Font-lock `cl-flet*', too.
5157 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
5158 Add "flet*" to intermediate var `cl-lib-kw'.
5159
5160 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * epg-config.el (epg-gpg-program): Use the plain program names rather
5163 than their absolute file name.
5164
5165 * subr.el (track-mouse): New macro.
5166 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5167 Remove track-mouse case.
5168 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
5169
5170 2014-09-27 Leo Liu <sdl.web@gmail.com>
5171
5172 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
5173
5174 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
5175
5176 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
5179 Handle the case where `match' is :pcase--succeed or :pcase--fail
5180 (bug#18554).
5181
5182 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
5183 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
5184 (eldoc-schedule-timer): Obey it.
5185 (eldoc-documentation-function): Default to nil.
5186 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
5187 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
5188 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
5189 (eldoc-last-data-store, eldoc-docstring-first-line)
5190 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
5191 (eldoc-beginning-of-sexp, eldoc-current-symbol)
5192 (eldoc-function-argstring): Move to elisp-mode.el.
5193 (eldoc-symbol-function): Remove, unused.
5194 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
5195 (elisp-completion-at-point): Rename from lisp-completion-at-point.
5196 (elisp--preceding-sexp): Rename from preceding-sexp.
5197 * loadup.el: Load new file progmodes/elisp-mode.
5198 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
5199 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
5200 (lisp--local-variables-completion-table, lisp--expect-function-p)
5201 (lisp--form-quoted-p, lisp--company-doc-buffer)
5202 (lisp--company-doc-string, lisp--company-location)
5203 (lisp-completion-at-point): Move to elisp-mode.el.
5204 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
5205 extracted from emacs-lisp-mode-syntax-table.
5206 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
5207 elisp-mode.el.
5208 (lisp-imenu-generic-expression): Add comments to document what comes
5209 from which Lisp dialect.
5210 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
5211 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
5212 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
5213 (emacs-lisp-byte-code-comment)
5214 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
5215 (lisp-interaction-mode-map, lisp-interaction-mode)
5216 (eval-print-last-sexp, last-sexp-setup-props)
5217 (last-sexp-toggle-display, prin1-char, preceding-sexp)
5218 (eval-last-sexp-1, eval-last-sexp-print-value)
5219 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
5220 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5221
5222 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
5223
5224 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5225 Do not match file names that end in '/', as they cannot be 'grep'
5226 hits nowadays. This prevents confusion when 'grep -r' reports a
5227 match in a file whose basename is ':12345:'. Conversely, do not
5228 require exactly the same sequence of spaces and tabs after both
5229 colons, and allow spaces or tabs before the second colon, as per
5230 the POSIX spec for 'grep' output.
5231
5232 2014-09-26 Leo Liu <sdl.web@gmail.com>
5233
5234 Add cl-parse-integer based on parse-integer (Bug#18557)
5235 * calendar/parse-time.el (parse-time-digits): Remove.
5236 (digit-char-p, parse-integer) Moved to cl-lib.el.
5237 (parse-time-tokenize, parse-time-rules, parse-time-string):
5238 Use cl-parse-integer.
5239
5240 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5241
5242 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5243 (cl-digit-char-p): New function.
5244
5245 2014-09-25 Juri Linkov <juri@jurta.org>
5246
5247 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5248 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5249 Return the current buffer if no files match the default pattern
5250 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5251
5252 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5255 the global vc-handled-backends (bug#18535).
5256
5257 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5260 Suggested by <lompik@voila.fr>.
5261
5262 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5263
5264 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5265 Rename from `newsticker--treeview-do-get-node'.
5266 (newsticker--treeview-get-node-by-id):
5267 Rename from `newsticker--treeview-get-node'.
5268 (newsticker--treeview-buffer-init)
5269 (newsticker--treeview-buffer-init): Disable buffer undo.
5270 (newsticker--treeview-unfold-node): Adapt to modified
5271 `newsticker--group-find-parent-group'.
5272 (newsticker--group-do-find-group):
5273 Rename from `newsticker--group-do-find-group-for-feed'.
5274 Now works for both, groups and feeds.
5275 (newsticker--group-find-parent-group):
5276 Rename from `newsticker--group-find-group-for-feed'.
5277 Now works for both, groups and feeds.
5278 (newsticker--group-do-get-parent-group)
5279 (newsticker--group-get-parent-group): Remove.
5280 (newsticker-group-add-group): Change interactive prompts.
5281 (newsticker-group-add-group): Finally jump to added group.
5282 (newsticker-group-delete-group): Finally jump to current feed.
5283 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5284 (newsticker--get-group-names, newsticker--group-names): New.
5285 (newsticker-group-move-feed): Finally jump to moved feed.
5286 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5287 (newsticker-group-shift-group-down)
5288 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5289 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5290
5291 * net/newst-backend.el (newsticker--item-list)
5292 (newsticker--item-position, newsticker--prev-message)
5293 (newsticker--scrollable-text): Move to newst-ticker.el.
5294
5295 * net/newst-ticker.el (newsticker--item-list)
5296 (newsticker--item-position, newsticker--prev-message)
5297 (newsticker--scrollable-text): Move from newst-backend.el.
5298
5299 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5300
5301 * window.el (fit-window-to-buffer): When counting buffer width,
5302 count the whole visible buffer. Correctly convert the body-height
5303 to pixel size for window-text-pixel-size (Bug#18498).
5304
5305 2014-09-22 Sam Steingold <sds@gnu.org>
5306
5307 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5308 (sql-execute): Use `special-mode'.
5309
5310 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 Add pcase-defmacro, as well as `quote' and `app' patterns.
5313 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5314 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5315 (pcase--funcall, pcase--eval): New functions.
5316 (pcase--u1): Use them for guard, pred, let, and app.
5317 (\`): Use the new feature to generate better code for vector patterns.
5318 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5319 (pcase--upat): Remove.
5320 (pcase--macroexpand): Don't hardcode handling of `.
5321 (pcase--split-consp, pcase--split-vector): Remove.
5322 (pcase--split-equal): Disregard ` since it's expanded away.
5323 (pcase--split-member): Optimize for quote rather than for `.
5324 (pcase--split-pred): Optimize for quote rather than for `.
5325 (pcase--u1): Remove handling of ` (and of `or' and `and').
5326 Quote non-selfquoting values when passing them to `eq'.
5327 Drop `app's let-binding if the variable is not used.
5328 (pcase--q1): Remove.
5329 (`): Define as a pattern macro.
5330 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5331 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5332 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5333 quote patterns.
5334 (pcase--split-match): Don't hoist or/and here any more.
5335 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5336 (pcase--flip): New helper macro.
5337 (pcase--u1): Optimize the memq case directly.
5338 Don't handle neither self-quoting nor and/or patterns any more.
5339 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5340 (pcase--macroexpand): New function.
5341 (pcase--expand): Use it.
5342 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5343 New optimization functions.
5344 (pcase--u1): Add support for `quote' and `app'.
5345 (pcase): Document them in the docstring.
5346
5347 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 Use lexical-bindin in Ibuffer.
5350 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5351 (ibuffer-compile-format): Simplify.
5352 (ibuffer-clear-summary-columns): Simplify.
5353 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5354 elem of dotimes when we don't refer to the iteration var from it.
5355 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5356 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5357 Silence byte-compiler.
5358
5359 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5362 expression for a list.
5363
5364 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5365 for functions with no arguments.
5366
5367 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5368 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5369
5370 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5371
5372 * simple.el (clone-indirect-buffer): Mention the return value
5373 (bug#18478).
5374
5375 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5376 Text mode in docstring (bug#18464).
5377
5378 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5381 Accept underscores in identifiers after "sub" (bug#18502).
5382
5383 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5384
5385 * textmodes/reftex-sel.el (reftex-select-label-mode)
5386 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5387 from special-mode (instead of fundamental-mode) and propertize
5388 with font-lock-face instead of just face. (Bug#18496)
5389
5390 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5391
5392 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5393
5394 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5395 `table-etc' when `end' is non-nil.
5396 (lisp-completion-at-point): Move `end' back if it's after quote.
5397 If in comment or string, only complete when after backquote.
5398 (Bug#18265)
5399 (lisp-completion-at-point): Don't use
5400 `lisp--local-variables-completion-table' in the
5401 `lisp--form-quoted-p' case.
5402
5403 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5404
5405 * emacs-lisp/lisp.el (lisp--expect-function-p)
5406 (lisp--form-quoted-p): New functions.
5407 (lisp-completion-at-point): Use them to see if we're completing a
5408 variable reference, a function name, or just any symbol.
5409 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5410
5411 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5412
5413 * net/shr.el, net/eww.el: Don't override `shr-width', but
5414 introduce a new variable `shr-internal-width'. This allows users
5415 to specify a width themselves.
5416
5417 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
5419 * image-mode.el (image-toggle-display-image): If we have a
5420 `fit-width' or a `fit-height', don't limit the size of the image
5421 to the window size, because that doesn't preserve the aspect ratio.
5422 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5423 warning.
5424
5425 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5426
5427 * progmodes/js.el: Add interpreter-mode-alist support for various
5428 JavaScript interpreters.
5429
5430 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5431
5432 Don't assume 'grep' supports GREP_OPTIONS.
5433 The GREP_OPTIONS environment variable is planned to be marked
5434 obsolescent in GNU grep, due to problems in its use, so stop
5435 relying on it.
5436 * progmodes/grep.el (grep-highlight-matches): Document this.
5437 (grep-process-setup): Do not set GREP_OPTIONS.
5438 (grep-compute-defaults): Use an explicit --color option if supported.
5439
5440 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5443 Don't add outdated key-shortcut cache (bug#18482).
5444
5445 2014-09-15 Glenn Morris <rgm@gnu.org>
5446
5447 * image.el (image-multi-frame-p): Fix thinko - do not force
5448 a delay if none was specified. (Bug#18334)
5449
5450 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5451
5452 * window.el (fit-window-to-buffer): Doc fix.
5453
5454 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5455
5456 * desktop.el (desktop-create-buffer): Check that buffers are still live
5457 before burying them (bug#18373).
5458
5459 2014-09-15 Glenn Morris <rgm@gnu.org>
5460
5461 * calendar/diary-lib.el (diary-list-entries):
5462 Restore 24.3 display behavior. (Bug#18381)
5463
5464 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5465
5466 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5467 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5468 discrepancy between window-pixel-edges and mouse events, and
5469 avoids moving mode line up when the mouse click is on the modeline
5470 and no drag is attempted.
5471
5472 2014-09-14 Daniel Colascione <dancol@dancol.org>
5473
5474 * register.el (insert-register): Change default interactive
5475 insertion mode.
5476
5477 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5478
5479 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5480 Suppress debug messages.
5481
5482 * net/tramp.el (tramp-file-name-handler):
5483 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5484 appropriate.
5485
5486 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5487
5488 * calendar/calendar.el (calendar-update-mode-line):
5489 Do not overwrite mode-line-format if calendar-mode-line-format is
5490 nil. (Bug#18467)
5491
5492 2014-09-13 Leo Liu <sdl.web@gmail.com>
5493
5494 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5495 (pcase--expand): Use it.
5496 (pcase-exhaustive): New macro. (Bug#16567)
5497
5498 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5499 Add pcase-exhaustive.
5500
5501 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5502
5503 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5504 using the specified transfer-encoding, if any, or 'undecided'.
5505 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5506 broken at the window margin.
5507
5508 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5509
5510 Support rendering of HTML parts in Rmail (bug#4258).
5511 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5512 separately from other text/ types. Suppress tagline for
5513 multipart body.
5514 (rmail-mime-parse): Don't change visibility of tagline here.
5515 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5516 Handle text/html specially.
5517 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5518 (rmail-mime-insert-html, rmail-mime-render-html-shr)
5519 (rmail-mime-render-html-lynx): New functions.
5520 (rmail-mime-fix-inserted-faces): New function.
5521 (rmail-mime-process-multipart): Find the best part to show
5522 following rmail-mime-prefer-html if set.
5523 (rmail-mime-searching): New variable.
5524 (rmail-search-mime-message): Bind rmail-mime-searching to
5525 suppress rendering while searching.
5526
5527 2014-09-12 Sam Steingold <sds@gnu.org>
5528
5529 * progmodes/sql.el (sql-product-alist): Add vertica.
5530 (sql-vertica-program, sql-vertica-options)
5531 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5532 New functions and variables to support Vertica.
5533 Inspired by code by Roman Scherer <roman@burningswell.com>.
5534
5535 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
5536
5537 * ses.el (ses-file-format-extend-parameter-list): Rename from
5538 ses-file-format-extend-paramter-list, to correct a misspelling.
5539 All uses changed.
5540
5541 2014-09-10 Alan Mackenzie <acm@muc.de>
5542
5543 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5544 gets loaded at run-time).
5545 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5546 c-lang-const to c-make-no-parens-syntax-table and correct the
5547 logic.
5548 (c-no-parens-syntax-table): Correct the logic of the
5549 c-lang-defvar.
5550
5551 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5554 plus misc cleanup.
5555 * progmodes/cc-mode.el (c-basic-common-init):
5556 Set open-paren-in-column-0-is-defun-start.
5557 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5558 Remove declarations, unused.
5559 (run-mode-hooks): Remove declaration.
5560 (font-lock-defaults): Use plain `defvar' to declare.
5561 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5562 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5563 (c-make-mode-syntax-table): Don't micro-optimize.
5564 (c-keywords, c-keyword-member-alist): Simplify.
5565 (c-kwds-lang-consts): Don't eval at compile-time.
5566 (c-primary-expr-regexp): Comment out unused vars.
5567 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
5568 (c-font-byte-compile): New var.
5569 (c--compile): New function. Use it instead of `byte-compile'.
5570 (c-cpp-matchers): Quote the value returned by
5571 `c-make-syntactic-matcher' in case it's not self-evaluating.
5572 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
5573 parentheses instead (in case MATCHER happens to be a list).
5574 (c-font-lock-enum-tail): Remove unused var `start'.
5575 (c-font-lock-objc-methods): Silence byte-compiler warnings.
5576 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
5577 test into an argument.
5578 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
5579 (c-get-char-property): Don't use `eval' just to unquote a constant.
5580 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
5581 more efficiently.
5582 (c-put-char-property-fun): Don't call `byte-compile' by hand.
5583 (c-clear-char-property, c-clear-char-properties): Check that `property'
5584 is a quoted constant.
5585 (c-emacs-features): Remove `infodock', `syntax-properties', and
5586 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
5587 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
5588 changing buffer, so we don't have to setq them again afterwards.
5589 (c-lang-const): Remove redundant symbolp assertions.
5590 (c-find-assignment-for-mode): Use `or'.
5591 * Makefile.in (compile-one-process): Remove cc-mode dependency.
5592
5593 2014-09-09 Sam Steingold <sds@gnu.org>
5594
5595 * progmodes/sql.el (sql-default-directory): Fix type annotation.
5596
5597 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
5600 Change doc comments into docstrings.
5601 * Makefile.in: Remove cc-awk dependency.
5602
5603 2014-09-08 Sam Steingold <sds@gnu.org>
5604
5605 * progmodes/sql.el (sql-send-line-and-next): New command,
5606 bound to C-c C-n.
5607 (sql-show-sqli-buffer): Display the buffer instead of its name and
5608 bind the command to C-c C-z.
5609 (sql-default-directory): New user option.
5610 (sql-product-interactive): Bind `default-directory' to it to
5611 enable remote connections using Tramp.
5612 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
5613 suitable buffer is available.
5614
5615 2014-09-08 Glenn Morris <rgm@gnu.org>
5616
5617 * calendar/calendar.el (calendar-basic-setup):
5618 Fix calendar-view-holidays-initially-flag and fancy display.
5619 * calendar/diary-lib.el (diary-live-p): Doc fix.
5620
5621 * calendar/calendar.el (calendar-basic-setup):
5622 Avoid clobbering calendar with diary. (Bug#18381)
5623
5624 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
5627
5628 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
5629
5630 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5631 as well (bug#18400).
5632
5633 2014-09-08 Eli Zaretskii <eliz@gnu.org>
5634
5635 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
5636
5637 2014-09-06 Leo Liu <sdl.web@gmail.com>
5638
5639 * emacs-lisp/pcase.el (pcase): Doc fix.
5640 (pcase--split-vector): New function.
5641 (pcase--q1): Support vector qpattern. (Bug#18327)
5642
5643 2014-09-05 Sam Steingold <sds@gnu.org>
5644
5645 * textmodes/tex-mode.el (tex-print-file-extension): New user
5646 option.
5647 (tex-print): Use it instead of the hard-coded string.
5648
5649 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5652 Expand `default-directory'.
5653
5654 2014-09-05 Martin Rudalics <rudalics@gmx.at>
5655
5656 * scroll-bar.el (horizontal-scroll-bars-available-p):
5657 New function.
5658 (horizontal-scroll-bar-mode): Rewrite using
5659 horizontal-scroll-bars-available-p.
5660 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5661 horizontal-scroll-bars-available-p.
5662
5663 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * subr.el (call-process-shell-command, process-file-shell-command):
5666 Make the `args' obsolete (bug#18409).
5667 (start-process-shell-command, start-file-process-shell-command):
5668 Use `declare'.
5669
5670 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
5671
5672 * calc/calc-forms.el (math-normalize-hms): Do a better check for
5673 "negative" hms forms.
5674
5675 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
5676
5677 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5678 returns nil (bug#18391).
5679
5680 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5683 terminating paren (bug#18352).
5684 (eldoc-last-data-store): Return cached data.
5685 (eldoc-get-var-docstring): Avoid setq.
5686 (eldoc-get-fnsym-args-string): Clarify data flow.
5687
5688 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5689
5690 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5691 case where we're currently providing part of the &rest arg after some
5692 &key args, as in define-ibuffer-op (bug#18048).
5693
5694 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5697 buffer-local setting of which-func-mode.
5698 (which-func-mode): Use defvar-local.
5699 (which-function-mode): Don't reset which-func-mode in each buffer since
5700 it might have been set by someone else.
5701 (which-func-update-ediff-windows): Check which-function-mode.
5702
5703 2014-09-03 Martin Rudalics <rudalics@gmx.at>
5704
5705 * frame.el (frame-initialize): Remove horizontal-scroll-bars
5706 from frame-initial-frame-alist.
5707 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5708 (horizontal-scroll-bar-mode-explicit)
5709 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5710 (toggle-horizontal-scroll-bar): Remove.
5711 (horizontal-scroll-bar-mode): Remove defcustom.
5712 (horizontal-scroll-bar-mode): Fix doc-string.
5713 (scroll-bar-toolkit-scroll)
5714 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5715
5716 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * emacs-lisp/package.el (package-generate-description-file):
5719 Properly quote the arguments (bug#18332). Change second arg.
5720 (package--alist-to-plist-args): Rename from package--alist-to-plist and
5721 quote the elements.
5722 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5723 the *-pkg.el file. Adjust to new calling convention of
5724 package-generate-description-file.
5725
5726 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5727 (gud-gdb-completions): Remove obsolete workaround.
5728
5729 2014-09-03 Eli Zaretskii <eliz@gnu.org>
5730
5731 * subr.el (posn-col-row): Revert the change from commit
5732 2010-11-13T21:07:58Z!eliz@gnu.org, which
5733 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5734 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5735 introduced an off-by-one error in the reported row when there is a
5736 header line. (Bug#18384)
5737
5738 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5739
5740 * progmodes/python.el (python-indent-post-self-insert-function):
5741 Avoid electric colon at beginning-of-defun. (Bug#18228)
5742
5743 2014-09-03 Glenn Morris <rgm@gnu.org>
5744
5745 * tutorial.el (tutorial--display-changes):
5746 Fix 2014-08-01 change. (Bug#18382)
5747
5748 2014-09-03 Ken Brown <kbrown@cornell.edu>
5749
5750 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5751 the Cygwin-w32 build. (Bug#18347)
5752
5753 2014-09-03 Glenn Morris <rgm@gnu.org>
5754
5755 * tar-mode.el (tar--extract, tar-extract):
5756 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
5757
5758 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5761 handle multiline elements (bug#18380).
5762
5763 2014-09-01 Eli Zaretskii <eliz@gnu.org>
5764
5765 * ls-lisp.el (ls-lisp-use-string-collate)
5766 (ls-lisp-UCA-like-collation): New defcustoms.
5767 (ls-lisp-string-lessp): Use them to control sorting by file
5768 names. (Bug#18051)
5769 (ls-lisp-version-lessp): New function.
5770 (ls-lisp-handle-switches): Use it to implement the -v switch of
5771 GNU ls.
5772 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5773
5774 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
5775
5776 * ibuffer.el: Replace mode-specific quit function with
5777 `quit-window' via `special-mode'.
5778 (ibuffer-mode-map): Use keybindings from special-mode-map instead
5779 of local overrides.
5780 (ibuffer): Don't store previous windows configuration.
5781 Let `quit-window' handle restoring.
5782 (ibuffer-quit): Remove function. Use `quit-window' instead.
5783 (ibuffer-restore-window-config-on-quit): Remove variable.
5784 (ibuffer-prev-window-config): Remove variable.
5785
5786 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
5787
5788 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5789 name instead of variable name in hook docstring. (Bug#18349)
5790
5791 2014-08-29 Martin Rudalics <rudalics@gmx.at>
5792
5793 * window.el (display-buffer-at-bottom): Prefer bottom-left
5794 window to other bottom windows. Reuse a bottom window if it
5795 shows the buffer already. Suggested by Juri Linkov
5796 <juri@jurta.org> in discussion of (Bug#18181).
5797
5798 2014-08-29 Leo Liu <sdl.web@gmail.com>
5799
5800 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5801 append to minibuffer-setup-hook. (Bug#18341)
5802
5803 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5806 byte-compiler.
5807 (lookup-syntax-properties): Silence byte-compiler.
5808 (c-lang-defconst): Quote the code with `lambda' rather than with
5809 `quote'.
5810 (c-lang-const): Avoid unneeded setq.
5811 (c-lang-constants-under-evaluation): Add docstring.
5812 (c-lang--novalue): New constant.
5813 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5814 (c-get-lang-constant): Same here.
5815 Get the mode's value using `funcall' now that the code is quoted
5816 with `lambda'.
5817
5818 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5819
5820 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5821 (Bug#18326)
5822
5823 2014-08-28 Martin Rudalics <rudalics@gmx.at>
5824
5825 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5826 interpretation of `portion-whole'.
5827
5828 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
5829
5830 * net/tramp-adb.el: Spell author name correctly.
5831
5832 2014-08-28 João Távora <joaotavora@gmail.com>
5833
5834 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5835 use url-expand-file-name. (Bug#18310)
5836
5837 2014-08-28 Glenn Morris <rgm@gnu.org>
5838
5839 * emulation/cua-rect.el (cua--highlight-rectangle):
5840 Avoid error at point-min. (Bug#18309)
5841
5842 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5845 executable-find (bug#18244).
5846
5847 * simple.el (self-insert-uses-region-functions): Defvar.
5848
5849 2014-08-28 Glenn Morris <rgm@gnu.org>
5850
5851 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5852
5853 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
5854
5855 * startup.el (normal-top-level): Now use internal--top-level-message.
5856
5857 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
5858
5859 * startup.el (normal-top-level): Use top-level-message.
5860
5861 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5862
5863 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5864 URLs containing spaces and the like.
5865
5866 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5867
5868 * subr.el (remq): Fix docstring (Bug#18253).
5869
5870 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
5871
5872 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5873
5874 2014-08-24 Alan Mackenzie <acm@muc.de>
5875
5876 Handle C++11's "auto" and "decltype" constructions.
5877 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5878 and return 'decltype.
5879 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5880 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
5881 keyword.
5882 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5883 "decltype" keyword.
5884 (c-font-lock-c++-new): Handle "decltype" constructions.
5885 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5886 New c-lang-defconsts/defvars.
5887 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5888 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5889 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5890 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5891
5892 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
5893 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5894 off from c->-op-cont-re.
5895 (c->-op-cont-tokens): Change to use the above.
5896 (c->-op-without->-cont-regexp): New lang-const.
5897 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5898 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5899
5900
5901 2014-08-23 Alan Mackenzie <acm@muc.de>
5902
5903 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5904 loop, bug #18306. The bug was introduced on 2014-08-02.
5905
5906 2014-08-21 Eli Zaretskii <eliz@gnu.org>
5907
5908 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5909 Don't recognize a Top node if there are other sectioning commands
5910 earlier in the Texinfo file. This fixes a bug in
5911 texinfo-make-menu and avoids inflooping in
5912 texinfo-all-menus-update when they are invoked on texinfo.texi.
5913
5914 2014-08-21 Martin Rudalics <rudalics@gmx.at>
5915
5916 * window.el (window--side-window-p): New function.
5917 (split-window, window-splittable-p): Use window--side-window-p to
5918 determine whether WINDOW can be split (Bug#18304).
5919 * calendar/calendar.el (calendar-basic-setup): Fix one call of
5920 `window-splittable-p' and add another (Bug#18304).
5921
5922 2014-08-20 Sam Steingold <sds@gnu.org>
5923
5924 * progmodes/python.el (python-new-pythonpath): Extract from
5925 `python-shell-calculate-process-environment'.
5926
5927 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5928
5929 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5930 for &key args (bug#18048).
5931
5932 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5935 (eldoc-function-argstring-format): Remove.
5936 (eldoc-function-argstring): Always return upcase args.
5937 Use help-make-usage. Don't add parens.
5938 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5939 it's too late to do it right (bug#18048).
5940
5941 2014-08-18 Eli Zaretskii <eliz@gnu.org>
5942
5943 * scroll-bar.el (scroll-bar-horizontal-drag-1)
5944 (scroll-bar-toolkit-horizontal-scroll): When determining the
5945 paragraph direction, use the buffer of the window designated in
5946 the event.
5947
5948 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
5949
5950 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5951 context of unified diff.
5952
5953 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
5954
5955 Add dependencies to fix loaddefs race during parallel builds.
5956 Without this, for example, 'make -j bootstrap' can fail and report
5957 "Opening input file: no such file or directory,
5958 .../lisp/calendar/diary-loaddefs.el ... recipe for target
5959 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5960 got confused because diary-loaddefs.el was being built in parallel.
5961 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5962 Depend on $(CAL_DIR)/cal-loaddefs.el.
5963 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5964
5965 2014-08-16 Martin Rudalics <rudalics@gmx.at>
5966
5967 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
5968 portion-whole for scrolling right-to-left text.
5969
5970 2014-08-15 Leo Liu <sdl.web@gmail.com>
5971
5972 * speedbar.el (speedbar-generic-list-tag-p): Allow special
5973 elements from imenu.
5974
5975 2014-08-15 Glenn Morris <rgm@gnu.org>
5976
5977 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
5978
5979 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5980
5981 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5982 Add Guile regexpses.
5983
5984 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
5985
5986 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
5987 add Guile debugger support for GUD.
5988
5989 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
5992 (mouse-sel--ignore): New function.
5993 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
5994 (mouse-sel-original-interprogram-cut-function)
5995 (mouse-sel-original-interprogram-paste-function): Remove.
5996
5997 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
5998
5999 * vc/vc-git.el (vc-git-resolve-when-done): New function.
6000 Call "git add" when there are no longer conflict markers.
6001
6002 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6003
6004 * vc/vc-git.el (vc-git-find-file-hook): New function.
6005 Adds support for calling smerge (and resolve) on a conflicted file.
6006 (vc-git-conflicted-files): New function.
6007 Useful in itself and a step towards better smerge support.
6008
6009 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
6012 to the first part if they're the same as the selection.
6013
6014 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * image-mode.el (image-transform-reset): New command and menu item.
6017 (image-mode-map): Rearrange the menu items to put presumably more
6018 obscure items at the end.
6019
6020 2014-08-12 Juri Linkov <juri@jurta.org>
6021
6022 * vc/vc-annotate.el (vc-annotate-background-mode):
6023 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
6024
6025 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * files.el (out-of-memory-warning-percentage): Turn it off by default.
6028
6029 2014-08-11 Sam Steingold <sds@gnu.org>
6030
6031 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
6032 the presence of known validators (tidy, (o)nsgmls).
6033
6034 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
6035
6036 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
6037 * net/newst-treeview.el (newsticker-treeview-date-format): New.
6038 (newsticker--treeview-list-add-item):
6039 Use `newsticker-treeview-date-format'.
6040
6041 2014-08-11 Glenn Morris <rgm@gnu.org>
6042
6043 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
6044 chose coding system for writing before backing up, since it causes
6045 a more serious problem than the one it solves. (Closes Bug#18141,
6046 reopens Bug#13522.)
6047
6048 2014-08-11 Martin Rudalics <rudalics@gmx.at>
6049
6050 * window.el (window-total-size): Make doc-string more self-contained.
6051
6052 * window.el (display-buffer-below-selected): Restore original
6053 behavior if buffer is already displayed in the window below the
6054 selected one (Bug#18181).
6055
6056 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
6059 event (bug#18212).
6060
6061 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6062
6063 * info.el (info): Doc fix.
6064
6065 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * info.el (Info-mode-map): Override a global down-mouse-2 binding
6068 (bug#18212).
6069
6070 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6071
6072 * simple.el (default-line-height): A floating-point value of
6073 line-spacing means a fraction of the default frame font's height,
6074 not of the font currently used by the 'default' face.
6075 Truncate the pixel value, like the display engine does.
6076 (window-screen-lines): Use window-inside-pixel-edges for
6077 determining the window height in pixels. (Bug#18195)
6078
6079 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
6080
6081 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
6082
6083 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
6084
6085 Enumerate evaluated sexp diary entries (Bug#7911).
6086 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
6087 (icalendar-export-sexp-enumeration-days): New.
6088 (icalendar-export-region): Now `icalendar--convert-to-ical'
6089 returns a cons cell or a list of cons cells.
6090 (icalendar--convert-to-ical): Take care of
6091 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
6092 (icalendar--convert-ordinary-to-ical)
6093 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6094 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
6095 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
6096 (icalendar--convert-anniversary-to-ical): Return cons cell.
6097 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
6098 entries. Return (list of) cons cells.
6099
6100 2014-08-09 Juri Linkov <juri@jurta.org>
6101
6102 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
6103 to reevaluate `vc-annotate-color-map'. (Bug#18189)
6104
6105 2014-08-09 Alan Mackenzie <acm@muc.de>
6106
6107 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
6108 for top-level that can cause unacceptable slow-down in scrolling.
6109 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
6110 Antipov from 2013-10-14 in emacs-devel.
6111
6112 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6113
6114 * ibuffer.el (ibuffer-mode-map): Use toggle button for
6115 `ibuffer-auto-mode' menu entry.
6116 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
6117
6118 2014-08-08 Matthias Meulien <orontee@gmail.com>
6119
6120 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
6121 (Bug#16394)
6122
6123 2014-08-07 Martin Rudalics <rudalics@gmx.at>
6124
6125 * window.el (window--min-size-1): Explicitly set WINDOW arg in
6126 calls of window-min-pixel-height and window-min-pixel-width.
6127
6128 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6129
6130 * progmodes/ada-mode.el:
6131 * net/tramp.el (tramp-handle-file-symlink-p):
6132 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
6133 about VMS, which we no longer support.
6134 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
6135 and fix a FIXME, using convert-standard-filename in place of
6136 removed ada-convert-file-name.
6137
6138 2014-08-07 Eli Zaretskii <eliz@gnu.org>
6139
6140 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
6141
6142 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6143
6144 Refer to MS-DOS using the same name everywhere.
6145 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
6146 ``msdog'' become ``MS-DOS''.
6147
6148 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6151 Use cached "remote-copy-args" value, if available. (Bug#18199)
6152
6153 2014-08-07 Leo Liu <sdl.web@gmail.com>
6154
6155 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
6156 Revert change on 2014-03-22.
6157
6158 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
6159
6160 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
6161 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
6162 (Bug#13750).
6163
6164
6165 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6166
6167 * image-mode.el (image-toggle-display-image): Always rescale images
6168 to not be bigger than the current window.
6169
6170 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
6171
6172 * net/eww.el (eww-bookmarks-directory): New variable.
6173 (eww-write-bookmarks): Use it.
6174 (eww-read-bookmarks): Ditto.
6175
6176 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6177
6178 * net/shr.el (shr-copy-url): Also copy the image URL.
6179
6180 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
6183 also for Tramp working buffers.
6184
6185 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6186
6187 * progmodes/python.el: Fix completions inside (i)pdb.
6188 (python-shell-completion-pdb-string-code): Make obsolete.
6189 (python-shell-completion-get-completions):
6190 Use python-shell-completion-string-code resending setup code
6191 continuously for (i)pdb.
6192
6193 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
6194
6195 * rect.el (rectangle--default-line-number-format): Rename
6196 from misspelled rectange--default-line-number-format (Bug#18045).
6197 All uses changed.
6198
6199 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
6200
6201 Don't mishandle year-9999 dates (Bug#18176).
6202 * calendar/parse-time.el (parse-time-rules):
6203 Allow years up to most-positive-fixnum.
6204 * calendar/time-date.el (date-to-time):
6205 Pass "Specified time is not representable" errors through.
6206
6207 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6208
6209 * progmodes/python.el: Completion code cleanups.
6210 (python-shell-completion-get-completions): Detect and send import
6211 statements directly to completion function.
6212 (python-shell-completion-at-point): Simplify prompt calculation
6213 and import vs input completion logic.
6214
6215 2014-08-02 Alan Mackenzie <acm@muc.de>
6216
6217 Fix confusion in C++ file caused by comma in "= {1,2},".
6218 Bug #17756.
6219 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
6220 for a statement boundary marked by "}", check there's no "="
6221 before the "{".
6222 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6223 non-nil `comma-delim' argument.
6224 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6225 initializer expression more accurately.
6226
6227 Correct loop termination condition in c-syntactic-skip-backward.
6228 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6229 the situation where, after moving back out of a literal,
6230 skip-chars-backward doesn't move further, yet checks have still to
6231 be done.
6232
6233 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6234
6235 * tutorial.el (tutorial--display-changes): Accept punctuation
6236 characters before the key binding. (Bug#18146)
6237
6238 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6239
6240 * progmodes/python.el: Shell output capture enhancements.
6241 (python-shell-accept-process-output): New function.
6242 (inferior-python-mode)
6243 (python-shell-send-setup-code): Use it.
6244
6245 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6246
6247 * calendar/icalendar.el (icalendar--decode-isodatetime):
6248 Use actual current-time-zone when converting to local time. (Bug#15408)
6249
6250 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6251
6252 * window.el (window--state-put-2): Handle horizontal scroll
6253 bars, if present.
6254
6255 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6256
6257 * menu-bar.el (menu-bar-update-buffers): Update item list format
6258 in `buffers-menu' to confirm with changes to `get_keyelt'
6259 (r117463). (Bug#18016)
6260
6261 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6262
6263 * progmodes/python.el (inferior-python-mode): Make input prompts
6264 read-only.
6265
6266 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6267
6268 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6269 executables named "python2" or "python3".
6270 (tramp-get-remote-uid-with-python): Use parentheses around
6271 arguments to `print' to make it compatible with Python 3.
6272 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6273
6274 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6275
6276 * window.el (window--pixel-to-total): Use FRAME's root window, not
6277 that of the selected frame. (Bug#18112, Bug#16674)
6278
6279 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6280
6281 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6282 (Bug#18117)
6283
6284 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6285
6286 * progmodes/python.el (inferior-python-mode): Doc fix.
6287
6288 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6289
6290 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6291 not a character, ignore it instead of raising an error.
6292
6293 * calendar/todo-mode.el: Fix handling of marked items and make
6294 minor code improvements.
6295 (todo-edit-item): If there are marked items, ensure user can only
6296 invoke editing commands that work with marked items.
6297 (todo-edit-item--text): When there are marked items, make it a
6298 noop if invoked with point not on an item; otherwise, ensure it
6299 applies only to item at point.
6300 (todo-item-undone): If there are marked not-done items, return
6301 point to its original position before signaling user error.
6302 (todo--user-error-if-marked-done-item): New function.
6303 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6304 (todo-item-done): Use it.
6305
6306 2014-07-28 Glenn Morris <rgm@gnu.org>
6307
6308 * files.el (toggle-read-only): Re-add basic doc-string.
6309 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6310
6311 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6312 Replace missing `switch-to-prolog' with `run-prolog'.
6313 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6314
6315 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6316
6317 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6318 of file-wide setting when changing category-wide setting.
6319
6320 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6321
6322 * doc-view.el (doc-view-open-text): Don't require that the
6323 document is saved in a file (e.g., email attachment).
6324
6325 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6326
6327 Parse completion input in a iPython friendly way. (Bug#18084)
6328 * progmodes/python.el
6329 (python-shell-completion-at-point): Rename from
6330 python-shell-completion-complete-at-point.
6331 (inferior-python-mode): Use it.
6332 (python-completion-at-point): Rename from
6333 python-completion-complete-at-point. Parse input up to first
6334 backward occurrence of whitespace, open-paren, close-paren or
6335 string delimiter.
6336 (python-mode): Use it.
6337
6338 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6339
6340 * progmodes/python.el
6341 (python-shell-with-shell-buffer): New macro.
6342 (python-shell-font-lock-get-or-create-buffer)
6343 (python-shell-font-lock-kill-buffer)
6344 (python-shell-font-lock-with-font-lock-buffer)
6345 (python-shell-font-lock-cleanup-buffer)
6346 (python-shell-font-lock-toggle): Use it.
6347 (python-shell-font-lock-turn-on)
6348 (python-shell-font-lock-turn-off): Use it. Make command.
6349
6350 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6351
6352 Grab all Python process output before inferior-python-mode hooks.
6353 * progmodes/python.el (inferior-python-mode):
6354 Call accept-process-output and sit-for to ensure all output for process
6355 has been received before running hooks.
6356 (python-shell-internal-get-or-create-process):
6357 Cleanup accept-process-output and sit-for calls.
6358
6359 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6360
6361 More robust shell startup and code setup.
6362 * progmodes/python.el (python-shell-make-comint):
6363 Remove accept-process-output call.
6364 (python-shell-get-buffer): Return current buffer if major-mode is
6365 inferior-python-mode.
6366 (python-shell-get-or-create-process): Use it.
6367 (python-shell-send-setup-code): Send all setup code in one string,
6368 output success message and accept-process-output.
6369
6370 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6371
6372 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6373 Add rudimentary support for bidirectional text.
6374
6375 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6376
6377 * frame.el (frame-notice-user-settings): Rewrite using
6378 frame-initial-frame-tool-bar-height.
6379 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6380 (menu-bar-no-horizontal-scroll-bar): New functions.
6381 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6382 scroll bars.
6383 * scroll-bar.el (scroll-bar-lines)
6384 (set-horizontal-scroll-bar-mode)
6385 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6386 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6387 (scroll-bar-toolkit-horizontal-scroll): New functions.
6388 (horizontal-scroll-bar-mode)
6389 (previous-horizontal-scroll-bar-mode)
6390 (horizontal-scroll-bar-mode-explicit): New variables.
6391 (horizontal-scroll-bar-mode): New option.
6392 (toggle-horizontal-scroll-bar): Do something.
6393 (top-level): Bind horizontal-scroll-bar mouse-1.
6394 * startup.el (tool-bar-originally-present): Remove variable.
6395 (command-line): Don't set tool-bar-originally-present.
6396 * window.el (window-min-height): Update doc-string.
6397 (window--dump-frame): Dump horizontal scroll bar values.
6398 (window--min-size-1): Handle minibuffer window separately.
6399 Count in margins and horizontal scroll bar. Return safe value
6400 iff IGNORE equals 'safe.
6401 (frame-windows-min-size): New function (used by frame resizing
6402 routines).
6403 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6404 scroll bars.
6405 (window--sanitize-window-sizes): New function.
6406 (window-split-min-size): Remove.
6407 (split-window): Count divider-width. Don't use
6408 `window-split-min-size' any more. Reword error messages.
6409 Sanitize windows sizes after splitting.
6410
6411 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6412
6413 Use `defvar-local' more.
6414 * progmodes/hideshow.el
6415 (hs-c-start-regexp, hs-block-start-regexp)
6416 (hs-block-start-mdata-select, hs-block-end-regexp)
6417 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6418 remove corresponding `make-variable-buffer-local' top-level calls.
6419
6420 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6421
6422 Cleanup error signals. (Bug#18067)
6423 * progmodes/python.el
6424 (python-indent-shift-left): Use user-error instead.
6425 (python-shell-prompt-detect): Use lwarn with python group.
6426 (python-completion-complete-at-point)
6427 (python-eldoc--get-doc-at-point): Don't signal error.
6428
6429 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6430
6431 Support for packages in Python shell. (Bug#13570)
6432 * progmodes/python.el (python-shell--package-depth): New var.
6433 (python-shell-package-enable): New command.
6434 (python-util-list-directories, python-util-list-files)
6435 (python-util-list-packages): New functions.
6436
6437 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6438
6439 Faster comint output. (Bug#16875)
6440 * progmodes/python.el:
6441 (python-comint-output-filter-function): Make obsolete.
6442 (python-comint-postoutput-scroll-to-bottom): New function.
6443 (inferior-python-mode): Set comint-output-filter-functions to a
6444 minimum.
6445
6446 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6447
6448 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6449 Safeguard current point and undo history.
6450
6451 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6452
6453 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6454 * progmodes/python.el:
6455 (python-shell-prompt-input-regexps): Add iPython block prompt.
6456 (python-shell-output-syntax-table): Delete var.
6457 (python-shell-font-lock-with-font-lock-buffer): New macro.
6458 (python-shell-font-lock-get-or-create-buffer)
6459 (python-shell-font-lock-kill-buffer)
6460 (python-shell-font-lock-cleanup-buffer)
6461 (python-shell-font-lock-post-command-hook)
6462 (python-shell-font-lock-turn-off): New functions.
6463 (python-shell-font-lock-turn-on): New function.
6464 (inferior-python-mode): Use it.
6465 (python-shell-font-lock-toggle): New command.
6466 (python-shell-font-lock-enable): Rename from
6467 python-shell-enable-font-lock.
6468 (run-python-internal): Use it.
6469 (python-shell-font-lock-comint-output-filter-function): New function.
6470 (python-shell-comint-end-of-output-p): New function.
6471 (python-shell-output-filter): Use it.
6472 (python-util-comint-last-prompt): New function.
6473 (python-util-text-properties-replace-name): New function.
6474
6475 2014-07-25 Glenn Morris <rgm@gnu.org>
6476
6477 * vc/ediff-init.el (ediff-toggle-read-only-function):
6478 * vc/ediff-util.el (ediff-toggle-read-only):
6479 Replace obsolete toggle-read-only with read-only-mode.
6480
6481 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6482
6483 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6484 with `save-match-data'. (Bug#18095)
6485
6486 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6487
6488 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6489 order to ensure that row and col are lexically bound inside the
6490 evaluated sexp.
6491
6492 2014-07-21 Glenn Morris <rgm@gnu.org>
6493
6494 * progmodes/hideif.el (hide-ifdef-mode-submap):
6495 Also substitute read-only-mode.
6496 * bindings.el (mode-line-toggle-read-only):
6497 * bs.el (bs-toggle-readonly):
6498 * buff-menu.el (Buffer-menu-toggle-read-only):
6499 * dired.el (dired-toggle-read-only):
6500 * files.el (view-read-only, find-file-read-only)
6501 (find-file-read-only-other-window)
6502 (find-file-read-only-other-frame):
6503 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6504 Doc fixes re toggle-read-only.
6505
6506 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6507
6508 * progmodes/python.el: Add comment about pipe buffering and
6509 solutions for missing/delayed output in inferior Python shells.
6510 (Bug#17304)
6511
6512 * progmodes/python.el (python-mode): Don't set
6513 mode-require-final-newline. (Bug#17990)
6514
6515 Make python.el work with IPython automatically. (Bug#15510)
6516 * progmodes/python.el:
6517 (python-shell-completion-setup-code): New value supporting iPython.
6518 (python-shell-completion-string-code): New value supporting iPython.
6519 (python-shell-completion-get-completions): Use them.
6520 (python-shell-completion-module-string-code): Make obsolete.
6521 (python-shell-prompt-input-regexps)
6522 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6523 (python-shell-output-filter): Fix comment typo.
6524
6525 Fix Python shell prompts detection for remote hosts.
6526 * progmodes/python.el (python-shell-prompt-detect):
6527 Replace call-process with process-file and make it more robust.
6528
6529 Autodetect Python shell prompts. (Bug#17370)
6530 * progmodes/python.el:
6531 (python-shell-interpreter-interactive-arg)
6532 (python-shell-prompt-detect-enabled)
6533 (python-shell-prompt-detect-failure-warning)
6534 (python-shell-prompt-input-regexps)
6535 (python-shell-prompt-output-regexps): New vars.
6536 (python-shell-prompt-calculated-input-regexp)
6537 (python-shell-prompt-calculated-output-regexp): New vars.
6538 (python-shell-get-process-name)
6539 (python-shell-internal-get-process-name)
6540 (python-shell-output-filter)
6541 (python-shell-completion-get-completions): Use them.
6542 (python-shell-prompt-detect)
6543 (python-shell-prompt-validate-regexps): New functions.
6544 (python-shell-prompt-set-calculated-regexps): New function.
6545 (inferior-python-mode): Use it. Also honor overriden
6546 python-shell-interpreter and python-shell-interpreter-args.
6547 (python-shell-make-comint): Honor overriden
6548 python-shell-interpreter and python-shell-interpreter-args.
6549 (python-shell-get-or-create-process): Make it testable by allowing
6550 to call run-python non-interactively.
6551 (python-util-valid-regexp-p): New function.
6552 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6553 (python-shell-prompt-output-regexp)
6554 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6555
6556 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/smie.el (smie-config--guess-1): Split from
6559 smie-config--guess.
6560 (smie-config--guess): Use it.
6561
6562 * emacs-lisp/edebug.el: Use nadvice.
6563 (edebug-original-read): Remove.
6564 (edebug--read): Rename from edebug-read and add `orig' arg.
6565 (edebug-uninstall-read-eval-functions)
6566 (edebug-install-read-eval-functions): Use nadvice.
6567 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
6568 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
6569 (edebug-read-string, edebug-read-function): Use just `read'.
6570 (edebug-original-debug-on-entry): Remove.
6571 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
6572 `orig' arg.
6573 (debug-on-entry): Override with nadvice.
6574
6575 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
6576 it also makes sense to bind it to a non-mouse event.
6577
6578 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
6579
6580 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
6583 (bug#18015).
6584
6585 * rect.el (rectangle--string-preview): Don't assume there
6586 a non-nil default (bug#17984).
6587
6588 2014-07-16 Glenn Morris <rgm@gnu.org>
6589
6590 * desktop.el (after-init-hook): Disable startup frame restoration
6591 in non-graphical situations. (Bug#17693)
6592
6593 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
6594 if it was "empty", or used for a different set of files. (Bug#17884)
6595
6596 2014-07-16 Eli Zaretskii <eliz@gnu.org>
6597
6598 * bindings.el (mode-line-remote): If default-directory is not a
6599 string, don't call file-remote-p on it; instead state in the
6600 help-echo that it is nil. (Bug#17986)
6601
6602 2014-07-14 Daniel Colascione <dancol@dancol.org>
6603
6604 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
6605 to `macroexpand-all'
6606
6607 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
6608 Use `macroexpand-all' instead of `cl-macroexpand-all'.
6609
6610 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
6611
6612 Fix bug: C-x v v discarded existing log message (Bug#17884).
6613 * vc/vc-dispatcher.el (vc-log-edit):
6614 Don't clobber an already-existing log message.
6615
6616 2014-07-12 Glenn Morris <rgm@gnu.org>
6617
6618 * vc/log-edit.el (log-edit-changelog-entries):
6619 Check for a visited-but-never-saved ChangeLog.
6620
6621 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
6624 a non-existing file (bug#17970).
6625
6626 * faces.el (face-name): Undo last change.
6627 (x-resolve-font-name): Don't call face-name (bug#17956).
6628
6629 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6630
6631 Fix dedenters and electric colon handling. (Bug#15163)
6632 * progmodes/python.el
6633 (python-rx-constituents): Add dedenter and block-ender.
6634 (python-indent-dedenters, python-indent-block-enders): Delete.
6635 (python-indent-context): Return new case for dedenter-statement.
6636 (python-indent-calculate-indentation): Handle new case.
6637 (python-indent-calculate-levels): Fix levels calculation for
6638 dedenter statements.
6639 (python-indent-post-self-insert-function): Fix colon handling.
6640 (python-info-dedenter-opening-block-message): New function.
6641 (python-indent-line): Use it.
6642 (python-info-closing-block)
6643 (python-info-closing-block-message): Remove.
6644 (python-info-dedenter-opening-block-position)
6645 (python-info-dedenter-opening-block-positions)
6646 (python-info-dedenter-statement-p): New functions.
6647
6648 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
6649
6650 * files.el (out-of-memory-warning-percentage): New defcustom.
6651 (warn-maybe-out-of-memory): Use it.
6652
6653 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
6654
6655 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
6656 when calling `read-string'. (Bug#17839)
6657
6658 2014-07-10 Eli Zaretskii <eliz@gnu.org>
6659
6660 * files.el (warn-maybe-out-of-memory): Fix the wording of the
6661 warning.
6662
6663 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
6664
6665 * files.el (warn-maybe-out-of-memory): New function.
6666 (find-file-noselect): Use it.
6667
6668 2014-07-09 Sam Steingold <sds@gnu.org>
6669
6670 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6671 `constant' like `bless', `return' &c
6672
6673 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * rect.el (apply-on-rectangle): Check forward-line really moved to the
6676 next line.
6677
6678 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6681 the middle of a line (bug#17896).
6682
6683 2014-07-09 Juri Linkov <juri@jurta.org>
6684
6685 * startup.el (command-line): Append displaying the warning about
6686 the errors in the init file to the end of `after-init-hook'.
6687 (Bug#17927)
6688
6689 * faces.el (face-name): Return input arg `face' as-is
6690 when it's not a symbol.
6691 (x-resolve-font-name): Don't check if the face is a symbol.
6692 (Bug#17956)
6693
6694 * facemenu.el (list-colors-print): In help-echo format use %.2f
6695 instead of %d because now HSV values are floating-point components
6696 between 0.0 and 1.0.
6697
6698 2014-07-09 Glenn Morris <rgm@gnu.org>
6699
6700 * emulation/cua-rect.el (cua--activate-rectangle):
6701 Avoid setting cua--rectangle to nil. (Bug#17877)
6702
6703 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6704
6705 * calendar/todo-mode.el: Fix wrong-type-argument error when
6706 marking multiple consecutive items.
6707 (todo-toggle-mark-item): Don't try to mark the empty lines at the
6708 end of the todo and done items sections. Note in doc string that
6709 items marked by passing a numeric prefix argument can include the
6710 last todo and first done items.
6711 (todo-mark-category): Don't try to mark the empty line between the
6712 todo and done items sections.
6713
6714 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6717 proper Lisp quoting (bug#17934).
6718
6719 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6720 require-final-newline since prog-mode already took care of it (bug#17947).
6721
6722 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
6723
6724 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
6725 refer to the Todo mode Info manual. Update the comment on
6726 requiring cl-lib.
6727 (todo-find-filtered-items-file): Add todo-prefix overlays.
6728 (todo-filter-items): Reorder a let-bound variable to avoid a
6729 wrong-type-argument error on canceling the file choice dialog.
6730
6731 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
6732
6733 * progmodes/octave.el (inferior-octave-mode):
6734 Set comint-input-ring-size to a number (bug#17912).
6735
6736 2014-07-09 Juri Linkov <juri@jurta.org>
6737
6738 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6739 and `isearch-mode' associated with nil. (Bug#17849)
6740
6741 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * linum.el (linum--face-height): New function (bug#17813).
6744 (linum-update-window): Use it to adjust margin to linum's width.
6745
6746 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6747 * eshell/em-smart.el (eshell-smart-scroll-window):
6748 Use with-selected-window.
6749
6750 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6751 Remove also pointless window&mark manipulation.
6752
6753 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6754 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6755 (perl-continuation-line-p): Don't skip over anything else than labels.
6756 Return the previous char.
6757 (perl-calculate-indent): Use syntax-ppss instead of parse-start
6758 and update callers accordingly. For continuation lines, check the
6759 the case of array hashes.
6760 (perl-backward-to-noncomment): Make it non-interactive.
6761 (perl-backward-to-start-of-continued-exp): Rewrite.
6762
6763 2014-07-08 Sam Steingold <sds@gnu.org>
6764
6765 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6766 New user commands.
6767
6768 2014-07-08 Juri Linkov <juri@jurta.org>
6769
6770 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6771 (vc-annotate-color-map): Use less saturated colors (20%) for
6772 background-mode.
6773 (vc-annotate-very-old-color): Add default value for background-mode.
6774 (vc-annotate-background): Set default value to nil since now text on
6775 the default backgrounds should be legible in light and dark modes.
6776 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
6777 (Bug#17808)
6778
6779 2014-07-08 Juri Linkov <juri@jurta.org>
6780
6781 * simple.el (transpose-chars): Don't move point into read-only area.
6782 (Bug#17829)
6783
6784 2014-07-08 Juri Linkov <juri@jurta.org>
6785
6786 * window.el (with-displayed-buffer-window): New macro.
6787 (with-temp-buffer-window, with-current-buffer-window):
6788 Use `macroexp-let2' to evaluate and bind variables
6789 in the same order as macro arguments.
6790 (display-buffer--action-function-custom-type):
6791 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6792
6793 * minibuffer.el (minibuffer-completion-help): Replace
6794 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6795 with actions that display *Completions* at-bottom when called
6796 from the minibuffer, or below-selected in a normal buffer.
6797 Associate `window-height' with `fit-window-to-buffer'.
6798 Let-bind `pop-up-windows' to nil.
6799
6800 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6801 instead of `with-current-buffer-window'. (Bug#17809)
6802
6803 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
6804
6805 * progmodes/hideif.el (hide-ifdef-env): Change to global.
6806 (hide-ifdef-env-backup): New variable.
6807 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6808 New customizable variables.
6809 (hif-clear-all-ifdef-defined): New defun.
6810 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6811 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6812 (hif-tokenize): Fix for MS-DOS/Win EOL style.
6813 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6814 Fix bug to hide the correct #elif region(s).
6815 (hif-range-elif): New defun.
6816 (hif-recurse-level): New var.
6817 (hif-evaluate-region, hif-evaluate-macro): New defun.
6818 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6819 fully hidden.
6820 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6821 Better interaction.
6822
6823 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
6824
6825 * net/dbus.el (dbus-peer-handler): New defun.
6826 (dbus-register-service): Register it. (Bug#17858)
6827 (dbus-managed-objects-handler): Fix docstring.
6828
6829 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
6830
6831 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6832 (narrow-to-defun): New arg include-comments, defaulting to it
6833 (bug#16328).
6834
6835 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6838 different calling convention to rectangle--unhighlight-for-redisplay.
6839
6840 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
6841
6842 * net/tramp.el (tramp-call-process): Handle error strings.
6843
6844 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6845
6846 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6847 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6848
6849 * net/trampver.el: Update release number.
6850
6851 2014-07-03 Juri Linkov <juri@jurta.org>
6852
6853 * desktop.el (desktop-save): Rename arg `auto-save' to
6854 `only-if-changed'. Doc fix. (Bug#17873)
6855
6856 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6859 Use insert-for-yank (bug#17271).
6860
6861 2014-07-03 Leo Liu <sdl.web@gmail.com>
6862
6863 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6864 Support lexical-binding.
6865
6866 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * vc/log-edit.el (log-edit-goto-eoh): New function.
6869 (log-edit--match-first-line): Use it (bug#17861).
6870
6871 2014-07-03 Glenn Morris <rgm@gnu.org>
6872
6873 * vc/log-edit.el (log-edit-hook): Add missing :version.
6874
6875 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6876
6877 * progmodes/python.el (python-indent-post-self-insert-function):
6878 Enhancements to electric indentation behavior inside
6879 parens. (Bug#17658)
6880
6881 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6884 buffer-invisibility-spec (bug#17867).
6885
6886 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
6887
6888 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6889 pass "-a".
6890
6891 2014-07-03 Glenn Morris <rgm@gnu.org>
6892
6893 * cus-edit.el (help):
6894 * finder.el (finder-known-keywords):
6895 * help.el (help-for-help-internal):
6896 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6897 (ediff-redraw-registry-buffer):
6898 * vc/ediff-ptch.el (ediff-patch-file-internal):
6899 Doc fixes re "online" help. (Bug#17803)
6900
6901 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6902 (idlwave-mode): Doc URL update.
6903
6904 2014-07-01 Juri Linkov <juri@jurta.org>
6905
6906 * man.el: Display man pages immediately and use process-filter
6907 to format them asynchronously.
6908 (Man-width): Doc fix.
6909 (man): Doc fix.
6910 (Man-start-calling): Use `with-selected-window' to get
6911 `frame-width' and `window-width'.
6912 (Man-getpage-in-background): Call `Man-notify-when-ready'
6913 immediately after creating a new buffer. Call `Man-mode' and set
6914 `mode-line-process' in the created buffer. Set process-filter to
6915 `Man-bgproc-filter' in start-process branch. In call-process branch
6916 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6917 Use `Man-start-calling' inside `with-current-buffer'.
6918 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
6919 (Man-cleanup-manpage): Don't print messages.
6920 (Man-bgproc-filter): New function.
6921 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6922 user moved it during asynchronous formatting. Move calls of
6923 `Man-fontify-manpage' and `Man-cleanup-manpage' to
6924 `Man-bgproc-filter'. Move the call of `Man-mode' to
6925 `Man-getpage-in-background'. Use `quit-restore-window'
6926 instead of `kill-buffer'. Use `message' instead of `error'
6927 because errors are caught by process sentinel.
6928 (Man-mode): Move calls of `Man-build-page-list',
6929 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6930 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
6931
6932 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6933 for the message about the man page cleaned up.
6934
6935 2014-07-01 Mario Lang <mlang@delysid.org>
6936
6937 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6938 cosutomization option `gnutls-verify-error'.
6939
6940 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6943 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6944
6945 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6946 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6947 is suspended (bug#17857).
6948
6949 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
6950
6951 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6952 Prefer utf-8 coding. (Bug#17859)
6953
6954 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6955
6956 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6957 for `reverse'.
6958
6959 2014-06-30 Glenn Morris <rgm@gnu.org>
6960
6961 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6962 (autoload-ensure-default-file): Maybe make existing output writable.
6963 * Makefile.in (AUTOGEN_VCS): Remove.
6964 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6965
6966 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6967
6968 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
6969
6970 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
6971
6972 New if-let, when-let, thread-first and thread-last macros.
6973
6974 * emacs-lisp/subr-x.el
6975 (internal--listify, internal--check-binding)
6976 (internal--build-binding-value-form, internal--build-binding)
6977 (internal--build-bindings): New functions.
6978 (internal--thread-argument, thread-first, thread-last)
6979 (if-let, when-let): New macros.
6980
6981 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
6982
6983 * net/rcirc.el (rcirc-buffer-process): Restore previous
6984 behaviour. (Bug#17772)
6985
6986 2014-06-29 Alan Mackenzie <acm@muc.de>
6987
6988 Don't call c-parse-state when c++-template-syntax-table is active.
6989 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
6990 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
6991 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
6992
6993 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
6994
6995 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
6996 account for file-wide setting of todo-top-priorities-overrides.
6997 Make code a bit cleaner.
6998
6999 2014-06-28 Glenn Morris <rgm@gnu.org>
7000
7001 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
7002
7003 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7004
7005 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
7006 category-wide setting of todo-top-priorities-overrides, check for
7007 a file-wide setting and fontify accordingly.
7008
7009 2014-06-28 Glenn Morris <rgm@gnu.org>
7010
7011 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
7012
7013 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
7016
7017 2014-06-28 K. Handa <handa@gnu.org>
7018
7019 Fix Bug#17739.
7020
7021 * composite.el: Setup composition-function-table for dotted circle.
7022 (compose-gstring-for-dotted-circle): New function.
7023
7024 * international/characters.el: Add category "^" to all
7025 non-spacing characters.
7026
7027 2014-06-28 Glenn Morris <rgm@gnu.org>
7028
7029 * Makefile.in (doit): Remove force rule.
7030 (custom-deps, finder-data, autoloads, update-subdirs)
7031 (compile-one-process): PHONY targets do not need force rules.
7032
7033 * Makefile.in (compile-main, compile, compile-always):
7034 No need to explicitly pass variables to ourself in recursive calls.
7035
7036 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
7039
7040 2014-06-26 Glenn Morris <rgm@gnu.org>
7041
7042 * Makefile.in (update-authors): Update for moved authors.el.
7043
7044 2014-06-26 Leo Liu <sdl.web@gmail.com>
7045
7046 * skeleton.el (skeleton-end-hook): Default to nil and move the
7047 work to skeleton-insert. (Bug#17850)
7048
7049 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
7050
7051 * calc/calc-alg.el (math-beforep):
7052 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
7053 Simplify because string-lessp can accept symbols as args.
7054
7055 2014-06-26 Daiki Ueno <ueno@gnu.org>
7056
7057 * emacs-lisp/package.el (package--check-signature):
7058 If package-check-signature is allow-unsigned, don't signal error when
7059 we can't verify signature because of missing public key
7060 (bug#17625).
7061
7062 2014-06-26 Glenn Morris <rgm@gnu.org>
7063
7064 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
7065 Remove outdated declaration.
7066
7067 * emacs-lisp/authors.el (authors-valid-file-names)
7068 (authors-renamed-files-alist): Additions.
7069
7070 2014-06-26 Leo Liu <sdl.web@gmail.com>
7071
7072 * textmodes/picture.el (picture-set-tab-stops):
7073 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
7074 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
7075
7076 * progmodes/asm-mode.el (asm-calculate-indentation):
7077 Use indent-next-tab-stop.
7078
7079 * indent.el (indent-accumulate-tab-stops): New function.
7080
7081 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
7084 (package-desc-status): Obey it.
7085
7086 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
7087
7088 * calendar/todo-mode.el: Fix two bugs.
7089 (todo-insert-item--basic): If user cancels item insertion to
7090 another category before setting priority, show original category
7091 whether it is in the same or a different file.
7092 (todo-set-item-priority): After selecting category, instead of
7093 moving point to top, which extends an active region, restore it.
7094
7095 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * help-fns.el (describe-function-1): Check file-name is a string before
7098 calling help-fns--autoloaded-p (bug#17564).
7099
7100 2014-06-26 Juri Linkov <juri@jurta.org>
7101
7102 * desktop.el (desktop-auto-save-enable)
7103 (desktop-auto-save-disable): New functions.
7104 (desktop-save-mode, desktop-auto-save-timeout): Use them.
7105 (desktop-read): Disable the autosave before loading the desktop,
7106 and enable afterwards. (Bug#17351)
7107
7108 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 Fix some indentation problem with \; and pipes (bug#17842).
7111 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
7112 (sh-smie--default-forward-token, sh-smie--default-backward-token):
7113 New functions.
7114 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
7115 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
7116 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
7117
7118 2014-06-26 Glenn Morris <rgm@gnu.org>
7119
7120 * emacs-lisp/find-func.el (find-function-C-source-directory):
7121 Use file-accessible-directory-p.
7122
7123 * ps-samp.el: Make it slightly less awful.
7124 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
7125 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
7126 Only set local values.
7127 (ps-article-subject, ps-article-author): Use standard functions
7128 like mail-fetch-field.
7129 (ps-info-file, ps-info-node): Use match-string.
7130 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
7131 (ps-samp-ps-setup): ... new function.
7132
7133 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
7134 Optimize away code unneeded on any modern Emacs.
7135
7136 * emacs-lisp/authors.el: Move to ../admin.
7137
7138 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7139
7140 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
7141
7142 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
7143 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
7144 performance enhancements.
7145 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
7146 expansion.
7147 (hif-factor, hif-string-concatenation, intern-safe): Support string
7148 concatenation and argumented macro expansion.
7149 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
7150 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
7151 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
7152 (hif-canonicalize-tokens, hif-place-macro-invocation)
7153 (hif-parse-macro-arglist): Mostly new functions for supporting
7154 argumented macro expansion.
7155 (hif-string-concatenation, hif-stringify, hif-token-concat)
7156 (hif-token-stringification, hif-token-concatenation):
7157 Stringification and concatenation.
7158 (hif-find-next-relevant): Fix comments.
7159 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
7160 some cases involving #elif.
7161 (hif-find-define, hif-add-new-defines): New functions for automatically
7162 scanning of defined symbols.
7163 (hide-ifdef-guts): Fix for defined symbol auto scanning.
7164 (hide-ifdef-undef): Fix behavior to match CPP.
7165
7166 2014-06-25 Glenn Morris <rgm@gnu.org>
7167
7168 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
7169 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
7170 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
7171 files. They are not relevant to the original issue (bug#1004),
7172 and cause unnecessary recompilation (bug#2151).
7173
7174 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 * play/landmark.el: Use lexical-binding and avoid `intangible'.
7177 (landmark--last-pos): New var.
7178 (landmark--intangible-chars): New const.
7179 (landmark--intangible): New function.
7180 (landmark-mode, landmark-move): Use it.
7181 (landmark-mode): Remove properties.
7182 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
7183 (landmark-cross-qtuple):
7184 Don't worry about `intangible' any more.
7185 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
7186 (landmark-init-display): Don't set `intangible' and `point-entered'.
7187 (square): Remove. Inline it instead.
7188 (landmark--distance): Rename from `distance'.
7189 (landmark-calc-distance-of-robot-from): Rename from
7190 calc-distance-of-robot-from.
7191 (landmark-calc-smell-internal): Rename from calc-smell-internal.
7192
7193 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
7194
7195 * files.el (dir-locals-find-file, file-relative-name):
7196 * info.el (Info-complete-menu-item):
7197 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
7198 to compare-strings to avoid out-of-range errors.
7199 * subr.el (string-prefix-p): Adjust to match strict range
7200 checking in compare-strings.
7201
7202 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
7203
7204 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
7205 for comment lines non-greedy and stopping at newlines to fix stack
7206 overflows with large files.
7207
7208 2014-06-24 Eli Barzilay <eli@barzilay.org>
7209
7210 * calculator.el (calculator-last-input): Drop 'ascii-character property
7211 lookup.
7212
7213 2014-06-24 Leo Liu <sdl.web@gmail.com>
7214
7215 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
7216 tab-stop-list to nil. (Bug#16381)
7217
7218 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
7219 (indent-rigidly-left-to-tab-stop)
7220 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7221 (move-to-tab-stop): Change callers.
7222
7223 2014-06-24 Eli Zaretskii <eliz@gnu.org>
7224
7225 * skeleton.el (skeleton-insert): Yet another fix of the doc string
7226 wrt behavior of \n as the first/last element of a skeleton.
7227
7228 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7229
7230 * net/tramp-adb.el (tramp-adb-handle-process-file):
7231 * net/tramp-sh.el (tramp-sh-handle-process-file):
7232 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7233 the output buffer when DISPLAY is non-nil. (Bug#17815)
7234
7235 2014-06-24 Glenn Morris <rgm@gnu.org>
7236
7237 * play/landmark.el (landmark-move-down, landmark-move-up):
7238 Fix 2007-10-20 change - preserve horizontal position.
7239
7240 2014-06-23 Sam Steingold <sds@gnu.org>
7241
7242 * simple.el (kill-append): Remove undo boundary depending on ...
7243 (kill-append-merge-undo): New user option.
7244
7245 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * simple.el (handle-shift-selection, exchange-point-and-mark)
7248 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7249 (transient-mark-mode): Use&set the global value.
7250 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7251 * emulation/edt.el (edt-emulation-off): Save&restore the global
7252 transient-mark-mode setting.
7253 * obsolete/pc-select.el (pc-selection-mode): Use the
7254 transient-mark-mode function.
7255
7256 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7257
7258 * international/fontset.el (script-representative-chars):
7259 Add representative characters for scripts added in Unicode 7.0.
7260 (otf-script-alist): Synchronize with the latest registry of OTF
7261 script tags.
7262
7263 * international/characters.el (char-script-table): Update for
7264 scripts added and codepoint ranges changed in Unicode 7.0.
7265
7266 2014-06-23 Eli Barzilay <eli@barzilay.org>
7267
7268 * calculator.el (calculator-standard-displayer): Fix bug in use of
7269 `calculator-groupize-number'.
7270 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7271 `eval' code, so it works in v24.3.1 too.
7272 (calculator-last-input): Comment to clarify purpose.
7273
7274 2014-06-22 Mario Lang <mlang@delysid.org>
7275
7276 * textmodes/rst.el (rst-comment-region): From from -> from.
7277
7278 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7279
7280 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7281
7282 * electric.el (electric-layout-post-self-insert-function):
7283 * emacs-lisp/ert.el (ert--insert-infos):
7284 * obsolete/vi.el (vi-set-mark):
7285 * term.el (term-handle-scroll):
7286 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7287 * wid-edit.el (widget-editable-list-value-create):
7288 Prefer point-marker to copy-marker of point.
7289
7290 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7291
7292 Fix completion retrieval parsing (bug#17209).
7293 * progmodes/python.el (python-mode):
7294 (python-util-strip-string): New function.
7295 (python-shell-completion-get-completions): Use it.
7296
7297 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7298
7299 * skeleton.el (skeleton-insert): Fix last change.
7300
7301 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7302
7303 Enhancements for outline integration (bug#17796).
7304 * progmodes/python.el (python-mode): Properly set
7305 outline-heading-end-regexp so that comments after colons for
7306 defuns are supported.
7307
7308 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7309
7310 * skeleton.el (skeleton-insert): Doc fix.
7311
7312 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7315 (smie-config-guess): Use smie-config-local so the rules are obeyed
7316 (bug#17818).
7317
7318 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7319 since it's already done inside the loop (bug#17819).
7320
7321 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7322
7323 * mouse.el (mouse-drag-line): Re-remove code initially removed
7324 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7325 (Bug#17819).
7326
7327 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7330 align with the surrounding parent (bug#17721).
7331
7332 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7333
7334 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7335 locally to nil.
7336 (texinfo-insert-block, texinfo-insert-@end)
7337 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7338 local setting of skeleton-end-newline by adding an explicit \n to
7339 the skeletons where appropriate. (Bug#17801)
7340
7341 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7344 (smie-indent--hanging-p): Use it.
7345 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7346
7347 2014-06-21 Leo Liu <sdl.web@gmail.com>
7348
7349 * simple.el (read-quoted-char): Don't let help chars pop up help
7350 buffer. (Bug#16617)
7351
7352 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7355 for | (bug#17621).
7356
7357 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7358 Drop unknown events instead of burping.
7359
7360 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7361
7362 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7363 and later. (Bug#17790)
7364
7365 2014-06-21 Juri Linkov <juri@jurta.org>
7366
7367 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7368 to `soft'. (Bug#17554)
7369
7370 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7373 (bug#17737).
7374
7375 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7376
7377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7378 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7379
7380 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7381
7382 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7383 `unread-command-events'.
7384
7385 2014-06-19 William Xu <william.xwl@gmail.com>
7386
7387 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7388 hex integer constants (bug#17807).
7389
7390 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * international/mule-util.el (truncate-string-ellipsis): New var.
7393 (truncate-string-to-width): Use it.
7394
7395 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7396
7397 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7398 (lisp-string-in-doc-position-p): New function, extracted from
7399 lisp-font-lock-syntactic-face-function.
7400 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7401
7402 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7403
7404 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7405
7406 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7409 (bubbles--game-over): Don't add `intangible' properties since they
7410 didn't work anyway.
7411
7412 2014-06-18 Juri Linkov <juri@jurta.org>
7413
7414 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7415 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7416 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7417 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7418 Add `min-colors 88' version with removed black/white foregrounds.
7419 (Bug#10181)
7420
7421 2014-06-18 Juri Linkov <juri@jurta.org>
7422
7423 * vc/diff-mode.el (diff-changed): Empty face definition to use
7424 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7425 (diff-context): Use darker color on light background and
7426 lighter color on dark background.
7427
7428 2014-06-18 Juri Linkov <juri@jurta.org>
7429
7430 * vc/diff-mode.el (diff-refine-changed): Rename from
7431 `diff-refine-change' for consistency with `diff-changed'.
7432 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7433
7434 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7435 `smerge-refined-change'.
7436 (smerge-refined-change): Add obsolete face alias.
7437
7438 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * rect.el (rectangle-preview): New custom.
7441 (rectangle): New group.
7442 (rectangle--pos-cols): Add `window' argument.
7443 (rectangle--string-preview-state, rectangle--string-preview-window):
7444 New vars.
7445 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7446 (rectangle--space-to, rectangle--string-preview): New functions.
7447 (string-rectangle): Use them.
7448 (rectangle--inhibit-region-highlight): New var.
7449 (rectangle--highlight-for-redisplay): Obey it. Make sure
7450 `apply-on-region' uses the point-crutches of the right window.
7451 Use :align-to rather than multiple spaces.
7452
7453 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7454
7455 * ruler-mode.el (ruler-mode-window-col)
7456 (ruler-mode-mouse-set-left-margin)
7457 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7458 from mouse position (Bug#17768).
7459
7460 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7461
7462 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7463 without varname or rhs causes crash.
7464 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7465 impossible to win endgame.
7466 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7467 rlogin is anymore.
7468 (dun-help): Bump version number; update contact info.
7469
7470 2014-06-15 Eli Barzilay <eli@barzilay.org>
7471
7472 * calculator.el (calculator-prompt, calculator-remove-zeros)
7473 (calculator-mode-hook, calculator-operators, calculator-stack)
7474 (calculator-mode): Tweak docstring.
7475 (calculator-user-operators): Tweak docstring, fix a bug in the last
7476 example.
7477 (calculator-displayer): `std' case has an optional boolean.
7478 (calculator-displayers): Use the new boolean to group in decimal mode.
7479 (calculator-mode-map, calculator, calculator-message)
7480 (calculator-op-arity, calculator-add-operators)
7481 (calculator-string-to-number, calculator-displayer-prev)
7482 (calculator-displayer-next, calculator-remove-zeros)
7483 (calculator-eng-display, calculator-number-to-string)
7484 (calculator-update-display, calculator-last-input)
7485 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7486 (calculator-exp, calculator-saved-move, calculator-clear)
7487 (calculator-copy, calculator-put-value, calculator-help)
7488 (calculator-expt, calculator-truncate): Minor code improvements.
7489 (calculator-need-3-lines): New function pulling out code from
7490 `calculator'.
7491 (calculator-get-display): Rename from `calculator-get-prompt', and
7492 improved.
7493 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7494 extended for all uses of it. All callers changed.
7495 (calculator-groupize-number): New utility for splitting a number into
7496 groups.
7497 (calculator-standard-displayer): Improve code, new optional argument to
7498 use comma-split groups, make second argument optional too to use with
7499 'left/'right inputs. All callers changed.
7500 (calculator-reduce-stack-once): New utility, doing the meat of what
7501 `calculator-reduce-stack' used to do, much improved (mostly using
7502 `pcase' for conciseness and clarity).
7503 (calculator-reduce-stack): Now doing just the reduction loop using
7504 `calculator-reduce-stack-once'.
7505 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7506 (calculator-last-input): Improve code, remove some old cruft.
7507 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7508 (calculator-integer-p): Remove.
7509 (calculator-fact): Improve code, make it work on non-integer values
7510 too (using truncated numbers).
7511
7512 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7513
7514 Sync with Tramp 2.2.10.
7515
7516 * net/tramp.el (tramp-methods): Tweak docstring.
7517 (tramp-handle-file-accessible-directory-p): Check for
7518 `file-readable-p' instead of `file-executable-p'.
7519 (tramp-check-cached-permissions):
7520 Use `tramp-compat-file-attributes'.
7521 (tramp-call-process): Add new argument VEC. Adapt callees in all
7522 tramp*.el files.
7523
7524 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7525 (tramp-adb-maybe-open-connection): Don't set
7526 `tramp-current-*' variables.
7527
7528 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7529 file properties of temporary buffers.
7530
7531 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7532
7533 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7534 (tramp-gvfs-handle-delete-file): Flush file
7535 properties, not directory properties.
7536 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7537 reading "unix::mode".
7538 (tramp-gvfs-handle-file-name-all-completions):
7539 Use "-h" option for "gvfs-ls".
7540 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7541 (tramp-gvfs-send-command): Simplify traces.
7542
7543 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7544 (vc-git-program, vc-hg-program): Declare.
7545 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
7546 (tramp-methods) <nc>: Add new method.
7547 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7548 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7549 `tramp-login-args'.
7550 (tramp-default-user-alist): Add "nc".
7551 (top): Remove completion function for "sftp". Add completion
7552 functions for "nc" and "psftp".
7553 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7554 Implement support for "nc" method.
7555 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7556 (tramp-remote-coding-commands, tramp-call-local-coding-command):
7557 Tweak docstring.
7558 (tramp-sh-handle-write-region): Tweak error message.
7559 (tramp-sh-handle-vc-registered): Remove backends when the remote
7560 binary does not exist.
7561 (tramp-find-inline-encoding): Do not raise an error.
7562 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
7563 the "nc" case. Quote result also locally.
7564
7565 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7566 (tramp-smb-handle-set-file-acl): Use `start-process'.
7567 (tramp-smb-handle-insert-directory): Use progress reporter.
7568 (tramp-smb-handle-rename-file): Flush also file properties of
7569 FILENAME.
7570
7571 * net/trampver.el: Update release number.
7572
7573 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
7576 add-to-list.
7577 (ses-localvars): Remove ses--local-printer-list, unused.
7578 (ses--metaprogramming): New macro. Use it to defvar variables.
7579 (ses-set-localvars): Simplify.
7580 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
7581 property-list into an alist.
7582 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7583 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
7584 Remove; use defstruct accessors/setters instead.
7585 (ses-cell-formula-aset, ses-cell-printer-aset)
7586 (ses-cell-references-aset): Remove, use setf instead.
7587 (ses--alist-get): New function.
7588 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
7589 Use an alist instead of a plist and don't do move-to-front since the
7590 list is always short.
7591 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
7592 (ses-cell-property-set-fun, ses-cell-property-set)
7593 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
7594 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
7595 (ses--letref): New macro.
7596 (ses-cell-property-pop): Rewrite.
7597 (ses--cell): Rename from ses-cell and make it into a function.
7598 Make `formula' fallback on `value' if nil.
7599 (ses--local-printer): Rename from ses-local-printer and make it into
7600 a function.
7601 (ses-set-cell): Turn it into a macro so finding the accessor from the
7602 field name is done at compile time.
7603 (ses-repair-cell-reference-all): Test presence of `sym' rather than
7604 `ref' before adding `sym' to :ses-repair-reference.
7605 (ses-calculate-cell): Use ses--letref rather than
7606 ses-cell-property-get-handle.
7607 (ses-write-cells): Use a single prin1-to-string.
7608 (ses-setter-with-undo): New function.
7609 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
7610 (ses-unset-with-undo): Remove.
7611 (ses-load): Prefer apply' over `eval'.
7612 (ses-read-printer, ses-set-column-width): Use standard "(default
7613 foo)" format.
7614
7615 2014-06-15 Glenn Morris <rgm@gnu.org>
7616
7617 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
7618
7619 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
7620 Replace delete-duplicates and mapcan by cl- versions throughout.
7621 And cl-macroexpand-all by macroexpand-all.
7622 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
7623
7624 2014-06-15 Eli Zaretskii <eliz@gnu.org>
7625
7626 * subr.el (posn-col-row): Doc fix. (Bug#17768)
7627
7628 2014-06-15 Juri Linkov <juri@jurta.org>
7629
7630 * bindings.el: Put `ascii-character' property on keypad keys
7631 mapped to characters. (Bug#17759)
7632
7633 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7636 bumping forward into a closing paren (bug#17761).
7637
7638 * term/xterm.el (xterm--version-handler): Work around for OSX
7639 Terminal.app (bug#17607).
7640
7641 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
7642
7643 * play/dunnet.el (dun-describe-room, dun-mode):
7644 If a lamp is in the room, you won't be eaten by a grue.
7645
7646 2014-06-13 Glenn Morris <rgm@gnu.org>
7647
7648 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7649 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7650 (compile-always): GNU make automatically passes
7651 command-line arguments to sub-makes.
7652
7653 * calendar/calendar.el (calendar-generate-window):
7654 Remove pointless call to font-lock-fontify-buffer.
7655
7656 2014-06-13 Matthias Meulien <orontee@gmail.com>
7657
7658 * simple.el (completion-list-mode-map): Navigate with tab and backtab
7659 (bug#17767).
7660
7661 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * simple.el (set-mark-command): Simplify a bit.
7664
7665 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7666
7667 * help.el (help--key-binding-keymap): New function.
7668 (help--binding-locus): New function.
7669 (describe-key): Mention the keymap in which the binding was
7670 found. (bug#13948)
7671
7672 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * hippie-exp.el (he--all-buffers): New function.
7675 (try-expand-line-all-buffers, try-expand-list-all-buffers)
7676 (try-expand-dabbrev-all-buffers): Use it.
7677
7678 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
7679
7680 * hippie-exp.el (try-expand-line-all-buffers)
7681 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7682 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7683 original buffer, in case they're buffer-local.
7684
7685 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
7686
7687 * ses.el (ses-initial-global-parameters-re): New defconst, a
7688 specific regexp is needed now that ses.el can handle both
7689 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7690 local printers.
7691 (ses-localvars): Add local variables needed for local printer handling.
7692 (ses-set-localvars): Handle hashmap initialisation.
7693 (ses-paramlines-plist): Add param-line for number of local printers.
7694 (ses-paramfmt-plist): New defconst, needed for code factorization
7695 between functions `ses-set-parameter' and
7696 `ses-file-format-extend-paramter-list'
7697 (ses-make-local-printer-info): New defsubst.
7698 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7699 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7700 (ses-cell-printer-aset): New defmacro.
7701 (ses-local-printer-compile): New defun.
7702 (ses-local-printer): New defmacro.
7703 (ses-printer-validate, ses-call-printer): Add support for local
7704 printer functions.
7705 (ses-file-format-extend-paramter-list): New defun.
7706 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7707 factorization.
7708 (ses-load): Add support for local printer functions.
7709 (ses-read-printer): Update docstring and add support for local printer
7710 functions.
7711 (ses-refresh-local-printer, ses-define-local-printer): New defun.
7712 (ses-safe-printer): Add support for local printer functions.
7713
7714 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
7715
7716 * ffap.el (ffap-lax-url): New var (bug#17723).
7717 (ffap-url-at-point): Use it.
7718 (ffap-file-at-point): Avoid returning just "/".
7719
7720 2014-06-12 Matthias Meulien <orontee@gmail.com>
7721
7722 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7723 (python-mode-map): Bind it.
7724
7725 * progmodes/python.el (class skeleton): Don't erase last char of class
7726 name (bug#17683).
7727
7728 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
7729
7730 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7731
7732 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
7733
7734 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7735 (bug#17745).
7736
7737 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * international/mule-cmds.el: Use lexical-binding.
7740 (ucs-names): Simplify.
7741
7742 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
7743
7744 * progmodes/python.el (run-python): Use read-shell-command.
7745
7746 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * rect.el: Make it possible to move bounds past EOL or into TABs.
7749 (operate-on-rectangle): Use apply-on-rectangle.
7750 (rectangle--mark-crutches): New var.
7751 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7752 (rectangle--crutches, rectangle--reset-crutches): New functions.
7753 (apply-on-rectangle): Obey crutches. Avoid setq.
7754 Fix missing final iteration if end is at EOB&BOL.
7755 (rectangle-mark-mode-map): Add remap bindings for
7756 exchange-point-and-mark and char/line movements.
7757 (rectangle--*-char): New function.
7758 (rectangle-exchange-point-and-mark, rectangle-right-char)
7759 (rectangle-left-char, rectangle-forward-char)
7760 (rectangle-backward-char, rectangle-next-line)
7761 (rectangle-previous-line): New commands.
7762 (rectangle--place-cursor): New function.
7763 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
7764
7765 2014-06-08 Glenn Morris <rgm@gnu.org>
7766
7767 * startup.el (initial-buffer-choice): Doc fix.
7768 Reset :version (adding an option does not merit a :version bump).
7769
7770 * bookmark.el (bookmark-load):
7771 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7772
7773 2014-06-08 Juri Linkov <juri@jurta.org>
7774
7775 * desktop.el: Activate auto-saving on window configuration changes.
7776 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7777 `desktop-auto-save-set-timer' to/from
7778 `window-configuration-change-hook'.
7779 (desktop-auto-save-set-timer): Change REPEAT arg of
7780 `run-with-idle-timer' from t to nil.
7781 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7782
7783 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
7784
7785 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7786 vc-hg-command (bug#17570).
7787
7788 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * international/mule-cmds.el (ucs-names): Add special entry for BEL
7791 (bug#17702).
7792
7793 2014-06-08 Glenn Morris <rgm@gnu.org>
7794
7795 * startup.el (window-setup-hook): Doc fix.
7796
7797 * emacs-lisp/package.el (package-check-signature)
7798 (package-unsigned-archives): Doc fixes.
7799
7800 2014-06-08 Martin Rudalics <rudalics@gmx.at>
7801
7802 * window.el (display-buffer-use-some-window): Don't make window
7803 used smaller than it was before (Bug#17671).
7804
7805 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7806
7807 * menu-bar.el (menu-bar-open): Fix last change: use the PC
7808 'redisplay' instead of '(sit-for 0)'.
7809
7810 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * net/tramp.el (tramp-ssh-controlmaster-options):
7813 Improve search regexp. (Bug#17653)
7814
7815 2014-06-08 Glenn Morris <rgm@gnu.org>
7816
7817 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7818
7819 2014-06-08 Eli Zaretskii <eliz@gnu.org>
7820
7821 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7822
7823 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
7824
7825 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7826 (bug#17586).
7827
7828 * vc/vc-hg.el (vc-hg-log-graph): New var.
7829 (vc-hg-print-log): Use it.
7830 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7831 graph output (bug#17515).
7832
7833 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * mouse.el (mouse-posn-property): Ignore buffer position info when the
7836 even happened elsewhere.
7837
7838 2014-06-06 Mario Lang <mlang@delysid.org>
7839
7840 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7841 `recenter' if `current-buffer' is equal to `window-buffer'.
7842
7843 2014-06-05 Leo Liu <sdl.web@gmail.com>
7844
7845 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7846
7847 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
7848
7849 * textmodes/tildify.el (tildify-foreach-region-outside-env):
7850 New function which calls a callback on portions of the buffer that are
7851 outside of ignored environments.
7852 (tildify-build-regexp): Remove function since it is now
7853 incorporated in `tildify-foreach-region-outside-env' where it is
7854 optimized and simplified by the use of `mapconcat'.
7855 (tildify-tildify): Return number of substitutions made so that…
7856 (tildify-count): …can be removed.
7857 (tildify-find-env): Accept a new PAIRS argument which was
7858 previously looked up in `tildify-ignored-environments-alist' each
7859 time the function was called. With this change, the lookup is
7860 performed only once in `tildify-foreach-region-outside-env'.
7861 (tildify-region): Greatly simplify the function since now most of
7862 the work is done by `tildify-foreach-region-outside-env'.
7863 (tildify-mode-alist): Simplify slightly by avoiding if and setq
7864 and instead using or.
7865
7866 * textmodes/tildify.el (tildify-ignored-environments-alist):
7867 Optimize environments regexes
7868
7869 Each time beginning of an environment to ignore is found,
7870 `tildify-find-env' needs to identify regexp for the ending
7871 of the environment. This is done by trying all the opening
7872 regexes on matched text in a loop, so to speed that up, this
7873 loop should have fewer things to match, which can be done by
7874 using alternatives in the opening regexes.
7875
7876 Coincidentally, this should make matching of the opening
7877 regexp faster as well thanks to the use of `regexp-opt' and
7878 having common prefix pulled from many regexes.
7879
7880 * textmodes/tildify.el (tildify-string-alist)
7881 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7882 of supported modes since `xml-mode' is no longer a thing but just
7883 an alias to the former. Also include comments and insides of tags
7884 in `tildify-ignored-environments-alist' for XML modes. Finally,
7885 since XML does not define “&nbsp;”[1], use a numeric reference for
7886 a no-break space (namely “&#160;”)
7887
7888 [1] XML specification defines only a handful of predefined entities.
7889 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7890 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
7891 >, &, ' and " respectively). This is in contrast to HTML and even
7892 XHTML which defined a whole bunch of entities including “&nbsp;”.
7893
7894 * textmodes/tildify.el (tildify-pattern-alist)
7895 (tildify-string-alist, tildify-ignored-environments-alist):
7896 Improve defcustom's types by adding more tags explaining what each
7897 value means and replace “sexp” used in
7898 `tildify-ignored-environments-alist' with a full type declaration.
7899
7900 * textmodes/tildify.el (tildify-find-env): Fix matched group
7901 indexes in end-regex building
7902
7903 When looking for a start of an ignore-environment, the regex is built
7904 by concatenating regexes of all the environments configured in
7905 `tildify-ignored-environments-alist'. So for example, the following
7906 list could be used to match TeX's \verb and \verb* commands:
7907
7908 (("\\\\verb\\(.\\)" . (1))
7909 ("\\\\verb\\*\\(.\\)" . (1)))
7910
7911 This would result in the following regex being used to find the start
7912 of any of the variants of the \verb command:
7913
7914 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7915
7916 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7917 won't match anything, and thus (match-string 1) will be nil, which
7918 will cause building of the end-matching regex to fail.
7919
7920 Fix this by using capture groups from the time when the opening
7921 regexes are matched individually.
7922
7923 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7924 in `tildify-find-env'
7925
7926 The `tildify-ignored-environments-alist' allows the end-regex to
7927 be provided not as a static string but mix of strings and indexes
7928 of groups matched the begin-regex. For example, the “\verb!…!”
7929 TeX-command (where “!” is an arbitrary character) is handled
7930 using:
7931
7932 ("\\\\verb\\*?\\(.\\)" . (1))
7933
7934 In the same way, the following should be supported as well:
7935
7936 ("open-\\(.\\)" . ("end-" 1))
7937
7938 However the tildify-find-env function fails at
7939
7940 (concat result
7941 (if (stringp (setq aux (car expression)))
7942 expression ; BUG: expression is a list
7943 (regexp-quote (match-string aux))))
7944
7945 where the string part is handled incorrectly.
7946
7947 The most trivial fix would be to replace `expression' in the
7948 true-part of the if-statement with `aux', but instead, this commit
7949 optimizes `tildify-find-env' by changing it to use `mapconcat'
7950 rather than open-coded while-loop.
7951
7952 2014-06-05 Mario Lang <mlang@delysid.org>
7953
7954 * woman.el (woman-mapcan): Remove.
7955 (woman-parse-colon-path): Use cl-mapcan instead.
7956
7957 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7958
7959 * register.el: Add link to Emacs manual in Commentary.
7960
7961 2014-06-02 Sam Steingold <sds@gnu.org>
7962
7963 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7964 (popup-menu): ...here.
7965 (menu-bar-open): Use it to avoid an error when `lookup-key'
7966 returns a number.
7967
7968 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
7969
7970 * net/tramp.el (tramp-call-process): Add traces.
7971 (tramp-handle-unhandled-file-name-directory): Return "/".
7972
7973 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
7974
7975 Sync with upstream verilog-mode revision 3cd8144.
7976 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
7977 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
7978 (verilog-type-font-keywords): Add nor.
7979 (verilog-batch-execute-func): Force reading of Local Variables.
7980 Fix printing "no changes to be saved" with verilog-batch.
7981 (verilog-auto-arg-ports): Doc fix.
7982 Add verilog-auto-arg-format to support newlines in AUTOARG.
7983 (verilog-auto-arg): Doc fix.
7984
7985 2014-06-02 Glenn Morris <rgm@gnu.org>
7986
7987 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
7988 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
7989 * emulation/ws-mode.el: Move to obsolete/.
7990 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
7991
7992 2014-06-02 Eli Zaretskii <eliz@gnu.org>
7993
7994 * simple.el (keyboard-quit): Force update of mode lines, to remove
7995 the "Def" indicator, if we were defining a macro. (Bug#17615)
7996
7997 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * minibuffer.el (minibuffer-force-complete-and-exit):
8000 Obey minibuffer-default (bug#17545).
8001
8002 * progmodes/js.el (js-indent-line): Don't mix columns and chars
8003 (bug#17619).
8004
8005 * subr.el (set-transient-map): Don't wait for some "nested"
8006 transient-map to finish if we're only supposed to be active for
8007 the next command (bug#17642).
8008
8009 2014-06-02 Leo Liu <sdl.web@gmail.com>
8010
8011 * emacs-lisp/gv.el (window-buffer, window-display-table)
8012 (window-dedicated-p, window-hscroll, window-point, window-start):
8013 Fix gv-expander. (Bug#17630)
8014
8015 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
8018 clicks (bug#17633).
8019
8020 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
8021 for the single comma, since ", " is *very* common in normal French text
8022 (bug#17643).
8023
8024 2014-06-02 Glenn Morris <rgm@gnu.org>
8025
8026 * emacs-lisp/package.el (package-check-signature)
8027 (package-unsigned-archives): Fix :version.
8028
8029 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * subr.el (sit-for): Don't run input-methods (bug#15614).
8032
8033 2014-06-02 Glenn Morris <rgm@gnu.org>
8034
8035 * cus-start.el: Fix some :version numbers.
8036
8037 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * simple.el (deactivate-mark): Set mark-active to nil even if
8040 deactivation is done via setting transient-mark-mode to nil,
8041 since one is buffer-local and the other is global.
8042
8043 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
8044 there can't be more than 2 arguments (bug#17584).
8045
8046 2014-06-02 Glenn Morris <rgm@gnu.org>
8047
8048 * simple.el (filter-buffer-substring-functions)
8049 (filter-buffer-substring-function, buffer-substring-filters)
8050 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
8051
8052 * minibuffer.el (completion-in-region-functions, completion-in-region)
8053 (completion--in-region): Doc fixes.
8054
8055 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
8056 (expand-abbrev, abbrev--default-expand): Doc fixes.
8057
8058 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
8059
8060 Include sources used to create macuvs.h.
8061 * international/README: Refer to the Unicode Terms of Use rather
8062 than copying it bodily here, as that simplifies maintenance.
8063
8064 2014-06-01 Glenn Morris <rgm@gnu.org>
8065
8066 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
8067
8068 2014-05-31 Glenn Morris <rgm@gnu.org>
8069
8070 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
8071
8072 2014-05-30 Glenn Morris <rgm@gnu.org>
8073
8074 * loadup.el: Treat `command-line-args' more flexibly.
8075
8076 2014-05-30 Alan Mackenzie <acm@muc.de>
8077
8078 Guard (looking-at "\\s!") from XEmacs.
8079 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
8080
8081 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
8082
8083 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
8084 The argument COUNT is now optional, to be more backward-compatible.
8085 Doc fix. (Bug#17560)
8086
8087 2014-05-29 Reuben Thomas <rrt@sc3d.org>
8088
8089 * whitespace.el (whitespace-report-region):
8090 Simplify documentation.
8091 (whitespace-report-region): Allow report-if-bogus to take the
8092 value `never', for non-interactive use.
8093 (whitespace-report): Refer to whitespace-report-region's
8094 documentation.
8095
8096 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * whitespace.el: Use font-lock-flush. Minimize refontifications.
8099 Side benefit: it works without jit-lock.
8100 (whitespace-point--used): New buffer-local var.
8101 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
8102 (whitespace-color-off): Use font-lock-flush.
8103 (whitespace-point--used, whitespace-point--flush-used): New functions.
8104 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8105 (whitespace-empty-at-eob-regexp): Use them.
8106 (whitespace-post-command-hook): Rewrite.
8107
8108 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
8109 (font-lock-fontify-buffer): Mark interactive-only.
8110 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
8111 Make buffer-local.
8112 (font-lock-specified-p): Remove redundant boundp check.
8113 (font-lock-flush-function, font-lock-ensure-function): New vars.
8114 (font-lock-turn-on-thing-lock): Set them.
8115 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
8116 (font-lock-after-change-function): Make `old-len' optional.
8117 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
8118 Call font-lock-flush, just in case.
8119 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
8120 recent Emacsen.
8121 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
8122 (vera-mode-map, vera-mode-menu): Remove bindings to it.
8123 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
8124 and with-syntax-table.
8125 * textmodes/conf-mode.el (conf-quote-normal):
8126 * progmodes/sh-script.el (sh-set-shell):
8127 * progmodes/prog-mode.el (prettify-symbols-mode):
8128 * progmodes/f90.el (f90-font-lock-n):
8129 * progmodes/cwarn.el (cwarn-mode):
8130 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
8131 * progmodes/compile.el (compilation-setup, compilation--unsetup):
8132 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
8133 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
8134 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
8135 font-lock-fontify-buffer-function and
8136 font-lock-unfontify-buffer-function.
8137 (rmail-unfontify-buffer-function, rmail-fontify-message):
8138 Use with-silent-modifications.
8139 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
8140 and font-lock-ensure.
8141 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
8142
8143 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
8144
8145 * emacs-lisp/package.el (package-generate-autoloads):
8146 Inhibit backup files.
8147
8148 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8149
8150 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
8151 (bug#17608).
8152
8153 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
8154
8155 * textmodes/tildify.el (tildify-buffer, tildify-region):
8156 Add dont-ask option.
8157
8158 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
8161 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
8162
8163 * subr.el (internal--funcall-interactively): New.
8164 (internal--call-interactively): Remove.
8165 (called-interactively-p): Detect funcall-interactively instead of
8166 call-interactively.
8167 * simple.el (repeat-complex-command): Use funcall-interactively.
8168 (repeat-complex-command--called-interactively-skip): Remove.
8169
8170 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * register.el (register-read-with-preview): Don't burp on
8173 frame switches (e.g. due to the frame we just popped).
8174
8175 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
8176 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
8177
8178 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
8179
8180 * cus-face.el (custom-face-attributes): Add :distant-foreground.
8181
8182 2014-05-26 Martin Rudalics <rudalics@gmx.at>
8183
8184 * window.el (window--dump-frame): Remove interactive specification.
8185
8186 2014-05-26 Glenn Morris <rgm@gnu.org>
8187
8188 * hippie-exp.el (he-line-search-regexp):
8189 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
8190
8191 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8192
8193 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
8194 to avoid errors when trying to create or visit a file foo.todo
8195 located outside to todo-directory, and to allow having such files
8196 without them being tied to Todo mode (bug#17482).
8197 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
8198 (todo-archive-done-item, todo-find-filtered-items-file)
8199 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
8200 (todo-category-completions, todo-read-category): When visiting a
8201 Todo file, make sure we're in the right mode and the buffer local
8202 variables are set.
8203 (todo-make-categories-list, todo-reset-nondiary-marker)
8204 (todo-reset-done-string, todo-reset-comment-string):
8205 After processing all Todo files, kill the buffers of those files that
8206 weren't being visited before the processing.
8207 (todo-display-as-todo-file, todo-add-to-buffer-list)
8208 (todo-visit-files-commands): Comment out.
8209 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
8210 (auto-mode-alist): Remove add-to-list calls making Todo file
8211 extensions unrestrictedly tied to Todo modes.
8212
8213 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
8216 (advice-function-member-p): Tell it to check both names and functions
8217 (bug#17531).
8218 (advice--add-function): Adjust call accordingly.
8219
8220 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8221
8222 * calendar/todo-mode.el: Miscellaneous bug fixes.
8223 (todo-delete-file): When deleting an archive but not its todo
8224 file, make sure to update the todo file's category sexp.
8225 (todo-move-category): Keep the moved category's name unless the
8226 file moved to already has a category with that name. If the
8227 numerically last category of the source file was moved, make the
8228 first category current to avoid selecting a nonexisting category.
8229 (todo-merge-category): Fix implementation to make merging to a
8230 category in another file work as documented. Eliminate now
8231 insufficient and unnecessary renaming of archive category, correct
8232 document string accordingly, and clarify it. If the numerically
8233 last category of the source file was merged, make the first
8234 category current to avoid selecting a nonexisting category.
8235 (todo-archive-done-item): When there are marked items and point
8236 happens to be on an unmarked item, ignore the latter. Don't leave
8237 point below last item after archiving marked items.
8238 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8239 from an archive with only one category deletes the archive only
8240 when the category is empty after unarchiving. Make sure the todo
8241 file's category sexp is updated.
8242 (todo-read-file-name): Allow an existing file name even when it is
8243 not required (todo-move-category needs this to work as documented).
8244 (todo-add-file): Call todo-validate-name to reject the name of an
8245 existing todo file (needed due to fix in todo-read-file-name).
8246 (todo-reset-nondiary-marker): Also reset in filtered items files.
8247 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8248 regexp filtered items files.
8249 (todo-reset-highlight-item): Also reset in filtered items files.
8250 Fix incorrect variable reference in document string.
8251
8252 2014-05-26 Glenn Morris <rgm@gnu.org>
8253
8254 * window.el (window--dump-frame): Avoid error in --without-x builds.
8255
8256 2014-05-26 Glenn Morris <rgm@gnu.org>
8257
8258 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8259
8260 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8261
8262 * frame.el (set-frame-font): Doc fix.
8263
8264 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8265
8266 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8267
8268 * emacs-lisp/package.el (package--download-one-archive):
8269 Use `write-region' instead of `save-buffer' to avoid running various
8270 hooks. (Bug#17155)
8271 (describe-package-1): Same. Insert newline at the end of the
8272 buffer if appropriate.
8273
8274 2014-05-26 Juri Linkov <juri@jurta.org>
8275
8276 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8277 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8278 Add more modifiers: meta, control, shift, hyper, super, alt.
8279 (Bug#17439)
8280
8281 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8282 to allow changing its value with `set-variable'.
8283
8284 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8287 #; comments.
8288 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8289 New functions.
8290 (scheme-mode-variables): Set syntax-propertize-function instead of
8291 font-lock-syntactic-face-function.
8292 (scheme-font-lock-syntactic-face-function): Delete.
8293
8294 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8295
8296 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8297 (bug#17392).
8298
8299 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8300
8301 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8302 for a temporary file name.
8303
8304 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8305
8306 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8307
8308 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * net/dbus.el (dbus-init-bus, dbus-call-method)
8311 (dbus-call-method-asynchronously, dbus-send-signal)
8312 (dbus-method-return-internal, dbus-method-error-internal):
8313 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8314
8315 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8316
8317 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8318 methods which do not have a doc string. (Bug#17490)
8319
8320 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8321
8322 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8323 also for AMS Math's \eqref macro.
8324
8325 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8326
8327 Arrange to never byte-compile the generated -pkg.el file.
8328
8329 * emacs-lisp/package.el (package-generate-description-file):
8330 Output first-line comment to set buffer-local var `no-byte-compile'.
8331 Suggested by Dmitry Gutov:
8332 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8333
8334 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8335
8336 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8337
8338 * emacs-lisp/package.el (package-generate-description-file):
8339 Inline `package--alist-to-plist'; rewrite to selectively
8340 quote alist values that are not self-quoting.
8341 (package--alist-to-plist): Delete func.
8342
8343 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8344
8345 * term/xterm.el (xterm-function-map): Add mapping for shifted
8346 keypad keys.
8347
8348 2014-05-24 Daniel Colascione <dancol@dancol.org>
8349
8350 * progmodes/subword.el (subword-find-word-boundary): Move point to
8351 correct spot before search. (Bug#17580)
8352
8353 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8354 breaking the build.
8355
8356 2014-05-24 Leo Liu <sdl.web@gmail.com>
8357
8358 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8359
8360 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * minibuffer.el (completion--sreverse): Remove.
8363 (completion--common-suffix): Use `reverse' instead.
8364 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8365
8366 2014-05-22 Glenn Morris <rgm@gnu.org>
8367
8368 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8369
8370 2014-05-21 Daniel Colascione <dancol@dancol.org>
8371
8372 * files.el (interpreter-mode-alist): Add mksh.
8373
8374 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8375 derivative.
8376 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8377 mksh. Improve custom spec; allow regular expressions.
8378 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8379 (sh-after-hack-local-variables): New function.
8380 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8381 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8382 the normalization.
8383 (sh-canonicalize-shell): Rewrite to support regexes.
8384
8385 2014-05-21 Leo Liu <sdl.web@gmail.com>
8386
8387 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8388
8389 2014-05-19 Leo Liu <sdl.web@gmail.com>
8390
8391 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8392
8393 2014-05-18 Glenn Morris <rgm@gnu.org>
8394
8395 * loadup.el:
8396 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8397
8398 2014-05-14 Sam Steingold <sds@gnu.org>
8399
8400 * progmodes/python.el (python-shell-get-or-create-process):
8401 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8402 back unless requested.
8403
8404 2014-05-14 Glenn Morris <rgm@gnu.org>
8405
8406 * subr.el (with-file-modes): New macro.
8407 * printing.el (pr-save-file-modes): Make obsolete.
8408 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8409 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8410 Add with-file-modes.
8411 * doc-view.el (doc-view-make-safe-dir):
8412 * epg.el (epg--start):
8413 * files.el (locate-user-emacs-file, make-temp-file)
8414 (backup-buffer-copy, move-file-to-trash):
8415 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8416 * eshell/esh-util.el (eshell-with-private-file-modes)
8417 (eshell-make-private-directory):
8418 * net/browse-url.el (browse-url-mosaic):
8419 * obsolete/mailpost.el (post-mail-send-it):
8420 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8421 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8422 Use with-file-modes.
8423
8424 * vc/emerge.el (emerge-make-temp-file): Simplify.
8425
8426 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8427 Stefan Monnier <monnier@iro.umontreal.ca>
8428
8429 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8430 suffix (bug#15419).
8431
8432 2014-05-14 Glenn Morris <rgm@gnu.org>
8433
8434 * vc/emerge.el (emerge-temp-file-prefix):
8435 Make pointless option obsolete.
8436 (emerge-temp-file-mode): Make non-functional option obsolete.
8437
8438 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8439
8440 * net/browse-url.el (browse-url):
8441 Use `unhandled-file-name-directory' when setting `default-directory',
8442 in order to circumvent stalled remote connections. (Bug#17425)
8443
8444 2014-05-14 Glenn Morris <rgm@gnu.org>
8445
8446 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8447 Optimize on Emacs, which has the relevant functions for ages.
8448
8449 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8452
8453 2014-05-12 Sam Steingold <sds@gnu.org>
8454
8455 * calendar/time-date.el (seconds-to-string): New function to
8456 pretty print time delay in seconds.
8457
8458 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * mpc.el (mpc-format): Trim Date to the year.
8461 (mpc-songs-hashcons): Shorten the Date field.
8462
8463 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8464 into autoloading just because of a silly indirection.
8465
8466 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8467
8468 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8469
8470 2014-05-12 Glenn Morris <rgm@gnu.org>
8471
8472 * emacs-lisp/find-gc.el: Move to ../admin.
8473
8474 * printing.el (pr-version):
8475 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8476
8477 * net/browse-url.el (browse-url-mosaic):
8478 Create /tmp/Mosaic.PID as a private file.
8479
8480 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8483 (advice--member-p): If name is given, only compare the name.
8484 (advice--remove-function): Don't stop at the first match.
8485 (advice--normalize-place): New function.
8486 (add-function, remove-function): Use it.
8487 (advice--add-function): Pass the name, if any, to
8488 advice--remove-function.
8489
8490 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8491
8492 * electric.el (electric-indent-post-self-insert-function): Don't use
8493 `pos' after modifying the buffer (bug#17449).
8494
8495 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8496
8497 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8498 Correct argument list to conform to todo-insert-item--basic.
8499
8500 2014-05-12 Glenn Morris <rgm@gnu.org>
8501
8502 * files.el (cd-absolute): Test if directory is accessible
8503 rather than executable. (Bug#17330)
8504
8505 * progmodes/compile.el (recompile):
8506 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8507
8508 * net/browse-url.el (browse-url-mosaic):
8509 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8510 This is CVE-2014-3423.
8511
8512 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * mouse.el: Use the normal toplevel loop while dragging.
8515 (mouse-set-point): Handle multi-clicks.
8516 (mouse-set-region): Handle multi-clicks for drags.
8517 (mouse-drag-region): Update call accordingly.
8518 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8519 Use the normal event loop instead of a local while/read-event loop.
8520 (global-map): Remove redundant bindings for double/triple-mouse-1.
8521 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8522 Generate synthetic down events when the protocol only sends up events.
8523 (xterm-mouse-last): Remove.
8524 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8525 terminal parameter instead.
8526 (xterm-mouse--set-click-count): New function.
8527 (xterm-mouse-event): Detect/generate double/triple clicks.
8528 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8529
8530 * info.el (Info-quoted): New face.
8531 (Info-mode-font-lock-keywords): New var.
8532 (Info-mode): Use it.
8533
8534 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8535 are a hindrance for C-x C-e.
8536
8537 2014-05-11 Leo Liu <sdl.web@gmail.com>
8538
8539 * net/rcirc.el (rcirc-sentinel): Fix last change.
8540
8541 2014-05-08 Sam Steingold <sds@gnu.org>
8542
8543 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8544 (rcirc-sentinel): Auto-reconnect to the server if
8545 `rcirc-reconnect-delay' is non-0 (but not more often than its
8546 value in case the host is off-line).
8547
8548 2014-05-09 Eli Zaretskii <eliz@gnu.org>
8549
8550 * progmodes/grep.el (lgrep): Fix a typo in last commit.
8551
8552 2014-05-09 Glenn Morris <rgm@gnu.org>
8553
8554 * files.el (file-expand-wildcards):
8555 * man.el (Man-support-local-filenames):
8556 * printing.el (pr-i-directory, pr-interface-directory):
8557 * progmodes/grep.el (lgrep, rgrep):
8558 * textmodes/ispell.el (ispell-call-process)
8559 (ispell-call-process-region, ispell-start-process)
8560 (ispell-init-process): Use file-accessible-directory-p.
8561
8562 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8565 (xterm-mouse--read-event-sequence-1000): Return nil if something
8566 looks fishy.
8567 (xterm-mouse-event): Propagate it.
8568 (xterm-mouse-translate-1): Handle it.
8569
8570 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
8571
8572 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
8573 four slots of the parameter list are filled, make sure to pass it
8574 to the argument list of todo-insert-item--basic.
8575
8576 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
8579 Add optional `seen' argument to detect and break infinite loops.
8580
8581 2014-05-08 Eli Zaretskii <eliz@gnu.org>
8582
8583 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
8584 (trace-unsafe, trace-use-tree): Make parentheses style be
8585 according to Emacs style.
8586
8587 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
8588
8589 * net/tramp-sh.el (tramp-remote-process-environment):
8590 Remove HISTFILE and HISTSIZE; it's too late to set them here.
8591 Add :version entry.
8592 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
8593 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
8594 extra "PSx=..." commands.
8595 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
8596 (Bug#17295)
8597
8598 (tramp-uudecode): Replace the hard-coded temporary file name by a
8599 format specifier.
8600 (tramp-remote-coding-commands): Enhance docstring.
8601 (tramp-find-inline-encoding): Replace "%t" by a temporary file
8602 name. (Bug#17415)
8603 This is CVE-2014-3424.
8604
8605 2014-05-08 Glenn Morris <rgm@gnu.org>
8606
8607 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
8608 (find-gc-source-files): Update some names.
8609 (trace-call-tree): Simplify and update.
8610 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
8611 This is CVE-2014-3422.
8612
8613 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * minibuffer.el (completion--try-word-completion): Revert fix for
8616 Bug#15980 (bug#17375).
8617
8618 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
8619 Always store button numbers in the same way in xterm-mouse-last;
8620 Don't burp is xterm-mouse-last is not set as expected.
8621 Never return negative indices.
8622
8623 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
8624
8625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8626 Backtrack one char if the global/char-literal var matcher hits
8627 inside a string. The next char could be the beginning of an
8628 expression expansion.
8629
8630 2014-05-08 Glenn Morris <rgm@gnu.org>
8631
8632 * help-fns.el (describe-function-1): Test for an autoload before a
8633 macro, since `macrop' works on autoloads. (Bug#17410)
8634
8635 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * electric.el (electric-indent-functions-without-reindent): Add yaml.
8638
8639 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8640 Make sure the new point we return is within the new string (bug#17239).
8641
8642 2014-05-05 Daniel Colascione <dancol@dancol.org>
8643
8644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8645 Port `gnu' pattern to rx.
8646
8647 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
8648
8649 Remove unneeded prompt when closing a buffer with active
8650 emacsclient ("Buffer ... still has clients"), #16548.
8651 * server.el (server-start): Remove the only call to:
8652 (server-kill-buffer-query-function): Remove.
8653
8654 2014-05-04 Leo Liu <sdl.web@gmail.com>
8655
8656 * calendar/diary-lib.el (calendar-chinese-month-name-array):
8657 Defvar to pacify compiler.
8658
8659 2014-05-04 Eli Zaretskii <eliz@gnu.org>
8660
8661 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8662
8663 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8666 Use nil rather than `default' for the "default" appearance (bug#17388).
8667 * vc/ediff-util.el (ediff-inferior-compare-regions)
8668 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8669 a misleading `default' value when it's really a boolean.
8670 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8671 overlay is not visible.
8672
8673 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8674
8675 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8676 (todo-menu): Uncomment and update.
8677
8678 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
8679
8680 * calendar/todo-mode.el: Reimplement item editing to have the same
8681 basic user interface as item insertion, and make small UI and
8682 larger internal improvements to the latter.
8683 (todo-insert-item): Add reference to the Todo mode user manual to
8684 the documentation string.
8685 (todo-insert-item--basic): Rename from todo-basic-insert-item and
8686 adjust all callers. Change signature to combine diary and
8687 nonmarking arguments. Incorporate functionality of deleted item
8688 copying command and add error checking. Remove detailed
8689 descriptions of the arguments from the documentation string, since
8690 this is treated in the Todo mode user manual.
8691 (todo-copy-item, todo-edit-multiline-item)
8692 (todo-edit-done-item-comment, todo-edit-item-header)
8693 (todo-edit-item-time, todo-edit-item-date-from-calendar)
8694 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8695 (todo-edit-item-date-year, todo-edit-item-date-month)
8696 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8697 Remove.
8698 (todo-edit-item): Reimplement as wrapper command for
8699 todo-edit-item--next-key and make it distinguish done and not done
8700 todo items.
8701 (todo-edit-item--text): New function, replacing old command
8702 todo-edit-item and incorporating deleted commands
8703 todo-edit-multiline-item and todo-edit-done-item-comment.
8704 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8705 Use only numeric value of prefix argument. Remove detailed
8706 descriptions of the arguments from the documentation string, since
8707 this is treated in the Todo mode user manual.
8708 (todo-edit-item--diary-inclusion): New function, replacing old
8709 command todo-edit-item-diary-inclusion and incorporating and fixing
8710 functionality of deleted command todo-edit-item-diary-nonmarking,
8711 making sure to remove todo-nondiary-marker when adding
8712 diary-nonmarking-symbol.
8713 (todo-edit-category-diary-inclusion): Make sure to delete
8714 diary-nonmarking-symbol when adding todo-nondiary-marker.
8715 (todo-edit-category-diary-nonmarking): Fix indentation.
8716 (todo-insert-item--parameters): Group diary and nonmarking
8717 parameters together.
8718 (todo-insert-item--apply-args): Adjust to signature of
8719 todo-insert-item--basic and incorporate copy parameter.
8720 Make small code improvements.
8721 (todo-insert-item--next-param): Improve prompt and adjust it to
8722 new parameter grouping. Remove obsolete code.
8723 (todo-edit-item--param-key-alist)
8724 (todo-edit-item--date-param-key-alist)
8725 (todo-edit-done-item--param-key-alist): New defconsts.
8726 (todo-edit-item--prompt): New variable.
8727 (todo-edit-item--next-key): New function.
8728 (todo-key-bindings-t): Bind "e" to todo-edit-item.
8729 Remove bindings of deleted commands.
8730
8731 2014-05-04 Leo Liu <sdl.web@gmail.com>
8732
8733 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8734
8735 2014-05-04 Glenn Morris <rgm@gnu.org>
8736
8737 * allout-widgets.el (allout-widgets-tally)
8738 (allout-decorate-item-guides):
8739 * menu-bar.el (menu-bar-positive-p):
8740 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8741 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8742 * progmodes/js.el (js--inside-param-list-p)
8743 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8744 * progmodes/prolog.el (region-exists-p):
8745 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8746 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8747 Doc fixes (replace `iff').
8748
8749 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8752
8753 2014-05-04 Leo Liu <sdl.web@gmail.com>
8754
8755 Support Chinese diary entries in calendar and diary. (Bug#17393)
8756 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8757 (calendar-chinese-from-absolute-for-diary)
8758 (calendar-chinese-to-absolute-for-diary)
8759 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8760 (diary-chinese-list-entries): New functions to list and mark
8761 Chinese diary entries in the calendar window.
8762 (diary-chinese-anniversary)
8763 (diary-chinese-insert-anniversary-entry)
8764 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8765 (diary-chinese-insert-yearly-entry): New commands to insert
8766 Chinese diary entries.
8767
8768 * calendar/diary-lib.el (diary-font-lock-keywords):
8769 Support font-locking Chinese dates.
8770
8771 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8772 inserting Chinese diary entries.
8773
8774 * calendar/calendar.el (diary-chinese-entry-symbol):
8775 New customizable variable.
8776 (calendar-mode-map): Add bindings for inserting Chinese diary
8777 entries.
8778
8779 2014-05-03 Juri Linkov <juri@jurta.org>
8780
8781 * dired.el (dired-check-switches, dired-switches-recursive-p):
8782 New functions. (Bug#17218)
8783 (dired-switches-escape-p, dired-move-to-end-of-filename):
8784 Use `dired-check-switches'.
8785 (dired-insert-old-subdirs, dired-build-subdir-alist)
8786 (dired-sort-R-check): Use `dired-switches-recursive-p'.
8787
8788 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
8789
8790 * simple.el (undo-make-selective-list): New algorithm fixes
8791 incorrectness of position adjustments when undoing in region.
8792 (Bug#17235)
8793 (undo-elt-crosses-region): Make obsolete.
8794 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8795 New functions to adjust positions using undo-deltas.
8796
8797 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8800 the last consecutive closing paren (bug#17345).
8801
8802 2014-04-30 Reuben Thomas <rrt@sc3d.org>
8803
8804 * dired.el (dired-mode): make terminology for eXpunge command
8805 consistent. (Bug#17276)
8806
8807 2014-04-30 Eli Zaretskii <eliz@gnu.org>
8808
8809 * dired.el (dired-initial-position-hook, dired-initial-position):
8810 Doc string fixes.
8811
8812 2014-04-30 Glenn Morris <rgm@gnu.org>
8813
8814 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
8815
8816 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
8817
8818 * faces.el (face-spec-recalc): Apply X resources only after the
8819 defface spec has been applied. Thus, X resources are no longer
8820 overriden by the defface spec which also fixes issues on win32 where
8821 the toolbar coloring was wrong because it is set through X resources
8822 and was (wrongfully) overriden. (Bug#16694)
8823
8824 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * textmodes/rst.el (electric-pair-pairs): Declare.
8827 (rst-mode): Set it (bug#17131).
8828
8829 2014-04-30 Juri Linkov <juri@jurta.org>
8830
8831 * desktop.el (desktop-value-to-string): Let-bind `print-length'
8832 and `print-level' to nil. (Bug#17351)
8833
8834 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8835
8836 * battery.el (battery-update): Handle the case where battery
8837 status is "N/A" (bug#17319).
8838
8839 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
8842 to syntax-propertize.
8843 (ps-mode-auto-indent): Mark as obsolete.
8844 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8845 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8846 word regexp operators.
8847 (ps-mode-map): Move initialization into declaration. Remove binding
8848 for TAB, RET, >, ], and }.
8849 (ps-mode-syntax-table): Move initialization into declaration.
8850 Don't give word syntax to non-word chars.
8851 (ps-run-mode-map): Move initialization into declaration.
8852 (ps-mode-menu-main): Remove auto-indent entry.
8853 (ps-mode-smie-rules): New function.
8854 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8855 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8856 (ps-mode--string-syntax-table): New const.
8857 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8858 New functions.
8859 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8860 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8861
8862 2014-04-27 Daniel Colascione <dancol@dancol.org>
8863
8864 * term/xterm.el (xterm-paste): Use large finite timeout when
8865 reading event to avoid putting keys in this-command-keys.
8866
8867 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8870 (perl-syntax-propertize-function): Use it. Extend handling of
8871 here-docs to the unquoted case.
8872
8873 2014-04-25 Eli Zaretskii <eliz@gnu.org>
8874
8875 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8876 Use equal-including-properties to compare help-echo strings (bug#17331).
8877
8878 2014-04-25 Leo Liu <sdl.web@gmail.com>
8879
8880 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8881 Fix syntax for @. (Bug#17325)
8882
8883 2014-04-25 Daniel Colascione <dancol@dancol.org>
8884
8885 * emacs-lisp/cl.el (gv): Require gv early to break eager
8886 macro-expansion cycles.
8887
8888 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * simple.el (region-active-p): Check there's a mark (bug#17324).
8891
8892 * simple.el (completion-list-mode-map): Use choose-completion for the
8893 mouse binding as well (bug#17302).
8894 (completion-list-mode, completion-setup-function): Adjust docstring and
8895 echo area message accordingly.
8896 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8897 calling convention of choose-completion.
8898 * comint.el (comint-dynamic-list-completions):
8899 * term.el (term-dynamic-list-completions): Accept choose-completion.
8900
8901 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8902 &, |, +, - and * can't be a division (bug#17317).
8903
8904 * term/xterm.el (xterm--version-handler): Don't use modern xterm
8905 features on gnome-terminal (bug#16988).
8906
8907 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
8908
8909 Improve Scheme font-locking for (define ((foo ...) ...) ...).
8910
8911 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8912 the declared object, ignore zero or more parens, not zero or one.
8913
8914 2014-04-24 Leo Liu <sdl.web@gmail.com>
8915
8916 * progmodes/xscheme.el (xscheme-expressions-ring)
8917 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8918 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8919 (xscheme-allow-output-p, xscheme-prompt)
8920 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8921
8922 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8923 Comment out unused functions.
8924
8925 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * info.el: Use lexical-binding and cl-lib.
8928 Use defvar-local and setq-local instead of make-local-variable.
8929 (Info-apropos-matches): Avoid add-to-list.
8930 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8931
8932 2014-04-24 Daniel Colascione <dancol@dancol.org>
8933
8934 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8935
8936 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8939
8940 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
8941
8942 * dired.el (dired-insert-set-properties): Do not consider
8943 subdirectory headings and empty lines to be information that
8944 `dired-hide-details-mode' should hide. (Bug#17228)
8945
8946 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8947
8948 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8949 Remove test messages.
8950 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8951 and `target' twice.
8952
8953 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8956 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8957
8958 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8959
8960 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8963 Set "IFS=" when using read builtin, in order to preserve spaces in
8964 the file name. Add test messages for hunting a bug on hydra.
8965 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
8966
8967 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
8970 Don't prettify a word within a symbol.
8971
8972 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
8973
8974 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
8975 possible.
8976
8977 2014-04-22 Daniel Colascione <dancol@dancol.org>
8978
8979 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
8980 use defun to define `function-put'.
8981
8982 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
8985 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
8986 (lisp-mode-variables): Set font-lock-extra-managed-props.
8987
8988 * emacs-lisp/byte-run.el (function-put): New function.
8989 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
8990 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
8991 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
8992 Use them.
8993
8994 2014-04-22 Daniel Colascione <dancol@dancol.org>
8995
8996 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
8997 Add `full-p' parameter; when nil, call `macroexpand' instead of
8998 `macroexpand-all'.
8999
9000 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
9001 Improve docstrings.
9002
9003 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9004 Use lambda function values, not quoted lambdas.
9005 (byte-compile-recurse-toplevel): Remove extraneous &optional.
9006
9007 * emacs-lisp/cl-macs.el
9008 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
9009 (cl-struct-slot-value): Conditionally use aref or nth so that the
9010 compiler produces optimal code.
9011
9012 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
9015 (inline): Don't inline cl--set-elt.
9016 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
9017 Define as inlinable instead.
9018 (cl-struct-set-slot-value): Remove.
9019
9020 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
9021 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
9022 Use setf instead.
9023
9024 2014-04-21 Daniel Colascione <dancol@dancol.org>
9025
9026 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
9027 last two parameters after all.
9028 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
9029 (cl--compiler-macro-assoc,cl-struct-slot-value)
9030 (cl-struct-set-slot-value): Stop using them.
9031
9032 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
9035 entry in image-mode-winprops-alist.
9036
9037 2014-04-21 Daniel Colascione <dancol@dancol.org>
9038
9039 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
9040 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
9041 (byte-compile-toplevel-file-form): Use it.
9042
9043 * emacs-lisp/cl-macs.el:
9044 (cl--loop-let): Properly destructure `while' clauses.
9045
9046 2014-04-20 Daniel Colascione <dancol@dancol.org>
9047
9048 * vc/vc.el (vc-root-dir): New public autoloaded function for
9049 generically finding the current VC root.
9050 * vc/vc-hooks.el (vc-not-supported): New error.
9051 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
9052
9053 2014-04-20 Daniel Colascione <dancol@dancol.org>
9054
9055 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
9056 argument.
9057 (cl--const-expr-val): cl--const-expr-val should macroexpand its
9058 argument in case we're inside a symbol-macrolet.
9059 (cl--do-arglist, cl--compiler-macro-typep)
9060 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
9061 environment to `cl--const-expr-val'.
9062 (cl-struct-sequence-type,cl-struct-slot-info)
9063 (cl-struct-slot-offset, cl-struct-slot-value)
9064 (cl-struct-set-slot-value): New functions.
9065
9066 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
9069 assignments such as "case=hello" (bug#17297).
9070
9071 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
9072
9073 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
9074 Do not autoload.
9075 (tramp-file-name-handler, tramp-completion-file-name-handler):
9076 Revert patch from 2014-04-10, it isn't necessary anymore.
9077 (tramp-autoload-file-name-handler)
9078 (tramp-register-autoload-file-name-handlers): New defuns.
9079 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
9080 (tramp-register-file-name-handlers): Remove also
9081 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
9082 Do not autoload its invocation, but eval it after loading of 'tramp.
9083
9084 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
9085
9086 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
9087
9088 2014-04-17 Daniel Colascione <dancol@dancol.org>
9089
9090 Add support for bracketed paste mode; add infrastructure for
9091 managing terminal mode enabling and disabling automatically.
9092
9093 * xt-mouse.el:
9094 (xterm-mouse-mode): Simplify.
9095 (xterm-mouse-tracking-enable-sequence)
9096 (xterm-mouse-tracking-disable-sequence): New constants.
9097 (turn-on-xterm-mouse-tracking-on-terminal)
9098 (turn-off-xterm-mouse-tracking-on-terminal):
9099 Use tty-mode-set-strings and tty-mode-reset-strings terminal
9100 parameters instead of random hooks.
9101 (turn-on-xterm-mouse-tracking)
9102 (turn-off-xterm-mouse-tracking): Delete.
9103
9104 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
9105 (xterm-paste-ending-sequence): New constant.
9106 (xterm-paste): New command used for bracketed paste support.
9107
9108 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
9109 (terminal-init-xterm-bracketed-paste-mode): New function.
9110 (terminal-init-xterm): Call it.
9111 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
9112 and tty-mode-reset-strings instead of random hooks.
9113 (xterm-turn-on-modify-other-keys)
9114 (xterm-turn-off-modify-other-keys)
9115 (xterm-remove-modify-other-keys): Delete obsolete functions.
9116
9117 * term/screen.el: Rewrite to just use the xterm code.
9118 Add copyright notice. Mention tmux.
9119
9120 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
9121
9122 * image-mode.el (image-mode-window-put): Also update the property of
9123 the "default window".
9124 * doc-view.el (doc-view-new-window-function): If no window
9125 exists, move to the last known page.
9126
9127 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
9130 here-documents (bug#17262).
9131
9132 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9133
9134 * term/pc-win.el (x-list-fonts, x-get-selection-value):
9135 Provide doc strings, as required by snarf-documentation.
9136
9137 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
9140 arg of overlays-at. Use `invisible-p'.
9141
9142 * obsolete/lucid.el (extent-at):
9143 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
9144 overlays-at.
9145 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
9146
9147 2014-04-16 João Távora <joaotavora@gmail.com>
9148
9149 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
9150 links. (Bug#17217).
9151
9152 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9153
9154 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9155 Use mapc to loop over a vector. (Bug#17257).
9156
9157 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
9158
9159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
9160 patch, there are new problems with file names containing spaces.
9161 Get rid of backticks. (Bug#17238)
9162
9163 2014-04-16 João Távora <joaotavora@gmail.com>
9164
9165 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
9166 possible bug.
9167
9168 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9169
9170 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
9171 (blink-cursor-mode): Mention customization variables and the
9172 effect of 'blink-cursor-blinks'.
9173
9174 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
9175
9176 * simple.el (undo): Prevent insertion of identity mapping into
9177 undo-equiv-table so as undo-only does not inf loop in the presence
9178 of consecutive nils in undo list.
9179
9180 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
9181
9182 * faces.el (make-face): Deprecate optional argument as it is no
9183 longer needed/used since the conditional X resources handling
9184 has been pushed down to make-face-x-resource-internal itself.
9185 (make-empty-face): Don't pass optional argument to make-face.
9186
9187 2014-04-16 Karl Fogel <kfogel@red-bean.com>
9188
9189 * savehist.el (savehist-save): Remove workaround for a read-passwd
9190 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
9191 noticing that the shim was still present.
9192
9193 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
9196
9197 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * faces.el (face-set-after-frame-default): Remove unused local variable.
9200
9201 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * progmodes/grep.el: Use lexical-binding.
9204 (grep-expand-template): Pass explicit lexical env to `eval'.
9205 (zrgrep): Let-bind grep-find-template explicitly.
9206
9207 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
9208 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
9209
9210 2014-04-12 Eli Zaretskii <eliz@gnu.org>
9211
9212 * international/characters.el <standard-case-table>: Add entries
9213 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
9214 Set category of Coptic characters be 'g' (Greek).
9215
9216 2014-04-12 Leo Liu <sdl.web@gmail.com>
9217
9218 * progmodes/octave.el (completion-table-with-cache):
9219 Define if not available.
9220 (octave-goto-function-definition, octave-sync-function-file-names)
9221 (octave-find-definition-default-filename):
9222 Backquote upattern for compatibility.
9223
9224 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
9225
9226 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9227 name twice due to backticks. (Bug#17238)
9228
9229 2014-04-12 Glenn Morris <rgm@gnu.org>
9230
9231 * term/w32-win.el (x-win-suspend-error):
9232 * term/x-win.el (x-win-suspend-error): Sync docs.
9233
9234 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9235
9236 * faces.el (make-face): Remove deprecated optional argument.
9237 The conditional application of X resources is handled directly by
9238 make-face-x-resource-internal since Emacs 24.4.
9239 (make-empty-face): Don't pass optional argument to make-face.
9240
9241 2014-04-11 Glenn Morris <rgm@gnu.org>
9242
9243 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9244
9245 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 Ediff's overlay priorities cause more trouble than they solve.
9248 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9249 (ediff-highest-priority): Remove function (bug#17234).
9250 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9251 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9252 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9253 overlay priorities.
9254
9255 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9256
9257 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9258 entry; use symbol boundaries to avoid mis-matches.
9259
9260 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9261
9262 * net/tramp.el (tramp-file-name-handler)
9263 (tramp-completion-file-name-handler): Avoid recursive loading.
9264
9265 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9266 Quote result also locally.
9267
9268 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9271 Remove left-over code.
9272
9273 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9274 Reuse the previous comment's indentation unconditionally if it's on its
9275 own line.
9276
9277 2014-04-09 Daniel Colascione <dancol@dancol.org>
9278
9279 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9280 `no-syntax-crossing' arguments. Forward to `up-list'.
9281 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9282 Implement logic for escaping from strings. Use narrowing to deal
9283 with corner cases.
9284
9285 2014-04-09 Leo Liu <sdl.web@gmail.com>
9286
9287 * net/rcirc.el (rcirc-connection-info): New variable.
9288 (rcirc-connect): Use it to store connection info.
9289 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9290 for killed process.
9291 (rcirc-cmd-reconnect): New command. (Bug#17045)
9292 (rcirc-mode, set-rcirc-encode-coding-system)
9293 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9294
9295 2014-04-09 Daniel Colascione <dancol@dancol.org>
9296
9297 * emacs-lisp/cl-indent.el: Add comment claiming
9298 facility is also good for elisp.
9299 (lisp-indent-find-method): New function.
9300 (common-lisp-indent-function): Recognize cl-loop.
9301 (common-lisp-indent-function-1): Recognize cl constructs; use
9302 `lisp-indent-find-method' instead of `get' directly.
9303 (if): Use else-body style for elisp.
9304
9305 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9306
9307 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9308 Module methods. (Bug#17216)
9309
9310 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9313 (describe-bindings-internal): Mark obsolete.
9314
9315 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9318 buffer-file-name, and buffer-file-truename any more.
9319
9320 2014-04-08 Leo Liu <sdl.web@gmail.com>
9321
9322 Use lexical-binding and require cl-lib.
9323 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9324 (rcirc-handler-generic, rcirc-fill-paragraph)
9325 (rcirc-format-response-string, rcirc-target-buffer)
9326 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9327 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9328 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9329 (rcirc-markup-timestamp, rcirc-markup-attributes)
9330 (rcirc-markup-my-nick, rcirc-markup-urls)
9331 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9332 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9333 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9334 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9335 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9336 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9337 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9338 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9339 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9340 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9341 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9342 use cl-lib.
9343
9344 2014-04-07 João Távora <joaotavora@gmail.com>
9345
9346 * elec-pair.el (electric-pair--syntax-ppss):
9347 When inside comments parse from comment beginning.
9348 (electric-pair--balance-info): Fix typo in comment.
9349 (electric-pair--in-unterminated-string-p): Delete.
9350 (electric-pair--unbalanced-strings-p): New function.
9351 (electric-pair-string-bound-function): New var.
9352 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9353 according to `electric-pair--in-unterminated-string-p'
9354
9355 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9356 Inhibit quote pairing if point-max is inside an unterminated string.
9357 (electric-pair--looking-at-unterminated-string-p): Delete.
9358 (electric-pair--in-unterminated-string-p): New function.
9359
9360 2014-04-07 Glenn Morris <rgm@gnu.org>
9361
9362 * shell.el (shell-directory-tracker):
9363 Go back to just ignoring failures. (Bug#17159)
9364
9365 2014-04-07 João Távora <joaotavora@gmail.com>
9366
9367 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9368 backspace. (Bug#16981)
9369 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9370 (electric-pair-backward-delete-char-untabify): Delete.
9371 (electric-pair-mode-map): Bind backspace to a menu item filtering
9372 a new `electric-pair-delete-pair' command.
9373 (electric-pair-delete-pair): New command.
9374
9375 * progmodes/python.el (python-electric-pair-string-delimiter):
9376 Fix triple-quoting electricity. (Bug#17192)
9377
9378 * elec-pair.el (electric-pair-post-self-insert-function):
9379 Don't skip whitespace when `electric-pair-text-pairs' and
9380 `electric-pair-pairs' were used. syntax to
9381 electric-pair--skip-whitespace. (Bug#17183)
9382
9383 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9384
9385 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9386 "<F>". (Bug#17199)
9387
9388 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9391 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9392
9393 2014-04-07 Glenn Morris <rgm@gnu.org>
9394
9395 * help.el (view-lossage): Doc tweak.
9396
9397 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9398
9399 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9400 only when inhibit-x-resources is nil, and do that earlier in the
9401 function. Doc fix. (Bug#16694)
9402 (face-spec-choose): Accept additional optional argument, whose
9403 value is returned if no matching attributes are found.
9404 (face-spec-recalc): Use the new optional argument when calling
9405 face-spec-choose. (Bug#16378)
9406 (make-face-x-resource-internal): Do nothing when
9407 inhibit-x-resources is non-nil. Don't touch the default face if
9408 reversed video is given--as was done in previous versions of Emacs.
9409 (face-set-after-frame-default): Don't call
9410 make-face-x-resource-internal here. (Bug#16434)
9411
9412 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9413
9414 * doc-view.el (doc-view-bookmark-jump):
9415 Use `bookmark-after-jump-hook' to jump to the right page after the
9416 buffer is shown in a window. (bug#16090)
9417
9418 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9419
9420 * international/characters.el (mirroring): Fix last change:
9421 instead of loading uni-mirrored.el explicitly, do that implicitly
9422 by creating the 'mirroring' uniprop table. This avoids announcing
9423 the loading of uni-mirrored.el.
9424
9425 2014-04-07 Glenn Morris <rgm@gnu.org>
9426
9427 * files.el (buffer-stale--default-function)
9428 (buffer-stale-function, revert-buffer--default):
9429 * autorevert.el (auto-revert-buffers): Doc tweaks.
9430
9431 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9432
9433 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9434
9435 2014-04-07 Glenn Morris <rgm@gnu.org>
9436
9437 * files.el (make-backup-file-name-function)
9438 (make-backup-file-name, make-backup-file-name--default-function)
9439 (make-backup-file-name-1, find-backup-file-name)
9440 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9441 (buffer-stale--default-function, buffer-stale-function)
9442 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9443 (revert-buffer, revert-buffer--default)
9444 (revert-buffer-insert-file-contents--default-function):
9445 Doc fixes related to defaults no longer being nil.
9446 (make-backup-file-name-function): Bump :version.
9447 Restore nil as a valid but deprecated custom type.
9448
9449 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9452 Handle $' used as a variable (bug#17174).
9453
9454 * progmodes/perl-mode.el (perl-indent-new-calculate):
9455 Handle forward-sexp failure (bug#16985).
9456 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9457 modifiers introducing expressions (bug#17116).
9458
9459 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9462
9463 2014-04-05 Leo Liu <sdl.web@gmail.com>
9464
9465 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9466 Add define-compilation-mode.
9467
9468 2014-04-04 João Távora <joaotavora@gmail.com>
9469
9470 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9471 parse from comment beginning.
9472 (electric-pair--balance-info): Fix typo in comment.
9473 (electric-pair--in-unterminated-string-p): Delete.
9474 (electric-pair--unbalanced-strings-p): New function.
9475 (electric-pair-string-bound-function): New var.
9476 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9477 according to `electric-pair--in-unterminated-string-p'.
9478
9479 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9482 Move declaration before first use.
9483 (reftex-move-to-next-arg): Silence compiler warning.
9484
9485 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9486
9487 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9488 Use `window-total-width' instead of `window-width'.
9489
9490 2014-04-03 Daniel Colascione <dancol@dancol.org>
9491
9492 * subr.el (set-transient-map): Remove rms's workaround entirely;
9493 use new `suspicious-object' subr to mark our lambda for closer
9494 scrutiny during gc.
9495
9496 2014-04-02 Richard Stallman <rms@gnu.org>
9497
9498 * subr.el (set-transient-map): Comment out previous change.
9499
9500 2014-04-02 Glenn Morris <rgm@gnu.org>
9501
9502 * menu-bar.el (menu-bar-file-menu):
9503 * vc/ediff.el (ediff-current-file):
9504 Update for revert-buffer-function no longer being nil by default.
9505
9506 * simple.el (command-execute): Respect nil disabled-command-function.
9507
9508 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9509
9510 * simple.el (command-execute): Do not execute the command when it
9511 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9512
9513 2014-04-02 Juri Linkov <juri@jurta.org>
9514
9515 * dired-aux.el (dired-compress-file): Don't use string-match-p
9516 because its match data is used afterwards.
9517
9518 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9521 0 like nil.
9522
9523 2014-04-02 João Távora <joaotavora@gmail.com>
9524
9525 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9526 Inhibit quote pairing if point-max is inside an unterminated string.
9527 (electric-pair--looking-at-unterminated-string-p):
9528 Delete.
9529 (electric-pair--in-unterminated-string-p): New function.
9530
9531 2014-04-01 Daniel Colascione <dancol@dancol.org>
9532
9533 * minibuffer.el (minibuffer-complete): Prevent assertion failure
9534 when trying to complete the prompt.
9535
9536 2014-03-31 Leo Liu <sdl.web@gmail.com>
9537
9538 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9539 Refactor out eldoc-documentation-function-default.
9540 (eldoc-documentation-function-default): New function.
9541 (eldoc-documentation-function): Change value.
9542
9543 2014-03-31 Glenn Morris <rgm@gnu.org>
9544
9545 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9546
9547 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9548 (vhdl-compose-components-package, vhdl-compose-configuration):
9549 Abbreviate default-directory (missing from some previous upstream sync).
9550
9551 2014-03-31 Reto Zimmermann <reto@gnu.org>
9552
9553 Sync with upstream vhdl mode v3.35.2.
9554 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9555 (top-level): No longer require assoc.
9556 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9557 New functions. Use throughout to replace aget etc.
9558 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9559 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9560 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9561 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9562 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9563 except `vhdl-compiler'.
9564 (vhdl-error-regexp-add-emacs): Remove all other compilers,
9565 when appropriate.
9566
9567 2014-03-31 Glenn Morris <rgm@gnu.org>
9568
9569 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
9570 Revert 2014-03-26 merge goof; go back to using defalias.
9571
9572 2014-03-30 Daniel Colascione <dancol@dancol.org>
9573
9574 * comint.el (comint-send-input):
9575 Deactivate completion-in-region-mode before we send comint input.
9576 (Bug#17139).
9577
9578 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
9579 on keyboard-quit.
9580
9581 2014-03-29 Glenn Morris <rgm@gnu.org>
9582
9583 * textmodes/reftex.el: Manage most autoloads automatically.
9584 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
9585 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
9586 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
9587 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
9588 * textmodes/reftex-toc.el: Set generated-autoload-file,
9589 and add autoload cookies for reftex.el.
9590 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
9591
9592 2014-03-28 Glenn Morris <rgm@gnu.org>
9593
9594 * cus-start.el (report-emacs-bug-address): Set custom properties.
9595 * mail/emacsbug.el (report-emacs-bug-address):
9596 Variable is now defined in emacs.c.
9597
9598 * mail/emacsbug.el (report-emacs-bug):
9599 Include system-configuration-features.
9600
9601 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
9602
9603 * simple.el (cycle-spacing): Never delete spaces on first run by
9604 default, but do so in a new 'fast mode and if there are already
9605 N spaces (the previous behavior).
9606 Compare N with its value in previous invocation so that changing
9607 prefix argument restarts `cycle-spacing' sequence.
9608 The idea is that with this change, binding M-SPC to
9609 `cycle-spacing' should not introduce any changes in behavior of
9610 the binding so long as users do not type M-SPC twice in a raw with
9611 the same prefix argument or lack thereof.
9612
9613 2014-03-28 Glenn Morris <rgm@gnu.org>
9614
9615 * faces.el (term-file-aliases): New variable.
9616 (tty-run-terminal-initialization): Respect term-file-aliases.
9617 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
9618 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
9619 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
9620
9621 2014-03-27 Glenn Morris <rgm@gnu.org>
9622
9623 * startup.el (inhibit-startup-hooks): Doc tweak.
9624 (normal-top-level): Simplify running of hooks.
9625 For window-setup-hook, respect inhibit-startup-hooks.
9626 (command-line-1): Don't set window-setup-hook to nil.
9627
9628 Allow selective autoloading from obsolete/ directory.
9629 * Makefile.in (obsolete-autoloads): New rule.
9630 (autoloads): Run obsolete-autoloads.
9631 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9632 * simple.el (iswitchb-mode): Remove hand-written autoloads.
9633
9634 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
9635
9636 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9637 Highlight special globals with font-lock-builtin-face. (Bug#17057)
9638
9639 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9640 Don't propertize `?' or `!' as symbol constituent when after
9641 colon. (Bug#17097)
9642
9643 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9646 which is no longer needed and causes trouble in GTK builds (bug#17046).
9647
9648 * emacs-lisp/package-x.el (package--archive-contents-from-url):
9649 Use url-insert-file-contents; package-handle-response no longer exists.
9650
9651 2014-03-26 Daniel Colascione <dancol@dancol.org>
9652
9653 * simple.el (process-menu-mode-map): New variable.
9654 (process-menu-delete-process): New command.
9655
9656 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9657
9658 * emacs-lisp/package.el: Fix bug#16733 (again).
9659 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9660 (url-http-target-url): Remove unused declarations.
9661 (package-handle-response): Remove.
9662 (package--with-work-buffer): Use url-insert-file-contents and simplify.
9663 (package--download-one-archive): Use current-buffer instead of
9664 dynamic binding of `buffer'.
9665 (describe-package-1): Do not decode readme-string.
9666
9667 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
9668
9669 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9670
9671 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9672 from 2014-03-07, it decreases performance unnecessarily. Let-bind
9673 `remote-file-name-inhibit-cache' to nil in the second pass.
9674 (tramp-find-executable): Do not call "which" on SunOS.
9675 (tramp-send-command-and-check): Fix docstring.
9676 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9677 check whether source directory has set the sticky bit.
9678
9679 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
9680
9681 * simple.el (primitive-undo): Only process marker adjustments
9682 validated against their corresponding (TEXT . POS). Issue warning
9683 for lone marker adjustments in undo history. (Bug#16818)
9684 (undo-make-selective-list): Add marker adjustments to selective
9685 undo list based on whether their corresponding (TEXT . POS) is in
9686 the region. Remove variable adjusted-markers, which was unused
9687 and only non nil during undo-make-selective-list.
9688 (undo-elt-in-region): Return nil when passed a marker adjustment
9689 and explain in function doc.
9690
9691 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9692
9693 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9694
9695 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9696
9697 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9698 Match special global variables without curlies, too.
9699 (ruby-font-lock-keywords): Simplify the matcher for special global
9700 variables. Don't require a non-word character after the variable.
9701 (Bug#17057)
9702
9703 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * simple.el (redisplay-highlight-region-function): Increase priority of
9706 overlay to make sure boundaries are visible (bug#15899).
9707
9708 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * frameset.el (frameset--initial-params): Fix typo in parameter name.
9711 (frameset-restore): Compare display strings with equal.
9712
9713 * frame.el (make-frame): Don't quote display name in error message,
9714 it is already a string.
9715
9716 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9717
9718 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9719 the password.
9720
9721 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
9722
9723 * emacs-lisp/package.el (package--add-to-archive-contents):
9724 Include already installed and built-in packages in
9725 `package-archive-contents'.
9726 (package-install): Don't include already installed packages in the
9727 options during interactive invocation. (Bug#16762)
9728 (package-show-package-list): If the buffer is already displayed in
9729 another window, switch to that window.
9730
9731 2014-03-26 Reto Zimmermann <reto@gnu.org>
9732
9733 Sync with upstream vhdl mode v3.35.1.
9734 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9735 (vhdl-compiler-alist): Doc fix.
9736 (vhdl-goto-line): Remove.
9737 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9738 (vhdl-mode) <paragraph-start>: Fix value.
9739 (vhdl-fix-statement-region): Not `for' in wait-statement.
9740 (vhdl-beautify-region): Also (un)tabify.
9741 (vhdl-get-visible-signals):
9742 Scan declarative part of generate statements.
9743 (vhdl-template-record): Fix indentation for record type declaration.
9744 (vhdl-expand-abbrev, vhdl-expand-paren):
9745 Revert to using fset again rather than defalias.
9746 (vhdl-scan-directory-contents): Tweak.
9747 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9748 (vhdl-compose-components-package):
9749 Replace vhdl-goto-line with forward-line.
9750 (top-level): Tweak speedbar frame selection.
9751 (vhdl-generate-makefile-1): Support for compilers with no
9752 unit-to-file name mapping (create directory with dummy files).
9753
9754 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
9755
9756 Sync with upstream verilog-mode revision 702457d.
9757 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9758 (create-lockfiles): Declare.
9759 (verilog-read-decls): Fix module header imports, bug709.
9760 Reported by Victor Lau.
9761 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
9762 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9763 interface-only modules, bug721. Reported by Dean Hoyt.
9764
9765 2014-03-26 Glenn Morris <rgm@gnu.org>
9766
9767 * obsolete/gulp.el: Move here from emacs-lisp/.
9768
9769 * files.el (lock-buffer, unlock-buffer, file-locked-p):
9770 Remove fallback aliases, since they are always defined now.
9771
9772 2014-03-24 Daniel Colascione <dancol@dancol.org>
9773
9774 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9775 instead of cl-loop search function.
9776
9777 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9778
9779 * calendar/parse-time.el (parse-time-iso8601-regexp)
9780 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9781 it more generally.
9782
9783 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
9784
9785 * net/dns.el (network-interface-list): Define for XEmacs.
9786
9787 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
9788
9789 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9790 the network interfaces changed.
9791 (dns-query): Use it to flush the data.
9792
9793 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
9794
9795 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9796
9797 2014-03-23 Daniel Colascione <dancol@dancol.org>
9798
9799 Change subword-mode to use `find-word-boundary-function-table' and
9800 replace `capitalized-words-mode'. Also, convert to lexical binding.
9801 * progmodes/cap-words.el: Delete now-obsolete file.
9802 * progmodes/subword.el: Reimplement using
9803 `find-word-boundary-function-table'.
9804 (subword-mode-map): Hollow out.
9805 (capitalized-words-mode): Define as obsolete alias for
9806 `subword-mode'.
9807 (subword-mode, superword-mode): Tweak documentation to reflect new
9808 implementation; call `subword-setup-buffer'.
9809 (subword-forward, subword-capitalize): Add underscore to indicate
9810 unused variable.
9811 (subword-find-word-boundary-function-table): New constant.
9812 (subword-empty-char-table): New constant.
9813 (subword-setup-buffer): New function.
9814 (subword-find-word-boundary): New function.
9815
9816 2014-03-23 Daniel Colascione <dancol@dancol.org>
9817
9818 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9819 list to look for keyword arguments instead of `memq', fixing
9820 (Bug#3647) --- unfortunately, only for freshly-compiled code.
9821 Please make bootstrap.
9822
9823 2014-03-22 Glenn Morris <rgm@gnu.org>
9824
9825 * dired.el (dired-read-regexp): Make obsolete.
9826 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9827 (dired-flag-files-regexp):
9828 * dired-aux.el (dired-mark-read-regexp):
9829 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9830
9831 * startup.el (fancy-startup-text):
9832 * help.el (describe-gnu-project): Visit online info about GNU project.
9833
9834 * help-fns.el (help-fns--interactive-only): New function.
9835 (help-fns-describe-function-functions): Add the above function.
9836 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9837 (next-line, previous-line): Remove hand-written interactive-only
9838 information from doc strings, it is auto-generated now.
9839 * bookmark.el (bookmark-write):
9840 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9841 (epa-mail-import-keys): Mark interactive-only,
9842 and remove hand-written interactive-only information from doc strings.
9843 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9844 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9845 * files.el (not-modified):
9846 * simple.el (mark-whole-buffer): Mark interactive-only.
9847
9848 * emacs-lisp/byte-run.el (defun-declarations-alist):
9849 Add interactive-only. Doc tweak.
9850 (macro-declarations-alist): Doc tweak.
9851 * subr.el (declare): Doc tweak (add xref to manual).
9852 * comint.el (comint-run):
9853 * files.el (insert-file-literally, insert-file):
9854 * replace.el (replace-string, replace-regexp):
9855 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9856 (delete-forward-char, goto-line, insert-buffer, next-line)
9857 (previous-line): Set interactive-only via declare.
9858
9859 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
9860
9861 * emacs-lisp/package.el (package-desc): Use the contents of the
9862 quoted form, not its cdr. (Bug#16873)
9863
9864 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
9865
9866 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9867 benefit of doc.c; change parameter profile to match the X function.
9868
9869 2014-03-22 Leo Liu <sdl.web@gmail.com>
9870
9871 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9872 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
9873
9874 2014-03-21 Richard Stallman <rms@gnu.org>
9875
9876 * battery.el (battery-linux-sysfs): Search for each field
9877 from the beginning of the buffer.
9878
9879 * subr.el (set-transient-map): Clear out function and value
9880 of the temporary symbol when we're done with it.
9881
9882 * mail/rmailsum.el (rmail-summary-delete-forward):
9883 Optimize case of reaching end and handling count.
9884 (rmail-summary-mark-deleted): Optimize when N is current msg.
9885 Don't create new summary line.
9886 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9887 (rmail-summary-undelete-many): Rewrite for speed.
9888 (rmail-summary-msg-number): New function.
9889
9890 * mail/rmail.el (rmail-delete-message): Update summary.
9891 (rmail-undelete-previous-message): Handle repeat count arg.
9892 (rmail-delete-backward, rmail-delete-forward): Likewise.
9893
9894 2014-03-21 Daniel Colascione <dancol@dancol.org>
9895
9896 * mail/emacsbug.el (report-emacs-bug): Include memory usage
9897 information in bug reports.
9898
9899 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
9900
9901 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9902 and `tramp-copy-env'.
9903
9904 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9905 (tramp-maybe-open-connection): Handle `tramp-login-env'.
9906
9907 2014-03-21 Glenn Morris <rgm@gnu.org>
9908
9909 * electric.el (electric-indent-post-self-insert-function): Add doc.
9910
9911 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
9912
9913 * emacs-lisp/package.el (package-compute-transaction):
9914 Use `version-list-<=' to compare the requirement version against
9915 the version of package already to be installed. Update the error
9916 message. (Bug#16826)
9917
9918 * progmodes/ruby-mode.el (ruby-smie-rules):
9919 Add indentation rule for ` @ '. (Bug#17050)
9920
9921 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9922
9923 * align.el (align-regexp): Remove superfluous backslash.
9924
9925 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9926 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9927 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9928 Fix docstring typos.
9929 (ffap-next): Use C-u in docstring.
9930 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9931 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9932 Remove superfluous backslashes.
9933 (ffap-string-at-point): Reflow docstring.
9934
9935 * server.el (server-host): Reflow docstring.
9936 (server-unload-function): Fix docstring typo.
9937 (server-eval-at): Remove superfluous backslash.
9938
9939 * skeleton.el (skeleton-insert): Remove superfluous backslash.
9940 (skeleton-insert): Doc fix.
9941 (skeleton-insert): Reflow docstring.
9942
9943 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9944 (tty-color-approximate, tty-color-by-index, tty-color-values)
9945 (tty-color-desc): Remove superfluous backslashes.
9946
9947 2014-03-21 Glenn Morris <rgm@gnu.org>
9948
9949 * cus-start.el (history-length): Bump :version.
9950
9951 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9952 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9953 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9954 Don't set `make-backup-files'.
9955
9956 * info.el (info--prettify-description): New function,
9957 to give info-finder descriptions consistent case, punctuation.
9958 (Info-finder-find-node): Use it. Sort packages.
9959 Refer to "description" rather than "commentary".
9960
9961 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
9962
9963 * frameset.el (frameset--print-register): New function.
9964 (frameset-to-register): Use it.
9965
9966 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
9967
9968 * progmodes/hideif.el (hif-string-to-number): New function.
9969 (hif-tokenize): Use it to understand non-decimal floats.
9970
9971 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
9972
9973 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
9974
9975 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * electric.el (electric-newline-and-maybe-indent): New command.
9978 Bind it globally to C-j.
9979 (electric-indent-mode): Don't mess with the global map any more.
9980 Don't drop the post-self-insert-hook is some buffer is still using it
9981 (bug#16770).
9982
9983 * bindings.el (global-map): Remove C-j binding.
9984
9985 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
9986 the docstring of functions advised before dumping (bug#16993).
9987
9988 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
9989
9990 * ps-print.el (ps-generate-postscript-with-faces):
9991 Explicitly deactivate the mark (bug#16866).
9992 * simple.el (deactivate-mark): Update region highlight.
9993
9994 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
9995
9996 * emacs-lisp/package.el (describe-package-1):
9997 Decode commentary (bug#16733).
9998
9999 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * custom.el (defcustom): Doc fix: recommend avoiding destructive
10002 modification of the value argument of :set (bug#16755).
10003
10004 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * simple.el (newline-and-indent): Do autofill (bug#17031).
10007
10008 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
10009
10010 * newcomment.el (comment-normalize-vars): Only add escaping check
10011 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
10012 (comment-beginning): Use `narrow-to-region' instead of moving back
10013 one character.
10014 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
10015 (comment-start-skip): Update the docstring.
10016
10017 2014-03-18 Richard Stallman <rms@gnu.org>
10018
10019 * dired.el (dired-display-file): Force use of other window.
10020
10021 2014-03-18 Daniel Colascione <dancol@dancol.org>
10022
10023 * startup.el (tty-handle-args): Remove debug message from 2007.
10024
10025 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10026
10027 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
10028 (advice--make-interactive-form): Use it to avoid (auto)loading function.
10029 (advice--make-1, advice-add, advice-remove):
10030 Remove braindead :advice-pending hack.
10031
10032 2014-03-17 Glenn Morris <rgm@gnu.org>
10033
10034 * calendar/calendar.el (calendar-generate-month): Apply weekend
10035 face to the right days; fixes 2013-08-06 change. (Bug#17028)
10036
10037 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/tramp.el (tramp-action-out-of-band): Read pending output.
10040 (tramp-call-process): Trace also DESTINATION.
10041
10042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10043 Quote file names when they are local. Remove superfluous trace.
10044
10045 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
10046
10047 * newcomment.el (comment-beginning): If `comment-start-skip'
10048 doesn't match, move back one char and try again. (Bug#16971)
10049
10050 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10051 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
10052 Set `comment-start-skip' to a simpler value that doesn't try to
10053 check if the semicolon is escaped (this is handled by
10054 `syntax-ppss' now). (Bug#16971)
10055
10056 * progmodes/scheme.el (scheme-mode-variables): Same.
10057
10058 2014-03-16 Martin Rudalics <rudalics@gmx.at>
10059
10060 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
10061 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
10062 current (Bug#16816, Bug#17007).
10063 (with-current-buffer-window): New macro doing the same as
10064 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
10065 * help.el (help-print-return-message): Warn in doc-string to not
10066 use this in `with-help-window'.
10067 (describe-bindings-internal): Call `describe-buffer-bindings'
10068 from within help buffer. See Juanma's scenario in (Bug#16816).
10069 (with-help-window): Update doc-string.
10070 * dired.el (dired-mark-pop-up):
10071 * files.el (save-buffers-kill-emacs):
10072 * register.el (register-preview): Use `with-current-buffer-window'
10073 instead of `with-temp-buffer-window'.
10074
10075 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
10076
10077 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
10078 Implement inserting into current buffer, documented in their docstrings.
10079 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
10080 (rst-section-tree-point, rst-forward-section, rst-indent)
10081 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
10082 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
10083 (rst-font-lock-handle-adornment-pre-match-form)
10084 (rst-repeat-last-character): Reflow docstrings.
10085 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
10086 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
10087 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
10088 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
10089 Fix docstring typos.
10090 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
10091 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
10092 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
10093
10094 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
10095
10096 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
10097 for compatibility with other ports.
10098 (ns-initialize-window-system): Use it. It is set in term/common-win.el
10099 from the -xrm command line argument, but in the Nextstep port its value
10100 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
10101
10102 * progmodes/python.el (defconst, python-syntax-count-quotes)
10103 (python-indent-region, python-indent-shift-right)
10104 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
10105 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
10106 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
10107 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
10108 (inferior-python-mode, python-shell-make-comint, run-python-internal)
10109 (python-shell-buffer-substring, python-shell-send-buffer)
10110 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
10111 (python-completion-complete-at-point, python-fill-docstring-style)
10112 (python-eldoc-function, python-imenu-format-item-label)
10113 (python-imenu-format-parent-item-label)
10114 (python-imenu-format-parent-item-jump-label)
10115 (python-imenu--build-tree, python-imenu-create-index)
10116 (python-imenu-create-flat-index): Fix docstring typos.
10117 (python-indent-context, python-shell-prompt-regexp, run-python):
10118 Remove superfluous backslashes.
10119 (python-indent-line, python-nav-beginning-of-defun)
10120 (python-shell-get-buffer, python-shell-get-process)
10121 (python-info-current-defun, python-info-current-line-comment-p)
10122 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
10123 (python-indent-post-self-insert-function, python-shell-send-file)
10124 (python-shell-completion-get-completions)
10125 (python-shell-completion-complete-or-indent)
10126 (python-eldoc--get-doc-at-point): Reflow docstrings.
10127
10128 2014-03-14 Glenn Morris <rgm@gnu.org>
10129
10130 * emacs-lisp/package.el (package-menu-mode-map):
10131 Replace use of obsolete function alias. Tweak menu item text.
10132
10133 * info.el (Info-finder-find-node):
10134 Ignore the `emacs' metapackage. (Bug#10813)
10135
10136 * finder.el (finder-list-matches): Include unversioned packages
10137 in the result of a keyword search.
10138
10139 * finder.el (finder--builtins-descriptions): New constant.
10140 (finder-compile-keywords): Use finder--builtins-descriptions.
10141
10142 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
10143
10144 * simple.el (blink-matching-paren): Describe the new value,
10145 `jump', enabling the old behavior.
10146 (blink-matching-open): Use that value. (Bug#17008)
10147
10148 2014-03-14 Glenn Morris <rgm@gnu.org>
10149
10150 * finder.el (finder-no-scan-regexp): Add leim-list.
10151 (finder-compile-keywords):
10152 Don't skip files with same basename. (Bug#14010)
10153 * Makefile.in (setwins_finder): New, excluding leim.
10154 (finder-data): Use setwins_finder.
10155
10156 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
10157 (help-function-arglist, help-make-usage): Move from here...
10158 * help.el (help-split-fundoc, help-add-fundoc-usage)
10159 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
10160 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
10161
10162 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * net/socks.el (socks, socks-override-functions)
10165 (socks-find-services-entry):
10166 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
10167 (hif-find-ifdef-block):
10168 * progmodes/modula2.el (m2-indent): Fix docstring typos.
10169
10170 * net/tls.el (tls-program): Reflow docstring.
10171
10172 * progmodes/pascal.el (pascal-mode-abbrev-table)
10173 (pascal-imenu-generic-expression, pascal-auto-endcomments)
10174 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
10175 (pascal-outline-mode): Fix docstring typos.
10176 (pascal-mode): Let define-derived-mode document mode hook.
10177 (pascal-uncomment-area): Reflow.
10178 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
10179
10180 * progmodes/opascal.el (opascal-compound-block-indent)
10181 (opascal-case-label-indent): Fix docstring typos.
10182 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
10183
10184 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
10185
10186 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10187 Fontify multiple adjacent negation chars. (Bug#17004)
10188
10189 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
10190
10191 * emacs-lisp/package.el (package--prepare-dependencies):
10192 Accept requirements without explicit version (bug#14941).
10193
10194 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * register.el (register-separator, copy-to-register): Doc fixes.
10197 (register-preview-default): Remove unnecessary call to concat.
10198
10199 * frameset.el (frameset-restore): When checking for a visible frame,
10200 use the action map instead of calling visible-frame-list.
10201
10202 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
10203
10204 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
10205
10206 2014-03-12 Martin Rudalics <rudalics@gmx.at>
10207
10208 * window.el (fit-frame-to-buffer): Get maximum width from
10209 display's width instead of height.
10210
10211 2014-03-12 Glenn Morris <rgm@gnu.org>
10212
10213 * desktop.el (desktop-restore-frames)
10214 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
10215 (desktop-restore-reuses-frames): Doc tweaks.
10216
10217 * electric.el (electric-indent-mode): Doc fix.
10218
10219 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10220
10221 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10222 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10223 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10224 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10225 (cvs-dired-use-hook): Fix docstring typos.
10226 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10227 Doc fixes.
10228
10229 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10230 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10231 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10232 (cvs-execute-single-dir): Fix docstring typos.
10233
10234 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10235 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10236
10237 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10238
10239 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10240 Fix docstring typos.
10241
10242 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10245 called from jump-to-register after unloading the frameset package.
10246
10247 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10250 (bug#16975). Deactivate the mark before setting it to nil.
10251 (activate-mark): Do nothing if region is already active.
10252
10253 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * frameset.el (frameset--target-display): Remove definition; declare.
10256 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10257
10258 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10261 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10262 when the advice is pending.
10263 (advice-remove): Remove this marker when not needed any more.
10264
10265 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10266
10267 * frameset.el: Separate options for reusing frames and cleaning up.
10268 (frameset--reuse-list): Remove definition; declare.
10269 (frameset--action-map): Declare.
10270 (frameset--find-frame-if): Doc fix.
10271 (frameset--restore-frame): Cache frame action.
10272 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10273 how to clean up the frame list after restoring. Remove cleaning
10274 options from REUSE-FRAMES. Change all keyword values to symbols.
10275 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10276
10277 * desktop.el (desktop-restore-forces-onscreen)
10278 (desktop-restore-reuses-frames): Use non-keyword values.
10279 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10280
10281 2014-03-10 Glenn Morris <rgm@gnu.org>
10282
10283 * files.el (find-file): Doc fix: update info node name.
10284
10285 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10286 Doc fix: remove references to deleted info nodes.
10287
10288 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10289
10290 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10291 Do not add nil to the environment, when there's no remote `locale'.
10292 (tramp-find-inline-encoding): Check, that the remote host has
10293 installed perl, before sending scripts.
10294
10295 2014-03-10 Leo Liu <sdl.web@gmail.com>
10296
10297 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10298 Clear eldoc-last-message. (Bug#16920)
10299
10300 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10303 (bug#14430).
10304
10305 2014-03-09 Juri Linkov <juri@jurta.org>
10306
10307 * ansi-color.el (ansi-color-names-vector): Copy default colors
10308 from `xterm-standard-colors' that look well on the default white
10309 background (and also on the black background) to avoid illegible
10310 color combinations like yellow-on-white and white-on-white.
10311 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10312
10313 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * frameset.el (frameset-restore): When no frame is visible, do not
10316 generate a list of frames, just make visible the selected one.
10317
10318 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10319
10320 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10321 it only contains the repository root. (Bug#16897)
10322
10323 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10326 only when `remote-file-name-inhibit-cache' is nil.
10327 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10328
10329 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10330
10331 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10332 Fix doc-strings.
10333 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10334 fit-frame-to-buffer variable. Fix doc-string.
10335 (fit-window-to-buffer): Set ONLY argument in call of
10336 fit-frame-to-buffer. Fix doc-string.
10337
10338 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10339
10340 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10341 (tramp-action-password): Clear password cache if needed.
10342 (tramp-read-passwd): Do not clear password cache.
10343
10344 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10345 cache unless it is the first password request.
10346
10347 2014-03-06 Glenn Morris <rgm@gnu.org>
10348
10349 * simple.el (newline): Doc tweak.
10350
10351 * emacs-lisp/shadow.el (load-path-shadows-find):
10352 Ignore dir-locals. (Bug#12357)
10353
10354 2014-03-05 Glenn Morris <rgm@gnu.org>
10355
10356 * files.el (interpreter-mode-alist):
10357 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10358
10359 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10360
10361 * frameset.el (frameset--initial-params): Filter out null entries.
10362
10363 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10364
10365 * window.el (window-min-height, window-min-width):
10366 Rewrite doc-strings.
10367 (window-body-size): Add PIXELWISE argument to make it consistent
10368 with its callees.
10369
10370 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10371
10372 * finder.el (finder-mode-map, finder-mode-syntax-table):
10373 Revert part of 2014-02-28 change.
10374
10375 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10376
10377 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10378 (eww-setup-buffer): Clear next/prev/etc more reliably.
10379 (eww-textarea-map): [tab] doesn't work on tty.
10380 Reported by Mario Lang.
10381
10382 * net/shr.el (shr-map): Ditto.
10383
10384 2014-03-04 Glenn Morris <rgm@gnu.org>
10385
10386 * minibuffer.el (completion-hilit-commonality):
10387 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10388
10389 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10390
10391 * hilit-chg.el (hilit-chg-unload-function): New function.
10392 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10393 (hilit-chg-map-changes): Prefer cardinal number to digit.
10394 (hilit-chg-display-changes): Reflow docstring.
10395 (highlight-changes-rotate-faces): Remove superfluous backslash.
10396
10397 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10398
10399 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10400 `tramp-send-command-and-check'.
10401
10402 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * hexl.el (hexl-address-region, hexl-ascii-region)
10405 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10406 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10407 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10408 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10409 (hexl-mode): Doc fix.
10410 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10411 (hexl-mode-ruler): Fix typos in docstrings.
10412
10413 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10414 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10415 Remove superfluous backslashes.
10416 (strokes-last-stroke, strokes-global-map, strokes-mode):
10417 Reflow docstrings.
10418 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10419 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10420 (strokes-distance-squared, strokes-global-set-stroke)
10421 (strokes-global-set-stroke-string): Doc fixes.
10422 (strokes-help): Fix typos; reflow docstring.
10423
10424 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10425
10426 * window.el (window-in-direction): Fix doc-string.
10427
10428 2014-03-04 Glenn Morris <rgm@gnu.org>
10429
10430 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10431 Explicit error if no grammar.
10432 (smie-config-save): Doc fix. Fix quote typo.
10433
10434 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10437 electric-indent-mode-hook if we obey electric-indent-mode.
10438 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10439 decide whether we obey electric-indent-mode.
10440 (c-change-set-fl-decl-start, c-extend-after-change-region):
10441 Silence warnings.
10442 (c-electric-indent-mode-hook): Assume we do want to obey
10443 electric-indent-mode.
10444
10445 * electric.el (electric-indent-mode-has-been-called): Remove.
10446 (electric-indent-mode): Fix accordingly.
10447
10448 * files.el (hack-local-variables): Mention file name in warning.
10449
10450 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10451
10452 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10453
10454 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10455 * simple.el (delete-forward-char): Mark as interactive-only.
10456
10457 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10458
10459 * icomplete.el (icomplete-completions):
10460 Follow-up to 2014-03-01 change.
10461
10462 * icomplete.el: Miscellaneous doc fixes.
10463 Use Icomplete everywhere instead of icomplete for consistency.
10464 (icomplete-max-delay-chars): Fix typo.
10465 (icomplete-mode): Use \[].
10466 (icomplete-tidy, icomplete-exhibit): Reflow.
10467 (icomplete-minibuffer-setup-hook, icomplete-completions):
10468 Remove superfluous backlashes.
10469
10470 * ido.el: Miscellaneous doc fixes.
10471 Use Ido everywhere instead of ido or `ido' for consistency.
10472 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10473 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10474 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10475 (ido-separator): Extract obsolescence info from docstring and declare
10476 with make-obsolete-variable.
10477 (ido-minibuffer-setup-hook): Simplify example.
10478 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10479 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10480 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10481 (ido-everywhere): Reflow docstring.
10482 (ido-toggle-vc): Doc fix.
10483 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10484 of long list of keybindings.
10485
10486 2014-03-03 Glenn Morris <rgm@gnu.org>
10487
10488 * frame.el (display-pixel-height, display-pixel-width)
10489 (display-mm-dimensions-alist, display-mm-height)
10490 (display-mm-width): Doc tweaks.
10491
10492 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10493
10494 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10495 case of undo in region.
10496
10497 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10498
10499 * window.el (fit-window-to-buffer): Fix argument in window-size
10500 call when window is horizontally combined.
10501
10502 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10503
10504 * icomplete.el (icomplete-completions): Use string-width.
10505 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10506
10507 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10508
10509 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10510 Highlight regexp options. (Bug#16914)
10511
10512 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10513
10514 * window.el (window--max-delta-1): Round down when calculating
10515 how many lines/columns we can get from a window.
10516
10517 2014-03-01 Glenn Morris <rgm@gnu.org>
10518
10519 * isearch.el (search-invisible): Doc fix.
10520
10521 * minibuffer.el (completion-hilit-commonality):
10522 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
10523 * comint.el (comint-dynamic-list-completions): Doc fix.
10524 * comint.el (comint-dynamic-list-completions):
10525 * filecache.el (file-cache-minibuffer-complete):
10526 * tempo.el (tempo-display-completions):
10527 * eshell/em-hist.el (eshell-list-history):
10528 Replace use of obsolete argument of display-completion-list.
10529
10530 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
10531
10532 * icomplete.el (icomplete-completions):
10533 Revert back to using "..." when ?… cannot be displayed.
10534
10535 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * finder.el (finder-unload-function): New function.
10538
10539 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * dframe.el (dframe-detach):
10542 * find-dired.el (find-dired, find-name-dired):
10543 * finder.el (finder-mode-map, finder-mode-syntax-table)
10544 (finder-headmark, finder-select, finder-mouse-select):
10545 Fix docstring typos.
10546
10547 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10548
10549 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10550 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10551 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10552 Fix doc-string based on a suggestion by Nicolas Richard
10553 <theonewiththeevillook@yahoo.fr>.
10554 * help.el (with-help-window): Fix doc-string.
10555
10556 2014-02-28 Ivan Kanis <ivan@kanis.fr>
10557
10558 * net/shr.el (shr-image-animate): New option.
10559 (shr-put-image): Respect shr-image-animate.
10560
10561 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
10562
10563 * net/tramp-adb.el (tramp-adb-parse-device-names):
10564 Use `accept-process-output'.
10565 (tramp-adb-handle-file-truename): Cache the localname only.
10566 (tramp-adb-handle-make-directory)
10567 (tramp-adb-handle-delete-directory): Flush file properties correctly.
10568 (tramp-adb-handle-set-file-modes): Do not raise an error when file
10569 modes cannot be changed.
10570
10571 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
10572 file properties of symlinks.
10573
10574 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
10575
10576 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
10577 required/optional fields to match development biblatex. (Bug#16781)
10578
10579 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
10580
10581 * saveplace.el (toggle-save-place):
10582 Fix argument handling. (Bug#16673)
10583
10584 2014-02-28 Glenn Morris <rgm@gnu.org>
10585
10586 * minibuffer.el (completions-first-difference)
10587 (completions-common-part, completion-hilit-commonality): Doc fixes.
10588
10589 2014-02-28 Karl Berry <karl@gnu.org>
10590
10591 * info.el (Info-mode-map): Add H for describe-mode,
10592 to synchronize with standalone Info.
10593
10594 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
10595
10596 * progmodes/sql.el (sql-interactive-mode):
10597 Avoid setting global comint-input-ring-separator. (Bug#16814)
10598
10599 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * net/dbus.el (dbus--init-bus): Declare function.
10602 (dbus-path-local, dbus-interface-local): New defconst.
10603 (dbus-init-bus): Use them.
10604 (dbus-return-values-table): Extend doc.
10605 (dbus-handle-bus-disconnect): Extend error message.
10606
10607 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * subr.el (y-or-n-p): Fix double space issue in message.
10610
10611 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
10612
10613 * net/tramp.el (tramp-call-process): Improve trace message.
10614 (tramp-handle-insert-file-contents): Trace error case.
10615
10616 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10617 <insert-directory>: Use `tramp-handle-insert-directory'.
10618 (tramp-adb-handle-insert-directory): Remove function.
10619 (tramp-adb-send-command-and-check): New defun, replacing
10620 `tramp-adb-command-exit-status'. Change all callees.
10621 (tramp-adb-handle-file-attributes)
10622 (tramp-adb-handle-directory-files-and-attributes): Use it.
10623 (tramp-adb-ls-output-name-less-p):
10624 Use `directory-listing-before-filename-regexp'.
10625 (tramp-adb-handle-delete-directory): Flush also file properties of
10626 the truename of directory.
10627 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
10628 (tramp-adb-handle-file-local-copy): Make the local copy readable.
10629 (tramp-adb-handle-write-region): Implement APPEND.
10630 (tramp-adb-handle-rename-file): Make it more robust. Flush file
10631 properties correctly.
10632 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10633 variables. Check for connected devices only when needed.
10634
10635 2014-02-27 Glenn Morris <rgm@gnu.org>
10636
10637 * minibuffer.el (completion-table-dynamic)
10638 (completion-table-with-cache): Doc fixes.
10639
10640 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10641 (completing-read-multiple): Doc fixes.
10642
10643 2014-02-27 Daniel Colascione <dancol@dancol.org>
10644
10645 * minibuffer.el (completion--nth-completion): Fix indentation.
10646
10647 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10648 explicit tramp path is empty.
10649
10650 2014-02-27 Glenn Morris <rgm@gnu.org>
10651
10652 * emacs-lisp/crm.el (completing-read-multiple):
10653 Empower help-enable-auto-load.
10654
10655 2014-02-26 Glenn Morris <rgm@gnu.org>
10656
10657 * startup.el (command-line): Don't init the tty in daemon mode.
10658
10659 Avoid calling tty-setup-hook twice, eg if a term file
10660 explicitly calls tty-run-terminal-initialization. (Bug#16859)
10661 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10662 (tty-create-frame-with-faces): Use it.
10663 * startup.el (command-line): Pass run-hook argument
10664 to tty-run-terminal-initialization.
10665
10666 * dired.el (dired-restore-desktop-buffer): Demote errors;
10667 eg in case a glob match fails. (Bug#16884)
10668
10669 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
10670
10671 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10672 error from `read-from-string'. (Bug#16850)
10673
10674 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10675 result of `completing-read' in the interactive form. (Bug#16854)
10676
10677 2014-02-25 Glenn Morris <rgm@gnu.org>
10678
10679 * image.el (image-animate, image-animate-timeout):
10680 Stop animating images in dead buffers. (Bug#16878)
10681
10682 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
10683
10684 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10685 Doc fixes.
10686 * startup.el (term-setup-hook): Doc fix. Make obsolete.
10687 * term/sun.el (sun-raw-prefix-hooks):
10688 Use tty-setup-hook instead of term-setup-hook.
10689 (terminal-init-sun): Construct message from bytecomp plist.
10690 * term/wyse50.el (enable-arrow-keys): Doc fix.
10691
10692 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10693
10694 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10695 Fix docstring typos.
10696
10697 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
10698
10699 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10700
10701 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10702
10703 * minibuffer.el (completion--try-word-completion):
10704 Fix error when completing M-x commands (bug#16808).
10705
10706 2014-02-24 Leo Liu <sdl.web@gmail.com>
10707
10708 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10709
10710 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * apropos.el (apropos-print): Avoid formatting error when
10713 apropos-do-all and apropos-compact-layout are both t.
10714
10715 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * apropos.el (apropos-property, apropos-all-words-regexp)
10718 (apropos-true-hit, apropos-variable, apropos-print):
10719 Fix docstring typos, and remove obsolete comment.
10720
10721 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
10722
10723 * net/tramp-sh.el (tramp-sh-handle-file-truename):
10724 Preserve trailing "/". (Bug#16851)
10725
10726 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
10727
10728 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10729 after `=>' (bug#16811).
10730 (ruby-smie-rules): Handle the inconsistent second element of the
10731 list returned by `smie-indent--parent'.
10732 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10733 method call.
10734
10735 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
10736
10737 * elec-pair.el (electric-pair-text-syntax-table)
10738 (electric-pair-syntax-info, electric-pair--syntax-ppss)
10739 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10740 (electric-pair--looking-at-unterminated-string-p): Doc fix.
10741 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
10742
10743 2014-02-22 Glenn Morris <rgm@gnu.org>
10744
10745 * imenu.el (imenu--generic-function): Doc fix.
10746
10747 * register.el (frame-configuration-to-register): Make obsolete.
10748
10749 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * desktop.el (desktop-save-buffer-p): Do not fail when
10752 desktop-files-not-to-save is nil. Return t for true result
10753 as the doc says.
10754
10755 2014-02-22 Daniel Colascione <dancol@dancol.org>
10756
10757 * net/secrets.el (secrets-create-item, secrets-search-items):
10758 Check that attribute values are strings, avoiding the construction
10759 of invalid dbus messages.
10760
10761 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10762
10763 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10764 defun-declarations-alist.
10765
10766 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10767
10768 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10769 (bug#16829).
10770
10771 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10774 (whitespace-newline, whitespace-trailing, whitespace-line)
10775 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10776 (whitespace-space-after-tab): Fix typo in docstrings.
10777
10778 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
10779
10780 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10781
10782 * electric.el (electric-indent-functions-without-reindent):
10783 Add `yaml-indent-line'.
10784
10785 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10788 It has done nothing for years; should be removed after the release.
10789
10790 * simple.el (choose-completion): Fix docstring typo.
10791 (read-quoted-char-radix): Remove unneeded * in docstring.
10792 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10793 Don't escape parentheses unnecessarily in docstrings.
10794
10795 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10796
10797 Fix handling of window-min-height/-width (Bug#16738).
10798 * window.el (window--dump-window, window--dump-frame):
10799 New functions.
10800 (window--min-size-1): Account for window dividers.
10801 When window-resize-pixelwise is nil, delay rounding till after the
10802 sum of the window components has been calculated.
10803 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10804 nil make sure at least one text line and two text columns remain
10805 fully visible.
10806 (window-resize): Signal an error when window-resize-apply fails.
10807 (window--resize-child-windows): Fix calculation of by how many
10808 pixels a window can still be shrunk via window-new-normal.
10809 (adjust-window-trailing-edge): Call window--resizable with
10810 correct TRAIL argument.
10811
10812 (with-temp-buffer-window): Don't evaluate BODY within
10813 with-current-buffer (Bug#16816).
10814
10815 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
10816
10817 * net/tramp.el (tramp-check-cached-permissions):
10818 Call `file-attributes' with `suffix' being a symbol but a string.
10819
10820 2014-02-21 Daniel Colascione <dancol@dancol.org>
10821
10822 * net/dbus.el (dbus-init-bus-1): Declare new subr.
10823 (dbus-init-bus): New function: call into dbus-init-bus-1
10824 and installs a handler for the disconnect signal.
10825 (dbus-call-method): Rewrite to look for result in cons.
10826 (dbus-call-method-handler): Store result in cons.
10827 (dbus-check-event): Recognize events with nil sender as valid.
10828 (dbus-handle-bus-disconnect): New function. React to bus
10829 disconnection signal by synthesizing dbus error for each
10830 pending synchronous or asynchronous call.
10831 (dbus-notice-synchronous-call-errors): New function.
10832 (dbus-handle-event): Raise errors directly only when `dbus-debug'
10833 is true, not all the time.
10834
10835 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
10836
10837 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10838 Remove obsolescence declarations, these variables do not exist anymore.
10839
10840 * savehist.el (savehist-save-minibuffer-history)
10841 (savehist-additional-variables, savehist-file, savehist-mode-hook)
10842 (savehist-save-hook, savehist-coding-system, savehist-loaded)
10843 (savehist-load, savehist-install, savehist-autosave): Fix typos;
10844 mostly, refer to "Savehist mode" when talking about the mode,
10845 and not the function.
10846
10847 * saveplace.el (save-place): Remove redundant info in docstring.
10848 (save-place-forget-unreadable-files, toggle-save-place)
10849 (save-place-forget-unreadable-files, save-place-dired-hook):
10850 Fix typos and remove unneeded backslashes.
10851
10852 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
10853
10854 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10855 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10856
10857 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10858 <insert-directory>: Use `tramp-handle-insert-directory'.
10859 (tramp-gvfs-handle-insert-directory): Remove function.
10860
10861 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10862 Call `tramp-handle-insert-directory'.
10863
10864 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10867 before the start of buffer/region (bug#16799).
10868
10869 2014-02-20 Glenn Morris <rgm@gnu.org>
10870
10871 * isearch.el (search-invisible): Doc fix.
10872
10873 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
10874
10875 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10876 (bug#16657).
10877
10878 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10879
10880 * frameset.el (frameset-restore): Delay removing an old frame's
10881 duplicate id until the new frame has been correctly created.
10882
10883 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10886 (tramp-check-cached-permissions): Call `file-attributes' if the
10887 cache is empty.
10888
10889 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10890 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10891
10892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10893 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10894 (tramp-gvfs-maybe-open-connection): Set always connection
10895 properties, even if target is mounted already.
10896
10897 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10898 Set tramp-autoload cookie.
10899 (tramp-get-remote-touch): New defun.
10900 (tramp-sh-handle-set-file-times): Use it.
10901 (tramp-sh-handle-directory-files-and-attributes):
10902 Use `tramp-handle-directory-files-and-attributes' if neither stat
10903 nor perl are available on the remote host.
10904
10905 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10906 "/". Write long listing only when "l" belongs to the switches.
10907
10908 * net/trampver.el: Update release number.
10909
10910 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
10911
10912 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10913
10914 2014-02-19 Martin Rudalics <rudalics@gmx.at>
10915
10916 * window.el (window-state-put): Allow WINDOW to refer to an
10917 internal window (Bug#16793).
10918
10919 2014-02-19 Glenn Morris <rgm@gnu.org>
10920
10921 * textmodes/remember.el: Move provide statement to end.
10922 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10923 (remember-notes): Doc fixes.
10924
10925 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * delsel.el (delete-char): Restore incorrectly erased property
10928 (bug#16795).
10929
10930 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
10931
10932 * frameset.el (frameset--restore-frame): When a frame is being reused
10933 and its root window is not alive, delete all the frame's windows before
10934 restoring the window state. This works around the issue in bug#16793.
10935
10936 2014-02-18 Glenn Morris <rgm@gnu.org>
10937
10938 * textmodes/remember.el (remember-data-directory)
10939 (remember-directory-file-name-format, remember-store-in-files)
10940 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10941 (remember-notes-save-and-bury-buffer)
10942 (remember-notes--kill-buffer-query): Doc fixes.
10943
10944 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10945
10946 2014-02-17 Alan Mackenzie <acm@muc.de>
10947
10948 Connect electric-indent-mode up with CC Mode. Bug #15478.
10949 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10950 to electric-indent-{,local-}-mode.
10951 (c-basic-common-init): Set electric-indent-inhibit.
10952 Initialise c-electric-flag from electric-indent-mode.
10953 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10954 New hook functions which propagate electric-indent-mode to CC mode.
10955
10956 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10957 hit, toggle electric-indent-local-mode.
10958
10959 * electric.el (electric-indent-mode-has-been-called):
10960 New variable.
10961
10962 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * frameset.el (frameset-cfg-id): New function.
10965 (frameset--reuse-frame, frameset-restore): Use it.
10966 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
10967
10968 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * ido.el (ido-file-internal): Remove unused var `d'.
10971 Use \` for to match BoS. Fit within 80n columns.
10972
10973 2014-02-17 Daniel Colascione <dancol@dancol.org>
10974
10975 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
10976 dbus-call-method check for completion using a busy-wait loop with
10977 gradual backoff.
10978
10979 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
10980
10981 Sync with Tramp 2.2.9.
10982
10983 * net/trampver.el: Update release number.
10984
10985 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
10986
10987 * ido.el (ido-file-internal): Don't add the name of an existing
10988 directory twice. (Bug#16747)
10989
10990 2014-02-16 Glenn Morris <rgm@gnu.org>
10991
10992 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
10993 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
10994
10995 2014-02-15 Michael R. Mauger <michael@mauger.com>
10996
10997 * progmodes/sql.el: Version 3.4
10998 (sql-oracle-options): New default value ("-L").
10999 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
11000 (sql-placeholders-filter): Correct placeholder pattern.
11001 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
11002 (sql-login-delay): New variable.
11003 (sql-product-interactive): Use it.
11004
11005 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * frameset.el (frameset--jump-to-register): Check that buffer is live
11008 (bug#16749).
11009
11010 2014-02-15 Glenn Morris <rgm@gnu.org>
11011
11012 * info.el (info-initialize): Revert 2014-01-10 change.
11013
11014 2014-02-14 Glenn Morris <rgm@gnu.org>
11015
11016 * replace.el (map-query-replace-regexp)
11017 (read-regexp-defaults-function, read-regexp): Doc fixes.
11018
11019 * dired.el (dired-read-regexp):
11020 * faces.el (list-faces-display):
11021 * misearch.el (multi-isearch-read-matching-buffers)
11022 (multi-isearch-read-matching-files):
11023 * play/cookie1.el (cookie-apropos):
11024 * progmodes/grep.el (grep-read-regexp): Doc fixes.
11025
11026 * textmodes/remember.el (remember): Use frameset-to-register
11027 rather than frame-configuration-to-register.
11028
11029 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
11030
11031 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
11032 incorrect keybinding.
11033
11034 2014-02-13 Daniel Colascione <dancol@dancol.org>
11035
11036 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
11037 when adding overlays so that line numbers from compiler match line
11038 numbers we use.
11039
11040 2014-02-13 Glenn Morris <rgm@gnu.org>
11041
11042 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
11043
11044 * jit-lock.el (jit-lock-mode): Doc fix.
11045
11046 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * apropos.el (apropos-read-pattern): When the user passes an empty
11049 string, give a more helpful error message than "Wrong type
11050 argument: stringp, nil".
11051
11052 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
11055
11056 2014-02-13 Glenn Morris <rgm@gnu.org>
11057
11058 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
11059
11060 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
11063 shift-select commands.
11064
11065 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
11066
11067 * progmodes/js.el (js-indent-line): Don't widen.
11068 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
11069
11070 2014-02-12 Glenn Morris <rgm@gnu.org>
11071
11072 * icomplete.el (icomplete): Add info-link to defgroup.
11073 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
11074 (icomplete-minibuffer-map, icomplete-mode)
11075 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
11076
11077 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
11078 (package-menu-filter): Rename from package-menu-filter-interactive.
11079 Doc fix.
11080
11081 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * frameset.el (frameset--jump-to-register): Select the required
11084 window and buffer before restoring position (bug#16696).
11085
11086 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
11087
11088 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
11089
11090 2014-02-10 Glenn Morris <rgm@gnu.org>
11091
11092 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
11093
11094 2014-02-10 Eli Zaretskii <eliz@gnu.org>
11095
11096 * w32-common-fns.el (x-get-selection): Doc fix.
11097 * select.el (x-get-selection): Doc fix. (Bug#15109)
11098
11099 * face-remap.el (face-remap-add-relative)
11100 (face-remap-remove-relative, face-remap-reset-base)
11101 (face-remap-set-base): Call force-mode-line-update to redisplay
11102 the current buffer due to potential change in faces. (Bug#16709)
11103
11104 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
11105
11106 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
11107 script more robustly.
11108
11109 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11110
11111 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
11112
11113 * simple.el (choose-completion): Doc fix (bug#14160).
11114
11115 * subr.el (event-start): Say what a nil EVENT value means.
11116
11117 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
11118 (bug#14197).
11119
11120 * progmodes/grep.el (find-program): Doc fix (bug#14289).
11121
11122 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
11123
11124 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11125
11126 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
11127 predicate function (bug#15455).
11128
11129 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
11130
11131 * ielm.el (inferior-emacs-lisp-mode): Instead of
11132 `comment-use-global-state', set `comment-use-syntax'.
11133
11134 2014-02-10 Glenn Morris <rgm@gnu.org>
11135
11136 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
11137
11138 2014-02-09 Alan Mackenzie <acm@muc.de>
11139
11140 Fix c-invalidate-state-cache on narrowed buffers.
11141 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
11142 Widen when setting and clearing the CPP delimiter properties.
11143
11144 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
11145
11146 * help.el (describe-bindings): Doc fix (bug#9888).
11147
11148 * files.el (save-buffer): Use ARG as the parameter name for
11149 consistency (bug#10346).
11150 (save-buffer): Clarify the 0 argument (bug#10346).
11151
11152 * cus-edit.el (customize-apropos): Fix error string.
11153 (custom-buffer-create): Doc fix (bug#11122).
11154 (custom-sort-items): Doc fix (bug#11121).
11155
11156 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
11157
11158 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
11159 (icomplete-simple-completing-p): Mention the previous variable.
11160
11161 * font-lock.el (font-lock-value-in-major-mode): Clarify the
11162 meaning of the parameter (bug#12282).
11163
11164 * files.el (find-file-noselect): Clarify prompt when changing
11165 readedness (bug#13261).
11166 (locate-file): Suffixes aren't returned, so don't say that they
11167 are (bug#12674).
11168 (backup-inhibited): Doc clarification (bug#12525).
11169
11170 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
11171 before we actually start to delete things (bug#16331).
11172
11173 * subr.el (event-start): Doc fix (bug#14228).
11174 (event-end): Ditto.
11175
11176 2014-02-09 Glenn Morris <rgm@gnu.org>
11177
11178 * emacs-lisp/warnings.el (lwarn):
11179 Empower help-enable-auto-load. (Bug#15940)
11180
11181 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11182
11183 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
11184 (Bug#16690)
11185
11186 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
11187
11188 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11189 Insert output at end of buffer. (Bug#16120)
11190
11191 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11192
11193 * simple.el (choose-completion-string-functions): Document new
11194 calling convention (bug#14153).
11195 (execute-extended-command): Clarify doc string (bug#13373).
11196
11197 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
11198
11199 * find-dired.el (find-name-dired): Doc fix (bug#14290).
11200 (find-grep-dired): Doc fix (bug#14288).
11201
11202 2014-02-08 Juri Linkov <juri@jurta.org>
11203
11204 * isearch.el (isearch-quote-char): Check character validity
11205 like in `quoted-insert' (bug#16677).
11206
11207 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11208
11209 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
11210
11211 * isearch.el (isearch-hide-immediately): Doc clarification
11212 (bug#14723).
11213
11214 * simple.el (line-move): Document utility function used many
11215 places in the Emacs sources (bug#14843).
11216
11217 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
11218 (dired-prev-marked-file): Doc fix (bug#14855).
11219 (dired-up-directory): Doc fix (bug#14848).
11220
11221 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11222
11223 * files.el (file-relative-name): Doc fix (bug#15159).
11224
11225 * fringe.el (fringe-styles): Doc fix (bug#15239).
11226
11227 * isearch.el (isearch-filter-predicate): Documentation typo fix
11228 (bug#15474).
11229
11230 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11231
11232 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11233
11234 * replace.el (replace-match-maybe-edit): Doc clarification
11235 (bug#15632).
11236
11237 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11238
11239 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11240
11241 2014-02-08 Glenn Morris <rgm@gnu.org>
11242
11243 * help-fns.el (describe-variable):
11244 Check {file,dir}-local-variables-alist, and buffer-file-name,
11245 in the correct buffer.
11246
11247 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11248
11249 * help-fns.el (describe-variable): Fix the case where
11250 a value is directory-local with no dir-locals file. (Bug#16635)
11251
11252 2014-02-08 Glenn Morris <rgm@gnu.org>
11253
11254 * abbrev.el (edit-abbrevs-mode):
11255 Derive from fundamental-mode. (Bug#16682)
11256
11257 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11258
11259 * simple.el (quoted-insert): Check character validity (bug#16677).
11260
11261 2014-02-07 Juri Linkov <juri@jurta.org>
11262
11263 * desktop.el (desktop-read): Claim the lock when the owner is not
11264 the current process. (Bug#16157)
11265
11266 2014-02-07 Juri Linkov <juri@jurta.org>
11267
11268 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11269 to "\\` ". (Bug#16651)
11270
11271 2014-02-07 Juri Linkov <juri@jurta.org>
11272
11273 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11274 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11275 (desktop-auto-save-cancel-timer): New function with some code from
11276 `desktop-auto-save-set-timer'.
11277 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11278 Instead of setting `desktop-save-mode' to nil, call
11279 `desktop-save-mode' with arg 0. (Bug#16630)
11280
11281 2014-02-07 Glenn Morris <rgm@gnu.org>
11282
11283 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11284 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11285 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11286
11287 * obsolete/iswitchb.el: Move to obsolete/.
11288 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11289 since obsolete/ is not scanned for autoloads.
11290 * emacs-lisp/authors.el (authors-valid-file-names):
11291 Add iswitchb.el.
11292
11293 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11294 Disable now non-functional find-file-hook.
11295
11296 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11297
11298 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11299 instead of ";" in order to avoid additional prompts. Let heredoc
11300 scripts read from tty. (Bug#16582)
11301 (tramp-send-command): No special handling of heredocs, it isn't
11302 necessary anymore.
11303
11304 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11307 with a space (bug#16664). Limit the symbols considered to the ones
11308 that are bound or fbound (bug#16646).
11309
11310 2014-02-06 Glenn Morris <rgm@gnu.org>
11311
11312 * epa.el (epa-mail-aliases): Doc fix.
11313
11314 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11315
11316 * emacs-lisp/lisp.el (lisp-completion-at-point):
11317 Use `completion-table-merge' instead of `completion-table-in-turn'
11318 (bug#16604).
11319
11320 * minibuffer.el (completion-table-merge): New function.
11321
11322 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11323
11324 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11325 (tramp-sh-handle-set-file-acl)
11326 (tramp-sh-handle-start-file-process)
11327 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11328 (tramp-find-executable, tramp-send-command): Use it.
11329
11330 2014-02-05 Glenn Morris <rgm@gnu.org>
11331
11332 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11333
11334 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11335
11336 * progmodes/python.el (python-shell-send-string)
11337 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11338
11339 2014-02-04 Anders Lindgren <andlind@gmail.com>
11340
11341 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11342 the names (bug#16620).
11343
11344 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11345
11346 * faces.el (window-divider): New default value. Rewrite doc-string.
11347 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11348
11349 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11350
11351 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11352 `protected' and `public' can also be called without arguments.
11353
11354 2014-02-03 Glenn Morris <rgm@gnu.org>
11355
11356 * register.el (window-configuration-to-register)
11357 (frame-configuration-to-register): Unadvertise unused argument.
11358 * frameset.el (frameset-to-register): Remove unused argument.
11359
11360 * frameset.el (frameset-to-register):
11361 * kmacro.el (kmacro-to-register):
11362 * register.el (increment-register):
11363 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11364 (calc-append-to-register, calc-prepend-to-register):
11365 * play/gametree.el (gametree-layout-to-register)
11366 (gametree-apply-register-layout):
11367 * textmodes/picture.el (picture-clear-rectangle-to-register)
11368 (picture-yank-rectangle-from-register):
11369 * vc/emerge.el (emerge-combine-versions-register):
11370 Use register-read-with-preview to read registers.
11371
11372 2014-02-03 João Távora <joaotavora@gmail.com>
11373
11374 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11375 when at beginning of (possibly narrowed) buffer.
11376
11377 2014-02-02 Daniel Colascione <dancol@dancol.org>
11378
11379 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11380 Also try to display local help from just before point.
11381
11382 2014-02-02 Alan Mackenzie <acm@muc.de>
11383
11384 c-parse-state. Don't "append-lower-brace-pair" in certain
11385 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11386 recognised as a comment.
11387
11388 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11389 as well as normal comment starter.
11390 (c-parse-state-get-strategy): Extra return possibility
11391 'back-and-forward.
11392 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11393 return value list to indicate replacement of a brace-pair cons
11394 with its car.
11395 (c-parse-state-1): With 'back-and-forward, only call
11396 c-append-lower-brace-pair-to state-cache when cons-separated.
11397
11398 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11399
11400 * term/ns-win.el (ns-suspend-error): New function.
11401 (ns-initialize-window-system): Add ns-suspend-error to
11402 suspend-hook (Bug#16612).
11403
11404 2014-02-02 Daniel Colascione <dancol@dancol.org>
11405
11406 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11407 Make loading cc-mode silent.
11408
11409 2014-02-02 Daniel Colascione <dancol@dancol.org>
11410
11411 * comint.el (comint-prompt-read-only): Change doc to suggest
11412 remap keybinding.
11413
11414 2014-02-02 Glenn Morris <rgm@gnu.org>
11415
11416 * register.el (register-read-with-preview, point-to-register)
11417 (window-configuration-to-register, frame-configuration-to-register)
11418 (jump-to-register, number-to-register, view-register, insert-register)
11419 (copy-to-register, append-to-register, prepend-to-register)
11420 (copy-rectangle-to-register): Doc fixes.
11421
11422 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11425 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11426 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11427 * help-fns.el (describe-function-1): Use it.
11428
11429 2014-02-02 Glenn Morris <rgm@gnu.org>
11430
11431 * register.el (register-preview-default): New function,
11432 split from register-preview.
11433 (register-preview-function): Rename from register-preview-functions,
11434 make it not a hook.
11435 (register-preview): Use register-preview-function.
11436 (register-read-with-preview): Error on non-character event. (Bug#16595)
11437
11438 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11439
11440 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11441 `:' before binary operators (bug#16609). Don't check for `:'
11442 before `[' and `(', or their syntax status. A percent literal
11443 can't end with either.
11444 (ruby-font-lock-keywords): For built-ins that require arguments,
11445 check that they're followed by something that looks like argument
11446 (bug#16610).
11447
11448 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11449
11450 * subr.el (butlast): Document what an omitted N means (bug#13437).
11451 (nbutlast): Ditto.
11452
11453 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11454
11455 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11456 depth shallower (bug#16587).
11457 (shr-tag-svg): Respect `shr-inhibit-images'.
11458 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11459
11460 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11461
11462 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11463 (ruby-smie-grammar): Make "." right-associative. Make its priority
11464 lower than the ternary and all binary operators.
11465 (ruby-smie-rules): Indent "(" relative to the first non-"."
11466 parent, or the first "." parent at indentation.
11467 Use `ruby-align-chained-calls' for indentation of "." tokens.
11468 (Bug#16593)
11469
11470 2014-01-31 Juri Linkov <juri@jurta.org>
11471
11472 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11473 from `make-hash-table'.
11474
11475 * textmodes/ispell.el (ispell-init-process): Change message format
11476 to be consistent with other messages.
11477
11478 2014-01-31 Glenn Morris <rgm@gnu.org>
11479
11480 * delsel.el (delete-selection-mode): Doc fix.
11481
11482 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11483 (trace-function-background): Doc fixes.
11484
11485 * ido.el (ido-use-virtual-buffers): Doc fix.
11486 Reset :version, since the default value has not changed.
11487
11488 * register.el (register-preview-delay, register-read-with-preview):
11489 Doc fixes.
11490
11491 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11492 do not mess with mail-buffer position (fixes 2009-11-03 change).
11493 * progmodes/cc-mode.el (c-submit-bug-report):
11494 Check auto-fill-mode is bound. (Bug#16592)
11495
11496 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11497
11498 * startup.el (fancy-splash-image-file): New function,
11499 split from fancy-splash-head.
11500 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11501 so that we are both using the same image. (Bug#16574)
11502
11503 2014-01-30 Glenn Morris <rgm@gnu.org>
11504
11505 * simple.el (eval-expression): Doc fix.
11506
11507 * hexl.el (hexl-mode-hook):
11508 * ielm.el (ielm-mode-hook):
11509 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11510 (lisp-interaction-mode-hook):
11511 * progmodes/cfengine.el (cfengine3-documentation-function):
11512 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11513
11514 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11517 is a symbol (bug#16584).
11518
11519 2014-01-30 Glenn Morris <rgm@gnu.org>
11520
11521 * help.el (help-for-help-internal): Add "P" to text.
11522
11523 2014-01-29 Glenn Morris <rgm@gnu.org>
11524
11525 * simple.el (just-one-space, cycle-spacing): Doc fixes.
11526
11527 2014-01-28 Martin Rudalics <rudalics@gmx.at>
11528
11529 * window.el (fit-frame-to-buffer): Fix calculations for margins and
11530 height constraints.
11531
11532 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
11533
11534 * progmodes/hideif.el: Extend to full CPP expression syntax.
11535 (hif-token-alist): Add missing tokens.
11536 (hif-token-regexp): Add support for float/octal/hex immediates.
11537 (hif-string-literal-regexp): New const.
11538 (hif-tokenize): Recognize strings and float/octal/hex immediates.
11539 (hif-exprlist): New function.
11540 (hif-parse-if-exp): Use it.
11541 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11542 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11543 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11544 (hif-logxor, hif-comma): New functions.
11545
11546 2014-01-28 Glenn Morris <rgm@gnu.org>
11547
11548 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11549
11550 * indent.el (tab-stop-list): Doc fix. Add :version.
11551
11552 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11553 (cvs-append-to-ignore): Add compatibility alias.
11554
11555 2014-01-27 Glenn Morris <rgm@gnu.org>
11556
11557 * dired.el (dired-hide-details-mode): Don't autoload it,
11558 since it cannot be used outside Dired buffers anyway.
11559
11560 * emulation/cua-base.el (cua-mode): Doc fix.
11561
11562 * dired.el (dired-hide-details-hide-symlink-targets)
11563 (dired-hide-details-hide-information-lines)
11564 (dired-hide-details-mode): Doc fixes.
11565
11566 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11567 * strokes.el (strokes-file): Doc fix. Bump :version.
11568 (strokes-help): Doc fix.
11569 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
11570 * emulation/viper.el (viper): Doc fix for custom group.
11571 (top-level): Remove oh-so-no-longer-relevant text about vip.
11572 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
11573
11574 * ido.el (ido-save-directory-list-file):
11575 * saveplace.el (save-place-file):
11576 * calendar/timeclock.el (timeclock-file):
11577 * net/quickurl.el (quickurl-url-file):
11578 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11579 * progmodes/idlwave.el (idlwave-config-directory):
11580 * textmodes/remember.el (remember-data-file):
11581 Bump :version.
11582
11583 2014-01-26 Glenn Morris <rgm@gnu.org>
11584
11585 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
11586 Doc fix. Make obsolete.
11587 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
11588
11589 * sort.el (delete-duplicate-lines): Doc fix.
11590
11591 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11592
11593 * progmodes/ada-mode.el (ada):
11594 * woman.el (woman): Link to info manual and Commentary section.
11595
11596 * progmodes/flymake.el (flymake):
11597 * nxml/nxml-mode.el (nxml):
11598 * net/eww.el (eww):
11599 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
11600 * htmlfontify.el (htmlfontify):
11601 * ses.el (ses):
11602 * epa.el (epa):
11603 * ido.el (ido): Link to info manual.
11604
11605 2014-01-25 Leo Liu <sdl.web@gmail.com>
11606
11607 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
11608
11609 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
11610
11611 * net/shr.el (shr-tag-img): Prefer the title over the alt text
11612 (bug#16537).
11613
11614 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
11615
11616 * net/eww.el (eww-download-callback):
11617 Fix reference to eww-download-directory.
11618
11619 * emacs-lisp/bytecomp.el (byte-compile-file):
11620 Remove unused local variable `file-name'.
11621
11622 2014-01-24 Glenn Morris <rgm@gnu.org>
11623
11624 * woman.el (woman-default-faces, woman-monochrome-faces):
11625 Fix obsolescence specification.
11626
11627 * subr.el (with-demoted-errors): Doc fix.
11628
11629 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11632 (cl--macroexp-fboundp): New function.
11633 (cl--make-type-test): Use it.
11634
11635 2014-01-23 Glenn Morris <rgm@gnu.org>
11636
11637 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11638 * simple.el (eval-expression): Doc fixes.
11639
11640 2014-01-22 Glenn Morris <rgm@gnu.org>
11641
11642 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11643
11644 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * emacs-lisp/package.el: Write files silently.
11647 (package-autoload-ensure-default-file, package--write-file-no-coding)
11648 (package-generate-description-file, package--download-one-archive)
11649 (package-install-from-archive): Tell `write-region' to stay quiet.
11650 (package-menu-mode, package-menu--print-info): Omit the Archive column
11651 if there's only one archive.
11652 (package-all-keywords, package--has-keyword-p): Remove dead code.
11653
11654 2014-01-22 Glenn Morris <rgm@gnu.org>
11655
11656 * version.el (emacs-bzr-version-bzr): Fix typo.
11657
11658 * version.el (emacs-repository-get-version):
11659 Check either .bzr or .git, but not both.
11660 Make the git case actually use the DIR argument, and return nil
11661 rather than the empty string.
11662 Avoid error if .git exists but the git executable is not found.
11663
11664 2014-01-22 Martin Rudalics <rudalics@gmx.at>
11665
11666 Fixes in window size functions around Bug#16430 and Bug#16470.
11667 * window.el (window-total-size, window-size): New argument ROUND.
11668 (window--min-delta-1, window-min-delta, window--max-delta-1):
11669 Be more conservative when calculating the numbers of lines or
11670 columns a window can shrink (Bug#16430).
11671 (fit-window-to-buffer): Simplify code.
11672 * term.el (term-window-width): Call window-body-width again.
11673
11674 2014-01-22 Glenn Morris <rgm@gnu.org>
11675
11676 * image.el (image-format-suffixes): Doc fix.
11677
11678 * international/quail.el (quail-define-package): Doc fix.
11679
11680 * emacs-lisp/authors.el (authors-valid-file-names)
11681 (authors-renamed-files-alist): Additions.
11682
11683 * vc/vc-git.el (vc-git-print-log): Remove --follow;
11684 reverts 2014-01-09 change. (Bug#16422)
11685
11686 * calc/calc-embed.el (thing-at-point-looking-at):
11687 * emacs-lisp/map-ynp.el (x-popup-dialog):
11688 * obsolete/lmenu.el (x-popup-dialog):
11689 * emacs-lisp/package.el (url-recreate-url):
11690 * mail/mailclient.el (clipboard-kill-ring-save):
11691 * subr.el (x-popup-dialog): Update declaration.
11692 * mail/rmail.el (rmail-mime-message-p):
11693 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11694
11695 2014-01-21 Daniel Colascione <dancol@dancol.org>
11696
11697 * progmodes/sh-script.el (sh--inside-noncommand-expression):
11698 Correctly detect when we're inside an arithmetic expansion form
11699 containing nested parenthesis.
11700 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11701 to detect cases where we shouldn't expand "<<" to a heredoc
11702 skeleton.
11703
11704 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11707 (eldoc--message-command-p): New function.
11708 (eldoc-display-message-p): Use it.
11709 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11710 message is not automatically erased for us.
11711 (eldoc-print-current-symbol-info): Erase previous message, if any.
11712
11713 2014-01-21 Tassilo Horn <tsdh@gnu.org>
11714
11715 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11716 specify it's an interactive function.
11717
11718 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11719 Fix regex used for scanning for citation keys which failed for
11720 citations with optional arguments.
11721
11722 2014-01-21 Leo Liu <sdl.web@gmail.com>
11723
11724 * simple.el (read--expression): Don't enable eldoc-mode.
11725
11726 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * simple.el (move-beginning-of-line): Make sure we don't move forward
11729 (bug#16497).
11730
11731 2014-01-20 Juri Linkov <juri@jurta.org>
11732
11733 * saveplace.el (toggle-save-place, save-place-to-alist)
11734 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11735 'dired-mode) before checking for dired-directory. (Bug#16477)
11736
11737 2014-01-20 Juri Linkov <juri@jurta.org>
11738
11739 * indent.el (indent-line-to): Use backward-to-indentation
11740 instead of back-to-indentation. (Bug#16461)
11741
11742 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
11743
11744 Revert some of the CANNOT_DUMP fix (Bug#16494).
11745 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11746 but fixing this can wait until after the next release.
11747 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11748
11749 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
11750
11751 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11752 Use `password-word-equivalents'.
11753 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11754 to t. (Bug#5664, Bug#13124)
11755
11756 2014-01-19 Alan Mackenzie <acm@muc.de>
11757
11758 Bind open-paren-in-column-0-is-defun-start to nil at some entry
11759 points.
11760 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11761 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11762 * progmodes/cc-mode.el (c-before-change, c-after-change)
11763 (c-font-lock-fontify-region): Bind it here.
11764
11765 2014-01-19 Martin Rudalics <rudalics@gmx.at>
11766
11767 * term.el (term-window-width): Call window-text-width instead of
11768 window-width (Bug#16470).
11769
11770 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
11771
11772 * simple.el (password-word-equivalents): Remove duplicates.
11773 Sort, to make this easier next time.
11774 Downcase. Omit ": " after "jelszó".
11775
11776 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
11777
11778 * term/common-win.el (saved-region-selection): Defvar it.
11779 (x-select-text): Set saved-region-selection (Bug#16382).
11780
11781 2014-01-18 Glenn Morris <rgm@gnu.org>
11782
11783 * emacs-lisp/authors.el (authors-aliases)
11784 (authors-renamed-files-alist): Add some entries.
11785
11786 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
11787
11788 * net/tramp.el (tramp-password-prompt-regexp):
11789 Use `password-word-equivalents' if available.
11790 (tramp-action-password, tramp-process-one-action)
11791 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
11792
11793 2014-01-17 Chong Yidong <cyd@gnu.org>
11794
11795 * simple.el (password-word-equivalents): New defcustom.
11796 * comint.el (comint-password-prompt-regexp): Use it. Bump version
11797 to 24.4.
11798 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11799 to t. (Bug#13124)
11800
11801 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
11802
11803 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11804 (ruby-align-to-stmt-keywords): Change the default value.
11805 Use `ruby-alignable-keywords' to generate the possible customization
11806 choices.
11807 (ruby-smie-rules): Instead of using a hardcoded list of alignable
11808 keywords, check against the value of `ruby-alignable-keywords'
11809 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11810
11811 2014-01-17 Glenn Morris <rgm@gnu.org>
11812
11813 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11814
11815 Make M-x authors return zero *Authors Errors* from current logs.
11816 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11817 (authors-ignored-files): Add some entries, remove others.
11818 (authors-ambiguous-files, authors-valid-file-names):
11819 Add some entries.
11820 (authors-renamed-files-alist): Add, remove, and adjust entries.
11821 (authors-renamed-files-regexps): Add some entries.
11822 Remove some very broad ones. Make some entries `lax'.
11823 (authors-lax-changelogs): New constant.
11824 (authors-disambiguate-file-name): Treat top-level specially.
11825 (authors-lax-changelog-p): New function.
11826 (authors-canonical-file-name): Check file as written against
11827 authors-valid-file-names. Do not special-case etc/.
11828 Handle `lax' logs and authors-renamed-files-regexps elements.
11829
11830 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
11831
11832 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11833 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
11834 callers.
11835
11836 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11839 Assume we're already in the proper buffer.
11840 Inspired by Anders Lindgren <andlind@gmail.com>.
11841 (follow-post-command-hook): Call it from the right buffer.
11842 (follow-comint-scroll-to-bottom): Adjust call.
11843 (follow-all-followers): Use get-buffer-window-list.
11844
11845 2014-01-15 Daniel Colascione <dancol@dancol.org>
11846
11847 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11848 `buffer-file-name' in interactive-form so that we don't leave
11849 pathless file names in `file-name-history'.
11850
11851 2014-01-15 Juri Linkov <juri@jurta.org>
11852
11853 * indent.el (indent-rigidly): Set deactivate-mark to nil
11854 in transient indentation mode. (Bug#16438)
11855
11856 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
11857
11858 * emacs-lisp/package.el (package-desc-keywords): New function
11859 (Bug#16222).
11860 (describe-package-1, package-all-keywords)
11861 (package--has-keyword-p): Use it.
11862
11863 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11864
11865 * simple.el (define-alternatives): When creating the
11866 COMMAND-alternatives variable, assign COMMAND as its definition
11867 name so that `describe-variable' can relocate it.
11868
11869 2014-01-14 Matthew Leach <matthew@mattleach.net>
11870
11871 * font-lock.el (font-lock-keywords): Fix typo in docstring
11872 (bug#16307).
11873
11874 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11875
11876 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11877 line instead of wrongly reset `add-coment' (bug#13577).
11878
11879 2014-01-14 Daiki Ueno <ueno@gnu.org>
11880
11881 * epa-file.el (epa-file-write-region): Encode the region according
11882 to `buffer-file-format'. Problem reported at:
11883 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11884
11885 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11888 so it applies in the right buffer (bug#16410).
11889
11890 2014-01-13 Daniel Colascione <dancol@dancol.org>
11891
11892 * textmodes/rst.el (rst-define-key): Provide deprecated
11893 keybindings through named functions instead of anonymous ones so
11894 that "??" doesn't appear in describe-mode output.
11895
11896 2014-01-13 Bastien Guerry <bzg@gnu.org>
11897
11898 * simple.el (define-alternatives): Call the selected command
11899 interactively. When setting `COMMAND--implementation' for the
11900 first time, tell the user how to chose another implementation.
11901 Enhance the docstring.
11902
11903 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11906 (log-edit--match-first-line): New function.
11907 (log-edit-font-lock-keywords): Use it.
11908 (log-edit-mode): Make jit-lock-defer-multiline work.
11909
11910 2014-01-13 Bastien Guerry <bzg@gnu.org>
11911
11912 * rect.el (rectangle-mark-mode): When the region is not active,
11913 display a message saying that the mark as been set and that
11914 rectangle mode is in use.
11915 (rectangle--highlight-for-redisplay): Only put an overlay with a
11916 visible vertical bar when (display-graphic-p) is non-nil.
11917 This partially fixes Bug#16403.
11918
11919 2014-01-13 Juri Linkov <juri@jurta.org>
11920
11921 * info.el (Info-find-file): Go to DIR before displaying the error
11922 about a nonexistent file if no previous Info file is visited.
11923 Use `user-error' instead of `error' for "Info file %s does not exist".
11924 (Info-find-node-2): In case of a nonexistent node in unwind forms
11925 go to the Top node if there is no previous node to revert to.
11926 (Bug#16405)
11927
11928 2014-01-13 Martin Rudalics <rudalics@gmx.at>
11929
11930 fit-frame/window-to-buffer code fixes including one for Bug#14096.
11931 * window.el (fit-frame-to-buffer): Fix doc-string.
11932 Respect window-min-height/-width. Fit pixelwise when
11933 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
11934 when avoiding that frame goes partially off-screen.
11935 (fit-window-to-buffer): Respect window-min-height/-width
11936 (Bug#14096).
11937
11938 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11941 after an empty line.
11942
11943 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * net/shr.el (shr-render-region): Autoload.
11946
11947 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11948
11949 * net/eww.el (eww-download-directory): Rename from
11950 `eww-download-path' (Bug#16419).
11951
11952 2014-01-12 Leo Liu <sdl.web@gmail.com>
11953
11954 * dired-x.el (dired-mode-map): Fix last change.
11955
11956 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11957
11958 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
11959
11960 Spelling fixes.
11961 * emacs-lisp/generic.el (generic--normalize-comments):
11962 Rename from generic--normalise-comments. All uses changed.
11963 * play/bubbles.el (bubbles--neighborhood-score)
11964 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11965 (bubbles--neighborhood-available)
11966 (bubbles--update-neighborhood-score):
11967 Rename from names with 'neighbourhood'. All uses changed.
11968
11969 2014-01-12 Leo Liu <sdl.web@gmail.com>
11970
11971 Re-implement the feature of showing eldoc info after editing.
11972 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
11973 (eldoc-edit-message-commands): New function.
11974 (eldoc-print-after-edit): New variable.
11975 (eldoc-pre-command-refresh-echo-area): Emit message only by
11976 eldoc-message-commands.
11977 (eldoc-mode): Restrict eldoc-message-commands to editing commands
11978 if eldoc-print-after-edit is set. (Bug#16346)
11979 * simple.el (read--expression): Enable eldoc-mode.
11980 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
11981
11982 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
11983 Eric S. Raymond <esr@thyrsus.com>
11984
11985 * version.el (emacs-repository-get-version): Enhance so the
11986 function works correctly in either a Bazaar or Git repo.
11987
11988 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
11989
11990 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
11991 Goes with removal of the joke manpages from /etc.
11992
11993 2014-01-10 Kenichi Handa <handa@gnu.org>
11994
11995 * mail/rmail.el (rmail-get-coding-system):
11996 Check rmail-get-coding-function before "funcall"ing it.
11997
11998 2014-01-10 Glenn Morris <rgm@gnu.org>
11999
12000 * emacs-lisp/authors.el (authors-fixed-entries):
12001 Update for files that no longer exist.
12002
12003 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
12004
12005 * version.el (emacs-bzr-get-version): Restore compatibilty with
12006 24.3 (Tested).
12007
12008 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
12009
12010 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
12011 and Podfile.
12012
12013 2014-01-10 Eli Zaretskii <eliz@gnu.org>
12014
12015 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
12016
12017 2014-01-10 Chong Yidong <cyd@gnu.org>
12018
12019 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
12020
12021 2014-01-10 Anders Lindgren <andlind@gmail.com>
12022
12023 * follow.el (follow-cache-command-list): Include right-char and
12024 left-char.
12025
12026 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
12027
12028 Spelling fixes.
12029 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
12030 * woman.el (woman-mark-horizontal-position):
12031 Rename from woman-mark-horizonal-position. Use changed.
12032
12033 2014-01-10 Glenn Morris <rgm@gnu.org>
12034
12035 * info.el (info-initialize): If running uninstalled, ensure our
12036 own info files are always found first, even if INFOPATH is set.
12037
12038 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
12039
12040 2014-01-09 David Engster <deng@randomsample.de>
12041
12042 * emacs-lisp/eieio-custom.el:
12043 * emacs-lisp/eieio-opt.el: Set generated autoload file to
12044 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
12045 * emacs-lisp/eieio.el: Regenerate autoloads.
12046
12047 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
12048
12049 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
12050 following renames. (Bug#8756)
12051
12052 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
12055 (bug#16382).
12056 (activate-mark): Add `no-tmm' argument.
12057 (set-mark, push-mark-command): Use it instead of running
12058 activate-mark-hook by hand.
12059
12060 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
12061
12062 In preparation for the move to git, sanitize out some
12063 Bazaar-specific names.
12064
12065 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
12066
12067 * version.el (emacs-bzr-version): Name changed to
12068 emacs-repository-version. Obsolete-variable alias made.
12069 * loadup.el: Follow through on this name change.
12070 * mail/emacsbug.el (report-emacs-bug): Factor out any
12071 assumption about the version control system in use.
12072
12073 2014-01-08 David Engster <deng@randomsample.de>
12074
12075 * help-fns.el (help-fns-describe-function-functions):
12076 New variable to call functions for augmenting help buffers.
12077 (describe-function-1): Remove explicit calls to
12078 `help-fns--compiler-macro', `help-fns--parent-mode' and
12079 `help-fns--obsolete'. Put them in above new variable instead, and
12080 call them through `run-hook-with-args'.
12081 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
12082 `eieio-describe-class'. Not meant for interactive use anymore,
12083 but to augment existing help buffers. Remove optional second
12084 argument. Create proper button for file location.
12085 Rewrite function to use `insert' instead of `princ' and `prin1' where
12086 possible.
12087 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
12088 (eieio-method-def, eieio-class-def): Move further up.
12089 (describe-method, describe-generic, eieio-describe-method):
12090 Remove aliases.
12091 (eieio-help-constructor, eieio-help-generic): Rename from
12092 `eieio-describe-constructor' and `eieio-describe-generic', resp.
12093 Rewrite to use `insert' in the current buffer and use proper help
12094 buttons.
12095 (eieio-help-find-method-definition)
12096 (eieio-help-find-class-definition): Also accept symbols as
12097 arguments.
12098 (eieio-help-mode-augmentation-maybee): Remove.
12099 (eieio-describe-class-sb): Use `describe-function'.
12100 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
12101 Add `eieio-help-generic' and `eieio-help-constructor'.
12102
12103 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
12104
12105 Spelling fixes.
12106 * language/china-util.el (hz-ascii-designation):
12107 Rename from hz-ascii-designnation.
12108 (hz-ascii-designation): Rename from hz-ascii-designnation.
12109 All uses changed.
12110
12111 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
12114 package-alist.
12115
12116 2014-01-08 Bastien Guerry <bzg@gnu.org>
12117
12118 * emacs-lisp/package.el (package-delete):
12119 Correctly delete the package from package-alist.
12120
12121 2014-01-08 Daiki Ueno <ueno@gnu.org>
12122
12123 * emacs-lisp/package.el (url-recreate-url): Declare.
12124 (url-http-target-url): Declare.
12125 (package-handle-response): Include requested URL in the error message.
12126 (package--check-signature): Don't re-signal errors from
12127 package--with-work-buffer. Suggested by Stefan Monnier.
12128
12129 2014-01-07 Bastien Guerry <bzg@gnu.org>
12130
12131 * minibuffer.el (completion--try-word-completion): When both a
12132 hyphen and a space are possible candidates for the character
12133 following a word, display both candidates. (Bug#15980)
12134
12135 2014-01-07 Martin Rudalics <rudalics@gmx.at>
12136
12137 * window.el (balance-windows-2): While rounding don't give a
12138 window more than the remainder. Bug#16351, bug#16383.
12139
12140 2014-01-07 Glenn Morris <rgm@gnu.org>
12141
12142 * menu-bar.el (menu-bar-help-extra-packages): Remove.
12143 (menu-bar-help-menu): Use view-external-packages instead.
12144
12145 2014-01-07 Bastien Guerry <bzg@gnu.org>
12146
12147 * emacs-lisp/package.el (package-delete): Also delete the package
12148 name from `package-alist', not its description only.
12149
12150 2014-01-07 Glenn Morris <rgm@gnu.org>
12151
12152 * help.el (view-external-packages):
12153 * menu-bar.el (menu-bar-help-extra-packages):
12154 Visit efaq.info rather than etc/MORE.STUFF.
12155
12156 2014-01-07 Juri Linkov <juri@jurta.org>
12157
12158 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
12159 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
12160
12161 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
12162 that shadows RET. (Bug#16342)
12163
12164 2014-01-07 Chong Yidong <cyd@gnu.org>
12165
12166 * isearch.el (isearch-yank-char, isearch-yank-word)
12167 (isearch-yank-line): Doc fix.
12168
12169 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
12172 * emacs-lisp/elint.el (elint-find-builtins):
12173 * emacs-lisp/eldoc.el (eldoc-symbol-function):
12174 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
12175 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
12176 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12177 * apropos.el (apropos-safe-documentation):
12178 * subr.el (symbol-file): Remove redundant fboundp.
12179 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
12180
12181 2014-01-06 Bastien Guerry <bzg@gnu.org>
12182
12183 * hl-line.el (global-hl-line-overlay): Make a local variable.
12184 (global-hl-line-overlays): New variable to store all overlays.
12185 (global-hl-line-mode): Don't delete overlays from the current
12186 buffer when `global-hl-line-sticky-flag' is non-nil.
12187 (global-hl-line-highlight): Add new overlays to
12188 `global-hl-line-overlays'.
12189 (global-hl-line-unhighlight-all): New function to delete all
12190 overlays when turning off `global-hl-line-mode'.
12191 This fixes Bug#16183.
12192
12193 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * subr.el (set-transient-map): Fix nested case and docstring.
12196
12197 2014-01-06 Tassilo Horn <tsdh@gnu.org>
12198
12199 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
12200 `Texinfo' entry.
12201
12202 2014-01-06 Daniel Colascione <dancol@dancol.org>
12203
12204 Fix defun navigation in vc log view.
12205
12206 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
12207 like `beginning-of-defun'.
12208 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
12209 log-view-end-of-defun to log-view-end-of-defun-1. Replace
12210 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
12211 (log-view-extract-comment): Call `log-view-current-entry' directly
12212 instead of relying on broken `log-view-beginning-of-defun' behavior.
12213
12214 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
12215
12216 Spelling fixes.
12217 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
12218 * emacs-lisp/debug.el (cancel-debug-on-entry):
12219 * epg.el (epg-error-to-string):
12220 * files.el (recover-file):
12221 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12222 * mail/emacsbug.el (report-emacs-bug-hook):
12223 * mail/sendmail.el (mail-recover):
12224 * ses.el (ses-yank-resize):
12225 * term/ns-win.el (ns-print-buffer):
12226 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12227 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12228 All uses changed.
12229 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12230
12231 2014-01-06 Leo Liu <sdl.web@gmail.com>
12232
12233 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12234 to avoid shadowing global key. (Bug#16354)
12235
12236 2014-01-06 Daniel Colascione <dancol@dancol.org>
12237
12238 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12239 rst-mode.
12240
12241 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12242
12243 * window.el (balance-windows): Add mising t to fix Bug#16351.
12244
12245 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12246
12247 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12248 (bug#16285).
12249 (shr-insert): If we have a word that's longer than `shr-width',
12250 break after it anyway. Otherwise we'll do no breaking once we get
12251 such a long word.
12252
12253 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12254
12255 * net/eww.el (eww): Support single/double quote for search.
12256 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12257 (eww-history-quit): Delete and use quit-window.
12258 (eww-history-kill): Delete, because it doesn't work well and
12259 not necessary.
12260 (eww-history-mode-map): Delete some keys and add easy-menu.
12261
12262 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12263
12264 Fix misspelling of 'chinese' in rx (Bug#16237).
12265 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12266 chinese-two-byte.
12267
12268 Change subword regexps back to vars (Bug#16296).
12269 * progmodes/subword.el (subword-forward-regexp)
12270 (subword-backward-regexp): Change these back to variables.
12271
12272 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12275 syntax-begin-function (bug#16247).
12276
12277 2014-01-03 Chong Yidong <cyd@gnu.org>
12278
12279 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12280 (advice--docstring): Delete variable.
12281 (advice--make-1): Leave the docstring empty.
12282 (advice-add): Use function-documentation for advised docstring.
12283
12284 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12285 Ignore function-documentation property when getting documentation.
12286 (ad-activate-advised-definition): Use function-documentation
12287 generate the docstring.
12288 (ad-make-advised-definition): Don't call
12289 ad-make-advised-definition-docstring.
12290 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12291 Delete functions.
12292
12293 * progmodes/sql.el (sql-help): Use function-documentation instead
12294 of dynamic-docstring-function property. No need to autoload now.
12295 (sql--help-docstring): New variable.
12296 (sql--make-help-docstring): Use it.
12297
12298 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * ielm.el (ielm-tab): Retarget.
12301 (ielm-map): Use ielm-tab for tab.
12302 (ielm-complete-filename): Use comint-filename-completion.
12303 (ielm-complete-symbol): Remove.
12304 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12305 remove ielm-tab from completion-at-point-functions (bug#16224).
12306
12307 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12308 Beware signals raised by predicates (bug#16201).
12309
12310 2014-01-02 Richard Stallman <rms@gnu.org>
12311
12312 * dired-aux.el (dired-do-print): Handle printer-name.
12313
12314 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12315 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12316 (rmail-epa-decrypt): Turn off mime processing.
12317
12318 * mail/rmail.el (rmail-make-in-reply-to-field):
12319 Add parens in message-id.
12320
12321 * mail/rmail.el (rmail-get-coding-function): Variable.
12322 (rmail-get-coding-system): Use it.
12323
12324 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12325
12326 * international/mule-conf.el: Unify the charset indian-is13194.
12327 (indian-is13194): Specify unify-map.
12328
12329 2013-12-31 Leo Liu <sdl.web@gmail.com>
12330
12331 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12332
12333 2013-12-30 Daniel Colascione <dancol@dancol.org>
12334
12335 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12336 of printing a useless when we resume from sleep.
12337
12338 * progmodes/sh-script.el
12339 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12340 in indentation code. (Bug#16233)
12341
12342 2013-12-28 João Távora <joaotavora@gmail.com>
12343
12344 * elec-pair.el (electric-pair-post-self-insert-function):
12345 Don't open extra newlines at beginning of buffer. (Bug#16272)
12346
12347 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12348
12349 * frame.el (window-system-for-display): Don't allow to create a
12350 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12351
12352 2013-12-28 Glenn Morris <rgm@gnu.org>
12353
12354 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12355 Update callers.
12356
12357 * apropos.el (apropos-match-face):
12358 * calculator.el (calculator-displayer):
12359 * dabbrev.el (dabbrev-search-these-buffers-only):
12360 * face-remap.el (buffer-face-mode-face):
12361 * simple.el (yank-handled-properties):
12362 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12363 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12364 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12365 (hashcash-double-spend-database):
12366 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12367 (ruby-deep-indent-paren-style):
12368 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12369 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12370 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12371 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12372 Specify custom types.
12373
12374 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12375 * bookmark.el (bookmark-bmenu-use-header-line):
12376 * doc-view.el (doc-view-scale-internally):
12377 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12378 * register.el (register-preview-delay):
12379 * net/shr.el (shr-bullet):
12380 * progmodes/cfengine.el (cfengine-cf-promises)
12381 (cfengine-parameters-indent):
12382 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12383 * textmodes/reftex-vars.el (reftex-label-regexps):
12384 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12385
12386 * net/tls.el (tls-certtool-program): Fix default value.
12387
12388 * desktop.el (desktop-restore-in-current-display):
12389 * newcomment.el (comment-empty-lines):
12390 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12391 (idlwave-pad-keyword):
12392 * progmodes/tcl.el (tcl-tab-always-indent):
12393 * textmodes/reftex-vars.el (reftex-index-default-tag):
12394 * elec-pair.el (electric-pair-skip-whitespace):
12395 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12396
12397 * emacs-lisp/authors.el (authors-ignored-files)
12398 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12399
12400 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12401
12402 * shell.el (shell-dynamic-complete-command): Doc fix.
12403 (shell--command-completion-data): Shell completion now matches
12404 executable filenames from the current buffer's directory, on
12405 systems in which this behavior is the default (windows-nt, ms-dos).
12406
12407 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12408
12409 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12410
12411 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12414 (bug#16251).
12415
12416 * electric.el: Move all electric-pair-* to elec-pair.el.
12417 * elec-pair.el: New file, split from electric.el.
12418
12419 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12420
12421 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12422 indentation level is larger than the width, because that will
12423 infloop.
12424 (shr-insert): Fill repeatedly long texts, so that Japanese is
12425 formatted correctly (bug#16263).
12426 (shr-find-fill-point): Off by one error in comparison with the
12427 indentation.
12428
12429 2013-12-26 João Távora <joaotavora@gmail.com>
12430
12431 * electric.el (electric-pair-mode): More flexible engine for skip-
12432 and inhibit predicates, new options for pairing-related functionality.
12433 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12434 if that keeps or improves their balance in buffers.
12435 (electric-pair-delete-adjacent-pairs): Delete the pair when
12436 backspacing over adjacent matched delimiters.
12437 (electric-pair-open-extra-newline): Open extra newline when
12438 inserting newlines between adjacent matched delimiters.
12439 (electric--sort-post-self-insertion-hook):
12440 Sort post-self-insert-hook according to priority values when
12441 minor-modes are activated.
12442 * simple.el (newline-and-indent): Call newline with interactive
12443 set to t.
12444 (blink-paren-post-self-insert-function): Set priority to 100.
12445 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12446 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12447 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12448 electric-pair-open-newline-between-pairs to nil.
12449
12450 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12451
12452 * progmodes/python.el: Use lexical-binding.
12453 (python-nav-beginning-of-defun): Stop searching ASAP.
12454
12455 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12456
12457 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12458 Fix interactive spec. Doc fix. (Bug#15754)
12459
12460 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12461
12462 * emacs-lisp/byte-run.el (eval-when-compile):
12463 * progmodes/cc-defs.el (cc-eval-when-compile):
12464 Fix edebug spec (bug#16184).
12465
12466 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12467
12468 * net/shr.el (shr-visit-file): Remove debugging function.
12469 (shr-insert): Don't infloop if we can't find a good place to break
12470 the line (bug#16256).
12471
12472 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12473
12474 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12475 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12476 python-nav-lisp-forward-sexp-safe.
12477 (python-nav--forward-sexp): New argument SAFE allows switching
12478 forward sexp movement behavior for parens.
12479 (python-nav-forward-sexp): Throw errors on unterminated parens
12480 (Bug#16191).
12481 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12482 (python-nav-backward-sexp-safe): New functions.
12483 (python-shell-buffer-substring):
12484 Use `python-nav-forward-sexp-safe'.
12485
12486 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12487
12488 * net/shr.el (shr-find-fill-point): Don't break lines before a
12489 quotation mark.
12490 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12491 (shr-find-fill-point): Remove the special checks for the quotation
12492 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12493
12494 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12495
12496 * net/eww.el (eww-form-textarea): Use a different face for
12497 textareas than text input since they have different keymaps
12498 (bug#16142).
12499
12500 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12501
12502 * progmodes/python.el (python-nav-beginning-of-statement):
12503 Speed up (Bug#15295).
12504
12505 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12506
12507 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12508 the window configuration.
12509
12510 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12511
12512 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12513 we run on MS-Windows or MS-DOS.
12514
12515 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12516
12517 * window.el (balance-windows-area): Call window-size instead of
12518 window-height and window-width. Bug#16241.
12519
12520 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12521
12522 * net/eww.el (eww-bookmark-quit): Remove.
12523 (eww-bookmark-browse): Restore the window configuration when you
12524 choose a bookmark (bug#16144).
12525
12526 2013-12-24 Daniel Colascione <dancol@dancol.org>
12527
12528 * icomplete.el: Remove redundant :group arguments to `defcustom'
12529 throughout.
12530 (icomplete-show-matches-on-no-input): New customizable variable.
12531 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12532 we have something to show.
12533 (icomplete-exhibit): Compute completions even if we have no user input.
12534
12535 2013-12-23 Daniel Colascione <dancol@dancol.org>
12536
12537 * icomplete.el: Move `provide' to end of file.
12538
12539 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
12540
12541 * net/gnutls.el (gnutls-verify-error): Add version tag.
12542
12543 2013-12-23 Chong Yidong <cyd@gnu.org>
12544
12545 * subr.el (set-transient-map): Rename from
12546 set-temporary-overlay-map. Doc fix.
12547
12548 * face-remap.el (text-scale-adjust):
12549 * indent.el (indent-rigidly):
12550 * kmacro.el (kmacro-call-macro):
12551 * minibuffer.el (minibuffer-force-complete):
12552 * repeat.el (repeat):
12553 * simple.el (universal-argument--mode):
12554 * calendar/todo-mode.el (todo-insert-item--next-param):
12555 * progmodes/f90.el (f90-abbrev-start): Callers changed.
12556
12557 * indent.el (indent-rigidly): Use substitute-command-keys.
12558
12559 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12560
12561 * net/eww.el (eww-tag-select): Add text-property to jump to next
12562 select field.
12563 (eww): Add non-supported ftp error.
12564
12565 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12566
12567 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
12568 comments. Handle electric indent after typing `?' and `!'.
12569
12570 2013-12-22 Chong Yidong <cyd@gnu.org>
12571
12572 * faces.el (face-spec-recalc): If the theme specs are not
12573 applicable to a frame, fall back on the defface spec.
12574 This prevents themes from obliterating faces on low-color terminals.
12575
12576 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12577
12578 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12579 after `{'. We need it after block openers, and it doesn't seem
12580 to hurt after hash openers.
12581
12582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12583
12584 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
12585 extracted from `ruby-smie-rules'.
12586 (ruby--electric-indent-chars): New variable.
12587 (ruby--electric-indent-p): New function.
12588 (ruby-mode): Use `electric-indent-functions' instead of
12589 `electric-indent-chars'.
12590
12591 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12592
12593 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
12594 docstring.
12595 (ruby-smie-rules): Indent plus one level after `=>'.
12596
12597 2013-12-21 Richard Stallman <rms@gnu.org>
12598
12599 * simple.el (newline): Doc fix.
12600
12601 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12602
12603 * net/eww.el (eww-list-histories, eww-list-histories)
12604 (eww-history-browse, eww-history-quit, eww-history-kill)
12605 (eww-history-mode-map, eww-history-mode): New command and
12606 functions to list browser histories.
12607 (eww-form-text): Support text form with disabled
12608 and readonly attributes.
12609 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
12610
12611 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12612
12613 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
12614 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
12615 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
12616 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
12617 Use `user-error'.
12618 (eww-bookmark-mode-map): Add menu.
12619 (eww-render, eww-mode): Use `setq-local'.
12620 (eww-tool-bar-map): New variable.
12621 (eww-mode): Set `tool-bar-map'.
12622 (eww-view-source): Check for `html-mode' with `fboundp'.
12623
12624 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625
12626 * net/shr.el (shr--extract-best-source): Don't bug out on audio
12627 elements with text inside. Also remove debugging.
12628
12629 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
12630
12631 * cus-start.el (all): Add ns-use-srgb-colorspace.
12632
12633 2013-12-21 Chong Yidong <cyd@gnu.org>
12634
12635 * custom.el (custom-theme-recalc-face): Do nothing if the face is
12636 undefined. Thus, theme settings for undefined faces do not take
12637 effect until the faces are defined with defface, the same as with
12638 theme variables.
12639
12640 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12641 (face-spec-reset-face): Don't assign extra properties in temacs.
12642 (face-spec-recalc): Apply X resources too.
12643
12644 2013-12-21 Chong Yidong <cyd@gnu.org>
12645
12646 * faces.el (face-spec-set):
12647 * cus-face.el (custom-theme-set-faces, custom-set-faces):
12648 * custom.el (defface): Doc fixes (Bug#16203).
12649
12650 * indent.el (indent-rigidly-map): Add docstring, and move commands
12651 into named functions.
12652 (indent-rigidly-left, indent-rigidly-right)
12653 (indent-rigidly-left-to-tab-stop)
12654 (indent-rigidly-right-to-tab-stop): New functions. Decide on
12655 indentation direction based on bidi direction, and accumulate
12656 sequential commands in a single undo boundary.
12657 (indent-rigidly--pop-undo): New utility function.
12658
12659 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
12660
12661 * faces.el (read-face-name): Require crm.el when using crm-separator.
12662
12663 2013-12-20 Daniel Colascione <dancol@dancol.org>
12664
12665 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12666 so that we don't reflow comments into the shebang line.
12667
12668 2013-12-20 Juri Linkov <juri@jurta.org>
12669
12670 * saveplace.el (save-place-to-alist): Add `dired-filename' as
12671 a position when `dired-directory' is non-nil. Check integer
12672 positions with `integerp'.
12673 (toggle-save-place, save-places-to-alist): Add check for
12674 `dired-directory'.
12675 (save-place-find-file-hook): Check integer positions with
12676 `integerp'.
12677 (save-place-dired-hook): Use `dired-goto-file' when
12678 `dired-filename' is found in the assoc list. Check integer
12679 positions with `integerp'.
12680 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12681
12682 * dired.el (dired-initial-position-hook): Rename back from
12683 `dired-initial-point-hook'.
12684 (dired-initial-position): Rename `dired-initial-point-hook' to
12685 `dired-initial-position-hook'.
12686 (dired-file-name-at-point): Doc fix. (Bug#15329)
12687
12688 2013-12-20 Juri Linkov <juri@jurta.org>
12689
12690 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12691 (read-regexp-suggestions): New function.
12692 (read-regexp): Use `read-regexp-defaults-function' to get default values.
12693 Use `read-regexp-suggestions'. Add non-empty default to history
12694 for empty input.
12695 (occur-read-regexp-defaults-function): Remove function.
12696 (occur-read-primary-args): Use `regexp-history-last' instead of
12697 `occur-read-regexp-defaults-function'.
12698
12699 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12700 (hi-lock-line-face-buffer, hi-lock-face-buffer)
12701 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12702 `hi-lock-read-regexp-defaults-function'. Doc fix.
12703 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12704 with `find-tag-default-as-symbol-regexp'. Doc fix.
12705 (hi-lock-read-regexp-defaults): Remove function.
12706 (hi-lock-regexp-okay): Add check for null.
12707
12708 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12709 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
12710
12711 * subr.el (find-tag-default-as-symbol-regexp): New function.
12712 (find-tag-default-as-regexp): Move symbol regexp formatting to
12713 `find-tag-default-as-symbol-regexp'.
12714
12715 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
12716
12717 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12718 (Bug#14179)
12719
12720 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12721
12722 * calendar/todo-mode.el: New implementation of item insertion
12723 commands and key bindings.
12724 (todo-key-prompt): New face.
12725 (todo-insert-item): New command.
12726 (todo-insert-item--parameters): New defconst, replacing defvar
12727 todo-insertion-commands-args-genlist.
12728 (todo-insert-item--param-key-alist): New defconst, replacing
12729 defvar todo-insertion-commands-arg-key-list.
12730 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12731 (todo-insert-item--argsleft, todo-insert-item--apply-args)
12732 (todo-insert-item--next-param): New functions.
12733 (todo-insert-item--args, todo-insert-item--argleft)
12734 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12735 New variables.
12736 (todo-key-bindings-t): Change binding of "i" from
12737 todo-insertion-map to todo-insert-item.
12738 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12739 (todo-insertion-command-name, todo-insertion-commands-names)
12740 (todo-define-insertion-command, todo-insertion-commands)
12741 (todo-insertion-key-bindings, todo-insertion-map): Remove.
12742
12743 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
12744
12745 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12746 (todo-toggle-item-highlighting): Use eval-and-compile instead of
12747 eval-when-compile.
12748 (todo-move-category): Allow choosing a non-existing todo file to
12749 move the category to, and create that file.
12750 (todo-default-priority): New user option.
12751 (todo-set-item-priority): Use it.
12752 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12753 (desktop-restore-file-buffer): Declare.
12754 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12755 (todo-modes-set-2): Locally set desktop-save-buffer to
12756 todo-desktop-save-buffer.
12757 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12758 (auto-mode-alist): Add autoload cookie.
12759
12760 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
12761
12762 * emacs-lisp/subr-x.el: Renamed from helpers.el.
12763 helpers.el was a poor choice of name.
12764 (string-remove-prefix): New function.
12765 (string-remove-suffix): New function.
12766
12767 2013-12-20 Martin Rudalics <rudalics@gmx.at>
12768
12769 Fix assignment for new window total sizes.
12770 * window.el (window--pixel-to-size): Remove function.
12771 (window--pixel-to-total-1, window--pixel-to-total):
12772 Fix calculation of new total sizes.
12773
12774 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
12775
12776 * comint.el (comint-output-filter): Fix rear-nonsticky property
12777 placement (Bug#16010).
12778
12779 2013-12-20 Chong Yidong <cyd@gnu.org>
12780
12781 * faces.el (read-color): Minor fix for completion function.
12782
12783 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
12784
12785 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12786 New option. (Bug#16182)
12787 (ruby-smie--indent-to-stmt-p): Use it.
12788 (ruby-smie-rules): Revert the logic in the handling of `when'.
12789 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12790 (ruby-deep-arglist, ruby-deep-indent-paren)
12791 (ruby-deep-indent-paren-style): Update docstrings to note that the
12792 vars don't have any effect with SMIE.
12793
12794 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
12795
12796 * calc/calc.el (calc-enter, calc-pop): Use the variable
12797 `calc-context-sensitive-enter'.
12798
12799 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12800
12801 * net/shr.el (shr-insert): Protect against infloops in degenerate
12802 tables.
12803
12804 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12805
12806 * progmodes/octave.el (octave): Add link to manual and octave
12807 homepage.
12808 (octave-mode-menu): Link to octave-mode manual.
12809
12810 2013-12-20 Leo Liu <sdl.web@gmail.com>
12811
12812 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12813 insertion using skeleton-end-newline. (Bug#16138)
12814
12815 2013-12-20 Juri Linkov <juri@jurta.org>
12816
12817 * replace.el (occur-engine): Use `add-face-text-property'
12818 to add the face property to matches and titles. (Bug#14645)
12819
12820 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12821 the palette of other hi-lock colors.
12822 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12823
12824 2013-12-19 Juri Linkov <juri@jurta.org>
12825
12826 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12827 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
12828 (minibuffer-history-symbol): Move variable declaration closer to
12829 its usage.
12830
12831 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12832 (Bug#14785)
12833
12834 2013-12-19 Juri Linkov <juri@jurta.org>
12835
12836 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12837 New function.
12838 (log-edit-hook): Add it to :options. (Bug#16170)
12839
12840 2013-12-19 Juri Linkov <juri@jurta.org>
12841
12842 * simple.el (eval-expression-print-format): Don't check for
12843 command names and the last command. Always display additional
12844 formats of the integer result in the echo area, and insert them
12845 to the current buffer only with a zero prefix arg.
12846 Display character when char-displayable-p is non-nil.
12847 (eval-expression): With a zero prefix arg, set `print-length' and
12848 `print-level' to nil, and insert the integer values from
12849 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12850
12851 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12852 `eval-last-sexp-arg-internal'. Doc fix.
12853 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12854 `eval-last-sexp-print-value'. Doc fix.
12855 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12856 Set `print-length' and `print-level' to nil when arg is zero.
12857 (eval-last-sexp): Doc fix.
12858 (eval-defun-2): Print the integer values from
12859 `eval-expression-print-format' at the end.
12860
12861 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12862 values from `eval-expression-print-format' at the end.
12863
12864 * ielm.el (ielm-eval-input): Print the integer
12865 values from `eval-expression-print-format' at the end.
12866
12867 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
12868
12869 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12870 2013-12-11T19:01:44Z!tzz@lifelogs.com.
12871
12872 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
12875 (hl-line-highlight, global-hl-line-highlight): Use it.
12876 (hl-line-overlay): Use defvar-local.
12877
12878 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
12879
12880 * term/ns-win.el: Require dnd.
12881 (global-map): Remove drag items.
12882 (ns-insert-text, ns-set-foreground-at-mouse)
12883 (ns-set-background-at-mouse):
12884 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12885 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12886 New functions.
12887
12888 2013-12-19 Glenn Morris <rgm@gnu.org>
12889
12890 * emacs-lisp/ert.el (ert-select-tests):
12891 Fix string/symbol mixup. (Bug#16121)
12892
12893 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12894
12895 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12896 keywords to their parent.
12897
12898 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12899
12900 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12901 first arg to be a string (fixed dead code), or an operator symbol.
12902 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12903 operator symbols.
12904 (ruby-smie-rules): Remove parent token check in the `.' clause, it
12905 did nothing. Don't respond to `(:after ".")', it will be called
12906 with :before anyway. Remove the ` @ ' rule, it didn't seem to
12907 change anything. Only return indentation for binary operators
12908 when they are hanging. De-dent opening paren when its parent is
12909 `.', otherwise it looks bad when the dot is not at bol or eol
12910 (bug#16182).
12911
12912 2013-12-19 Juri Linkov <juri@jurta.org>
12913
12914 * replace.el (query-replace-read-args): Split a non-negative arg
12915 and a negative arg into separate elements.
12916 (query-replace, query-replace-regexp, replace-string)
12917 (replace-regexp): Add arg `backward'. Doc fix.
12918 (replace-match-maybe-edit): When new arg `backward' is non-nil,
12919 move point to the beginning of the match.
12920 (replace-search, replace-highlight): Use new arg `backward'
12921 to set the value of `isearch-forward'.
12922 (perform-replace): Add arg `backward' and use it to perform
12923 replacement backward. (Bug#14979)
12924
12925 * isearch.el (isearch-query-replace): Use a negative prefix arg
12926 to call `perform-replace' with a non-nil arg `backward'.
12927
12928 2013-12-18 Juri Linkov <juri@jurta.org>
12929
12930 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12931 to the default list. Move `log-edit-show-files' to the end.
12932 Add more available functions to options.
12933 (log-edit): Move default specific settings to
12934 `log-edit-insert-message-template'. Don't move point.
12935 (log-edit-insert-message-template): New function.
12936 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12937 (Bug#16170)
12938
12939 2013-12-18 Juri Linkov <juri@jurta.org>
12940
12941 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12942 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
12943
12944 2013-12-18 Leo Liu <sdl.web@gmail.com>
12945
12946 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12947 (Bug#16186)
12948
12949 2013-12-18 Eli Zaretskii <eliz@gnu.org>
12950
12951 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12952 formats for displaying file sizes when the -s switch is given.
12953 Instead, compute a separate format for displaying the size in
12954 blocks, which is displayed in addition to the "regular" size.
12955 When -h is given in addition to -s, produce size in blocks in
12956 human-readable form as well. (Bug#16179)
12957
12958 2013-12-18 Tassilo Horn <tsdh@gnu.org>
12959
12960 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12961 Reference tables with ~\ref{...} instead of only \ref{...}.
12962
12963 2013-12-18 Chong Yidong <cyd@gnu.org>
12964
12965 * cus-edit.el (custom-magic-alist): Fix "themed" description
12966 (Bug#14348).
12967
12968 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
12969 is non-nil, do not create a new entry in the symbol's theme-value
12970 or theme-face property; update theme-settings only (Bug#14664).
12971 (custom-available-themes): Doc fix.
12972
12973 * cus-theme.el (custom-new-theme-mode-map): Add bindings
12974 (Bug#15674).
12975
12976 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12977
12978 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
12979
12980 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
12981 (Bug#13914).
12982
12983 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12984
12985 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
12986
12987 2013-12-18 Glenn Morris <rgm@gnu.org>
12988
12989 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
12990 * cus-start.el (load-prefer-newer): New option.
12991
12992 2013-12-18 Le Wang <l26wang@gmail.com>
12993
12994 * comint.el (comint-previous-matching-input-from-input):
12995 Retain point (Bug#13404).
12996
12997 2013-12-18 Chong Yidong <cyd@gnu.org>
12998
12999 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13000
13001 2013-12-18 Glenn Morris <rgm@gnu.org>
13002
13003 * mail/emacsbug.el (report-emacs-bug):
13004 Only mention enable-multibyte-characters if non-standard.
13005
13006 2013-12-17 Juri Linkov <juri@jurta.org>
13007
13008 * arc-mode.el (archive-extract-by-file): Check if directory exists
13009 before deletion to not show irrelevant errors if it doesn't exist.
13010
13011 2013-12-17 Juri Linkov <juri@jurta.org>
13012
13013 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
13014 (Bug#14751)
13015
13016 * net/eww.el (browse-web): Add alias to `eww'.
13017 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
13018 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
13019
13020 * net/browse-url.el (browse-url-browser-function): Move `eww'
13021 closer to similar functions.
13022
13023 * startup.el (fancy-startup-screen, fancy-about-screen):
13024 Set browse-url-browser-function to eww-browse-url locally.
13025 (Bug#14751)
13026
13027 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 * window.el (window--pixel-to-total): Remove unused `mini' var.
13030 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
13031 (split-window): Remove unused `new' var.
13032 (window--display-buffer): Remove unused `frame' and `delta' vars.
13033 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
13034 and display-width'.
13035
13036 2013-12-17 Martin Rudalics <rudalics@gmx.at>
13037
13038 * dired.el (dired-mark-pop-up):
13039 * register.el (register-preview): Don't bind
13040 split-height-threshold here since it's now done in
13041 display-buffer-below-selected.
13042
13043 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
13044
13045 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
13046 xterm-rgb-convert-to-16bit.
13047 (rxvt-register-default-colors): Standardize with
13048 xterm-register-default-colors (Bug#14078).
13049
13050 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
13051
13052 * simple.el (kill-region): Pass mark first, then point, so that
13053 kill-append works right (Bug#12819).
13054 (copy-region-as-kill, kill-ring-save): Likewise.
13055
13056 2013-12-17 Leo Liu <sdl.web@gmail.com>
13057
13058 * net/rcirc.el (rcirc-add-face):
13059 * eshell/em-prompt.el (eshell-emit-prompt):
13060 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
13061 (Bug#16167)
13062
13063 2013-12-17 Chong Yidong <cyd@gnu.org>
13064
13065 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
13066 Suggested by Xue Fuqiao.
13067
13068 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13069
13070 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
13071
13072 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13073
13074 * net/shr.el (shr-insert-document): Remove unused var
13075 `shr-preliminary-table-render'.
13076 (shr-rescale-image): Remove unused arg `force'.
13077 (shr-put-image): Update calls accordingly.
13078 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
13079
13080 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13081
13082 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
13083 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
13084 :close-all, to see which indentation method to use (Bug#16116).
13085 (smie-rules-function): Document the method :close-all.
13086
13087 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
13090
13091 * net/eww.el (eww-display-html): If we can't find the anchor we're
13092 looking for, then go to point-min.
13093
13094 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
13095
13096 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
13097 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
13098 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
13099 Expand dir too, in case it's relative.
13100
13101 2013-12-16 Juri Linkov <juri@jurta.org>
13102
13103 * desktop.el (desktop-auto-save-timeout): Change default to
13104 `auto-save-timeout'. Doc fix.
13105 (desktop-save): Skip the timestamp in desktop-saved-frameset
13106 when checking for auto-save changes.
13107 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
13108 `desktop-auto-save' is called repeatedly by the idle timer.
13109 (desktop-auto-save-set-timer): Replace `run-with-timer' with
13110 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
13111 (Bug#15331)
13112
13113 2013-12-16 Juri Linkov <juri@jurta.org>
13114
13115 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
13116 (Bug#16035)
13117 (isearch-pre-command-hook): Check `this-command' for symbolp.
13118
13119 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
13122
13123 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
13124
13125 * progmodes/cfengine.el (cfengine3--current-word): Remove.
13126 (cfengine3--current-function): Bring in the current-function
13127 functionality from `cfengine3--current-word'.
13128 (cfengine3-completion-function): Bring in the
13129 bounds-of-current-word functionality from
13130 `cfengine3--current-word'.
13131
13132 2013-12-16 Martin Rudalics <rudalics@gmx.at>
13133
13134 * window.el (display-buffer-below-selected):
13135 Bind split-height-threshold to 0 as suggested by Juri Linkov.
13136
13137 2013-12-16 Leo Liu <sdl.web@gmail.com>
13138
13139 * progmodes/compile.el (compile-goto-error): Do not push-mark.
13140 Remove NOMSG arg and all uses changed.
13141
13142 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
13145 (cua--deactivate-rectangle): Don't deactivate the mark.
13146 (cua-set-rectangle-mark): Don't set mark-active since
13147 cua--activate-rectangle already does it for us.
13148 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13149 non-rectangular region.
13150
13151 * emulation/cua-base.el (cua-repeat-replace-region):
13152 Use with-current-buffer.
13153
13154 * net/gnutls.el: Use cl-lib.
13155 (gnutls-negotiate): `mapcan' -> cl-mapcan.
13156
13157 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13158
13159 * emacs-lisp/package.el (package-built-in-p): Support both
13160 built-in and the package.el converted package descriptions.
13161 (package-show-package-list): Allow keywords.
13162 (package-keyword-button-action): Use it instead of
13163 `finder-list-matches'.
13164 (package-menu-filter-interactive): Interactive filtering (by
13165 keyword) function.
13166 (package-menu--generate): Support keywords and change keymappings
13167 and headers when they are given.
13168 (package--has-keyword-p): Helper function.
13169 (package-menu--refresh): Use it.
13170 (package--mapc): Helper function.
13171 (package-all-keywords): Use it.
13172 (package-menu-mode-map): Set up menu items and keybindings to
13173 provide a filtering UI.
13174
13175 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13176
13177 * net/gnutls.el (gnutls-verify-error): New defcustom to control
13178 the behavior when a certificate fails validation. Defaults to
13179 old behavior: never abort, just warn.
13180 (gnutls-negotiate): Use it.
13181
13182 2013-12-14 Martin Rudalics <rudalics@gmx.at>
13183
13184 * window.el (display-buffer-below-selected): Never split window
13185 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
13186
13187 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
13188
13189 * emacs-lisp/package.el (package--prepare-dependencies): New function.
13190 (package-buffer-info): Use it (bug#15108).
13191
13192 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * icomplete.el (icomplete-completions): Make sure the prefix is already
13195 displayed elsewhere before hiding it (bug#16219).
13196
13197 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
13198
13199 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
13200 open-paren tokens when preceded by a open-paren, too.
13201 (ruby-smie-rules): Handle virtual indentation after open-paren
13202 tokens specially. If there is code between it and eol, return the
13203 column where is starts (Bug#16118).
13204
13205 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13206
13207 * progmodes/cfengine.el: Fix `add-hook' doc.
13208 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
13209 (cfengine3--current-word): Fix parameters.
13210 (cfengine3-make-syntax-cache): Simplify further.
13211 (cfengine3-completion-function, cfengine3--current-function):
13212 Use `assq' for symbols.
13213 (cfengine3--current-function): Fix `cfengine3--current-word' call.
13214
13215 2013-12-13 Glenn Morris <rgm@gnu.org>
13216
13217 * loadup.el (load-path): Warn if site-load or site-init changes it.
13218 No more need to reset it when bootstrapping.
13219
13220 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13221
13222 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13223 locations for cf-promises.
13224 (cfengine-mode-syntax-functions-regex): New caching variable.
13225 (cfengine3-fallback-syntax): Fallback syntax for cases where
13226 cf-promises doesn't run.
13227 (cfengine3--current-word): Reimplement using
13228 `cfengine-mode-syntax-functions-regex'.
13229 (cfengine3-completion-function, cfengine3--current-function):
13230 Use `cfengine3-make-syntax-cache' directly.
13231 (cfengine3-clear-syntax-cache): New function.
13232 (cfengine3-make-syntax-cache): Simplify and create
13233 `cfengine-mode-syntax-functions-regex' on demand.
13234 (cfengine3-format-function-docstring): Don't call
13235 `cfengine3-make-syntax-cache' explicitly.
13236
13237 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13238
13239 Fix windmove-find-other-window broken after pixelwise resizing
13240 (Bug#16017).
13241 * windmove.el (windmove-other-window-loc): Revert change from
13242 2013-12-04.
13243 (windmove-find-other-window): Call window-in-direction.
13244 * window.el (window-in-direction): New arguments SIGN, WRAP and
13245 MINI to emulate original windmove-find-other-window behavior.
13246
13247 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13248
13249 * simple.el (blink-matching--overlay): New variable.
13250 (blink-matching-open): Instead of moving point, highlight the
13251 matching paren with an overlay
13252 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13253
13254 * faces.el (paren-showing-faces, show-paren-match)
13255 (show-paren-mismatch): Move from paren.el.
13256
13257 2013-12-13 Leo Liu <sdl.web@gmail.com>
13258
13259 * indent.el (indent-region): Disable progress reporter in
13260 minibuffer. (Bug#16108)
13261
13262 * bindings.el (visual-order-cursor-movement): Fix version.
13263
13264 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13265
13266 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13267 Also match after beginning of line.
13268 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13269 files. Thanks to Russell Sim. (Bug#15378)
13270
13271 2013-12-13 Juri Linkov <juri@jurta.org>
13272
13273 * simple.el <Keypad support>: Remove key bindings duplicated
13274 with bindings.el. (Bug#14397)
13275
13276 2013-12-13 Juri Linkov <juri@jurta.org>
13277
13278 * comint.el (comint-mode-map): Replace `delete-char' with
13279 `delete-forward-char'. (Bug#16109)
13280
13281 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13282
13283 * progmodes/python.el (python-indent-calculate-indentation):
13284 Fix de-denters cornercase. (Bug#15731)
13285
13286 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13289 (advice--make): Pay attention to `depth'.
13290 (advice--make-1): Don't autoload commands eagerly.
13291 * emacs-lisp/elp.el (elp-instrument-function):
13292 * emacs-lisp/trace.el (trace-function-internal):
13293 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13294
13295 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13296
13297 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13298
13299 * term/w32-win.el (w32-handle-dropped-file):
13300 * startup.el (normal-top-level):
13301 * net/browse-url.el (browse-url-file-url):
13302 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13303 decode file names using 'utf-8' rather than
13304 file-name-coding-system.
13305
13306 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13307
13308 * progmodes/python.el (python-indent-context)
13309 (python-indent-calculate-indentation): Fix auto-identation
13310 behavior for comment blocks. (Bug#15916)
13311
13312 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13313
13314 * progmodes/python.el (python-indent-calculate-indentation):
13315 When determining indentation, don't treat "return", "pass", etc., as
13316 operators when they are just string constituents. (Bug#15812)
13317
13318 2013-12-12 Juri Linkov <juri@jurta.org>
13319
13320 * uniquify.el (uniquify-buffer-name-style): Change default to
13321 `post-forward-angle-brackets'.
13322
13323 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13324 `uniquify'. Change default to `post-forward-angle-brackets'.
13325
13326 2013-12-11 Glenn Morris <rgm@gnu.org>
13327
13328 * emacs-lisp/package.el (finder-list-matches):
13329 Autoload rather than falsely declaring.
13330
13331 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13332
13333 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13334 (eww-mode-map): Use them.
13335
13336 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13337
13338 * window.el (display-buffer-in-side-window): Fix doc-string
13339 (Bug#16115).
13340
13341 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13342
13343 * vc/vc-git.el: Silence byte-compiler warnings.
13344 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13345 (log-edit-set-header): Declare.
13346
13347 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13348
13349 * Makefile.in (custom-deps, finder-data): Run output file names
13350 through unmsys--file-name. (Bug#16099)
13351
13352 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13355 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13356
13357 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13358 instead of deleting the selection "by hand" (bug#16098).
13359 Rely on insert-for-yank to yank rectangles.
13360 (cua-highlight-region-shift-only): Mark obsolete.
13361 (cua-mode): Don't enable/disable transient-mark-mode,
13362 shift-select-mode (cua-mode works both with and without them), and
13363 pc-selection-mode (obsolete).
13364 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13365 (cua--deactivate-rectangle): Deactivate it.
13366
13367 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13368 (delete-selection-helper): Make sure yank starts at the top of the
13369 deleted region.
13370 (minibuffer-keyboard-quit): Use region-active-p.
13371
13372 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13373
13374 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13375 to `delete' (bug#16109).
13376
13377 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13378
13379 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13380 info manual and show keybindings and set `:group' keyword.
13381
13382 2013-12-11 Juri Linkov <juri@jurta.org>
13383
13384 * delsel.el (delete-active-region): Let-bind `this-command'
13385 to prevent `kill-region' from changing its original value.
13386 (delete-selection-helper): Handle `overwrite-mode' for the type
13387 `kill' exactly the same way as for the type `t'.
13388 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13389 Support more commands. (Bug#13312)
13390
13391 2013-12-11 Juri Linkov <juri@jurta.org>
13392
13393 * bindings.el: Map kp keys to non-kp keys systematically
13394 with basic modifiers control, meta and shift. (Bug#14397)
13395
13396 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13397
13398 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13399 "Close browser" menu items. Fix wrong function of "List
13400 bookmarks".
13401
13402 2013-12-11 Juri Linkov <juri@jurta.org>
13403
13404 * misearch.el (multi-isearch-buffers): Set the value of
13405 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13406 arg of isearch-forward to t.
13407 (multi-isearch-buffers-regexp): Set the value of
13408 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13409 arg of isearch-forward-regexp to t.
13410 (multi-isearch-files): Set the value of
13411 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13412 arg of isearch-forward to t.
13413 (multi-isearch-files-regexp): Set the value of
13414 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13415 arg of isearch-forward-regexp to t. (Bug#16035)
13416
13417 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13418 arg of isearch-forward to t.
13419 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13420 arg of isearch-forward-regexp to t.
13421 (dired-isearch-filter-filenames): Remove unnecessary check for
13422 `dired-isearch-filenames'.
13423
13424 * comint.el (comint-history-isearch-backward):
13425 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13426 (comint-history-isearch-backward-regexp):
13427 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13428
13429 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13430
13431 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13432 unmsys--file-name. (Bug#16099)
13433
13434 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13435
13436 * emacs-lisp/package.el (package-keyword-button-action):
13437 Remove finder.el require dependency.
13438
13439 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13440
13441 * emacs-lisp/package.el: Require finder.el.
13442 (describe-package-1): Add keyword buttons.
13443 (package-make-button): New convenience function.
13444 (package-keyword-button-action): Keyword button action using
13445 `finder-list-matches'.
13446
13447 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13448
13449 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13450 last commit.
13451
13452 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13453
13454 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13455 symlinked files.
13456
13457 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13458
13459 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13460 after the end of a percent literal.
13461
13462 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13463
13464 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13465 Handle caret-delimited strings (Bug#16079).
13466
13467 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13468
13469 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13470 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13471 `ruby-parse-partial' (Bug#16078).
13472
13473 2013-12-09 Leo Liu <sdl.web@gmail.com>
13474
13475 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13476
13477 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13478
13479 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13480 (js-switch-indent-offset): New option.
13481 (js--proper-indentation): Use it. And handle the case when
13482 "default" is actually a key in an object literal.
13483 (js--same-line): New function.
13484 (js--multi-line-declaration-indentation): Use it.
13485 (js--indent-in-array-comp, js--array-comp-indentation):
13486 New functions.
13487 (js--proper-indentation): Use them, to handle array comprehension
13488 continuations.
13489
13490 2013-12-08 Leo Liu <sdl.web@gmail.com>
13491
13492 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13493 (flymake-make-overlay): Remove arg MOUSE-FACE.
13494 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13495
13496 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13499 New function.
13500 (redisplay-highlight-region-function): Use it.
13501
13502 * emulation/cua-base.el (cua--explicit-region-start)
13503 (cua--last-region-shifted): Remove.
13504 (cua--deactivate): Use deactivate-mark.
13505 (cua--pre-command-handler-1): Don't handle shift-selection.
13506 (cua--post-command-handler-1): Don't change transient-mark-mode.
13507 (cua--select-keymaps): Use region-active-p rather than
13508 cua--explicit-region-start or cua--last-region-shifted.
13509 (cua-mode): Enable shift-select-mode.
13510
13511 2013-12-08 Leo Liu <sdl.web@gmail.com>
13512
13513 * progmodes/flymake.el (flymake-popup-current-error-menu):
13514 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13515 (flymake-posn-at-point-as-event, flymake-popup-menu)
13516 (flymake-make-emacs-menu): Remove. (Bug#16077)
13517
13518 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * rect.el (rectangle-mark-mode): Activate mark even if
13521 transient-mark-mode is off (bug#16066).
13522 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13523 is > mark and at bolp.
13524
13525 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13526 (region-extract-function): Use it.
13527 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13528 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13529 Delete functions.
13530 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13531 kill-ring-save, kill-region, delete-char, delete-forward-char.
13532 Ignore self-insert-iso.
13533
13534 * emulation/cua-gmrk.el (cua--init-global-mark):
13535 Ignore `self-insert-iso'.
13536
13537 * emulation/cua-base.el (cua--prefix-copy-handler)
13538 (cua--prefix-cut-handler): Rely on region-extract-function rather than
13539 checking cua--rectangle.
13540 (cua-delete-region): Use region-extract-function.
13541 (cua-replace-region): Delete function.
13542 (cua-copy-region, cua-cut-region): Obey region-extract-function.
13543 (cua--pre-command-handler-1): Don't do the delete-selection thing.
13544 (cua--self-insert-char-p): Ignore `self-insert-iso'.
13545 (cua--init-keymaps): Don't remap delete-selection commands.
13546 (cua-mode): Use delete-selection-mode instead of rolling our own
13547 (bug#16085).
13548
13549 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13550 Obey region-extract-function.
13551
13552 Make registers and delete-selection-mode work on rectangles.
13553 * register.el (describe-register-1): Don't modify the register's value.
13554 (copy-to-register): Obey region-extract-function.
13555 * delsel.el (delete-active-region): Obey region-extract-function.
13556
13557 2013-12-08 Leo Liu <sdl.web@gmail.com>
13558
13559 * progmodes/flymake.el (flymake, flymake-error-bitmap)
13560 (flymake-warning-bitmap, flymake-fringe-indicator-position)
13561 (flymake-compilation-prevents-syntax-check)
13562 (flymake-start-syntax-check-on-newline)
13563 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13564 (flymake-start-syntax-check-on-find-file, flymake-log-level)
13565 (flymake-xml-program, flymake-master-file-dirs)
13566 (flymake-master-file-count-limit)
13567 (flymake-allowed-file-name-masks): Relocate.
13568 (flymake-makehash, flymake-float-time)
13569 (flymake-replace-regexp-in-string, flymake-split-string)
13570 (flymake-get-temp-dir): Remove.
13571 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
13572 (flymake-current-row, flymake-selected-frame)
13573 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
13574 related functions. (Bug#16077)
13575
13576 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
13577
13578 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
13579
13580 2013-12-07 Tassilo Horn <tsdh@gnu.org>
13581
13582 * help-fns.el (describe-function-1): Use new advice-* functions
13583 rather than old ad-* functions. Fix function type description and
13584 source links for advised functions and subrs.
13585
13586 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13587
13588 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
13589
13590 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
13591
13592 * progmodes/compile.el (compilation-start):
13593 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
13594
13595 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13596 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
13597
13598 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13599
13600 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13601 Touch up the last change.
13602
13603 2013-12-06 Leo Liu <sdl.web@gmail.com>
13604
13605 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
13606 (inferior-octave-startup): Always use "octave> " for prompt.
13607 (octave-goto-function-definition)
13608 (octave-sync-function-file-names)
13609 (octave-find-definition-default-filename): Remove redundant backquotes.
13610
13611 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13612
13613 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
13614 syntax for `?'.
13615 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
13616 where appropriate already.
13617 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
13618 end of method names (Bug#15874).
13619
13620 2013-12-06 Juri Linkov <juri@jurta.org>
13621
13622 * isearch.el (isearch--saved-overriding-local-map):
13623 New internal variable.
13624 (isearch-mode): Set it to the initial value of
13625 `overriding-terminal-local-map'.
13626 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
13627 with `isearch--saved-overriding-local-map'. (Bug#16035)
13628
13629 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
13630
13631 * progmodes/octave.el (inferior-octave-completion-table):
13632 Turn back into function, use `completion-table-with-cache'
13633 (Bug#11906). Update all references.
13634
13635 * minibuffer.el (completion-table-with-cache): New function.
13636
13637 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
13638
13639 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13640
13641 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
13642
13643 * net/eww.el (eww-current-source): New variable to store page
13644 source.
13645 (eww-display-html, eww-mode, eww-save-history)
13646 (eww-restore-history): Use it.
13647 (eww-view-source): New command to view page source.
13648 Opportunistically uses `html-mode' to highlight the buffer.
13649 (eww-mode-map): Install it.
13650
13651 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
13652
13653 * net/dbus.el (dbus-unregister-service)
13654 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13655 Fix docstring.
13656 (dbus-unregister-service): Skip :serial entries in
13657 `dbus-registered-objects-table'.
13658 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13659
13660 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
13661
13662 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13663 around keywords with extra `split-string' argument.
13664
13665 2013-12-04 Martin Rudalics <rudalics@gmx.at>
13666
13667 * windmove.el (windmove-other-window-loc): Handle navigation
13668 between windows (excluding the minibuffer window - Bug#16017).
13669
13670 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
13671
13672 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13673 in D-Bus type syntax.
13674 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13675 preserve unibyte strings. (Bug#16048)
13676
13677 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13680 Call force-mode-line-update is the proper buffer (bug#16042).
13681
13682 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
13683
13684 * vc/log-edit.el (log-edit-add-new-comment): Rename to
13685 `log-edit-remember-comment', make argument optional. Adjust all
13686 callers.
13687 (log-edit-mode): Add `log-edit-remember-comment' to
13688 `kill-buffer-hook' locally.
13689 (log-edit-kill-buffer): Don't remember comment explicitly since
13690 the buffer is killed anyway.
13691
13692 2013-12-04 Juri Linkov <juri@jurta.org>
13693
13694 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13695 add-hook and remove-hook for multi-buffer search. (Bug#16035)
13696
13697 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
13698
13699 * notifications.el (notifications-close-notification): Call the
13700 D-Bus method with ID being a `:uint32'. (Bug#16030)
13701
13702 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
13703
13704 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13705
13706 2013-12-03 Juri Linkov <juri@jurta.org>
13707
13708 * progmodes/compile.el (compilation-start): Rename window alist
13709 entry `no-display-ok' to `allow-no-window'.
13710
13711 * simple.el (shell-command): Add window alist entry
13712 `allow-no-window' to `display-buffer'.
13713 (async-shell-command): Doc fix.
13714
13715 * window.el (display-buffer-no-window): New action function.
13716 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
13717
13718 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13719
13720 * vc/log-edit.el (log-edit-set-header): Extract from
13721 `log-edit-toggle-header'.
13722 (log-edit-extract-headers): Separate the summary, when extracted
13723 from header, from the rest of the message with an empty line.
13724
13725 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13726 line, if present, to the Summary header.
13727
13728 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13731 in current-buffer (bug#16029).
13732
13733 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
13734
13735 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13736 (debugger-mode-map): Bind it.
13737 (debugger--backtrace-base): New function.
13738 (debugger-eval-expression): Use it.
13739 (debugger-frame-number): Skip local vars when present.
13740 (debugger--locals-visible-p, debugger--insert-locals)
13741 (debugger--show-locals, debugger--hide-locals): New functions.
13742
13743 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
13744
13745 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13746 "LC_ALL".
13747 (tramp-get-remote-locale): New defun.
13748 (tramp-open-connection-setup-interactive-shell): Use it.
13749
13750 2013-12-02 Leo Liu <sdl.web@gmail.com>
13751
13752 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
13753
13754 * progmodes/sh-script.el (sh-shell-process):
13755 * progmodes/octave.el (inferior-octave-process-live-p):
13756 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13757 (gdb-inferior-io-sentinel):
13758 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13759
13760 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13761
13762 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13763 `save-selected-window' to `log-edit-hide-buf'. This makes
13764 `log-edit-show-files' idempotent.
13765 (log-edit-show-files): Mark the new window as dedicated.
13766
13767 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
13768
13769 * vc/log-edit.el (log-edit-mode-map): Add binding for
13770 `log-edit-kill-biffer'.
13771 (log-edit-hide-buf): Add a FIXME comment.
13772 (log-edit-add-new-comment): New function, extracted from
13773 `log-edit-done'.
13774 (log-edit-done, log-edit-add-to-changelog): Use it.
13775 (log-edit-kill-buffer): New command.
13776
13777 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778
13779 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13780 instead of killing the buffer.
13781
13782 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13785
13786 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13787
13788 * net/eww.el (eww-form-checkbox-selected-symbol)
13789 (eww-form-checkbox-symbol): New customizable variable.
13790 (eww-form-checkbox, eww-toggle-checkbox):
13791 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13792
13793 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13794 (shr--get-media-pref, shr--extract-best-source): New function.
13795 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13796 no :src tag was specified.
13797
13798 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13799 (eww-render): Handle `eww-use-external-browser-for-content-type'.
13800 Use \\` to match beginning of string instead of ^.
13801 (eww-browse-with-external-browser): Provide optional URL parameter.
13802 (eww-render): Set `eww-current-title' back to "".
13803
13804 * net/shr.el (shr-tag-video): Display content for video if no
13805 poster is available.
13806 (shr-tag-audio): Add support for <audio> tag.
13807
13808 * net/eww.el (eww-text-input-types): New const.
13809 (eww-process-text-input): Treat input types in
13810 `eww-text-input-types' as text.
13811
13812 * net/shr.el (shr-tag-table): Fix comment typo.
13813
13814 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13815
13816 * net/eww.el (eww-follow-link): New command to avoid reloading
13817 pages when we follow #target links (bug#15243).
13818 (eww-quit): Special mode buffers shouldn't query before exiting.
13819
13820 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13821
13822 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13823 forms.
13824
13825 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13826
13827 * net/eww.el (eww-restore-history): Update the window title after
13828 moving in the history.
13829 (eww-current-dom): New variable used to save the current DOM.
13830
13831 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
13832
13833 * vc/log-edit.el (log-edit-mode-map): Add binding for
13834 `log-edit-beginning-of-line'.
13835 (log-edit-setup-add-author): New user option.
13836 (log-edit-beginning-of-line): New command.
13837 (log-edit): Move major mode call above the contents setup so that
13838 the local variable values are already applied.
13839 (log-edit): Only insert "Author: " when
13840 `log-edit-setup-add-author' is non-nil.
13841 (log-edit): When SETUP is non-nil, position point after ": "
13842 instead of point-min.
13843
13844 2013-12-01 Glenn Morris <rgm@gnu.org>
13845
13846 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13847
13848 2013-11-30 Eli Zaretskii <eliz@gnu.org>
13849
13850 * startup.el (fancy-splash-frame): On MS-Windows, trigger
13851 redisplay to make sure the initial frame gets a chance to become
13852 visible. (Bug#16014)
13853
13854 2013-11-30 Martin Rudalics <rudalics@gmx.at>
13855
13856 Support resizing frames and windows pixelwise.
13857 * cus-start.el (frame-resize-pixelwise)
13858 (window-resize-pixelwise): New entries.
13859 * emacs-lisp/debug.el (debug): Use window-total-height instead
13860 of window-total-size.
13861 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13862 * help.el (describe-bindings-internal): Use help-buffer as
13863 argument for with-help-window.
13864 (temp-buffer-max-width): New option.
13865 (resize-temp-buffer-window, help-window-setup)
13866 (with-help-window): Rewrite.
13867 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
13868 dragging dividers.
13869 * window.el (frame-char-size, window-min-pixel-height)
13870 (window-safe-min-pixel-height, window-safe-min-pixel-width)
13871 (window-min-pixel-width, window-safe-min-pixel-size)
13872 (window-combination-p, window-safe-min-size)
13873 (window-resizable-p, window--size-to-pixel)
13874 (window--pixel-to-size, window--resize-apply-p): New functions.
13875 (window-safe-min-height): Fix doc-string.
13876 (window-size, window-min-size, window--min-size-1)
13877 (window-sizable, window-sizable-p, window--min-delta-1)
13878 (window-min-delta, window--max-delta-1, window-max-delta)
13879 (window--resizable, window--resizable-p, window-resizable)
13880 (window-full-height-p, window-full-width-p, window-at-side-p)
13881 (window--in-direction-2, window-in-direction)
13882 (window--resize-reset-1, window--resize-mini-window)
13883 (window-resize, window-resize-no-error)
13884 (window--resize-child-windows-normal)
13885 (window--resize-child-windows, window--resize-siblings)
13886 (window--resize-this-window, window--resize-root-window)
13887 (window--resize-root-window-vertically)
13888 (adjust-window-trailing-edge, enlarge-window, shrink-window)
13889 (maximize-window, minimize-window, delete-window)
13890 (quit-restore-window, window-split-min-size, split-window)
13891 (balance-windows-2, balance-windows)
13892 (balance-windows-area-adjust, balance-windows-area)
13893 (window--state-get-1, window-state-get, window--state-put-1)
13894 (window--state-put-2, window-state-put)
13895 (display-buffer-record-window, window--display-buffer):
13896 Make functions handle pixelwise sizing of windows.
13897 (display-buffer--action-function-custom-type)
13898 (display-buffer-fallback-action):
13899 Add display-buffer-in-previous-window.
13900 (display-buffer-use-some-window): Resize window to height it had
13901 before.
13902 (fit-window-to-buffer-horizontally): New option.
13903 (fit-frame-to-buffer): Describe new values.
13904 (fit-frame-to-buffer-bottom-margin): Replace with
13905 fit-frame-to-buffer-margins.
13906 (window--sanitize-margin): New function.
13907 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13908 using window-text-pixel-size.
13909
13910 2013-11-30 Glenn Morris <rgm@gnu.org>
13911
13912 * emacs-lisp/bytecomp.el (byte-compile-form):
13913 Make the `interactive-only' warning like the `obsolete' one.
13914 * comint.el (comint-run):
13915 * files.el (insert-file-literally, insert-file):
13916 * replace.el (replace-string, replace-regexp):
13917 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13918 (goto-line, insert-buffer, next-line, previous-line):
13919 Tweak `interactive-only' spec.
13920
13921 Stop keeping (most) generated cedet grammar files in the repository.
13922 * Makefile.in (semantic): New.
13923 (compile-main): Depend on semantic.
13924
13925 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13928 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13929
13930 * uniquify.el (uniquify-buffer-name-style): Change default.
13931
13932 * loadup.el: Preload "uniquify".
13933
13934 * time.el (display-time-update): Update all mode lines (bug#15999).
13935
13936 * electric.el (electric-indent-mode): Enable by default.
13937 * loadup.el: Preload "electric".
13938
13939 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13940
13941 * emacs-lisp/helpers.el (string-empty-p): New function.
13942 (string-blank-p): New function.
13943
13944 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
13945
13946 * imenu.el (imenu--index-alist): Add missing dot to the docstring
13947 (Bug#14029).
13948
13949 2013-11-29 Andreas Politz <politza@fh-trier.de>
13950 * imenu.el (imenu--subalist-p): Don't error on non-conses and
13951 allow non-lambda lists as functions.
13952 (imenu--in-alist): Don't recurse into non-subalists.
13953 (imenu): Don't pass function itself as an argument (Bug#14029).
13954
13955 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * progmodes/python.el (python-mode-map): Remove binding for ":".
13958 (python-indent-electric-colon): Remove command.
13959 (python-indent-post-self-insert-function): Integrate the previous code
13960 of python-indent-electric-colon. Make it conditional on
13961 electric-indent-mode.
13962 (python-mode): Add ?: to electric-indent-chars.
13963 Move python-indent-post-self-insert-function to the end of
13964 post-self-insert-hook.
13965
13966 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * doc-view.el (doc-view-goto-page): Update mode-line.
13969
13970 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
13971
13972 2013-11-27 Glenn Morris <rgm@gnu.org>
13973
13974 * international/charprop.el, international/uni-bidi.el:
13975 * international/uni-category.el, international/uni-combining.el:
13976 * international/uni-comment.el, international/uni-decimal.el:
13977 * international/uni-decomposition.el, international/uni-digit.el:
13978 * international/uni-lowercase.el, international/uni-mirrored.el:
13979 * international/uni-name.el, international/uni-numeric.el:
13980 * international/uni-old-name.el, international/uni-titlecase.el:
13981 * international/uni-uppercase.el:
13982 Remove generated files from VCS repository.
13983
13984 2013-11-27 Eli Zaretskii <eliz@gnu.org>
13985
13986 * filenotify.el (file-notify-add-watch): Don't special-case
13987 w32notify when computing the directory to watch.
13988
13989 2013-11-27 Glenn Morris <rgm@gnu.org>
13990
13991 Make bootstrap without generated uni-*.el files possible again.
13992 * loadup.el: Update command-line-args checking for unidata-gen.
13993 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
13994 * composite.el, international/characters.el:
13995 Handle unicode tables being undefined.
13996
13997 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
13998 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
13999 (compile-main): Depend on leim rule.
14000 (leim): New rule.
14001 * loadup.el: Move leim-list.el to leim/ subdirectory.
14002 * startup.el (normal-top-level): No more leim directory.
14003 * international/ja-dic-cnv.el (skkdic-convert):
14004 Disable version-control and autoloads in output files.
14005 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
14006 Disable version-control and autoloads in output files.
14007 * leim/quail: Move here from ../leim.
14008 * leim/quail/hangul.el (hangul-input-method-activate):
14009 Add autoload cookie.
14010 (generated-autoload-load-name): Set file-local value.
14011 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
14012 (generated-autoload-load-name): Set file-local value.
14013
14014 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
14015
14016 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
14017 (eww-add-bookmark): Ask confirmation when add to bookmarks.
14018 (eww-quit): Ask confirmation before quitting eww.
14019
14020 2013-11-26 Eli Zaretskii <eliz@gnu.org>
14021
14022 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
14023 reading output from Diff on MS-Windows and MS-DOS.
14024
14025 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
14026
14027 * emacs-lisp/helpers.el (string-reverse): New function.
14028
14029 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
14030
14031 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
14032 names on MS Windows, like "/[::1]:".
14033
14034 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
14035 SWITCHES.
14036
14037 2013-11-26 Glenn Morris <rgm@gnu.org>
14038
14039 * progmodes/python.el (python-indent-guess-indent-offset):
14040 Avoid corner-case error. (Bug#15975)
14041
14042 Preload leim-list.el. (Bug#4789)
14043 * loadup.el: Load leim-list.el when found.
14044 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
14045
14046 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
14047
14048 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
14049
14050 * emacs-lisp/helpers.el (string-join): New function.
14051
14052 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
14053
14054 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14055 Mark as obsolete and replace it with a symbol property.
14056 (byte-compile-form): Use new 'interactive-only property.
14057 * comint.el, files.el, replace.el, simple.el:
14058 Apply new 'interactive-only properly.
14059
14060 2013-11-25 Martin Rudalics <rudalics@gmx.at>
14061
14062 * window.el (display-buffer-at-bottom): Make sure that
14063 split-window-sensibly creates the new window on bottom
14064 (Bug#15961).
14065
14066 2013-11-23 David Kastrup <dak@gnu.org>
14067
14068 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
14069 on the conflict markers when available.
14070 (smerge--get-marker): New function.
14071 (smerge-end-re, smerge-base-re): Add subgroup.
14072
14073 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14074
14075 * frame.el (handle-focus-in, handle-focus-out): Add missing
14076 interactive spec.
14077
14078 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
14079
14080 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14081 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
14082
14083 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
14086 (gomoku--last-pos): New var.
14087 (gomoku--intangible-chars): New const.
14088 (gomoku--intangible): New function.
14089 (gomoku-mode): Use it. Derive from special-mode.
14090 (gomoku-move-up): Adjust line count.
14091 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
14092 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
14093 Simplify accordingly.
14094
14095 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14096 Remove blink-cursor code.
14097 (blink-cursor-timer-function, blink-cursor-suspend):
14098 Don't special-case GUIs.
14099 (blink-cursor-mode): Use focus-in/out-hook.
14100
14101 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
14102
14103 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
14104 work when annotation is invisible (Bug#13886).
14105
14106 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
14107
14108 * json.el (json-alist-p): Only return non-nil if the alist has
14109 simple keys (Bug#13518).
14110
14111 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
14112
14113 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
14114 when control-statement is the first statement in a buffer (Bug#15956).
14115
14116 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
14117
14118 * imenu.el (imenu-generic-skip-comments-and-strings):
14119 New option (Bug#15560).
14120 (imenu--generic-function): Use it.
14121
14122 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
14123
14124 * minibuffer.el (completion--in-region-1): Scroll the correct window.
14125 (Bug#13898)
14126
14127 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
14128
14129 * emacs-lisp/helpers.el: Add some string helpers.
14130 (string-trim-left): Removes leading whitespace.
14131 (string-trim-right): Removes trailing whitespace.
14132 (string-trim): Removes leading and trailing whitespace.
14133
14134 * subr.el (string-suffix-p): New function.
14135
14136 2013-11-23 Glenn Morris <rgm@gnu.org>
14137
14138 * progmodes/python.el (python-shell-send-file):
14139 Add option to delete file when done. (Bug#15647)
14140 (python-shell-send-string, python-shell-send-region): Use it.
14141
14142 2013-11-23 Ivan Shmakov <ivan@siamics.net>
14143
14144 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
14145 to set buffer-read-only to t, never to nil. (Bug#15938)
14146
14147 * textmodes/tex-mode.el (latex-noindent-environments):
14148 Add safe-local-variable property. (Bug#15936)
14149
14150 2013-11-23 Glenn Morris <rgm@gnu.org>
14151
14152 * textmodes/enriched.el (enriched-mode): Doc fix.
14153 * emacs-lisp/authors.el (authors-renamed-files-alist):
14154 Add enriched.doc -> enriched.txt.
14155
14156 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
14157
14158 2013-11-22 Leo Liu <sdl.web@gmail.com>
14159
14160 * progmodes/octave.el (inferior-octave-startup): Spit out error
14161 message.
14162
14163 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
14164
14165 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14166 Improve docstring.
14167 Add :version.
14168 (ruby-encoding-magic-comment-style): Add :version.
14169
14170 2013-11-22 Leo Liu <sdl.web@gmail.com>
14171
14172 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
14173 (Bug#15076)
14174 (octave-help-mode): Adapt to change to help-mode-finish to use
14175 derived-mode-p on 2013-09-17.
14176 (inferior-octave-prompt): Also match octave-gui.
14177 (octave-kill-process): Don't ask twice. (Bug#10564)
14178
14179 2013-11-22 Leo Liu <sdl.web@gmail.com>
14180
14181 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
14182 (inferior-octave-startup, inferior-octave-check-process)
14183 (inferior-octave-track-window-width-change)
14184 (octave-completion-at-point, octave-eldoc-function): Use it.
14185 (octave-kill-process): Provide confirmation. (Bug#10564)
14186
14187 2013-11-21 Leo Liu <sdl.web@gmail.com>
14188
14189 * progmodes/octave.el (octave-mode, inferior-octave-mode):
14190 Fix obsolete variable comment-use-global-state.
14191
14192 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14193
14194 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
14195 Add `octave-source-file'.
14196 (octave-source-file): New function. (Bug#15935)
14197
14198 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
14199
14200 * net/eww.el (eww-local-regex): New variable.
14201 (eww): Use it to detect localhost and similar.
14202
14203 2013-11-21 Leo Liu <sdl.web@gmail.com>
14204
14205 Add completion for command `ag'.
14206 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
14207 (pcomplete/ag): New function.
14208 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
14209
14210 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
14213 (bug#14646).
14214 (make-obsolete): Remove interactive spec.
14215
14216 2013-11-21 Glenn Morris <rgm@gnu.org>
14217
14218 * startup.el (command-line-1): Use path-separator with -L.
14219
14220 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
14221
14222 * emacs-lisp/package.el (describe-package-1): Add package archive
14223 to shown fields.
14224
14225 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
14226
14227 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14228 Change default to "# encoding: %s" to differentiate it from the
14229 default Ruby encoding comment template.
14230
14231 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
14232
14233 * ses.el (ses-mode): Doc fix. (Bug#14748)
14234
14235 2013-11-20 Leo Liu <sdl.web@gmail.com>
14236
14237 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14238
14239 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14240
14241 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14242 when rebase or bisect are in progress.
14243
14244 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14245
14246 * filenotify.el (file-notify-add-watch): Doc fix.
14247
14248 2013-11-19 Leo Liu <sdl.web@gmail.com>
14249
14250 * obsolete/rcompile.el: Mark obsolete.
14251
14252 * progmodes/compile.el (compilation-start)
14253 (compilation-goto-locus, compilation-find-file):
14254 Pass no-display-ok and handle nil value from display-buffer.
14255 (Bug#13594)
14256
14257 * window.el (display-buffer-alist, display-buffer): Document the
14258 new parameter no-display-ok. Return either a window or nil
14259 but never a non-window value.
14260
14261 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * electric.el (electric-indent-mode-map): Remove.
14264 (electric-indent-mode): Change the global-map instead (bug#15915).
14265
14266 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14267 Use add-function.
14268
14269 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * emacs-lisp/nadvice.el (remove-function): Align with
14272 add-function's behavior.
14273
14274 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14275 (gdb--string-regexp): New constant.
14276 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14277 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14278 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14279 submatch 1.
14280 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14281 Adjust use accordingly.
14282 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14283
14284 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14285
14286 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14287 interpolation curlies (Bug#15914).
14288
14289 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14290
14291 * calc/calc.el (calc-context-sensitive-enter): New variable.
14292 (calc-enter): Use `calc-context-sensitive-enter'.
14293
14294 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14295
14296 * progmodes/cfengine.el: Version bump.
14297 (cfengine-cf-promises): New defcustom to locate cf-promises.
14298 (cfengine3-vartypes): Add new "data" type.
14299 (cfengine3--current-word): New function to get current name-like
14300 word or its bounds.
14301 (cfengine3--current-function): New function to look up a CFEngine
14302 function's definition.
14303 (cfengine3-format-function-docstring): New function.
14304 (cfengine3-make-syntax-cache): New function.
14305 (cfengine3-documentation-function): New function: ElDoc glue.
14306 (cfengine3-completion-function): New function: completion glue.
14307 (cfengine3-mode): Set `compile-command',
14308 `eldoc-documentation-function', and add to
14309 `completion-at-point-functions'.
14310
14311 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14312
14313 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14314 `tramp-current-connection'.
14315
14316 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14317
14318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14319 nil/self/true/false with "end of symbol".
14320
14321 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14322
14323 * subr.el (version-regexp-alist): Fix a typo.
14324
14325 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14326
14327 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14328 "en_US.utf8" and "LC_CTYPE" to "".
14329 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14330 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14331
14332 2013-11-15 Leo Liu <sdl.web@gmail.com>
14333
14334 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14335
14336 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14337
14338 * progmodes/gud.el (ctl-x-map):
14339 Remove C-x SPC binding. (Bug#12342)
14340 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14341
14342 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14343
14344 * subr.el (version-regexp-alist):
14345 Recognize hg, svn and darcs versions as snapshot versions.
14346
14347 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14348 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14349 (ruby--encoding-comment-required-p): Extract from
14350 `ruby-mode-set-encoding'.
14351 (ruby-mode-set-encoding): Add the ability to always insert an
14352 utf-8 encoding comment. Fix and simplify coding comment update
14353 logic.
14354
14355 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * net/tramp-gvfs.el (top): Run init code only when
14358 `tramp-gvfs-enabled' is not nil.
14359 (tramp-gvfs-enabled): Check also :system bus.
14360
14361 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 Sync with upstream verilog-mode revision 78e66ba.
14364 * progmodes/verilog-mode.el (verilog-end-of-defun)
14365 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14366 (verilog-get-end-of-defun): Remove unused argument.
14367 (verilog-comment-depth): Remove unused local `e'.
14368 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14369 Don't pass arg to verilog-get-end-of-defun.
14370
14371 2013-11-14 Glenn Morris <rgm@gnu.org>
14372
14373 * obsolete/assoc.el (aget): Prefix dynamic variable.
14374
14375 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14376
14377 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * widget.el, hfy-cmap.el: Remove bogus package version number.
14380
14381 2013-11-13 Glenn Morris <rgm@gnu.org>
14382
14383 * replace.el (replace-eval-replacement):
14384 Try to give more helpful error message. (Bug#15836)
14385
14386 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14387 (archive-7z-update): Avoid custom type mismatches.
14388
14389 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14390
14391 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14392
14393 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14394 address can be empty.
14395
14396 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14397 Accept nil SWITCHES.
14398 (tramp-gvfs-handle-write-region): Implement APPEND.
14399
14400 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14401
14402 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14403 binary "|" operator and closing block args delimiter.
14404 Remove FIXME comment referring to Ruby 1.8-only syntax.
14405 (ruby-smie--implicit-semi-p): Not after "|" operator.
14406 (ruby-smie--closing-pipe-p): New function.
14407 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14408 (ruby-smie-rules): Indent after "|".
14409
14410 2013-11-12 Glenn Morris <rgm@gnu.org>
14411
14412 * ps-print.el (ps-face-attribute-list):
14413 Handle anonymous faces. (Bug#15827)
14414
14415 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14416
14417 * window.el (display-buffer-other-frame): Fix doc-string.
14418 (Bug#15868)
14419
14420 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14421
14422 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14423
14424 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14425
14426 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14427 (tramp-sh-handle-file-local-copy): Don't write a message when
14428 saving temporary files.
14429
14430 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14431 both directories are remote.
14432 (tramp-smb-handle-directory-files): Do not return double entries.
14433 Do not expand full file names.
14434 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14435 (tramp-smb-handle-write-region): Implement APPEND.
14436 (tramp-smb-get-stat-capability): Fix a stupid bug.
14437
14438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14439
14440 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14441
14442 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14443
14444 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14445 throwing error over malformed let/let* (bug#15814).
14446
14447 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * iswitchb.el (iswitchb-mode): Mark obsolete.
14450
14451 2013-11-11 Glenn Morris <rgm@gnu.org>
14452
14453 * international/uni-bidi.el, international/uni-category.el:
14454 * international/uni-name.el, international/uni-numeric.el:
14455 Regenerate for Unicode 6.3.0.
14456
14457 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14458
14459 * net/tramp.el (tramp-methods):
14460 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14461 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14462
14463 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14464
14465 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14466 Force highlighting text after Summary keyword in doc face for rpm.
14467
14468 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14469
14470 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14471 available and the word has no wildcards, append one to the grep pattern.
14472 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14473 (ispell-complete-word): Call `ispell-lookup-words' with the value
14474 independent of `ispell-look-p'.
14475
14476 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14477
14478 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14479 Not after "||".
14480 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14481 their parent.
14482
14483 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14486 (ruby-font-lock-keywords): Use backquote.
14487
14488 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14489
14490 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14491 (ruby-smie--backward-token): Only consider full-string matches.
14492
14493 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14494
14495 * faces.el (describe-face): Add distant-foreground.
14496
14497 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14498
14499 * progmodes/ruby-mode.el: Improve encoding comment handling.
14500 (ruby-encoding-magic-comment-style): New option.
14501 (ruby-custom-encoding-magic-comment-template): New option.
14502 (ruby--insert-coding-comment, ruby--detect-encoding):
14503 New functions extracted from `ruby-mode-set-encoding'.
14504 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14505 to control the style of the auto-inserted encoding comment.
14506
14507 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14508
14509 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14510 Use `smie-backward-sexp' with token argument.
14511
14512 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14513
14514 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14515 Remove instrumentation code.
14516
14517 2013-11-08 Glenn Morris <rgm@gnu.org>
14518
14519 * progmodes/autoconf.el (autoconf-mode):
14520 Tweak comment-start-skip. (Bug#15822)
14521
14522 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14525 at bobp (bug#15826).
14526 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14527
14528 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
14529
14530 * man.el (Man-start-calling): New macro, extracted from
14531 Man-getpage-in-background.
14532 (Man-getpage-in-background): Use it.
14533 (Man-update-manpage): New command.
14534 (Man-mode-map): Bind it.
14535
14536 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14537
14538 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14539 of "and", "or", "&&" and "||".
14540 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14541 argument. Prohibit opening curly brace because it could only be a
14542 block opener in that position.
14543 (ruby-smie--forward-token, ruby-smie--backward-token):
14544 Separate "|" from "&" or "*" going after it. That can happen in block
14545 arguments.
14546 (ruby-smie--indent-to-stmt): New function, seeks the end of
14547 previous statement or beginning of buffer.
14548 (ruby-smie-rules): Use it.
14549 (ruby-smie-rules): Check if there's a ":" before a curly block
14550 opener candidate; if there is, it's a hash.
14551
14552 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14555 (cl--block-wrapper): Fix last accidental change.
14556
14557 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
14558
14559 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14560 Instrument, in order to hunt failure on hydra.
14561
14562 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14563
14564 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14565 malformed bindings form (bug#15814).
14566
14567 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
14568
14569 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
14570 "." compared to " @ ". This incidentally fixes some indentation
14571 examples with "do".
14572 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
14573 (ruby-smie-grammar): New tokens: "and" and "or".
14574 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
14575 Exclude "and" and "or". Remove "do" in order to work around token
14576 priorities.
14577 (ruby-smie-rules): Add all infix tokens. Handle the case of
14578 beginning-of-buffer.
14579
14580 2013-11-06 Glenn Morris <rgm@gnu.org>
14581
14582 * Makefile.in (setwins_almost, setwins_for_subdirs):
14583 Avoid accidental matches.
14584
14585 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14586
14587 * menu-bar.el (popup-menu): Use key-binding.
14588
14589 2013-11-06 Eli Zaretskii <eliz@gnu.org>
14590
14591 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
14592 menus, support also the menus produced by minor modes.
14593 (Bug#15817)
14594
14595 2013-11-06 Leo Liu <sdl.web@gmail.com>
14596
14597 * thingatpt.el (thing-at-point-looking-at): Add optional arg
14598 DISTANCE to bound the search. All uses changed. (Bug#15808)
14599
14600 2013-11-06 Glenn Morris <rgm@gnu.org>
14601
14602 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
14603 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
14604 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
14605
14606 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * electric.el (electric-indent-just-newline): New command.
14609 (electric-indent-mode-map): New keymap.
14610 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
14611 Re-add :group which weren't redundant.
14612
14613 * electric.el (electric-indent-local-mode): New minor mode.
14614 (electric-indent-functions-without-reindent): New var.
14615 (electric-indent-post-self-insert-function): Use it.
14616 * emacs-lisp/gv.el (buffer-local-value): Add setter.
14617
14618 2013-11-05 Eli Zaretskii <eliz@gnu.org>
14619
14620 * international/quail.el (quail-help): Be more explicit about the
14621 meaning of the labels shown on the keys. (Bug#15800)
14622
14623 * startup.el (normal-top-level): Load the subdirs.el files before
14624 setting the locale environment. (Bug#15805)
14625
14626 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14627
14628 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14629 via arguments so as to get the right ones (bug#15418).
14630
14631 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14632
14633 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
14634
14635 Fix problems found while writing a test suite.
14636
14637 * net/tramp-compat.el (tramp-compat-load): New defun.
14638 * net/tramp.el (tramp-handle-load): Use it.
14639
14640 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14641 "(numberp ok-if-already-exists)" correctly.
14642
14643 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
14644
14645 * international/characters.el (glyphless-char-display-control):
14646 Add usage note.
14647
14648 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
14649
14650 * progmodes/python.el (python-mode):
14651 * progmodes/scheme.el (scheme-mode):
14652 * progmodes/prolog.el (prolog-mode):
14653 * progmodes/ruby-mode.el (ruby-mode):
14654 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14655 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14656
14657 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * rect.el (rectangle--highlight-for-redisplay):
14660 * emacs-lisp/smie.el (smie--next-indent-change):
14661 Use buffer-chars-modified-tick.
14662
14663 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14664
14665 * electric.el (electric-indent-post-self-insert-function):
14666 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14667
14668 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
14669
14670 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14671
14672 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14673
14674 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14675 (bug#15786).
14676
14677 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14678
14679 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
14680
14681 * progmodes/python.el: Fix up last change.
14682 (python-shell--save-temp-file): New function.
14683 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
14684 `string' comes from the current buffer.
14685 (python-shell-send-string-no-output): Remove `msg' arg.
14686 (python--use-fake-loc): New var.
14687 (python-shell-buffer-substring): Obey it. Try to compensate for the
14688 extra coding line added by python-shell--save-temp-file.
14689 (python-shell-send-region): Use python-shell--save-temp-file and
14690 python-shell-send-file directly. Add `nomain' argument.
14691 (python-shell-send-buffer): Use python-shell-send-region.
14692 (python-electric-pair-string-delimiter): New function.
14693 (python-mode): Use it.
14694
14695 2013-11-04 Eli Zaretskii <eliz@gnu.org>
14696
14697 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14698 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14699 environment and decoding all of the default-directory's to here
14700 from command-line.
14701 (command-line): Decode also argv[0].
14702
14703 * loadup.el: Error out if default-directory is a multibyte string
14704 when we are dumping.
14705
14706 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
14707
14708 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
14709
14710 * emacs-lisp/package.el (package-menu-mode)
14711 (package-menu--print-info, package-menu--archive-predicate):
14712 Add Archive column to package list.
14713
14714 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
14715
14716 Fix problems found while writing a test suite.
14717
14718 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14719 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14720 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14721 to nil when running original file name handler. Otherwise,
14722 there are problems with constructs like "$$FOO".
14723
14724 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14725 for `localname'.
14726
14727 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
14728
14729 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14730
14731 * subr.el (version<, version<=, version=):
14732 Update docstrings with information for snapshot versions.
14733
14734 * helpers.el: New library for misc helper functions.
14735 (hash-table-keys): New function returning a list of hash keys.
14736 (hash-table-values): New function returning a list of hash values.
14737
14738 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
14739
14740 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14741 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14742
14743 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
14744
14745 * textmodes/fill.el (fill-single-char-nobreak-p): New function
14746 checking whether point is after a 1-letter word.
14747
14748 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14749
14750 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14751 Don't infloop when expanding region over `multiline' syntax-type that
14752 begins a line (bug#15778).
14753
14754 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14757 Make it into a proper minor mode.
14758 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14759 (rectangle-mark-mode-map): New keymap.
14760 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14761
14762 2013-11-04 Glenn Morris <rgm@gnu.org>
14763
14764 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14765
14766 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14769 (ruby-smie-rules): Use smie-rule-parent instead.
14770
14771 * emacs-lisp/smie.el (smie-rule-parent): Always call
14772 smie-indent-virtual rather than only for hanging tokens.
14773 (smie--next-indent-change): New helper command.
14774
14775 2013-11-03 Glenn Morris <rgm@gnu.org>
14776
14777 * Makefile.in (abs_srcdir): Remove.
14778 (emacs): Unset EMACSLOADPATH.
14779
14780 2013-11-02 Glenn Morris <rgm@gnu.org>
14781
14782 * Makefile.in (EMACS): Use a relative filename.
14783 (abs_top_builddir): Remove.
14784 (custom-deps, finder-data, autoloads): Use --chdir.
14785
14786 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14787
14788 Use relative filenames in TAGS files.
14789 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14790 (lisptagsfiles4, TAGS): Use relative file names.
14791 (TAGS-LISP): Remove.
14792 (maintainer-clean): No more TAGS-LISP file.
14793
14794 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14795 (lisptagsfiles4): Use absolute filenames again.
14796 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14797 Remove all *loaddefs files, not just the first. Remove esh-groups.
14798 (maintainer-clean): Delete TAGS, TAGS-LISP.
14799
14800 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14801
14802 * emacs-lisp/package.el (package-version-join):
14803 Recognize snapshot versions.
14804
14805 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14806
14807 * subr.el (version-regexp-alist): Add support for snapshot versions.
14808
14809 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14810
14811 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14812 New function, replacement for `smie-rule-parent' for when we want to
14813 skip over our direct parent if it's an assignment token..
14814 (ruby-smie-rules): Use it.
14815
14816 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
14817
14818 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14819 unconditionally. Remove now unnecessary forward declarations.
14820 Remove XEmacs-specific setup.
14821 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14822 (ruby-font-lock-syntactic-keywords)
14823 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14824 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14825 (ruby-here-doc-end-syntax): Remove.
14826 (ruby-mode): Don't check whether `syntax-propertize-rules' is
14827 defined as function.
14828
14829 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
14830
14831 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14832
14833 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14834
14835 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14836 table and abbrev table, `define-derived-mode' does that for us
14837 anyway.
14838
14839 2013-11-01 Glenn Morris <rgm@gnu.org>
14840
14841 * Makefile.in: Remove manual mh-e dependencies (writing .elc
14842 files is atomic for some time, so no parallel compilation issues).
14843
14844 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14845
14846 * faces.el (face-x-resources): Add :distant-foreground.
14847 (region): Use :distant-foreground for gtk and ns.
14848
14849 2013-11-01 Tassilo Horn <tsdh@gnu.org>
14850
14851 Allow multiple bibliographies when BibLaTeX is used rather than
14852 BibTeX.
14853 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14854 (reftex-locate-bibliography-files): Us it.
14855
14856 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14857
14858 * image.el (image-type-header-regexps): Fix the 'pbm' part to
14859 allow comments in pbm files.
14860
14861 * term/w32-win.el (dynamic-library-alist): Support newer versions
14862 of libjpeg starting with v7: look only for the DLL from the
14863 version against which Emacs was built.
14864 Support versions of libpng beyond 1.4.x.
14865 Support libtiff v4.x.
14866
14867 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
14868
14869 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14870 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14871 Add property :safe.
14872 (ruby-deep-arglist): Add property :type.
14873
14874 2013-10-31 Glenn Morris <rgm@gnu.org>
14875
14876 * Makefile.in (custom-deps, finder-data): No need to setq the target
14877 variables, we are in the right directory and the defaults work fine.
14878
14879 2013-10-30 Glenn Morris <rgm@gnu.org>
14880
14881 * Makefile.in (autoloads): Do not use abs_lisp.
14882
14883 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14884 `newline' does not respect `standard-output', so use `princ'.
14885
14886 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14887
14888 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
14889 * buff-menu.el (Buffer-menu--unmark): New function.
14890 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14891
14892 2013-10-30 Glenn Morris <rgm@gnu.org>
14893
14894 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14895
14896 * emacs-lisp/package.el (lm-homepage): Declare.
14897
14898 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14899 Fix doc typos.
14900
14901 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14902
14903 * Makefile.in (finder-data, autoloads, update-subdirs)
14904 (compile-main, compile-clean, compile-always, bootstrap-clean):
14905 Check return value of cd.
14906 (compile-calc): Remove.
14907
14908 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14909
14910 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14911
14912 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14913 (byte-compile-and-folded): New function.
14914 (=, <, >, <=, >=): Use it.
14915
14916 * dos-w32.el (minibuffer-history-case-insensitive-variables)
14917 (path-separator, null-device, buffer-file-coding-system)
14918 (lpr-headers-switches): Check system-type before modifying them.
14919 (find-buffer-file-type-coding-system): Mark obsolete.
14920 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14921 find-file-not-found-set-buffer-file-coding-system.
14922 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14923 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14924 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14925 (w32-direct-print-region-helper, w32-direct-print-region-function)
14926 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14927 * startup.el (normal-top-level-add-subdirs-to-load-path):
14928 * ps-print.el (ps-print-region-function):
14929 * lpr.el (print-region-function): Use new name.
14930
14931 * subr.el (custom-declare-variable-early): Remove function.
14932 (custom-declare-variable-list): Remove var.
14933 (error, user-error): Remove `while' loop.
14934 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14935 (user-emacs-directory-warning, locate-user-emacs-file):
14936 Move to files.el.
14937 * simple.el (read-quoted-char-radix, read-quoted-char):
14938 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14939 Move from subr.el.
14940 * custom.el (custom-declare-variable-list): Don't process
14941 custom-declare-variable-list.
14942
14943 * progmodes/python.el (python-shell-get-buffer): New function.
14944 (python-shell-get-process): Use it.
14945 (python-shell-send-string): Always use utf-8 and add a cookie to tell
14946 Python which encoding was used. Don't split-string since we only care
14947 about the first line. Return the temp-file, if applicable.
14948 (python-shell-send-region): Tell compile.el how to turn locations in
14949 the temp-file into locations in the source buffer.
14950
14951 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * subr.el (undefined): Add missing behavior from the C code for
14954 unbound keys.
14955
14956 * rect.el: Use lexical-binding. Add new rectangular region support.
14957 (rectangle-mark): New command.
14958 (rectangle--region): New var.
14959 (deactivate-mark-hook): Reset rectangle--region.
14960 (rectangle--extract-region, rectangle--insert-for-yank)
14961 (rectangle--highlight-for-redisplay)
14962 (rectangle--unhighlight-for-redisplay): New functions.
14963 (region-extract-function, redisplay-unhighlight-region-function)
14964 (redisplay-highlight-region-function): Use them to handle
14965 rectangular region.
14966 * simple.el (region-extract-function): New var.
14967 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
14968 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
14969 (kill-region): Replace obsolete `yank-handler' arg with `region'.
14970 (copy-region-as-kill, kill-ring-save): Add `region' argument.
14971 (redisplay-unhighlight-region-function)
14972 (redisplay-highlight-region-function): New vars.
14973 (redisplay--update-region-highlight): New function.
14974 (pre-redisplay-function): Use it.
14975 (exchange-point-and-mark): Don't deactivate the mark before
14976 reactivate-it anyway.
14977 * comint.el (comint-kill-region): Remove yank-handler argument.
14978 * delsel.el (delete-backward-char, backward-delete-char-untabify)
14979 (delete-char): Remove property, since it's now part of their
14980 default behavior.
14981 (self-insert-iso): Remove property since this command doesn't exist.
14982
14983 * emacs-lisp/package.el (package--download-one-archive)
14984 (describe-package-1): Don't query the user about final newline.
14985
14986 2013-10-29 Daniel Colascione <dancol@dancol.org>
14987
14988 * net/tramp.el (tramp-methods): Document new functionality.
14989 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
14990 tramp-hostname-checker if method provides one instead of scanning
14991 argument list for "%h" to decide hostname acceptability.
14992
14993 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
14994
14995 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14996 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14997 Handle COPY-CONTENTS. (Bug#15737)
14998
14999 2013-10-28 Daiki Ueno <ueno@gnu.org>
15000
15001 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15002 Document that this option has no effect with GnuPG 2.0 (bug#15552).
15003
15004 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
15005
15006 * image.el (defimage, image-load-path): Doc fixes.
15007
15008 2013-10-27 Alan Mackenzie <acm@muc.de>
15009
15010 Indent statements in macros following "##" correctly.
15011 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15012 Modify the "#" arm of a cond form to handle "#" and "##" operators.
15013
15014 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15015
15016 * linum.el (linum-update-window): Fix boundary test (bug#13446).
15017
15018 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
15019
15020 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
15021 after `=' is probably a new expression.
15022
15023 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15024
15025 * man.el (man-imenu-title): New option.
15026 (Man-mode-map): Add menu. (Bug#15722)
15027 (Man-mode): Add imenu to menu.
15028
15029 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
15030
15031 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15032 specific in what the first arg can be: a non-keyword word,
15033 string/regexp/percent literal opener, opening paren, or unary
15034 operator followed directly by word.
15035
15036 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
15039 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
15040 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
15041 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
15042 Remove vars, they do not apply any more.
15043 (prolog-mode-abbrev-table): Remove redundant declaration.
15044 (prolog-upper-case-string, prolog-lower-case-string): Remove.
15045 (prolog-use-smie): Remove.
15046 (prolog-smie-rules): Add indentation rule for the if-then-else layout
15047 supported by prolog-electric-if-then-else-flag.
15048 (prolog-mode-variables, prolog-menu): Use setq-local.
15049 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
15050 Remove binding to `Backspace' since this key doesn't exist anyway.
15051 Remove bindings for electric self-inserting keys.
15052 (prog-mode): Assume it's defined.
15053 (prolog-post-self-insert): New function.
15054 (prolog-mode): Use it.
15055 (prolog-indent-line, prolog-indent-level)
15056 (prolog-find-indent-of-matching-paren)
15057 (prolog-indentation-level-of-line, prolog-goto-comment-column)
15058 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
15059 (prolog-goto-next-paren, prolog-in-string-or-comment)
15060 (prolog-tokenize, prolog-inside-mline-comment)
15061 (prolog-find-start-of-mline-comment): Remove functions.
15062 (prolog-find-unmatched-paren, prolog-clause-end)
15063 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
15064 (prolog-electric--if-then-else): Rename from
15065 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
15066 (prolog-tokenize-searchkey): Remove const.
15067 (prolog-clause-info): Use forward-sexp.
15068 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
15069 (prolog-electric-if-then-else): Remove commands.
15070 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
15071 for use in post-self-insert-hook.
15072 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
15073 for use in post-self-insert-hook.
15074 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
15075 for use in post-self-insert-hook.
15076 (prolog-electric--underscore): Rename from prolog-electric--underscore;
15077 adapt it for use in post-self-insert-hook.
15078
15079 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
15080
15081 * emacs-lisp/ert.el (ert-run-tests-interactively):
15082 Use `completing-read'. (Bug#9756)
15083
15084 2013-10-25 Eli Zaretskii <eliz@gnu.org>
15085
15086 * simple.el (line-move): Call line-move-1 instead of
15087 line-move-visual when the current window hscroll is zero, but
15088 temporary-goal-column indicates we will need to hscroll as result
15089 of the movement. (Bug#15712)
15090
15091 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
15092
15093 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
15094 capitalization. Use :visible instead of :active.
15095 Fix `ruby-indent-exp' reference. Add menu items for the generic
15096 commands that are used with SMIE.
15097 (ruby-do-end-to-brace): Insert space after `{'.
15098
15099 2013-10-25 John Anthony <john@jo.hnanthony.com>
15100
15101 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
15102
15103 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
15104
15105 2013-10-25 Glenn Morris <rgm@gnu.org>
15106
15107 * vc/vc.el (vc-print-log): Don't use a working revision unless
15108 one was explicitly specified. (Bug#15322)
15109
15110 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * subr.el (add-to-list): Preserve return value in compiler-macro
15113 (bug#15692).
15114
15115 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15116
15117 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
15118 result. Ask user to retry using '-all' flag. (Bug#15701)
15119
15120 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * emacs-lisp/smie.el: New smie-config system.
15123 (smie-config): New defcustom.
15124 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
15125 (smie-config-guess, smie-config-save): New commands.
15126 (smie-config--mode-local, smie-config--buffer-local)
15127 (smie-config--trace, smie-config--modefuns): New vars.
15128 (smie-config--advice, smie-config--mode-hook)
15129 (smie-config--setter, smie-config-local, smie-config--get-trace)
15130 (smie-config--guess-value, smie-config--guess): New functions.
15131 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
15132 text properties. Treat "string fence" syntax like string syntax.
15133
15134 * progmodes/sh-script.el (sh-use-smie): Change default.
15135 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
15136 (sh-var-value): Simplify by CSE.
15137 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
15138 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
15139 is used.
15140 (sh-guess-basic-offset): Use cl-incf.
15141 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
15142
15143 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
15144
15145 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
15146 (bug#15699).
15147
15148 2013-10-24 Glenn Morris <rgm@gnu.org>
15149
15150 * Makefile.in (abs_top_srcdir): Remove.
15151 (update-subdirs): Use relative path to update-subdirs.
15152
15153 2013-10-24 Eli Zaretskii <eliz@gnu.org>
15154
15155 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
15156 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
15157 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
15158 Call unmsys--file-name before expand-file-name, not after it.
15159
15160 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
15161
15162 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
15163 (ert-test-skipped): New error.
15164 (ert-skip, ert-stats-skipped): New defuns.
15165 (ert--skip-unless): New macro.
15166 (ert-test-skipped): New struct.
15167 (ert--run-test-debugger, ert-test-result-type-p)
15168 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
15169 (ert--stats-set-test-and-result, ert-char-for-test-result)
15170 (ert-string-for-test-result, ert-run-tests-batch)
15171 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
15172 Handle skipped tests. (Bug#9803)
15173
15174 2013-10-24 Glenn Morris <rgm@gnu.org>
15175
15176 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
15177
15178 * Makefile.in (abs_top_srcdir): New, set by configure.
15179 (update-subdirs): Correct build-aux location.
15180
15181 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
15182
15183 * vc/vc.el (vc-print-root-log): Always set `default-directory'
15184 value, whether we could auto-deduce `backend', or not.
15185
15186 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
15187 with parameters" example. Simplify the "is it block or is it
15188 hash" check, but also make it more thorough.
15189
15190 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
15191
15192 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
15193
15194 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
15197 { if it is hanging.
15198
15199 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
15200 :before ";".
15201
15202 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
15203
15204 * progmodes/compile.el (compilation-directory-matcher)
15205 (compilation-page-delimiter):
15206 Support GNU Make-4.0 directory quoting. (Bug#15678)
15207
15208 2013-10-23 Leo Liu <sdl.web@gmail.com>
15209
15210 * ido.el (ido-tidy): Handle read-only text.
15211
15212 2013-10-23 Glenn Morris <rgm@gnu.org>
15213
15214 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
15215 (emacs, compile, compile-always):
15216 Quote entities that might contain whitespace.
15217 (custom-deps, finder-data, autoloads): Use abs_lisp.
15218 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15219 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15220 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15221
15222 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
15223
15224 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15225 Use `following-char'.
15226
15227 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15230 * progmodes/ruby-mode.el (ruby-smie-rules):
15231 Remove corresponding workaround. Fix indentation rule of ";" so it
15232 also applies when ";" is the parent.
15233
15234 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15235
15236 * frame.el (display-screens, display-pixel-height)
15237 (display-pixel-width, display-mm-width, display-backing-store)
15238 (display-save-under, display-planes, display-color-cells)
15239 (display-visual-class, display-monitor-attributes-list):
15240 Mention the optional ‘display’ argument in doc strings.
15241
15242 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15243
15244 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15245 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15246
15247 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15248
15249 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15250 TODO. Add "." after " @ ".
15251 (ruby-smie--at-dot-call): New function. Checks if point at method
15252 call with explicit target.
15253 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15254 to the method name tokens when it precedes them.
15255 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15256 (ruby-smie-rules): Add rule for indentation before and after "."
15257 token.
15258
15259 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * textmodes/remember.el (remember-diary-extract-entries):
15262 Avoid add-to-list.
15263
15264 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15265 an instruction.
15266
15267 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15268
15269 * progmodes/ruby-mode.el (ruby-smie-grammar):
15270 Add (almost) all infix operators.
15271 (ruby-smie--implicit-semi-p): Add new operator chars.
15272
15273 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15274 `smie-down-list'.
15275 (ruby-smie--args-separator-p): Check that there's no newline
15276 between method call and its arguments.
15277
15278 2013-10-20 Alan Mackenzie <acm@muc.de>
15279
15280 Allow comma separated lists after Java "implements".
15281
15282 * progmodes/cc-engine.el (c-backward-over-enum-header):
15283 Parse commas.
15284 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15285 from a "disallowed" list in enum fontification.
15286
15287 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15288
15289 * startup.el (default-frame-background-mode): Remove unused defvar.
15290
15291 * progmodes/verilog-mode.el (verilog-mode): Don't set
15292 comment-indent-function globally.
15293
15294 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15295
15296 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15297 Move Info menu item creation to ns-win.el.
15298
15299 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15300 in menu bar.
15301
15302 * menu-bar.el: Move GNUstep specific menus...
15303
15304 * term/ns-win.el (ns-initialize-window-system): ... to here.
15305
15306 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * simple.el (newline): Only run post-self-insert-hook when
15309 called interactively.
15310
15311 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15312
15313 * icomplete.el (icomplete-with-completion-tables): Add :version.
15314
15315 2013-10-19 Alan Mackenzie <acm@muc.de>
15316
15317 Fix fontification bugs with constructors and const.
15318
15319 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15320 CASE 2) Remove the check for the absence of a suffix construct
15321 after a function declaration with only types (no identifiers) in
15322 the parentheses. Also, accept a function declaration with just a
15323 type inside the parentheses, if this type can be positively
15324 recognised as such, or if a prefix keyword like "explicit" nails
15325 down the construct as a declaration.
15326
15327 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15328
15329 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15330 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15331 the problem whereby selecting a menu item that leads to a
15332 minibuffer prompt moves the cursor out of the minibuffer window,
15333 making it hard to type at the prompt. Suggested by Stefan Monnier
15334 <monnier@iro.umontreal.ca>.
15335
15336 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15337
15338 * menu-bar.el: Don't make Services menu.
15339
15340 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15341
15342 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15343 (ffap-alist): Use ffap-c++-mode for c++-mode.
15344 (ffap-c++-path): New variable.
15345 (ffap-c++-mode): New function.
15346
15347 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15348
15349 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15350
15351 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15352
15353 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15354 introduced on 2013-09-08, which results in an infinite loop
15355 requesting a password.
15356
15357 2013-10-18 Glenn Morris <rgm@gnu.org>
15358
15359 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15360
15361 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15362
15363 Sync with upstream verilog-mode revision 1a6ecec7.
15364 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15365 (verilog-mode-release-date): Remove.
15366 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15367 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15368 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15369 (verilog-auto-tieoff-ignore-regexp)
15370 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15371 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15372 (verilog-signals-with, verilog-dir-cache-preserving)
15373 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15374 Doc fixes.
15375 (verilog-case-fold): New option, to control case folding in
15376 regexp searches, bug597.
15377 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15378 (verilog-string-match-fold, verilog-in-paren-count)
15379 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15380 (verilog-at-close-struct-p): New functions.
15381 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15382 (verilog-forward-sexp, verilog-set-auto-endcomments)
15383 (verilog-leap-to-case-head): Handle "unique0" case.
15384 (verilog-in-constraint-re): New constant.
15385 (verilog-keywords, verilog-type-font-keywords):
15386 Add some SystemVerilog 1800-2012 keywords.
15387 (verilog-label-be): Remove unimplemented argument, bug669.
15388 (verilog-batch-execute-func): When batch expanding clear
15389 create-lockfiles to prevent spurious user locks when a file ends
15390 up not changing.
15391 (verilog-calculate-indent, verilog-calc-1)
15392 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15393 (verilog-do-indent): Fix indentation of nested constraints
15394 and structures.
15395 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15396 (verilog-auto-inst-param): Use verilog-string-match-fold.
15397 (verilog-read-inst-module-matcher):
15398 Fix AUTOINST on gate primitives with #1.
15399 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15400 Reads all user-defined typed variables.
15401 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15402 (verilog-signals-matching-regexp)
15403 (verilog-signals-not-matching-regexp, verilog-auto):
15404 Respect verilog-case-fold.
15405 (verilog-diff-report): Fix line count.
15406 (verilog-auto-assign-modport): Remove unused local `modi'.
15407 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15408 better handle multidimensional arrays.
15409 Fix packed array ports misadding bit index in AUTOINST, bug637.
15410 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15411 to not double-declare existing outputs and inputs, respectively.
15412 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15413 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15414 (verilog-sk-uvm-component): New skeleton.
15415 (verilog-submit-bug-report): Add verilog-case-fold,
15416 remove verilog-mode-release-date.
15417
15418 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15419
15420 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15421 as before.
15422
15423 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15424
15425 * textmodes/remember.el (remember): Set buffer-offer-save in
15426 remember buffers (bug#13566).
15427
15428 2013-10-18 Daniel Colascione <dancol@dancol.org>
15429
15430 When evaluating forms in ielm, direct standard output to ielm
15431 buffer. Add new ielm-return-for-effect command. Remove trailing
15432 whitespace throughout.
15433
15434 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15435 (ielm-return-for-effect): New command.
15436 (ielm-send-input): Accept optional `for-effect' parameter.
15437 (ielm-eval-input): Accept optional `for-effect' parameter.
15438 Bind `standard-output' to stream we create using
15439 `ielm-standard-output-impl'. Suppress printing result when
15440 `for-effect'.
15441 (ielm-standard-output-impl): New function.
15442 (inferior-emacs-lisp-mode): Explain new features in documentation.
15443
15444 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15445
15446 Code cleanup.
15447
15448 * net/tramp.el (tramp-debug-message): Do not check for connection
15449 buffer.
15450 (tramp-message): Use "vector" connection property.
15451
15452 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15453 (tramp-equal-remote, tramp-eshell-directory-change)
15454 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15455 (tramp-adb-handle-rename-file)
15456 * net/tramp-cmds.el (tramp-list-remote-buffers)
15457 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15458 * net/tramp-compat.el (tramp-compat-process-running-p)
15459 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15460 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15461 (tramp-gvfs-handle-rename-file)
15462 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15463 (tramp-set-file-uid-gid)
15464 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15465 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15466 of `file-remote-p'.
15467
15468 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15469 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15470 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15471 (tramp-gw-open-network-stream): Suppress unrelated traces.
15472
15473 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15474 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15475 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15476 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15477 connection property.
15478
15479 * net/tramp-cache.el (top): Suppress traces when reading
15480 persistency file.
15481
15482 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15483 Refactor common code. Improve debug message.
15484 (tramp-maybe-open-connection)
15485 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15486 connection buffer too early.
15487
15488 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15489 from `tramp-smb-actions-with-acl'.
15490 (tramp-smb-actions-set-acl): New defconst.
15491 (tramp-smb-handle-copy-directory)
15492 (tramp-smb-action-get-acl): New defun, renamed from
15493 `tramp-smb-action-with-acl'.
15494 (tramp-smb-action-set-acl): New defun.
15495 (tramp-smb-handle-set-file-acl): Rewrite.
15496
15497 2013-10-17 Glenn Morris <rgm@gnu.org>
15498
15499 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15500
15501 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15502
15503 * skeleton.el (skeleton-newline): Remove.
15504 (skeleton-internal-1): Use (insert "\n") instead.
15505
15506 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15507 let-bindings.
15508
15509 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15510 forward-sexp-function while we redo its job (bug#15613).
15511
15512 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15513
15514 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15515 represented by lists.
15516
15517 2013-10-16 Glenn Morris <rgm@gnu.org>
15518
15519 * tmm.el (tmm--history): New dynamic variable.
15520 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
15521
15522 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
15523
15524 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15525 (tramp-smb-errors): Add error messages.
15526 (tramp-smb-actions-with-acl): New defconst.
15527 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15528 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15529 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15530 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15531 (tramp-smb-get-stat-capability): Fix tests.
15532
15533 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
15534
15535 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15536 (bug#15580).
15537
15538 2013-10-16 Glenn Morris <rgm@gnu.org>
15539
15540 * ansi-color.el (ansi-color-drop-regexp):
15541 Add 1J, 1K, 2K. (Bug#15617)
15542
15543 * files.el (hack-local-variables--warned-lexical): New.
15544 (hack-local-variables):
15545 Warn about misplaced lexical-binding. (Bug#15616)
15546
15547 * net/eww.el (eww-render): Always set eww-current-url,
15548 and update header line. (Bug#15622)
15549 (eww-display-html): ... Rather than just doing it here.
15550
15551 2013-10-15 Eli Zaretskii <eliz@gnu.org>
15552
15553 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15554 menu navigations commands.
15555
15556 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
15557
15558 * progmodes/subword.el (subword-capitalize): Be careful when
15559 the search for [[:alpha:]] fails (bug#15580).
15560
15561 2013-10-14 Eli Zaretskii <eliz@gnu.org>
15562
15563 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15564 to commands that scroll the menu.
15565
15566 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
15567
15568 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
15569 Handle methods ending with `?' and `!'.
15570
15571 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
15572
15573 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
15574 `japanese-cp932' to `cp932' to fix the problem where saving a
15575 source file written in Shift_JIS twice would end up having
15576 `coding: japanese-cp932' which Ruby could not recognize.
15577 (ruby-mode-set-encoding): Add support for encodings mapped to nil
15578 in `ruby-encoding-map'.
15579 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15580 doesn't need to be explicitly declared in magic comment.
15581 (ruby-encoding-map): Add type declaration for better customize UI.
15582
15583 2013-10-13 Glenn Morris <rgm@gnu.org>
15584
15585 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
15586 Occur buffers are read-only. http://bugs.debian.org/720775
15587
15588 * emacs-lisp/authors.el (authors-fixed-entries):
15589 Comment out old alpha stuff.
15590
15591 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
15592
15593 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
15594 to `after-save-hook' instead of `before-save-hook'.
15595 (ruby-mode-set-encoding): Use the value of coding system used to
15596 write the file. Call `basic-save-buffer-1' after modifying the
15597 buffer.
15598
15599 2013-10-13 Alan Mackenzie <acm@muc.de>
15600
15601 Fix indentation/fontification of Java enum with
15602 "implements"/generic.
15603
15604 * progmodes/cc-engine.el (c-backward-over-enum-header):
15605 Extracted from the three other places and enhanced to handle generics.
15606 (c-inside-bracelist-p): Uses new function above.
15607 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
15608 function above.
15609 (c-font-lock-enum-tail): Uses new function above.
15610
15611 2013-10-13 Kenichi Handa <handa@gnu.org>
15612
15613 * international/mule-cmds.el (select-safe-coding-system): Remove a
15614 superfluous condition in chekcing whether a coding system is safe
15615 or not.
15616
15617 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
15618
15619 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
15620
15621 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
15622
15623 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
15624
15625 2013-10-13 Glenn Morris <rgm@gnu.org>
15626
15627 * menu-bar.el (menu-bar-update-buffers):
15628 Unify Buffers menu prompt string. (Bug#15576)
15629
15630 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
15631
15632 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15633 Add some entries.
15634 (authors-fixed-entries): Use accented form of name.
15635
15636 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15637
15638 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15639 method calls (bug#15594).
15640 (ruby-smie--args-separator-p): New function.
15641 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15642 recognize paren-free method calls.
15643
15644 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15645 internals of universal-argument.
15646
15647 2013-10-11 Eli Zaretskii <eliz@gnu.org>
15648
15649 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15650 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15651 dropped menu on second mouse click on the menu bar.
15652
15653 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15654
15655 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15656 (explicit-shell-file-name): Declare.
15657 (sh--vars-before-point, sh--cmd-completion-table): New functions.
15658 (sh-completion-at-point-function): New function.
15659 (sh-mode): Use it.
15660 (sh-smie--keyword-p): Remove unused argument.
15661 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15662 vars.
15663 (sh-set-shell): Always setup SMIE, even if we use the
15664 old indentation code.
15665
15666 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
15667
15668 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15669 cases of ? and =.
15670 (ruby-smie-rules): Simplify the "do" rule. The cases when the
15671 predicate would return nil are almost non-existent.
15672 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15673
15674 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15675 cache also after commands that modify the buffer but don't move
15676 point.
15677
15678 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15679
15680 * env.el (substitute-env-in-file-name): New function.
15681 (substitute-env-vars): Extend the meaning of the optional arg.
15682
15683 2013-10-10 Eli Zaretskii <eliz@gnu.org>
15684
15685 * term/w32-win.el (dynamic-library-alist): Define separate lists
15686 of GIF DLLs for versions before and after 5.0.0 of giflib.
15687 (Bug#15531)
15688
15689 2013-10-10 João Távora <joaotavora@gmail.com>
15690
15691 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15692 not locked, use last revision and current source as
15693 defaults. (Bug#15569)
15694
15695 2013-10-10 Masatake YAMATO <yamato@redhat.com>
15696
15697 * menu-bar.el (menu-bar-open): Don't use popup-menu if
15698 menu-bar is hidden.
15699
15700 2013-10-10 Martin Rudalics <rudalics@gmx.at>
15701
15702 * window.el (pop-to-buffer-same-window): Fix doc-string.
15703 (Bug#15492)
15704
15705 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
15706
15707 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15708
15709 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
15710
15711 * calendar/icalendar.el (icalendar-import-file):
15712 Fix interactive spec. (Bug#15482)
15713
15714 2013-10-10 Glenn Morris <rgm@gnu.org>
15715
15716 * desktop.el (desktop-save): Default to saving in .emacs.d,
15717 since PWD is no longer in desktop-path by default. (Bug#15319)
15718
15719 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15720 now that text mode has a menu with the same entry.
15721 (menu-bar-text-mode-auto-fill): Remove now unused func.
15722 * textmodes/text-mode.el (text-mode-map):
15723 Use auto-fill help text from menu-bar.el.
15724
15725 2013-10-10 John Anthony <john@jo.hnanthony.com>
15726
15727 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
15728
15729 2013-10-09 Juri Linkov <juri@jurta.org>
15730
15731 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15732 instead of this-command-keys. Add universal-argument-more and
15733 universal-argument-minus to the list of prefix commands. (Bug#15568)
15734
15735 2013-10-09 Glenn Morris <rgm@gnu.org>
15736
15737 * vc/vc-svn.el (vc-svn-create-repo):
15738 Expand paths in file://... url. (Bug#15446)
15739
15740 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15741 Add some entries.
15742 (authors): Remove unused local variables.
15743
15744 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
15745
15746 * profiler.el: Create a more coherent calltree from partial backtraces.
15747 (profiler-format): Hide the tail with `invisible' so that C-s can still
15748 find the hidden elements.
15749 (profiler-calltree-depth): Don't recurse so enthusiastically.
15750 (profiler-function-equal): New hash-table-test.
15751 (profiler-calltree-build-unified): New function.
15752 (profiler-calltree-build): Use it.
15753 (profiler-report-make-name-part): Indent the calltree less.
15754 (profiler-report-mode): Add visibility specs for profiler-format.
15755 (profiler-report-expand-entry, profiler-report-toggle-entry):
15756 Expand the whole subtree when provided with a prefix arg.
15757
15758 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
15759
15760 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15761 iuwu-mod token.
15762 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15763 hanging iuwu-mod token.
15764 (ruby-smie--forward-token): Do not include a dot after a token in
15765 that token.
15766 (ruby-smie--backward-token): Likewise.
15767
15768 2013-10-08 Juri Linkov <juri@jurta.org>
15769
15770 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15771 to isearch-other-control-char.
15772 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15773 and isearch-post-command-hook to post-command-hook.
15774 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15775 and isearch-post-command-hook from post-command-hook.
15776 (isearch-unread-key-sequence)
15777 (isearch-reread-key-sequence-naturally)
15778 (isearch-lookup-scroll-key, isearch-other-control-char)
15779 (isearch-other-meta-char): Remove functions.
15780 (isearch-pre-command-hook, isearch-post-command-hook):
15781 New functions based on isearch-other-meta-char rewritten
15782 relying on the new behavior of overriding-terminal-local-map
15783 that does not replace the local keymaps any more. (Bug#15200)
15784
15785 2013-10-08 Eli Zaretskii <eliz@gnu.org>
15786
15787 Support menus on text-mode terminals.
15788 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15789 functionality.
15790
15791 * tooltip.el (tooltip-mode): Don't error out on TTYs.
15792
15793 * menu-bar.el (popup-menu, popup-menu-normalize-position):
15794 Move here from mouse.el.
15795 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15796 and arrow keys.
15797 (tty-menu-navigation-map): New map for TTY menu navigation.
15798
15799 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15800
15801 * frame.el (display-mouse-p): Report text-mode mouse as available
15802 on w32.
15803 (display-popup-menus-p): Report availability if mouse is
15804 available; don't condition on window-system.
15805
15806 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15807 (tty-menu-selected-face): New faces.
15808
15809 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15812 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15813 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15814 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15815 New constants.
15816 (lisp-mode-variables): New `elisp' argument.
15817 (emacs-lisp-mode): Use it.
15818 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15819 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15820
15821 * indent.el: Use lexical-binding.
15822 (indent-region): Add progress reporter.
15823 (tab-stop-list): Make it implicitly extend to infinity by repeating the
15824 last step.
15825 (indent--next-tab-stop): New function to implement this behavior.
15826 (tab-to-tab-stop, move-to-tab-stop): Use it.
15827
15828 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
15829
15830 * indent.el (indent-rigidly--current-indentation): New function.
15831 (indent-rigidly-map): New var.
15832 (indent-rigidly): Use it to provide interactive mode (bug#8196).
15833
15834 2013-10-08 Bastien Guerry <bzg@gnu.org>
15835
15836 * register.el (insert-register): Fix 2013-10-07 change.
15837
15838 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
15839
15840 * progmodes/perl-mode.el: Use lexical-binding.
15841 Remove redundant :group args.
15842 (perl-nochange): Change default to be closer to other major modes's
15843 standard behavior.
15844 (perl-indent-line): Don't consider text on current line as a
15845 valid beginning of function from which to indent.
15846
15847 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15848 with more than one argument (bug#15538).
15849
15850 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15851
15852 * vc/pcvs.el: Use lexical-binding.
15853 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15854 environment of `eval'.
15855 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15856 than a list of expressions. Adjust callers.
15857 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15858
15859 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
15860
15861 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15862 case of the dot in a chained method call being on the following line.
15863
15864 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15865
15866 * electric.el (electric-indent-inhibit): New var.
15867 (electric-indent-post-self-insert-function): Use it.
15868 * progmodes/python.el (python-mode): Set it.
15869
15870 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15871 open braces.
15872
15873 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15874
15875 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15876 (css-mode): Use electric-indent-chars.
15877
15878 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15879 (font-lock-beg, font-lock-end): Move before first use.
15880 (nxml-mode): Use syntax-propertize-function.
15881 (nxml-after-change, nxml-after-change1): Adjust accordingly.
15882 (nxml-extend-after-change-region): Remove.
15883 * nxml/xmltok.el: Use lexical-binding.
15884 (xmltok-save): Use `declare'.
15885 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15886 * nxml/nxml-util.el: Use lexical-binding.
15887 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15888 Use `declare'.
15889 * nxml/nxml-ns.el: Use lexical-binding.
15890 (nxml-ns-save): Use `declare'.
15891 (nxml-ns-prefixes-for): Avoid add-to-list.
15892 * nxml/rng-match.el: Use lexical-binding.
15893 (rng--ipattern): Use cl-defstruct.
15894 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15895 (rng-cons-group-after, rng-subst-group-after)
15896 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15897 Use closures instead of `(lambda...).
15898
15899 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
15900
15901 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15902 of BEG and END.
15903
15904 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15905 Use `tramp-handle-insert-file-contents'.
15906 (tramp-gvfs-handle-insert-file-contents): Remove function.
15907
15908 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15909 Use `save-restriction' in order to keep markers.
15910
15911 * net/trampver.el: Update release number.
15912
15913 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15914
15915 * progmodes/compile.el (compilation-parse-errors):
15916 Use compilation--put-prop.
15917 (compilation--ensure-parse): Check compilation-multiline.
15918
15919 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15920
15921 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15922 lexical-binding.
15923
15924 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15925
15926 * progmodes/ruby-mode.el: Fix recently added tests.
15927 (ruby-smie-grammar): Add - and +.
15928 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15929 (ruby-smie--backward-id): New functions.
15930 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15931 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
15932 any more.
15933
15934 2013-10-07 Leo Liu <sdl.web@gmail.com>
15935
15936 * register.el (register-preview-delay)
15937 (register-preview-functions): New variables.
15938 (register-read-with-preview, register-preview)
15939 (register-describe-oneline): New functions.
15940 (point-to-register, window-configuration-to-register)
15941 (frame-configuration-to-register, jump-to-register)
15942 (number-to-register, view-register, insert-register)
15943 (copy-to-register, append-to-register, prepend-to-register)
15944 (copy-rectangle-to-register): Use register-read-with-preview to
15945 read register. (Bug#15525)
15946
15947 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
15948
15949 * net/network-stream.el (network-stream-open-starttls): Don't add
15950 --insecure if it's already present, because that gnutls-cli
15951 rejects getting that parameter twice.
15952
15953 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
15954
15955 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15956 keyword, too.
15957
15958 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
15959
15960 * newcomment.el (comment-use-global-state): Change default value
15961 to t, mark obsolete (Bug#15251).
15962 (comment-beginning): In addition to `comment-to-syntax', check the
15963 value of `comment-use-global-state'.
15964
15965 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
15968 (ruby-comment-column): Follow the global default, by default.
15969 (ruby-smie-grammar): Add assignment syntax.
15970 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
15971 open-paren, a comma, or a \.
15972 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
15973 and line continuations.
15974 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
15975 followed by implicit semi-colons. Add rule for string concatenation
15976 and for indentation at BOB.
15977 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
15978
15979 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
15980 calling next-sexp, since next-token may have skipped chars which
15981 next-sexp doesn't know should be skipped!
15982
15983 2013-10-05 Leo Liu <sdl.web@gmail.com>
15984
15985 * progmodes/octave.el (octave-send-region):
15986 Call compilation-forget-errors.
15987
15988 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
15989
15990 * vc/vc-svn.el (vc-svn-find-admin-dir):
15991 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
15992 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
15993 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
15994 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
15995
15996 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
15999
16000 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16001
16002 * subr.el (read-passwd): Hide chars even when called within a context
16003 where after-change-functions is disabled (bug#15501).
16004 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
16005 until we removed ourself from overriding-terminal-local-map.
16006
16007 2013-10-04 Leo Liu <sdl.web@gmail.com>
16008
16009 * progmodes/octave.el (inferior-octave-mode):
16010 Call compilation-forget-errors.
16011
16012 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16013
16014 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
16015
16016 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
16017
16018 * net/secrets.el (secrets-create-collection): Add optional
16019 argument ALIAS. Use proper Label keyword. Append ALIAS as
16020 dbus-call-method argument. (Bug#15516)
16021
16022 2013-10-04 Leo Liu <sdl.web@gmail.com>
16023
16024 * progmodes/octave.el (inferior-octave-error-regexp-alist)
16025 (inferior-octave-compilation-font-lock-keywords): New variables.
16026 (compilation-error-regexp-alist)
16027 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
16028 (inferior-octave-mode): Use compilation-shell-minor-mode.
16029
16030 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
16031
16032 * minibuffer.el (completion--replace): Be careful that `end' might be
16033 a marker.
16034
16035 2013-10-03 Daiki Ueno <ueno@gnu.org>
16036
16037 Add support for package signature checking.
16038 * emacs-lisp/package.el (url-http-file-exists-p)
16039 (epg-make-context, epg-context-set-home-directory)
16040 (epg-verify-string, epg-context-result-for)
16041 (epg-signature-status, epg-signature-to-string)
16042 (epg-check-configuration, epg-configuration)
16043 (epg-import-keys-from-file): Declare.
16044 (package-check-signature): New user option.
16045 (package-unsigned-archives): New user option.
16046 (package-desc): Add `signed' field.
16047 (package-load-descriptor): Set `signed' field if .signed file exists.
16048 (package--archive-file-exists-p): New function.
16049 (package--check-signature): New function.
16050 (package-install-from-archive): Check package signature.
16051 (package--download-one-archive): Check archive signature.
16052 (package-delete): Remove .signed file.
16053 (package-import-keyring): New command.
16054 (package-refresh-contents): Import default keyring.
16055 (package-desc-status): Add "unsigned" status.
16056 (describe-package-1, package-menu--print-info)
16057 (package-menu-mark-delete, package-menu--find-upgrades)
16058 (package-menu--status-predicate): Support "unsigned" status.
16059
16060 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16061
16062 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
16063 the new compilation scheme using the new byte-codes.
16064
16065 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
16066 (byte-pophandler): New byte codes.
16067 (byte-goto-ops): Adjust accordingly.
16068 (byte-compile--use-old-handlers): New var.
16069 (byte-compile-catch): Use new byte codes depending on
16070 byte-compile--use-old-handlers.
16071 (byte-compile-condition-case--old): Rename from
16072 byte-compile-condition-case.
16073 (byte-compile-condition-case--new): New function.
16074 (byte-compile-condition-case): New function that dispatches depending
16075 on byte-compile--use-old-handlers.
16076 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
16077 when we can.
16078
16079 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
16080 Optimize under `condition-case' and `catch' if
16081 byte-compile--use-old-handlers is nil.
16082 (disassemble-offset): Handle new bytecodes.
16083
16084 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16085
16086 * subr.el (error): Use `declare'.
16087 (decode-char, encode-char): Use advertised-calling-convention instead
16088 of the docstring to discourage use of the `restriction' arg.
16089
16090 2013-10-03 Daiki Ueno <ueno@gnu.org>
16091
16092 * epg.el (epg-verify-file): Add a comment saying that it does not
16093 notify verification error as a return value nor a signal.
16094 (epg-verify-string): Ditto.
16095
16096 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16097
16098 * progmodes/compile.el (compilation-start): Try globbing the arg to
16099 `cd' (bug#15417).
16100
16101 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
16102
16103 Sync with Tramp 2.2.8.
16104
16105 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
16106 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
16107 * net/trampver.el: Update release number.
16108
16109 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
16110
16111 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16112 and default-process-coding-system for darwin only.
16113
16114 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
16117
16118 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
16119
16120 * vc/vc-git.el (vc-git-grep): Disable pager.
16121
16122 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
16123
16124 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
16125 Use :url instead of :homepage, as per
16126 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
16127
16128 * newcomment.el (comment-beginning): When `comment-use-syntax' is
16129 non-nil, use `syntax-ppss' (Bug#15251).
16130
16131 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16132
16133 * progmodes/octave.el (inferior-octave-startup-file):
16134 Prefer ~/.emacs.d/init_octave.m.
16135
16136 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
16137
16138 * emacs-lisp/package.el (package-desc-from-define):
16139 Accept additional arguments as plist, convert them to an alist and store
16140 them in the `extras' slot.
16141 (package-generate-description-file): Convert extras alist back to
16142 plist and append to the `define-package' form arguments.
16143 (package--alist-to-plist): New function.
16144 (package--ac-desc): Add `extras' slot.
16145 (package--add-to-archive-contents): Check if the archive-contents
16146 vector is long enough, and if it is, pass its `extras' slot value
16147 to `package-desc-create'.
16148 (package-buffer-info): Call `lm-homepage', pass the returned value
16149 to `package-desc-from-define'.
16150 (describe-package-1): Render the homepage button (Bug#13291).
16151
16152 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16153 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
16154
16155 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
16156
16157 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16158 and default-process-coding-system to utf-8-unix (Bug#15402).
16159
16160 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
16161
16162 * subr.el (looking-back): Do not recommend using looking-back.
16163
16164 2013-09-28 Alan Mackenzie <acm@muc.de>
16165
16166 Fix indentation/fontification of Java enum with "implements".
16167
16168 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
16169 regexp which matches "implements", etc., in Java.
16170 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
16171 specifier clauses coming after "enum".
16172 * progmodes/cc-fonts.el (c-font-lock-declarations)
16173 (c-font-lock-enum-tail): Check for extra specifier clauses coming
16174 after "enum".
16175
16176 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
16177
16178 * faces.el (region): Change ns_selection_color to
16179 ns_selection_fg_color, add ns_selection_bg_color.
16180
16181 2013-09-28 Leo Liu <sdl.web@gmail.com>
16182
16183 * progmodes/octave.el (inferior-octave-completion-table)
16184 (inferior-octave-completion-at-point): Minor tweaks.
16185
16186 * textmodes/ispell.el (ispell-lookup-words): Rename from
16187 lookup-words. (Bug#15460)
16188 (lookup-words): Obsolete.
16189 (ispell-complete-word, ispell-command-loop): All uses changed.
16190
16191 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16192
16193 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
16194 (octave-mode-menu): Add octave-send-buffer.
16195 (octave-send-buffer): New function.
16196
16197 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16198
16199 * progmodes/octave.el (octave-mode-map): Add key binding for
16200 octave-lookfor.
16201 (octave-mode-menu): Add octave-lookfor.
16202 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
16203 octave-lookfor.
16204 (octave-lookfor): New function.
16205
16206 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16207
16208 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
16209 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
16210 its convention.
16211 (cl--loop-set-iterator-function): New function.
16212 (cl-loop): Adjust accordingly, so as not to use cl-subst.
16213 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
16214 Bind `it' with `let' instead of substituting it with `cl-subst'.
16215 (cl--unused-var-p): New function.
16216 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
16217 Eliminate some unused variable warnings (bug#15326).
16218
16219 2013-09-27 Tassilo Horn <tsdh@gnu.org>
16220
16221 * doc-view.el (doc-view-scale-reset): Rename from
16222 `doc-view-reset-zoom-level'.
16223 (doc-view-scale-adjust): New command.
16224 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16225 `doc-view-scale-adjust'.
16226
16227 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16228
16229 * doc-view.el (doc-view-reset-zoom-level): New command.
16230 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16231 zoom commands (bug#15466).
16232
16233 2013-09-26 Kenichi Handa <handa@gnu.org>
16234
16235 * international/quail.el (quail-help): Make it not a command.
16236
16237 2013-09-26 Leo Liu <sdl.web@gmail.com>
16238
16239 * minibuffer.el (completion-all-sorted-completions): Make args
16240 optional as they are.
16241
16242 2013-09-25 Daniel Colascione <dancol@dancol.org>
16243
16244 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16245 specs are and that they're not evaluated.
16246
16247 2013-09-24 Sam Steingold <sds@gnu.org>
16248
16249 * midnight.el (clean-buffer-list-kill-regexps)
16250 (clean-buffer-list-kill-buffer-names): Update for the new Man
16251 buffer naming which includes the object name.
16252
16253 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16254
16255 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16256 (eshell-parse-command, eshell-parse-pipeline): Use it since
16257 eshell-separate-commands requires a dynamic scoped var.
16258 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16259
16260 2013-09-23 Leo Liu <sdl.web@gmail.com>
16261
16262 * autoinsert.el (auto-insert-alist): Make the value of
16263 lexical-binding match its file setting.
16264
16265 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16266
16267 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16268
16269 * autoarg.el (autoarg-kp-digit-argument):
16270 * electric.el (Electric-command-loop):
16271 * kmacro.el (kmacro-step-edit-insert):
16272 Do not set universal-argument-num-events.
16273
16274 2013-09-22 Leo Liu <sdl.web@gmail.com>
16275
16276 * files.el (interpreter-mode-alist): Add octave.
16277
16278 2013-09-21 Alan Mackenzie <acm@muc.de>
16279
16280 C++: fontify identifier in declaration following "public:" correctly.
16281 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16282 to match "public", etc.
16283 (c-decl-prefix-re): Add ":" into the C++ value.
16284 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16285 bit. Add a check for a ":" preceded by "public", etc.
16286
16287 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16288
16289 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16290 recognized by GDB 7.5 and later.
16291
16292 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16293
16294 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16295
16296 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16297
16298 * subr.el (internal--call-interactively): New const.
16299 (called-interactively-p): Use it (bug#3984).
16300
16301 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16302
16303 * vc/pcvs.el (cvs-mode-ignore):
16304 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16305 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16306
16307 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16308
16309 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16310 (eshell-ls-orig-insert-directory): Remove.
16311 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16312 (eshell-ls-use-in-dired): Use advice-add/remove.
16313 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16314 Add `orig-fun' arg for use in :around advice.
16315 Make it check (redundantly) eshell-ls-use-in-dired.
16316
16317 2013-09-19 Glenn Morris <rgm@gnu.org>
16318
16319 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16320
16321 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16322
16323 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16324
16325 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16326
16327 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16328 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16329 (tramp-get-remote-python): New defuns.
16330 (tramp-get-remote-uid-with-perl)
16331 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16332 contributed by yary <not.com@gmail.com> (tiny change).
16333 (tramp-get-remote-uid-with-python)
16334 (tramp-get-remote-gid-with-python): New defuns. Python code
16335 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16336 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16337
16338 2013-09-19 Glenn Morris <rgm@gnu.org>
16339
16340 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16341
16342 * eshell/em-unix.el (eshell-remove-entries):
16343 Rename argument to avoid name-clash with global `top-level'.
16344
16345 * eshell/esh-proc.el (eshell-kill-process-function):
16346 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16347 (eshell-reset-after-proc): Remove unused arg `proc'.
16348
16349 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16350 (directory-files-and-attributes): Mark unused arg.
16351
16352 * eshell/em-unix.el (eshell-remove-entries):
16353 Remove unused arg `path'. Update callers.
16354
16355 * eshell/em-hist.el (eshell-hist-parse-arguments):
16356 Remove unused arg `silent'. Update callers.
16357
16358 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16359 Fix (f)boundp mix-up.
16360
16361 * eshell/em-smart.el (eshell-smart-scroll-window)
16362 (eshell-disable-after-change):
16363 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16364
16365 2013-09-18 Alan Mackenzie <acm@muc.de>
16366
16367 Fix fontification of type when followed by "const".
16368 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16369 "known" types from fontification.
16370
16371 2013-09-18 Glenn Morris <rgm@gnu.org>
16372
16373 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16374 (chart-face-list): Drop Emacsen without display-color-p.
16375
16376 * net/eww.el (libxml-parse-html-region): Declare.
16377 (eww-display-html): Explicit error if no libxml2 support.
16378
16379 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16380
16381 * image.el (image-type-from-buffer, image-multi-frame-p):
16382 Remove --without-x warning/error.
16383
16384 * mouse.el (mouse-yank-primary):
16385 * term.el (term-mouse-paste):
16386 Reorder to silence --without-x compilation.
16387
16388 * mpc.el (doc-view-mode): Silence --without-x compilation.
16389
16390 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16391 Silence --without-x compilation.
16392
16393 * progmodes/gud.el (gud-find-file, gud-mode):
16394 Silence --without-x compilation.
16395 (tooltip-mode): Declare.
16396
16397 * wdired.el (dired-backup-overwrite): Remove declaration.
16398 (wdired-mode-map): Add doc string.
16399
16400 * custom.el (x-get-resource): Declare.
16401
16402 * eshell/em-glob.el (ange-cache):
16403 * eshell/em-unix.el (ange-cache): Declare.
16404
16405 * faces.el (x-display-list, x-open-connection, x-get-resource):
16406 Declare.
16407
16408 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16409 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16410 Declare.
16411
16412 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16413
16414 * net/gnutls.el (gnutls-log-level): Declare.
16415
16416 * net/shr.el (image-size, image-animate): Declare.
16417
16418 * simple.el (font-info): Declare.
16419
16420 * subr.el (x-popup-dialog): Declare.
16421
16422 * term/common-win.el (x-select-enable-primary)
16423 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16424 Declare.
16425
16426 * term/ns-win.el (x-handle-args): Declare.
16427
16428 * term/x-win.el (x-select-enable-clipboard): Declare.
16429
16430 * term/w32-win.el (create-default-fontset): Declare.
16431
16432 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16433 Declare.
16434
16435 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16436 (fit-frame-to-buffer): Explicit error if --without-x.
16437 (mouse-autoselect-window-select): Silence compiler.
16438
16439 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16440
16441 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16442 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16443 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16444 * eshell/esh-util.el (eshell-sublist):
16445 Remove unused local variables.
16446
16447 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16448
16449 * textmodes/two-column.el: Make 2C-split work for --without-x.
16450 (scroll-bar-columns): Autoload.
16451 (top-level): Require fringe when compiling.
16452
16453 2013-09-18 Leo Liu <sdl.web@gmail.com>
16454
16455 * subr.el (add-hook): Robustify to handle closure as well.
16456
16457 2013-09-17 Glenn Morris <rgm@gnu.org>
16458
16459 * simple.el (messages-buffer-mode-map): Unbind "g".
16460
16461 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16462
16463 * help-mode.el (help-mode-finish): Use derived-mode-p.
16464 Remove obsolete highlighting.
16465
16466 * play/life.el (life-mode): Use define-derived-mode. Derive from
16467 special-mode.
16468 (life): Let-bind inhibit-read-only.
16469 (life-setup): Avoid `setq'. Use `life-mode'.
16470
16471 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16472 which should not be needed any more.
16473 (package-menu-refresh, package-menu-describe-package): Use user-error.
16474
16475 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16476 (eshell-post-rewrite-command-hook): Make obsolete.
16477 (eshell-parse-command): Simplify.
16478 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16479 (eshell--cmd): Declare.
16480 (eshell-parse-pipeline): Remove unused var `final-p'.
16481 Pass a dynvar to eshell-post-rewrite-command-hook.
16482 Implement the new eshell-post-rewrite-command-function.
16483 (eshell-invoke-directly): Remove unused arg `input'.
16484 * eshell/esh-io.el (eshell-io-initialize):
16485 Use eshell-post-rewrite-command-function (bug#15399).
16486 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16487 adjust to new calling convention.
16488 (eshell-create-handles): Rename args to avoid clashing with dynvar
16489 `standard-output'.
16490
16491 2013-09-17 Glenn Morris <rgm@gnu.org>
16492
16493 * simple.el (messages-buffer-mode): New major mode.
16494 (messages-buffer): New function.
16495 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16496 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16497 (ert-run-test): Use `messages-buffer' function.
16498 (ert--force-message-log-buffer-truncation): Ignore read-only.
16499 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16500 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16501
16502 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16505
16506 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16507
16508 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16509
16510 * icomplete.el (icomplete-in-buffer): New var.
16511 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16512 vars and replace them with functions.
16513 (icomplete-minibuffer-setup): Adjust accordingly.
16514 (icomplete--completion-table, icomplete--completion-predicate)
16515 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16516 New functions.
16517 (icomplete-forward-completions, icomplete-backward-completions)
16518 (icomplete-simple-completing-p, icomplete-exhibit)
16519 (icomplete-completions): Use them.
16520 (icomplete--in-region-buffer): New var.
16521 (icomplete--in-region-setup): New function.
16522 (icomplete-mode): Use it.
16523
16524 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16525 (bug#15379).
16526 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16527 return args and options.
16528 (eshell-eval-using-options): Use the new return value of
16529 eshell--do-opts to set the options's vars in their scope.
16530 (eshell--set-option): Rename from eshell-set-option.
16531 Add arg `opt-vals'.
16532 (eshell--process-option): Rename from eshell-process-option.
16533 Add arg `opt-vals'.
16534 (eshell--process-args): Use an `opt-vals' alist to store the options's
16535 values during their processing and return them additionally to the
16536 remaining args.
16537
16538 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
16539
16540 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16541 continuation character an operator, as far as indentation is
16542 concerned (Bug#15369).
16543
16544 2013-09-15 Martin Rudalics <rudalics@gmx.at>
16545
16546 * window.el (window--state-put-2): Don't process buffer state
16547 when buffer doesn't exist any more (Bug#15382).
16548
16549 2013-09-15 Glenn Morris <rgm@gnu.org>
16550
16551 * eshell/em-unix.el (eshell/rm):
16552 Make -f ignore missing files. (Bug#15373)
16553
16554 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
16555 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16556 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16557
16558 2013-09-14 Glenn Morris <rgm@gnu.org>
16559
16560 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16561
16562 2013-09-13 Glenn Morris <rgm@gnu.org>
16563
16564 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16565 (dired-guess-default): Make `file' available in the env. (Bug#15363)
16566
16567 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
16568
16569 * frame.el (x-focus-frame): Mark as declared in frame.c.
16570
16571 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * ls-lisp.el: Use advice-add.
16574 (original-insert-directory): Remove.
16575 (ls-lisp--insert-directory): Rename from insert-directory; add
16576 `orig-fun' argument.
16577 (insert-directory): Advise.
16578
16579 2013-09-13 Eli Zaretskii <eliz@gnu.org>
16580
16581 * term.el (term-emulate-terminal): Decode the command string
16582 before passing it to term-command-hook. (Bug#15337)
16583
16584 2013-09-13 Glenn Morris <rgm@gnu.org>
16585
16586 * eshell/esh-util.el (ange-cache): Move declaration earlier.
16587
16588 * eshell/esh-ext.el (eshell-search-path): Declare.
16589
16590 * eshell/em-prompt.el (eshell/pwd): Autoload it.
16591 Otherwise an error occurs if eshell-dirs module not loaded.
16592
16593 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
16594
16595 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
16596
16597 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
16598 `tramp-check-proper-host'. Check for a valid method name.
16599
16600 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16601 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16602 * net/tramp-sh.el (tramp-maybe-open-connection):
16603 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
16604
16605 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
16606 also for hash values.
16607
16608 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16609
16610 * term/ns-win.el (parameters): Don't declare as dynamic.
16611 (before-make-frame-hook): Don't add ineffective function.
16612
16613 * eshell/*.el: Use lexical-binding (bug#15231).
16614
16615 2013-09-12 Kenichi Handa <handa@gnu.org>
16616
16617 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
16618
16619 2013-09-12 Glenn Morris <rgm@gnu.org>
16620
16621 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
16622 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
16623
16624 * subr.el (do-after-load-evaluation): Also give compiler warnings
16625 when obsolete files are used (except by obsolete files).
16626
16627 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
16628 in the status output, assume `filename' is the first. (Bug#15322)
16629
16630 * vc/vc.el (vc-deduce-fileset): Doc fix.
16631
16632 * calc/calc-help.el (Info-goto-node):
16633 * progmodes/cperl-mode.el (Info-find-node):
16634 * vc/ediff.el (Info-goto-node): Update declarations.
16635
16636 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16637
16638 * vc/vc-bzr.el (vc-compilation-mode): Declare.
16639 (vc-bzr-pull): Require vc-dispatcher.
16640 * vc/vc-git.el (vc-compilation-mode): Declare.
16641 (vc-git-pull): Require vc-dispatcher.
16642
16643 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16644
16645 * progmodes/octave.el (help-button-action): Declare.
16646
16647 * shell.el (shell-directory-tracker): Output error as a message
16648 rather than just returning it as a string.
16649 (shell-process-pushd): Remove useless use of message.
16650
16651 * dframe.el (dframe-timer-fn):
16652 * files.el (dir-locals-read-from-file):
16653 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16654 (mpc-format):
16655 * reveal.el (reveal-post-command):
16656 * saveplace.el (load-save-place-alist-from-file):
16657 * shell.el (shell-resync-dirs):
16658 * w32-common-fns.el (x-get-selection-value):
16659 * emacs-lisp/copyright.el (copyright-find-copyright):
16660 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16661 * emulation/tpu-edt.el (tpu-copy-keyfile):
16662 * play/bubbles.el (bubbles--mark-neighbourhood):
16663 * progmodes/executable.el
16664 (executable-make-buffer-file-executable-if-script-p):
16665 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16666
16667 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16668
16669 Cleanup Eshell to rely less on dynamic scoping.
16670 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16671 last-value, and ext-command here. Bind `args' closer to `body'.
16672 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16673 (eshell--args): Declare new dynamic var.
16674 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
16675 last-value, and ext-command. Pass `args' to `body'.
16676 (eshell-process-args): Bind eshell--args.
16677 (eshell-set-option): Use eshell--args.
16678 * eshell/eshell.el (eshell): Use derived-mode-p.
16679 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16680 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16681 (eshell-glob-function): Declare.
16682 * eshell/esh-util.el: Require cl-lib.
16683 (eshell-read-hosts-file): Avoid add-to-list.
16684 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16685 `err'.
16686 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16687 Declare.
16688 (eshell/diff): Remove unused var `err'.
16689 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16690 `killflag'.
16691 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16692 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16693 first use.
16694 * eshell/em-glob.el (eshell-glob-matches, message-shown):
16695 Move declaration before first use.
16696 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16697 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16698 rely on cl-return.
16699
16700 2013-09-12 Glenn Morris <rgm@gnu.org>
16701
16702 * term/ns-win.el (global-map): Remove binding for ispell-next,
16703 deleted 1999-05-29. (Bug#15357)
16704
16705 2013-09-11 Glenn Morris <rgm@gnu.org>
16706
16707 * echistory.el (electric-command-history): Remove call to deleted func.
16708
16709 * play/landmark.el (landmark-mode): Fix typos.
16710
16711 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16712 Check cvs-sort-ignore-file is bound.
16713
16714 * savehist.el: No need for cl when compiling on Emacs.
16715
16716 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16717
16718 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16719 (bug#15338).
16720 (eshell-self-insert-command, eshell-send-invisible):
16721 Remove unused argument.
16722 (eshell-handle-control-codes): Remove unused var `orig'.
16723 Avoid delete-backward-char.
16724
16725 * files.el (set-auto-mode): Simplify a bit further.
16726
16727 2013-09-11 Glenn Morris <rgm@gnu.org>
16728
16729 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16730 (set-auto-mode): Don't regexp-quote elements.
16731 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16732 * progmodes/cc-mode.el (interpreter-mode-alist):
16733 * progmodes/ruby-mode.el (interpreter-mode-alist):
16734 Revert previous change.
16735
16736 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16737
16738 * play/snake.el (snake-mode):
16739 * play/mpuz.el (mpuz-mode):
16740 * play/landmark.el (lm-mode):
16741 * play/blackbox.el (blackbox-mode):
16742 * play/5x5.el (5x5-mode):
16743 * obsolete/options.el (Edit-options-mode):
16744 * net/quickurl.el (quickurl-list-mode):
16745 * net/newst-treeview.el (newsticker-treeview-mode):
16746 * mail/rmailsum.el (rmail-summary-mode):
16747 * mail/mspools.el (mspools-mode):
16748 * locate.el (locate-mode):
16749 * ibuffer.el (ibuffer-mode):
16750 * emulation/ws-mode.el (wordstar-mode):
16751 * emacs-lisp/debug.el (debugger-mode):
16752 * array.el (array-mode):
16753 * net/eudc.el (eudc-mode): Use define-derived-mode.
16754 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16755 Move initialization into declaration.
16756 (mairix-searches-mode): Use define-derived-mode.
16757 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16758 (eudc-edit-hotlist): Use dolist.
16759 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16760 (Man-mode): Use define-derived-mode.
16761 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16762 (Info-edit-mode): Use define-derived-mode.
16763 (Info-cease-edit): Use Info-mode.
16764 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16765 into declaration.
16766 (eshell-mode): Use define-derived-mode.
16767 * chistory.el (command-history-mode-map): Rename from
16768 command-history-map.
16769 (command-history-mode): Use define-derived-mode.
16770 (Command-history-setup): Remove function.
16771 * calc/calc.el (calc-trail-mode-map): New var.
16772 (calc-trail-mode): Use define-derived-mode.
16773 (calc-trail-buffer): Set calc-main-buffer manually.
16774 * bookmark.el (bookmark-insert-annotation): New function.
16775 (bookmark-edit-annotation): Use it.
16776 (bookmark-edit-annotation-mode): Make it a proper major mode.
16777 (bookmark-send-edited-annotation): Use derived-mode-p.
16778 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16779 closer to its ideal place. Use \' to match EOS.
16780
16781 * profiler.el (profiler-calltree-find): Use function-equal.
16782
16783 2013-09-10 Glenn Morris <rgm@gnu.org>
16784
16785 * files.el (interpreter-mode-alist): Convert to regexps.
16786 (set-auto-mode): Adapt for this. (Bug#15306)
16787 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16788 Comment out unused variable.
16789 * progmodes/cc-mode.el (interpreter-mode-alist):
16790 * progmodes/python.el (interpreter-mode-alist):
16791 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16792 * progmodes/sh-script.el (sh-set-shell):
16793 No longer use interpreter-mode-alist to get list of shells.
16794
16795 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16796
16797 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16798
16799 * simple.el: Use set-temporary-overlay-map for universal-argument.
16800 (universal-argument-map): Don't use default-bindings (bug#15317).
16801 Bind switch-frame explicitly. Replace universal-argument-minus with
16802 a conditional binding.
16803 (universal-argument-num-events, saved-overriding-map): Remove.
16804 (restore-overriding-map): Remove.
16805 (universal-argument--mode): Rename from save&set-overriding-map,
16806 and rewrite.
16807 (universal-argument, universal-argument-more, negative-argument)
16808 (digit-argument): Adjust accordingly.
16809 (universal-argument-minus): Remove.
16810 (universal-argument-other-key): Remove.
16811
16812 * subr.el (with-demoted-errors): Add `format' argument.
16813
16814 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
16815
16816 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
16817 `tramp-cleanup-connection'.
16818
16819 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16820 parameters KEEP-DEBUG and KEEP-PASSWORD.
16821
16822 * net/tramp.el (tramp-file-name-handler):
16823 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16824 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16825 (tramp-maybe-open-connection):
16826 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16827 Use `tramp-cleanup-connection'.
16828
16829 * net/tramp-sh.el (tramp-maybe-open-connection):
16830 Catch 'uname-changed inside the progress reporter.
16831
16832 2013-09-10 Glenn Morris <rgm@gnu.org>
16833
16834 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
16835
16836 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16837 returns "alternate access method" in mode (eg "-rw-r--r--.").
16838
16839 2013-09-08 Glenn Morris <rgm@gnu.org>
16840
16841 * saveplace.el (load-save-place-alist-from-file):
16842 Demote errors. (Bug#15305)
16843
16844 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
16845
16846 Improve compatibility with older Emacsen, and XEmacs.
16847
16848 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16849 only if it is bound. It isn't for XEmacs.
16850 (with-tramp-progress-reporter): Do not let-bind `result'.
16851 This yields to scoping errors in XEmacs.
16852 (tramp-handle-make-auto-save-file-name): New function, moved from
16853 tramp-sh.el.
16854
16855 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16856 for `make-auto-save-file-name'.
16857 (tramp-adb--gnu-switches-to-ash):
16858 Use `tramp-compat-replace-regexp-in-string'.
16859
16860 * net/tramp-cache.el (tramp-cache-print): Call
16861 `substring-no-properties' only if it is bound. It isn't for XEmacs.
16862
16863 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16864 bound. It isn't for XEmacs.
16865
16866 * net/tramp-compat.el (tramp-compat-copy-file):
16867 Catch `wrong-number-of-arguments' error.
16868 (tramp-compat-replace-regexp-in-string): New defun.
16869
16870 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16871 for `make-auto-save-file-name'.
16872 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16873 `copy-file'.
16874 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16875 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16876 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16877
16878 * net/tramp-gw.el (tramp-gw-open-network-stream):
16879 Use `tramp-compat-replace-regexp-in-string'.
16880
16881 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16882 Call `tramp-handle-make-auto-save-file-name'.
16883 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16884 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16885 (tramp-sh-file-inotifywait-process-filter):
16886 Use `tramp-compat-replace-regexp-in-string'.
16887 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16888
16889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16890 for `make-auto-save-file-name'.
16891 (tramp-smb-handle-copy-directory):
16892 Call `tramp-compat-replace-regexp-in-string'.
16893 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16894 (tramp-smb-handle-copy-file): Improve error message.
16895 (tramp-smb-handle-rename-file): Rename directly only in case
16896 `newname' does not exist yet. This is a restriction of smbclient.
16897 (tramp-smb-maybe-open-connection): Rerun the function only when
16898 `auth-sources' is non-nil.
16899
16900 2013-09-08 Kenichi Handa <handa@gnu.org>
16901
16902 * international/characters.el: Set category "^" (Combining) for
16903 more characters.
16904
16905 2013-09-07 Alan Mackenzie <acm@muc.de>
16906
16907 Correctly fontify Java class constructors.
16908 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16909 in Java Mode.
16910 (c-recognize-typeless-decls): Set the Java value to t.
16911 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16912 While handling a "(", add a check for, effectively, Java, and handle a
16913 "typeless" declaration there.
16914
16915 2013-09-07 Roland Winkler <winkler@gnu.org>
16916
16917 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16918 field subtitle for entry type book.
16919
16920 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16921
16922 * minibuffer.el: Make minibuffer-complete call completion-in-region
16923 rather than other way around.
16924 (completion--some, completion-pcm--find-all-completions):
16925 Don't delay signals when debugging.
16926 (minibuffer-completion-contents): Beware fields within the
16927 minibuffer contents.
16928 (completion-all-sorted-completions): Use defvar-local.
16929 (completion--do-completion, completion--cache-all-sorted-completions)
16930 (completion-all-sorted-completions, minibuffer-force-complete):
16931 Add args `beg' and `end'.
16932 (completion--in-region-1): New fun, extracted from minibuffer-complete.
16933 (minibuffer-complete): Use completion-in-region.
16934 (completion-complete-and-exit): New fun, extracted from
16935 minibuffer-complete-and-exit.
16936 (minibuffer-complete-and-exit): Use it.
16937 (completion--complete-and-exit): Rename from
16938 minibuffer--complete-and-exit.
16939 (completion-in-region--single-word): New function, extracted from
16940 minibuffer-complete-word.
16941 (minibuffer-complete-word): Use it.
16942 (display-completion-list): Make `common-substring' argument obsolete.
16943 (completion--in-region): Call completion--in-region-1 instead of
16944 minibuffer-complete.
16945 (completion-help-at-point): Pass boundaries to
16946 minibuffer-completion-help as args rather than via an overlay.
16947 (completion-pcm--string->pattern): Use `any-delim'.
16948 (completion-pcm--optimize-pattern): New function.
16949 (completion-pcm--pattern->regex): Handle `any-delim'.
16950 * icomplete.el (icomplete-forward-completions)
16951 (icomplete-backward-completions, icomplete-completions):
16952 Adjust calls to completion-all-sorted-completions and
16953 completion--cache-all-sorted-completions.
16954 (icomplete-with-completion-tables): Default to t.
16955 * emacs-lisp/crm.el (crm--current-element): Rename from
16956 crm--select-current-element. Don't put an overlay but return the
16957 boundaries instead.
16958 (crm--completion-command): Take two new args to bind to the boundaries.
16959 (crm-completion-help): Adjust accordingly.
16960 (crm-complete): Use completion-in-region.
16961 (crm-complete-word): Use completion-in-region--single-word.
16962 (crm-complete-and-exit): Use completion-complete-and-exit.
16963
16964 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16965
16966 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
16967 than dynamically.
16968
16969 2013-09-06 Juri Linkov <juri@jurta.org>
16970
16971 * info.el (Info-display-images-node): When image file doesn't exist
16972 display text version of the image if it's provided in the Info file.
16973 Otherwise, display the location of missing image from SRC attribute.
16974 Add help-echo text property from ALT attribute. (Bug#15279)
16975
16976 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
16979 (edit-abbrevs-mode): Use define-derived-mode.
16980
16981 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
16982 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
16983 that it's defined.
16984 (epa-key-list-mode, epa-key-mode, epa-info-mode):
16985 Use define-derived-mode.
16986
16987 * epg.el (epg-start-encrypt): Minor CSE simplification.
16988
16989 2013-09-06 William Xu <william.xwl@gmail.com>
16990
16991 * arc-mode.el: Add support for 7za (bug#15264).
16992 (archive-7z-program): New var.
16993 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16994 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
16995 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
16996
16997 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
16998
16999 Remove URL syntax.
17000
17001 * net/tramp.el (tramp-syntax, tramp-prefix-format)
17002 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
17003 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
17004 (tramp-postfix-host-format, tramp-file-name-regexp)
17005 (tramp-completion-file-name-regexp)
17006 (tramp-completion-dissect-file-name)
17007 (tramp-handle-substitute-in-file-name): Remove 'url case.
17008 (tramp-file-name-regexp-url)
17009 (tramp-completion-file-name-regexp-url): Remove constants.
17010
17011 2013-09-06 Glenn Morris <rgm@gnu.org>
17012
17013 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
17014
17015 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
17016
17017 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
17018 keywords" below "here-doc beginnings" (Bug#15270).
17019
17020 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17021
17022 * subr.el (pop): Use `car-safe'.
17023 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
17024 to detect unused `pop' return value.
17025
17026 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17027 var `block-regexp'.
17028 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
17029 (python-fill-string): Remove unused var `marker'.
17030 (python-skeleton-add-menu-items): Remove unused var `items'.
17031
17032 * international/mule-cmds.el: Require CL.
17033 (find-coding-systems-for-charsets): Avoid add-to-list.
17034 (sanitize-coding-system-list): New function, extracted from
17035 select-safe-coding-system-interactively.
17036 (select-safe-coding-system-interactively): Use it.
17037 (read-input-method-name): Accept symbols for `default'.
17038
17039 * emacs-lisp/advice.el (defadvice): Add indent rule.
17040
17041 2013-09-05 Daniel Hackney <dan@haxney.org>
17042
17043 * dired-x.el:
17044 * net/ange-ftp.el:
17045 * net/browse-url.el:
17046 * net/dbus.el:
17047 * net/eudc.el:
17048 * net/eudcb-ldap.el:
17049 * net/eww.el:
17050 * net/imap.el:
17051 * printing.el:
17052 * vc/ediff-diff.el:
17053 * vc/ediff-init.el:
17054 * vc/ediff-merg.el:
17055 * vc/ediff-mult.el:
17056 * vc/ediff-util.el:
17057 * vc/ediff-wind.el:
17058 * vc/ediff.el:
17059 * vc/emerge.el:
17060 * vc/pcvs.el:
17061 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
17062 byte compiler. Remove some unused let-bound variables.
17063
17064 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17065
17066 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
17067 a "ref-cell", since it gets better optimized (bug#14883).
17068
17069 2013-09-05 Glenn Morris <rgm@gnu.org>
17070
17071 * progmodes/cc-awk.el (c-forward-sws): Declare.
17072
17073 2013-09-04 Glenn Morris <rgm@gnu.org>
17074
17075 * generic-x.el [rul-generic-mode]: Require cc-mode.
17076 (c++-mode-syntax-table): Declare.
17077 (rul-generic-mode-syntax-table): Init in the defvar.
17078
17079 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
17082 (vc-do-command, vc-set-async-update):
17083 * vc/vc-mtn.el (vc-mtn-dir-status):
17084 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
17085 (vc-hg-pull, vc-hg-merge-branch):
17086 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
17087 (vc-git-merge-branch):
17088 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
17089 (vc-cvs-dir-status-files):
17090 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
17091 (vc-bzr-dir-status-files):
17092 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
17093 * vc/vc-annotate.el: Use lexical-binding.
17094 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
17095 (vc-sentinel-movepoint): Declare.
17096 (vc-annotate): Don't use `goto-line'.
17097 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
17098 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
17099 (vc-sentinel-movepoint): Declare.
17100 * vc/vc-svn.el: Use lexical-binding.
17101 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
17102 * vc/vc-sccs.el:
17103 * vc/vc-rcs.el: Use lexical-binding.
17104
17105 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
17106 `deleted'. Don't drop errors silently.
17107
17108 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
17109
17110 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
17111
17112 * vc/vc.el (vc-ignore): Rewrite.
17113 (vc-default-ignore): New function.
17114 (vc-default-ignore-completion-table): Use find-ignore-file.
17115
17116 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
17117 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
17118 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
17119 Remove. Most code moved to vc.el.
17120
17121 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
17122
17123 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
17124 * net/tramp-smb.el (tramp-smb-get-file-entries):
17125 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17126 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
17127
17128 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
17129 Update call to it.
17130 (eww-change-select): Remove unused var `properties'.
17131 (eww-make-unique-file-name): Remove unused var `base'.
17132
17133 * finder.el (finder-compile-keywords): Don't mess with windows.
17134
17135 * calculator.el (calculator-funcall): Fix typo in last change.
17136
17137 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
17138
17139 * emacs-lisp/package.el (package-activate-1): Don't let a missing
17140 <pkg>-autoloads.el file stop us.
17141
17142 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
17143 warnings, and factor out common code.
17144
17145 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
17146
17147 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
17148 two-character operators and whether the character preceding them
17149 changes their meaning (Bug#15208).
17150
17151 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17152
17153 Format code sent to Python shell for robustness.
17154 * progmodes/python.el (python-shell-buffer-substring):
17155 New function.
17156 (python-shell-send-region, python-shell-send-buffer): Use it.
17157
17158 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
17159
17160 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17161 * net/tramp.el (tramp-user-error): ... here.
17162 (tramp-find-method, tramp-check-proper-host)
17163 (tramp-dissect-file-name, tramp-debug-message)
17164 (tramp-handle-shell-command):
17165 * net/tramp-adb.el (tramp-adb-handle-shell-command):
17166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
17167
17168 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
17169
17170 2013-09-02 Martin Rudalics <rudalics@gmx.at>
17171
17172 * avoid.el (mouse-avoidance-point-position)
17173 (mouse-avoidance-too-close-p): Handle case where posn-at-point
17174 returns nil.
17175
17176 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17177
17178 * progmodes/python.el (python-shell-completion-get-completions):
17179 Drop use of deleted `comint-last-prompt-overlay'.
17180 (python-nav-if-name-main): New command.
17181
17182 2013-09-01 Glenn Morris <rgm@gnu.org>
17183
17184 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17185 Avoid leading space in $wins. Otherwise the sed command used by
17186 eg compile-main ends up containing "/*.el". (Bug#15170)
17187
17188 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
17189
17190 2013-08-30 Glenn Morris <rgm@gnu.org>
17191
17192 * emacs-lisp/bytecomp.el (byte-recompile-directory):
17193 Fix is-this-a-directory logic. (Bug#15220)
17194
17195 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17196
17197 * textmodes/css-mode.el: Use SMIE.
17198 (css-smie-grammar): New var.
17199 (css-smie--forward-token, css-smie--backward-token)
17200 (css-smie-rules): New functions.
17201 (css-mode): Use them.
17202 (css-navigation-syntax-table): Remove var.
17203 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
17204 (css-indent-calculate, css-indent-line): Remove functions.
17205
17206 Misc changes to reduce use of `(lambda...); and other cleanups.
17207 * cus-edit.el: Use lexical-binding.
17208 (customize-push-and-save, customize-apropos)
17209 (custom-buffer-create-internal): Use closures.
17210 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
17211 * progmodes/ada-xref.el: Use setq.
17212 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
17213 * dframe.el: Use lexical-binding.
17214 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
17215 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
17216 * descr-text.el: Use lexical-binding.
17217 (describe-text-widget, describe-text-sexp, describe-property-list):
17218 Use closures.
17219 * comint.el (comint-history-isearch-push-state): Use a closure.
17220 * calculator.el: Use lexical-binding.
17221 (calculator-number-to-string): Make it work with lexical-binding.
17222 (calculator-funcall): Same and use cl-letf.
17223
17224 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17225 (lisp--company-doc-string, lisp--company-location): New functions.
17226 (lisp-completion-at-point): Use them to improve Company support.
17227
17228 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17229 params of lambda expressions.
17230 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17231 (ruby-smie--opening-pipe-p): New function.
17232 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17233 symbols and matched |...| for formal params.
17234 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17235 from being treated as hanging. Handle "rescue".
17236
17237 2013-08-29 Glenn Morris <rgm@gnu.org>
17238
17239 * progmodes/cc-engine.el (c-pull-open-brace):
17240 Move definition before use.
17241
17242 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17243
17244 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17245 are immutable. Don't use `unsafe' any more.
17246 (cl--defsubst-expand): Don't substitute at the same time as keeping
17247 a residual unused let-binding. Don't use `unsafe' any more.
17248
17249 2013-08-29 Glenn Morris <rgm@gnu.org>
17250
17251 * calendar/cal-china.el (calendar-chinese-year-cache):
17252 Recenter on 2015.
17253
17254 * nxml/nxml-util.el (nxml-debug-clear-inside):
17255 Use cl-loop rather than loop.
17256
17257 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17258
17259 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17260
17261 2013-08-28 Glenn Morris <rgm@gnu.org>
17262
17263 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17264
17265 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17266
17267 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17268
17269 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17270
17271 * simple.el (repeat-complex-command--called-interactively-skip):
17272 New function.
17273 (repeat-complex-command): Use it (bug#14136).
17274
17275 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17276 (c-define-abbrev-table): Add `doc' argument.
17277 (c-mode-abbrev-table, c++-mode-abbrev-table)
17278 (objc-mode-abbrev-table, java-mode-abbrev-table)
17279 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17280 (awk-mode-abbrev-table): Use it.
17281 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17282 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17283 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17284 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17285 Move initialization into the declaration; and remove any
17286 autoload cookie.
17287
17288 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17289 and dynamic let binding.
17290
17291 * vc/smerge-mode.el: Remove redundant :group args.
17292
17293 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17294 to load-path.
17295
17296 2013-08-28 Juri Linkov <juri@jurta.org>
17297
17298 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17299 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17300 (isearch-other-meta-char): Handle an undefined shifted printing
17301 character by downshifting it. (Bug#15200)
17302
17303 2013-08-28 Juri Linkov <juri@jurta.org>
17304
17305 * isearch.el (isearch-search): Change regexp error message for
17306 non-regexp searches. (Bug#15166)
17307
17308 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17309
17310 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17311 for portability to hosts where /bin/sh has problems.
17312
17313 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17314
17315 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17316
17317 2013-08-27 Juri Linkov <juri@jurta.org>
17318
17319 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17320 in the keyboard macro. (Bug#15126)
17321
17322 2013-08-27 Juri Linkov <juri@jurta.org>
17323
17324 * isearch.el (isearch-quote-char): Comment out converting unibyte
17325 to multibyte, thus syncing with its `quoted-insert' counterpart.
17326 (Bug#15166)
17327
17328 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17329
17330 * window.el (display-buffer-use-some-window): Add missing
17331 argument in call of get-largest-window (Bug#15185).
17332 Reported by Stephen Leake.
17333
17334 2013-08-27 Glenn Morris <rgm@gnu.org>
17335
17336 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17337
17338 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17341 from a matcher-function unless there's no more matches (bug#15161).
17342
17343 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17344
17345 * minibuffer.el: Revert change from 2013-08-20.
17346
17347 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17348 with text property `tramp-default', if appropriate.
17349 (tramp-check-proper-host): New defun.
17350 (tramp-dissect-file-name): Do not check hostname. Revert change
17351 of 2013-03-18.
17352 (tramp-backtrace): Make VEC-OR-PROC optional.
17353
17354 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17355 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17356 * net/tramp-sh.el (tramp-maybe-open-connection):
17357 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17358 Apply `tramp-check-proper-host'.
17359
17360 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17361
17362 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17363 lambda expression in order to have `describe-variable' display it.
17364
17365 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17366
17367 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17368 BUF can be optional. (Bug#15186)
17369
17370 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17371
17372 * progmodes/flymake.el (flymake-get-real-file-name-function):
17373 Fix broken customization. (Bug#15184)
17374
17375 2013-08-25 Alan Mackenzie <acm@muc.de>
17376
17377 Improve indentation of bracelists defined by macros (without "=").
17378
17379 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17380 expansion begins with "{", regard it as bracelist when it doesn't
17381 contain a ";".
17382
17383 Parse C++ inher-intro when there's a template split over 2 lines.
17384
17385 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17386 rigorously the search for "class" etc. followed by ":".
17387
17388 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17389 random languages a regexp which never matches rather than nil.
17390
17391 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17392
17393 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17394 (c-awk-regexp-one-line-possibly-open-char-list-re)
17395 (c-awk-one-line-possibly-open-regexp-re)
17396 (c-awk-one-line-non-syn-ws*-re): Remove.
17397 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17398 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17399 (c-awk-space*-unclosed-regexp-/-re): New constants.
17400 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17401 aren't regexp delimiters.
17402
17403 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17404 handling for a rare situation in AWK Mode involving unterminated
17405 strings/regexps.
17406
17407 2013-08-23 Glenn Morris <rgm@gnu.org>
17408
17409 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17410
17411 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17412
17413 * files.el (create-file-buffer): If the result would begin with
17414 spaces, prepend a "|" instead of removing them. (Bug#15162)
17415
17416 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17417
17418 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17419 text-properties (bug#15155).
17420
17421 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17422 exist any more.
17423 (calc-keypad-redraw): Remove unused var `pad'.
17424 (calc-keypad-press): Remove unused var `menu'.
17425
17426 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17427
17428 * window.el (display-buffer-pop-up-frame):
17429 Call pop-up-frame-function with BUFFER current so `make-frame' will
17430 use it as the new frame's buffer (Bug#15133).
17431
17432 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17433
17434 * calendar/timeclock.el: Minor cleanups.
17435 (timeclock-ask-before-exiting, timeclock-use-display-time):
17436 Use `symbol'.
17437 (timeclock-modeline-display): Define as alias before the
17438 actual definition.
17439 (timeclock-mode-line-display): Use define-minor-mode.
17440 (timeclock-day-list-template): Make it a function, add an argument.
17441 (timeclock-day-list-required, timeclock-day-list-length)
17442 (timeclock-day-list-debt, timeclock-day-list-span)
17443 (timeclock-day-list-break): Adjust calls accordingly.
17444
17445 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17448 Use read--expression so that completion works again.
17449
17450 2013-08-21 Sam Steingold <sds@gnu.org>
17451
17452 Add rudimentary inferior shell interaction
17453 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17454 (sh-set-shell): Reset it.
17455 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17456 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17457
17458 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * align.el: Use lexical-binding.
17461 (align-region): Simplify accordingly.
17462
17463 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17464
17465 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17466
17467 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17468 `non-essential' up.
17469
17470 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17471
17472 * net/tramp.el:
17473 * net/tramp-adb.el:
17474 * net/tramp-cmds.el:
17475 * net/tramp-ftp.el:
17476 * net/tramp-gvfs.el:
17477 * net/tramp-gw.el:
17478 * net/tramp-sh.el: Don't wrap external variable declarations by
17479 `eval-when-compile'.
17480
17481 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17482
17483 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17484 now that Emacs supports ImageMagick animations.
17485
17486 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17487
17488 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17489 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17490
17491 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17492
17493 * window.el (mouse-autoselect-window-select): Do autoselect when
17494 mouse pointer is on margin.
17495
17496 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17497
17498 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17499
17500 2013-08-16 Glenn Morris <rgm@gnu.org>
17501
17502 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17503 Handle "Remote Directory" response of some clients. (Bug#15058)
17504
17505 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17506 Tweak warning. (Bug#14926)
17507
17508 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17509 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17510
17511 * image-mode.el (image-mode-map): Add menu items to reverse,
17512 increase, decrease, reset animation speed.
17513 (image--set-speed, image-increase-speed, image-decrease-speed)
17514 (image-reverse-speed, image-reset-speed): New functions.
17515 (image-mode-map): Add bindings for speed commands.
17516
17517 * image.el (image-animate-get-speed, image-animate-set-speed):
17518 New functions.
17519 (image-animate-timeout): Respect image :speed property.
17520
17521 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17524 previous line (bug#15101).
17525 (debugger-eval-expression, debugger-record-expression):
17526 Use read--expression (bug#15102).
17527
17528 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
17529
17530 Remove byte compiler warnings, visible when compiling with
17531 `byte-compile-force-lexical-warnings' set to t.
17532
17533 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17534 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17535 (tramp-handle-unhandled-file-name-directory)
17536 (tramp-handle-file-notify-add-watch, tramp-action-login)
17537 (tramp-action-succeed, tramp-action-permission-denied)
17538 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17539 arguments with "_".
17540
17541 * net/tramp-adb.el (tramp-adb-parse-device-names)
17542 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17543 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17544 (tramp-adb-handle-file-truename): Remove unused arguments.
17545
17546 * net/tramp-cache.el (tramp-flush-directory-property)
17547 (tramp-flush-connection-property, tramp-list-connections)
17548 (tramp-parse-connection-properties): Prefix unused arguments with "_".
17549
17550 * net/tramp-compat.el (tramp-compat-make-temp-file):
17551 Rename FILENAME to F.
17552
17553 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17554 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17555 (tramp-zeroconf-parse-workstation-device-names)
17556 (tramp-zeroconf-parse-webdav-device-names)
17557 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17558
17559 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17560 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17561
17562 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17563 arguments.
17564 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17565 (tramp-sh-handle-insert-file-contents-literally)
17566 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
17567 with "_".
17568 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
17569 Remove unused variables.
17570
17571 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17572 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
17573 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
17574
17575 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
17576 Make them a defconst.
17577 (tramp-uuencode-region): Remove unused variable.
17578
17579 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
17580
17581 * frameset.el (frameset--prop-setter): New function.
17582 (frameset-prop): Add gv-setter declaration.
17583 (frameset-filter-minibuffer): Deal with the case that the minibuffer
17584 parameter was already set in FILTERED. Doc fix.
17585 (frameset--record-minibuffer-relationships): Allow saving a
17586 minibufferless frame without its corresponding minibuffer frame.
17587 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
17588 frame, if the frame id matches.
17589 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
17590 frames before orphaned ones.
17591 (frameset-restore): Warn about orphaned windows, instead of error out.
17592
17593 2013-08-14 Martin Rudalics <rudalics@gmx.at>
17594
17595 * window.el (window-make-atom): Don't overwrite parameter
17596 already present.
17597 (display-buffer-in-atom-window): Handle special case where we
17598 split an already atomic window.
17599 (window--major-non-side-window, display-buffer-in-side-window)
17600 (window--side-check): Ignore minibuffer window when walking
17601 window tree.
17602 (window-deletable-p): Return 'frame only if no other frame uses
17603 our minibuffer window.
17604 (record-window-buffer): Run buffer-list-update-hook.
17605 (split-window): Make sure window--check-frame won't destroy an
17606 existing atomic window in case the new window gets nested
17607 inside.
17608 (display-buffer-at-bottom): Ignore minibuffer window when
17609 walking window tree. Don't split a side window.
17610 (pop-to-buffer): Don't set-buffer here, the select-window call
17611 should do that.
17612 (mouse-autoselect-window-select): Autoselect only if we are in the
17613 text portion of the window.
17614
17615 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17616
17617 * net/shr.el (shr-parse-image-data): New function to grab both the
17618 data itself and the Content-Type.
17619 (shr-put-image): Use it.
17620
17621 * net/eww.el (eww-display-image): Ditto.
17622
17623 * image.el (image-content-type-suffixes): New variable.
17624
17625 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17626
17627 * progmodes/python.el (python-imenu--build-tree)
17628 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17629
17630 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
17631
17632 * simple.el (backward-word): Mention the optional argument.
17633
17634 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * frameset.el (frameset--make): Rename constructor from make-frameset.
17637 (frameset-p, frameset-valid-p): Don't autoload.
17638 (frameset-valid-p): Use normal accessors.
17639
17640 2013-08-13 Glenn Morris <rgm@gnu.org>
17641
17642 * progmodes/compile.el (compile-command): Tweak example in doc.
17643 * obsolete/scribe.el (scribe-mode):
17644 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
17645
17646 * mail/feedmail.el (feedmail-confirm-outgoing)
17647 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17648
17649 * cus-start.el (truncate-partial-width-windows): Fix type.
17650
17651 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17652
17653 * net/shr.el (shr-table-horizontal-line): Fix custom type.
17654
17655 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
17656
17657 * emacs-lisp/timer.el (timer--time-setter): New function.
17658 (timer--time): Use it as gv-setter.
17659
17660 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17661 setter is not a symbol.
17662
17663 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
17664
17665 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17666 if sending fails. This makes debugging easier.
17667
17668 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
17669
17670 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17671 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17672 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17673
17674 2013-08-12 Eli Zaretskii <eliz@gnu.org>
17675
17676 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17677
17678 2013-08-12 Glenn Morris <rgm@gnu.org>
17679
17680 * format.el (format-annotate-function):
17681 Handle read-only text properties in the source. (Bug#14887)
17682
17683 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17684
17685 * net/eww.el (eww-display-html): Ignore coding system errors.
17686 One web site uses "utf-8lias" as the coding system.
17687
17688 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
17689
17690 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17691
17692 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
17693
17694 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17695 (tutorial--detailed-help): Remove unused local variables.
17696 (tutorial--save-tutorial-to): Use ignore-errors.
17697 (help-with-tutorial): Use looking-at-p.
17698
17699 * view.el (view-buffer-other-window, view-buffer-other-frame):
17700 Mark unused arguments.
17701
17702 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17703 (woman-select-symbol-fonts, woman, woman-find-file)
17704 (woman-insert-file-contents, woman-non-underline-faces):
17705 Use string-match-p.
17706 (woman1-unquote): Move declaration.
17707
17708 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17709 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
17710 argument. Remove unused local variable.
17711 (xml-parse-elem-type): Use string-match-p.
17712 (xml-substitute-numeric-entities): Use ignore-errors.
17713
17714 * calculator.el (calculator): Mark unused argument.
17715 (calculator-paste, calculator-quit, calculator-integer-p):
17716 Use ignore-errors.
17717 (calculator-string-to-number, calculator-decimal, calculator-exp)
17718 (calculator-op-or-exp): Use string-match-p.
17719
17720 * dired.el (dired-buffer-more-recently-used-p): Declare.
17721 (dired-insert-set-properties, dired-insert-old-subdirs):
17722 Use ignore-errors.
17723
17724 * dired-aux.el (dired-compress): Use ignore-errors.
17725 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17726 (dired-do-async-shell-command, dired-do-shell-command)
17727 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17728 (dired-insert-subdir-validate): Use string-match-p.
17729 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17730 (dired-add-entry): Use string-match-p, looking-at-p.
17731 (dired-insert-subdir-newpos): Remove unused local variable.
17732
17733 * filenotify.el (file-notify-callback): Remove unused local variable.
17734
17735 * filesets.el (filesets-error): Mark unused argument.
17736 (filesets-which-command-p, filesets-filter-dir-names)
17737 (filesets-directory-files, filesets-get-external-viewer)
17738 (filesets-ingroup-get-data): Use string-match-p.
17739
17740 * find-file.el (ff-other-file-name, ff-other-file-name)
17741 (ff-find-the-other-file, ff-cc-hh-converter):
17742 Remove unused local variables.
17743 (ff-get-file-name): Use string-match-p.
17744 (ff-all-dirs-under): Use ignore-errors.
17745
17746 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17747 (follow-select-if-visible): Remove unused local variable.
17748
17749 * forms.el (read-file-filter): Move declaration.
17750 (forms--make-format, forms--make-parser, forms-insert-record):
17751 Quote function with #'.
17752 (forms--update): Use string-match-p. Quote function with #'.
17753
17754 * help-mode.el (help-dir-local-var-def): Mark unused argument.
17755 (help-make-xrefs): Use looking-at-p.
17756 (help-xref-on-pp): Use looking-at-p, ignore-errors.
17757
17758 * ibuffer.el (ibuffer-ext-visible-p): Declare.
17759 (ibuffer-confirm-operation-on): Use string-match-p.
17760
17761 * msb.el (msb-item-handler, msb-dired-item-handler):
17762 Mark unused arguments.
17763
17764 * ses.el (ses-decode-cell-symbol)
17765 (ses-kill-override): Remove unused local variable.
17766 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17767 (ses-load): Use ignore-errors, looking-at-p.
17768 (ses-jump-safe): Use ignore-errors.
17769 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17770
17771 * tabify.el (untabify, tabify): Mark unused arguments.
17772
17773 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17774 Mark unused argument.
17775 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17776 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17777
17778 * emacs-lisp/timer.el (timer--time): Define setter with
17779 gv-define-setter to avoid deprecation warning.
17780
17781 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17782 (*record-cmpl-statistics-p*): Remove (was commented out).
17783 (cmpl-statistics-block): Remove (body was commented out).
17784 All callers changed.
17785 (add-completions-from-buffer, load-completions-from-file):
17786 Remove unused variables.
17787
17788 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17789
17790 * filecache.el (file-cache-delete-file-list):
17791 Print message only when told so.
17792 (file-cache-files-matching): Use #' in mapconcat argument.
17793
17794 * ffap.el (ffap-url-at-point): Fix reference to variable
17795 thing-at-point-default-mail-uri-scheme.
17796
17797 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
17798
17799 * subr.el (define-error): New function.
17800 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17801 error-file-not-found and define with define-error.
17802 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17803 and define with define-error.
17804 * userlock.el (file-locked, file-supersession):
17805 * simple.el (mark-inactive):
17806 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17807 * progmodes/ada-mode.el (ada-mode-errors):
17808 * play/life.el (life-extinct):
17809 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17810 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17811 * nxml/rng-util.el (rng-error):
17812 * nxml/rng-uri.el (rng-uri-error):
17813 * nxml/rng-match.el (rng-compile-error):
17814 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17815 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17816 * nxml/nxml-rap.el (nxml-scan-error):
17817 * nxml/nxml-outln.el (nxml-outline-error):
17818 * net/soap-client.el (soap-error):
17819 * net/gnutls.el (gnutls-error):
17820 * net/ange-ftp.el (ftp-error):
17821 * mpc.el (mpc-proc-error):
17822 * json.el (json-error, json-readtable-error, json-unknown-keyword)
17823 (json-number-format, json-string-escape, json-string-format)
17824 (json-key-format, json-object-format):
17825 * jka-compr.el (compression-error):
17826 * international/quail.el (quail-error):
17827 * international/kkc.el (kkc-error):
17828 * emacs-lisp/ert.el (ert-test-failed):
17829 * calc/calc.el (calc-error, inexact-result, math-overflow)
17830 (math-underflow):
17831 * bookmark.el (bookmark-error-no-filename):
17832 * epg.el (epg-error): Define with define-error.
17833
17834 * time.el (display-time-event-handler)
17835 (display-time-next-load-average): Don't call sit-for since it seems
17836 unnecessary (bug#15045).
17837
17838 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17839 Use #' instead of ' to quote functions.
17840 (checkdoc-output-mode): Use setq-local.
17841 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17842 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17843 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17844 (checkdoc-ispell, checkdoc-ispell-current-buffer)
17845 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17846 (checkdoc-ispell-message-text, checkdoc-ispell-start)
17847 (checkdoc-ispell-continue, checkdoc-ispell-comments)
17848 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17849
17850 * ido.el (ido-completion-help): Fix up compiler warning.
17851
17852 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
17853
17854 * frameset.el (frameset-p): Add autoload cookie.
17855 (frameset--jump-to-register): New function, based on code moved from
17856 register.el.
17857 (frameset-to-register): Move from register.el. Adapt to `registerv'.
17858
17859 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17860 (frameset-restore, frameset-save, frameset-session-filter-alist):
17861 Remove declarations.
17862 (register-alist): Doc fix.
17863 (frameset-to-register): Move to frameset.el.
17864 (jump-to-register, describe-register-1): Remove frameset-specific code.
17865
17866 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17867
17868 * allout-widgets.el (allout-widgets-pre-command-business)
17869 (allout-widgets-post-command-business)
17870 (allout-widgets-after-change-handler)
17871 (allout-decorate-item-and-context, allout-set-boundary-marker)
17872 (allout-body-modification-handler)
17873 (allout-graphics-modification-handler): Mark ignored arguments.
17874 (allout-widgets-post-command-business)
17875 (allout-widgets-exposure-change-processor)
17876 (allout-widgets-exposure-undo-processor)
17877 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17878 (allout-parse-item-at-point, allout-decorate-item-guides)
17879 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17880 * allout.el (epa-passphrase-callback-function): Declare.
17881 (allout-overlay-insert-in-front-handler)
17882 (allout-overlay-interior-modification-handler)
17883 (allout-isearch-end-handler, allout-chart-siblings)
17884 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17885 (allout-yank-processing, allout-process-exposed)
17886 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17887 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17888 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17889 (lisp-indent-defform): Mark ignored arguments.
17890 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
17891 (calculate-lisp-indent): Remove unused variables.
17892 * international/characters.el (indian-2-column, arabic-2-column)
17893 (tibetan): Mark ignored arguments.
17894 (use-cjk-char-width-table): Mark ignored arguments.
17895 Remove unused variables.
17896 * international/fontset.el (build-default-fontset-data)
17897 (x-compose-font-name, create-fontset-from-fontset-spec):
17898 Mark ignored arguments.
17899 (fontset-plain-name): Remove unused variables.
17900 * international/mule.el (charset-id, charset-bytes, generic-char-p)
17901 (keyboard-coding-system): Mark ignored arguments.
17902 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
17903 * help.el (resize-temp-buffer-window):
17904 * window.el (display-buffer-in-major-side-window)
17905 (display-buffer-in-side-window, display-buffer-in-previous-window):
17906 Remove unused variables.
17907 * isearch.el (isearch-forward-symbol):
17908 * version.el (emacs-bzr-version-bzr):
17909 * international/mule-cmds.el (current-language-environment):
17910 * term/common-win.el (x-handle-iconic, x-handle-geometry)
17911 (x-handle-display):
17912 * term/pc-win.el (x-list-fonts, x-display-planes)
17913 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17914 (x-server-version, x-display-screens, x-display-mm-height)
17915 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17916 (x-selection-owner-p, x-own-selection-internal)
17917 (x-disown-selection-internal, x-get-selection-internal)
17918 (msdos-initialize-window-system):
17919 * term/tty-colors.el (tty-color-alist, tty-color-clear):
17920 * term/x-win.el (x-handle-no-bitmap-icon):
17921 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17922 (vc-default-find-file-hook, vc-default-extra-menu):
17923 Mark ignored arguments.
17924
17925 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17926
17927 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17928 break-condition in the context of the debugged code (bug#12685).
17929
17930 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
17931
17932 * comint.el:
17933 Do not use an overlay to highlight the last prompt. (Bug#14744)
17934 (comint-mode): Make comint-last-prompt buffer local.
17935 (comint-last-prompt): New variable.
17936 (comint-last-prompt-overlay): Remove. Superseded by
17937 comint-last-prompt.
17938 (comint-snapshot-last-prompt, comint-output-filter):
17939 Use comint-last-prompt.
17940
17941 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17942
17943 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
17944 (frameset-save): Check validity of the resulting frameset.
17945
17946 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
17947
17948 * ido.el (ido-record-command): Add doc string.
17949
17950 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17951
17952 * frameset.el (frameset): Do not disable creation of the default
17953 frameset-p predicate. Doc fix.
17954 (frameset-valid-p): New function, copied from the old predicate-p.
17955 Add additional checks.
17956 (frameset-restore): Check with frameset-valid-p.
17957 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17958 (frameset-name, frameset-description, frameset-properties)
17959 (frameset-states): Add docstring.
17960 (frameset-session-filter-alist, frameset-persistent-filter-alist)
17961 (frameset-filter-alist): Doc fixes.
17962
17963 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17964
17965 * frameset.el (frameset-p, frameset-prop): Doc fixes.
17966
17967 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
17970 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
17971 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
17972 (byte-compile-normal-call): Remove obsolescence check.
17973
17974 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
17975
17976 * frameset.el (frameset-restore): Doc fix.
17977
17978 * register.el (frameset-frame-id, frameset-frame-with-id)
17979 (frameset-p, frameset-restore, frameset-save): Declare.
17980 (register-alist): Document framesets.
17981 (frameset-session-filter-alist): Declare.
17982 (frameset-to-register): New function.
17983 (jump-to-register): Implement jumping to framesets. Doc fix.
17984 (describe-register-1): Describe framesets.
17985
17986 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
17987
17988 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
17989
17990 * desktop.el (desktop-save-frameset): Use new frameset-save args.
17991 Use lexical-binding.
17992
17993 * frameset.el (frameset): Use type vector, not list (incompatible
17994 change). Do not declare a new constructor, use the default one.
17995 Upgrade suggested properties `app', `name' and `desc' to slots `app',
17996 `name' and `description', respectively, and add read-only slot
17997 `timestamp'. Doc fixes.
17998 (frameset-copy, frameset-persistent-filter-alist)
17999 (frameset-filter-alist, frameset-switch-to-gui-p)
18000 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
18001 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
18002 (frameset-filter-iconified, frameset-keep-original-display-p):
18003 Doc fixes.
18004 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
18005 Rename from frameset-filter-(save|restore)-param. All callers changed.
18006 Doc fix.
18007 (frameset-p): Adapt to change to vector and be more thorough.
18008 Change arg name to OBJECT. Doc fix.
18009 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
18010 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
18011 All callers changed.
18012 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
18013 All callers changed.
18014 (frameset--record-minibuffer-relationships): Rename from
18015 frameset--process-minibuffer-frames. All callers changed.
18016 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
18017 Use new default constructor (again). Doc fix.
18018 (frameset--find-frame-if): Rename from `frameset--find-frame'.
18019 All callers changed.
18020 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
18021 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
18022 Doc fix.
18023 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
18024 PARAMETERS and WINDOW-STATE, respectively.
18025 (frameset-restore): Add new keyword argument PREDICATE.
18026 Reset frameset--target-display to nil. Doc fix.
18027
18028 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18029
18030 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
18031 (bat-mode): Use it.
18032 (bat-mode-syntax-table): Mark \n as end-of-comment.
18033 (bat-font-lock-keywords): Remove comment rule.
18034
18035 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
18036 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
18037
18038 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
18039 (byte-compile-callargs-warn): Use `push'.
18040 (byte-compile-arglist-warn): Ignore higher-order "calls".
18041 (byte-compile-file-form-autoload): Use `pcase'.
18042 (byte-compile-function-form): If quoting a symbol, check that it exists.
18043
18044 2013-08-07 Eli Zaretskii <eliz@gnu.org>
18045
18046 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
18047 and add a few popular commands found in batch files.
18048 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
18049 (dos-mode): Doc fixes.
18050
18051 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
18054 (dos-mode): Use setq-local. Add space after "rem".
18055 (dos-mode-syntax-table): Don't use "w" for symbol chars.
18056 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
18057
18058 2013-08-07 Arni Magnusson <arnima@hafro.is>
18059
18060 * progmodes/dos.el: New file.
18061 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
18062 dos-mode.
18063
18064 2013-08-06 Glenn Morris <rgm@gnu.org>
18065
18066 * calendar/calendar.el: Add new faces, and day-header-array.
18067 (calendar-weekday-header, calendar-weekend-header)
18068 (calendar-month-header): New faces.
18069 (calendar-day-header-construct): New function.
18070 (calendar-day-header-width): Also :set calendar-day-header-array.
18071 (calendar-american-month-header, calendar-european-month-header)
18072 (calendar-iso-month-header): Use calendar- faces.
18073 (calendar-generate-month):
18074 Use calendar-day-header-array for day headers; apply faces to them.
18075 (calendar-mode): Check calendar-font-lock-keywords non-nil.
18076 (calendar-abbrev-construct): Add optional maxlen argument.
18077 (calendar-day-name-array): Doc fix.
18078 (calendar-day-name-array, calendar-abbrev-length)
18079 (calendar-day-abbrev-array):
18080 Also :set calendar-day-header-array, and maybe redraw.
18081 (calendar-day-header-array): New option. (Bug#15007)
18082 (calendar-font-lock-keywords): Set to nil and make obsolete.
18083 (calendar-day-name): Add option to use header array.
18084
18085 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18086
18087 * net/shr.el (shr-render-td): Remove debugging.
18088 (shr-render-td): Make width computation consistent by defaulting
18089 all zero-width columns to 10 characters. This may not be optimal,
18090 but it's at least consistent.
18091 (shr-make-table-1): Redo last change to fix the real problem in
18092 colspan handling.
18093
18094 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18095
18096 * files.el (cache-long-line-scans):
18097 Make obsolete alias to `cache-long-scans'.
18098
18099 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18100
18101 * frameset.el (frameset, frameset-filter-alist)
18102 (frameset-filter-params, frameset-save, frameset--reuse-frame)
18103 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
18104 (frameset-compute-pos): Rename from frameset--compute-pos,
18105 and add docstring.
18106 (frameset-move-onscreen): Use frameset-compute-pos.
18107 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18108
18109 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
18110 Fix typos in docstrings.
18111
18112 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18113
18114 * frame.el (get-other-frame): Tiny cleanup.
18115
18116 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18117
18118 * vc/vc.el (vc-default-ignore-completion-table):
18119 Silence byte-compiler warning.
18120
18121 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
18122 slot, which can indeed be nil.
18123 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18124 Move entry for `left' from persistent to live filter alist.
18125 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
18126 Doc fixes.
18127 (frameset-filter-params): When restoring a frame, copy items added to
18128 `filtered', to avoid unwittingly modifying the original parameters.
18129 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
18130 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
18131
18132 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
18133 to use looking-at-p instead of looking-at. (Bug#15028)
18134
18135 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18136
18137 Revert introduction of isearch-filter-predicates (bug#14714).
18138 Rely on add-function instead.
18139 * isearch.el (isearch-filter-predicates): Rename it back to
18140 isearch-filter-predicate.
18141 (isearch-message-prefix): Use advice-function-mapc and advice
18142 properties to get the isearch-message-prefix.
18143 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
18144 instead of run-hook-with-args-until-failure.
18145 (isearch-filter-visible): Not obsolete any more.
18146 * loadup.el: Preload nadvice.
18147 * replace.el (perform-replace): Revert to funcall
18148 instead of run-hook-with-args-until-failure.
18149 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
18150 * dired-aux.el (dired-isearch-filenames-mode): Rename from
18151 dired-isearch-filenames-toggle; make it into a proper minor mode.
18152 Use add/remove-function.
18153 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
18154 Call the minor-mode rather than add/remove-hook.
18155 (dired-isearch-filter-filenames):
18156 Remove isearch-message-prefix property.
18157 * info.el (Info--search-loop): New function, extracted from Info-search.
18158 Funcall isearch-filter-predicate instead of
18159 run-hook-with-args-until-failure isearch-filter-predicates.
18160 (Info-search): Use it.
18161 (Info-mode): Use isearch-filter-predicate instead of
18162 isearch-filter-predicates.
18163
18164 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18165
18166 Do not call to `selected-window' where it is assumed by default.
18167 Affected functions are `window-minibuffer-p', `window-dedicated-p',
18168 `window-hscroll', `window-width', `window-height', `window-buffer',
18169 `window-frame', `window-start', `window-point', `next-window'
18170 and `window-display-table'.
18171 * abbrev.el (abbrev--default-expand):
18172 * bs.el (bs--show-with-configuration):
18173 * buff-menu.el (Buffer-menu-mouse-select):
18174 * calc/calc.el (calc):
18175 * calendar/calendar.el (calendar-generate-window):
18176 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
18177 (diary-make-entry):
18178 * comint.el (send-invisible, comint-dynamic-complete-filename)
18179 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
18180 * completion.el (complete):
18181 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
18182 * disp-table.el (describe-current-display-table):
18183 * doc-view.el (doc-view-insert-image):
18184 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
18185 * ehelp.el (with-electric-help):
18186 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18187 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
18188 * emacs-lisp/helper.el (Helper-help-scroller):
18189 * emulation/cua-base.el (cua--post-command-handler-1):
18190 * eshell/esh-mode.el (eshell-output-filter):
18191 * ffap.el (ffap-gnus-wrapper):
18192 * help-macro.el (make-help-screen):
18193 * hilit-chg.el (highlight-compare-buffers):
18194 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
18195 * hl-line.el (global-hl-line-highlight):
18196 * icomplete.el (icomplete-simple-completing-p):
18197 * isearch.el (isearch-done):
18198 * jit-lock.el (jit-lock-stealth-fontify):
18199 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
18200 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
18201 * mpc.el (mpc-tagbrowser, mpc):
18202 * net/rcirc.el (rcirc-any-buffer):
18203 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
18204 * play/landmark.el (landmark-max-width, landmark-max-height):
18205 * play/zone.el (zone):
18206 * progmodes/compile.el (compilation-goto-locus):
18207 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18208 * progmodes/etags.el (find-tag-other-window):
18209 * progmodes/fortran.el (fortran-column-ruler):
18210 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
18211 * progmodes/verilog-mode.el (verilog-point-text):
18212 * reposition.el (reposition-window):
18213 * rot13.el (toggle-rot13-mode):
18214 * server.el (server-switch-buffer):
18215 * shell.el (shell-dynamic-complete-command)
18216 (shell-dynamic-complete-environment-variable):
18217 * simple.el (insert-buffer, set-selective-display)
18218 (delete-completion-window):
18219 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
18220 (speedbar-recenter):
18221 * startup.el (fancy-splash-head):
18222 * textmodes/ispell.el (ispell-command-loop):
18223 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18224 * tutorial.el (help-with-tutorial):
18225 * vc/add-log.el (add-change-log-entry):
18226 * vc/compare-w.el (compare-windows):
18227 * vc/ediff-help.el (ediff-indent-help-message):
18228 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18229 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18230 (ediff-setup-control-frame):
18231 * vc/emerge.el (emerge-position-region):
18232 * vc/pcvs-util.el (cvs-bury-buffer):
18233 * window.el (walk-windows, mouse-autoselect-window-select):
18234 * winner.el (winner-set-conf, winner-undo): Related users changed.
18235
18236 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18237
18238 * frameset.el (frameset--set-id): Doc fix.
18239 (frameset-frame-id, frameset-frame-id-equal-p)
18240 (frameset-locate-frame-id): New functions.
18241 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18242 (frameset-restore): Use them.
18243
18244 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18245
18246 Do not call to `selected-frame' where it is assumed by default.
18247 Affected functions are `raise-frame', `redraw-frame',
18248 `frame-first-window', `frame-terminal' and `delete-frame'.
18249 * calendar/appt.el (appt-disp-window):
18250 * epg.el (epg-wait-for-completion):
18251 * follow.el (follow-delete-other-windows-and-split)
18252 (follow-avoid-tail-recenter):
18253 * international/mule.el (set-terminal-coding-system):
18254 * mail/rmail.el (rmail-mail-return):
18255 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18256 * progmodes/f90.el (f90-add-imenu-menu):
18257 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18258 * server.el (server-switch-buffer):
18259 * simple.el (delete-completion-window):
18260 * talk.el (talk):
18261 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18262 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18263 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18264 * vc/ediff.el (ediff-documentation): Related users changed.
18265 * frame.el (selected-terminal): Remove the leftover.
18266
18267 2013-08-05 Glenn Morris <rgm@gnu.org>
18268
18269 * calendar/calendar.el (calendar-generate-month):
18270 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18271 (calendar-generate-month, calendar-font-lock-keywords):
18272 Fix for calendar-day-header-width > length of any day name.
18273
18274 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18275
18276 * desktop.el (desktop-clear): Use new name of sort predicate.
18277
18278 * frameset.el (frameset): Add docstring. Move :version property to its
18279 own `version' slot.
18280 (frameset-copy): Rename from copy-frameset.
18281 (frameset-p): Check more thoroughly.
18282 (frameset-prop): Do not check for :version, which is no longer a prop.
18283 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18284 Use new :never value instead of t.
18285 (frameset-filter-alist): Expand and clarify docstring.
18286 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18287 (frameset-filter-minibuffer, frameset-filter-save-param)
18288 (frameset-filter-restore-param, frameset-filter-iconified):
18289 Add pointer to docstring of frameset-filter-alist.
18290 (frameset-filter-params): Rename filter values to be more meaningful:
18291 :never instead of t, and reverse the meanings of :save and :restore.
18292 (frameset--process-minibuffer-frames): Clarify error message.
18293 (frameset-save): Avoid unnecessary and confusing call to framep.
18294 Use new BOA constructor for framesets.
18295 (frameset--reuse-list): Doc fix.
18296 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18297 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18298 (frameset-minibufferless-first-p): Doc fix.
18299 Rename from frameset-sort-frames-for-deletion.
18300 (frameset-restore): Doc fixes. Use new function names.
18301 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18302
18303 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18304
18305 * desktop.el (desktop-restore-forces-onscreen)
18306 (desktop-restore-reuses-frames): Document :keyword constant values.
18307 (desktop-filter-parameters-alist): Remove, now identical to
18308 frameset-filter-alist.
18309 (desktop--filter-tty*): Remove, moved to frameset.el.
18310 (desktop-save-frameset, desktop-restore-frameset):
18311 Do not pass :filters argument.
18312
18313 * frameset.el (frameset-live-filter-alist)
18314 (frameset-persistent-filter-alist): New variables.
18315 (frameset-filter-alist): Use them. Add autoload cookie.
18316 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18317 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18318 `frameset--id' (it's supposed to be internal to frameset.el).
18319 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18320 (frameset--initial-params): New function.
18321 (frameset--get-frame): Use it. Doc fix.
18322 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18323 Accept :all, not 'all.
18324 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18325 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18326 with fbound symbols. Fix frame id matching, and remove matching ids if
18327 the frame being restored is deleted. Obey :delete.
18328
18329 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18330
18331 * subr.el (macrop): New function.
18332 (text-clone--maintaining): New var.
18333 (text-clone--maintain): Rename from text-clone-maintain. Use it
18334 instead of inhibit-modification-hooks.
18335
18336 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18337 a proxy, so as handle autoloads and redefinitions of the target.
18338 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18339
18340 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18341 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18342 (pcase--mutually-exclusive-p): New function.
18343 (pcase--split-consp): Use it.
18344 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18345 mutually exclusive with the current predicate.
18346
18347 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18348 (edebug-macrop): Remove. Use `macrop' instead.
18349 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18350 (ad-macro-p):
18351 * eshell/esh-cmd.el (eshell-macrop):
18352 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18353
18354 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18355
18356 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18357 (advice-mapc): New function, using it.
18358 (advice-function-member-p): New function.
18359 (advice--normalize): Store the cdr in advice--saved-rewrite since
18360 that's the part that will be changed.
18361 (advice--symbol-function): New function.
18362 (advice-remove): Handle removal before the function is defined.
18363 Adjust to new advice--saved-rewrite.
18364 (advice-member-p): Use advice-function-member-p and
18365 advice--symbol-function.
18366
18367 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18368
18369 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18370 (frameset-filter-minibuffer): Doc fix.
18371 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18372 (frameset--set-id, frameset--process-minibuffer-frames)
18373 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18374 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18375
18376 * desktop.el (desktop-clear): Only delete frames when called
18377 interactively and desktop-restore-frames is non-nil. Doc fix.
18378 (desktop-read): Set desktop-saved-frameset to nil.
18379
18380 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18381
18382 * vc/vc.el (vc-ignore): Rewrite.
18383 (vc-default-ignore-completion-table, vc--read-lines)
18384 (vc--add-line, vc--remove-regexp): New functions.
18385
18386 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18387 (vc-svn-ignore-completion-table): New function.
18388
18389 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18390 (vc-hg-ignore-completion-table)
18391 (vc-hg-find-ignore-file): New functions.
18392
18393 * vc/vc-git.el (vc-git-ignore): Rewrite.
18394 (vc-git-ignore-completion-table)
18395 (vc-git-find-ignore-file): New functions.
18396
18397 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18398
18399 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18400 (vc-bzr-ignore-completion-table)
18401 (vc-bzr-find-ignore-file): New functions.
18402
18403 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18404
18405 * frameset.el (frameset-prop): New function and setter.
18406 (frameset-save): Do not modify frame list passed by the caller.
18407
18408 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18411
18412 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18413
18414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18415 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18416
18417 * custom.el (custom-initialize-default, custom-initialize-set)
18418 (custom-initialize-reset, custom-initialize-changed): Affect the
18419 toplevel-default-value (bug#6275, bug#14586).
18420 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18421 for bug#6275.
18422
18423 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18424
18425 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18426 Add cl-def* expressions.
18427
18428 * frameset.el (frameset-filter-params): Fix order of arguments.
18429
18430 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18431
18432 Move code related to saving frames to frameset.el.
18433 * desktop.el: Require frameset.
18434 (desktop-restore-frames): Doc fix.
18435 (desktop-restore-reuses-frames): Rename from
18436 desktop-restoring-reuses-frames.
18437 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18438 (desktop-clear): Clear frames too.
18439 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18440 (desktop--filter-tty*, desktop-save, desktop-read):
18441 Use frameset functions.
18442 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18443 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18444 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18445 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18446 (desktop--process-minibuffer-frames, desktop-save-frames)
18447 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18448 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18449 (desktop--sort-states, desktop-restoring-frames-p)
18450 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18451 (desktop-restoring-frameset-p, desktop-restore-frameset)
18452 (desktop--check-dont-save, desktop-save-frameset): New functions.
18453 (desktop--app-id): New constant.
18454 (desktop-first-buffer, desktop-buffer-ok-count)
18455 (desktop-buffer-fail-count): Move before first use.
18456 * frameset.el: New file.
18457
18458 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 * files.el: Use lexical-binding.
18461 (dir-locals-read-from-file): Remove unused `err' variable.
18462 (hack-dir-local-variables--warned-coding): New var.
18463 (hack-dir-local-variables): Use it to avoid repeated warnings.
18464 (make-backup-file-name--default-function): New function.
18465 (make-backup-file-name-function): Use it as default.
18466 (buffer-stale--default-function): New function.
18467 (buffer-stale-function): Use it as default.
18468 (revert-buffer-insert-file-contents--default-function): New function.
18469 (revert-buffer-insert-file-contents-function): Use it as default.
18470 (insert-directory): Avoid add-to-list.
18471
18472 * autorevert.el (auto-revert-handler): Simplify.
18473 Use buffer-stale--default-function.
18474
18475 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18476
18477 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18478
18479 * whitespace.el (whitespace-ensure-local-variables): New function.
18480 (whitespace-cleanup-region): Call it.
18481 (whitespace-turn-on): Call it.
18482
18483 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18484
18485 Complete file name handlers.
18486
18487 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18488 (tramp-handle-verify-visited-file-modtime)
18489 (tramp-handle-file-notify-rm-watch): New functions.
18490 (tramp-call-process): Do not bind `default-directory'.
18491
18492 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18493 Order alphabetically.
18494 <access-file, add-name-to-file, dired-call-process>:
18495 <dired-compress-file, file-acl, file-notify-rm-watch>:
18496 <file-ownership-preserved-p, file-selinux-context>:
18497 <make-directory-internal, make-symbolic-link, set-file-acl>:
18498 <set-file-selinux-context, set-visited-file-modtime>:
18499 <verify-visited-file-modtime>: Add handler.
18500 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18501
18502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18503 <file-notify-add-watch, file-notify-rm-watch>:
18504 <set-file-times, set-visited-file-modtime>:
18505 <verify-visited-file-modtime>: Add handler.
18506 (with-tramp-gvfs-error-message)
18507 (tramp-gvfs-handle-set-visited-file-modtime)
18508 (tramp-gvfs-fuse-file-name): Remove.
18509 (tramp-gvfs-handle-file-notify-add-watch)
18510 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18511 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18512
18513 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18514 Order alphabetically.
18515 <file-notify-rm-watch>: Use default Tramp handler.
18516 <executable-find>: Remove private handler.
18517 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18518 `default-directory'.
18519 (tramp-sh-handle-executable-find)
18520 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18521 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18522 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18523 Do not use `format' in `tramp-message'.
18524
18525 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18526 <file-notify-rm-watch, set-visited-file-modtime>:
18527 <verify-visited-file-modtime>: Add handler.
18528 (tramp-smb-call-winexe): Do not bind `default-directory'.
18529
18530 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
18531
18532 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18533
18534 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
18535
18536 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18537 use it.
18538 (log-view-diff-changeset): Same.
18539 (log-view-diff-common): Call backend command `previous-revision'
18540 to find out the previous revision, in both cases. Swap the
18541 variables `to' and `fr', so that `fr' usually refers to the
18542 earlier revision (Bug#14989).
18543
18544 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
18545
18546 * ibuf-ext.el (ibuffer-filter-by-filename):
18547 Make it work with dired buffers too.
18548
18549 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
18550
18551 * emacs-lisp/re-builder.el (reb-color-display-p):
18552 * files.el (save-buffers-kill-terminal):
18553 * net/browse-url.el (browse-url):
18554 * server.el (server-save-buffers-kill-terminal):
18555 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18556 Prefer nil to selected-frame for the first arg of frame-parameter.
18557
18558 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
18559
18560 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18561
18562 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
18563
18564 * minibuffer.el (completion--twq-all): Try and preserve each
18565 completion's case choice (bug#14907).
18566
18567 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18568
18569 * net/network-stream.el (open-network-stream): Mention the new
18570 :nogreeting parameter.
18571 (network-stream-open-starttls): Use the :nogreeting parameter
18572 (bug#14938).
18573
18574 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
18575
18576 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
18577 more natural than popping.
18578
18579 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
18580 (shr-urlify): Highlight under mouse.
18581
18582 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18583
18584 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
18585
18586 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
18587
18588 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
18589 buffer for output.
18590
18591 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
18592 point-min==1. Fix search string. Fix parentheses missing.
18593
18594 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
18595 assume point-min==1. Fix search string. Fix parentheses missing.
18596
18597 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
18598
18599 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
18600 buffer for output.
18601
18602 2013-07-29 Eli Zaretskii <eliz@gnu.org>
18603
18604 * frame.el (frame-notice-user-settings): Avoid inflooping when the
18605 initial frame is minibuffer-less. (Bug#14841)
18606
18607 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
18608
18609 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
18610 option.
18611
18612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18613 (tramp-maybe-open-connection): Use it.
18614
18615 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18616
18617 * desktop.el (desktop--make-frame): Include `minibuffer' in the
18618 minimal set of parameters passed when creating a frame, because
18619 the minibuffer status of a frame cannot be changed later.
18620
18621 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
18622
18623 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
18624 replace-regexp-in-string and inadvertent omissions in previous change.
18625 (todo-filter-items): Ensure only file names are comma-separated in
18626 name of filtered items buffer.
18627
18628 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
18629
18630 * desktop.el: Optionally force offscreen frames back onscreen.
18631 (desktop-restoring-reuses-frames): New option.
18632 (desktop--compute-pos, desktop--move-onscreen): New functions.
18633 (desktop--make-frame): Use desktop--move-onscreen.
18634
18635 2013-07-27 Alan Mackenzie <acm@muc.de>
18636
18637 Fontify a Java generic method as a function.
18638 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18639 value to t.
18640
18641 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
18642
18643 * calendar/todo-mode.el: Add command to rename todo files.
18644 (todo-rename-file): New command.
18645 (todo-key-bindings-t): Add key binding for it. Change the
18646 bindings of todo-filter-regexp-items(-multifile) to use `x'
18647 instead of `r', since the latter is better suited to the new
18648 renaming command.
18649
18650 2013-07-27 Alan Mackenzie <acm@muc.de>
18651
18652 Make Java try-with-resources statement parse properly.
18653 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18654 (c-block-stmt-1-2-key): New language constants/variables.
18655 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18656 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18657 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18658 with c-block-stmt-1-2-key.
18659
18660 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
18661
18662 * desktop.el (desktop--make-frame): Apply most frame parameters after
18663 creating the frame to force (partially or totally) offscreen frames to
18664 be restored as such.
18665
18666 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
18667
18668 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18669 (Bug#14948)
18670
18671 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18672
18673 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18674 `base' arg of backtrace-frame.
18675
18676 2013-07-26 Eli Zaretskii <eliz@gnu.org>
18677
18678 * simple.el (list-processes): Doc fix.
18679
18680 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18681
18682 * desktop.el (desktop--select-frame):
18683 Try harder to reuse existing frames.
18684
18685 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18686
18687 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18688 (edebug-eval): Use backtrace-eval.
18689 (edebug--display, edebug--recursive-edit): Don't let-bind the
18690 edebug-outer-* vars that keep track of variables we locally let-bind.
18691 (edebug-outside-excursion): Don't restore outside values of locally
18692 let-bound vars.
18693 (edebug--display): Use user-error.
18694 (cl-lexical-debug, cl-debug-env): Remove.
18695
18696 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
18697
18698 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18699 are restored to be sure that they are visible before deleting any
18700 remaining ones.
18701
18702 2013-07-26 Matthias Meulien <orontee@gmail.com>
18703
18704 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18705 vc-print-root-log. (Bug#14948)
18706
18707 2013-07-26 Richard Stallman <rms@gnu.org>
18708
18709 Add aliases for encrypting mail.
18710 * epa.el (epa-mail-aliases): New option.
18711 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18712 Bind inhibit-read-only so read-only text doesn't ruin everything.
18713 (epa-mail-default-recipients): New subroutine broken out.
18714 Handle epa-mail-aliases.
18715
18716 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 Add support for lexical variables to the debugger's `e' command.
18719 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18720 vars, except for debugger-outer-match-data.
18721 (debugger-frame-number): Move check for "on a function call" from
18722 callers into it. Add `skip-base' argument.
18723 (debugger-frame, debugger-frame-clear): Simplify accordingly.
18724 (debugger-env-macro): Only reset the state stored in non-variables,
18725 i.e. current-buffer and match-data.
18726 (debugger-eval-expression): Rewrite using backtrace-eval.
18727 * subr.el (internal--called-interactively-p--get-frame): Remove.
18728 (called-interactively-p):
18729 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18730 `base' arg of backtrace-frame instead.
18731
18732 2013-07-26 Glenn Morris <rgm@gnu.org>
18733
18734 * align.el (align-regexp): Doc fix. (Bug#14857)
18735 (align-region): Explicit error if subexpression missing/does not match.
18736
18737 * simple.el (global-visual-line-mode):
18738 Do not duplicate the mode lighter. (Bug#14858)
18739
18740 2013-07-25 Martin Rudalics <rudalics@gmx.at>
18741
18742 * window.el (display-buffer): In display-buffer bind
18743 split-window-keep-point to t, bug#14829.
18744
18745 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18746
18747 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18748 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18749 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18750 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18751 Change accordingly.
18752 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18753 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18754
18755 2013-07-25 Glenn Morris <rgm@gnu.org>
18756
18757 * dired-x.el (dired-mark-extension): Convert comment to doc string.
18758
18759 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
18760
18761 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18762 parameter to modify-frame-parameters if the value has not changed;
18763 this is a workaround for bug#14949.
18764 (desktop--make-frame): On cl-delete-if call, check parameter name,
18765 not full parameter.
18766
18767 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
18768
18769 * vc/vc.el (vc-ignore): New function.
18770
18771 * vc/vc-svn.el (vc-svn-ignore): New function.
18772
18773 * vc/vc-hg.el (vc-hg-ignore): New function.
18774
18775 * vc/vc-git.el (vc-git-ignore): New function.
18776
18777 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18778 (vc-dir-ignore): New function.
18779
18780 * vc/vc-cvs.el (vc-cvs-ignore): New function.
18781 (cvs-append-to-ignore): Move here from pcvs.el.
18782
18783 * vc/vc-bzr.el (vc-bzr-ignore): New function.
18784
18785 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18786
18787 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
18788
18789 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18790 (desktop-restore-frames): Warn when deleting an existing frame failed.
18791
18792 2013-07-24 Glenn Morris <rgm@gnu.org>
18793
18794 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
18795
18796 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
18797
18798 * filenotify.el (file-notify-supported-p):
18799 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18800 Remove functions.
18801
18802 * autorevert.el (auto-revert-use-notify)
18803 (auto-revert-notify-add-watch):
18804 * net/tramp.el (tramp-file-name-for-operation):
18805 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18806 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18807 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18809 Remove `file-notify-supported-p' entry.
18810
18811 2013-07-24 Glenn Morris <rgm@gnu.org>
18812
18813 * printing.el: Replace all uses of deleted ps-windows-system,
18814 ps-lp-system, ps-flatten-list with lpr- versions.
18815
18816 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18819 checked with memq (bug#14935).
18820
18821 * files.el (revert-buffer-function): Use a non-nil default.
18822 (revert-buffer-preserve-modes): Declare var to
18823 provide access to the `preserve-modes' argument.
18824 (revert-buffer): Let-bind it.
18825 (revert-buffer--default): New function, extracted from revert-buffer.
18826
18827 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
18828
18829 * lpr.el: Signal print errors more prominently.
18830 (print-region-function): Don't default to nil.
18831 (lpr-print-region): New function, extracted from print-region-1.
18832 Check lpr's return value and signal an error in case of problem.
18833 (print-region-1): Use it.
18834 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
18835 versions instead.
18836 (ps-printer-name): Default to nil.
18837 (ps-printer-name-option): Default to lpr-printer-switch.
18838 (ps-print-region-function): Don't default to nil.
18839 (ps-postscript-code-directory): Simplify default.
18840 (ps-do-despool): Use lpr-print-region to properly check the outcome.
18841 (ps-string-list, ps-eval-switch, ps-flatten-list)
18842 (ps-flatten-list-1): Remove.
18843 (ps-multibyte-buffer): Avoid setq.
18844 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18845 (print-region-function, ps-print-region-function): Don't set them here.
18846
18847 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
18848
18849 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18850 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18851 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18852 (ido-decorations): Doc fix.
18853
18854 * ansi-color.el: Fix old URL.
18855
18856 2013-07-23 Michael R. Mauger <michael@mauger.com>
18857
18858 * progmodes/sql.el: Version 3.3
18859 (sql-product-alist): Improve oracle :prompt-cont-regexp.
18860 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18861 (sql-interactive-remove-continuation-prompt): Rewrite, use
18862 functions above. Fix continuation prompt and complete output line
18863 handling.
18864 (sql-redirect-one, sql-execute): Use `read-only-mode' on
18865 redirected output buffer.
18866 (sql-mode): Restore deleted code (Bug#13591).
18867
18868 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18869
18870 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18871
18872 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
18873
18874 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18875
18876 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18877 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18878 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18879
18880 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
18881
18882 * desktop.el (desktop-clear): Simplify; remove useless checks
18883 against invalid buffer names.
18884 (desktop-list*): Use cl-list*.
18885 (desktop-buffer-info, desktop-create-buffer): Simplify.
18886
18887 2013-07-23 Leo Liu <sdl.web@gmail.com>
18888
18889 * bookmark.el (bookmark-make-record): Restore NAME as a default
18890 value. (Bug#14933)
18891
18892 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
18893
18894 * emacs-lisp/autoload.el (autoload--setup-output): New function,
18895 extracted from autoload--insert-text.
18896 (autoload--insert-text): Remove.
18897 (autoload--print-cookie-text): New function, extracted from
18898 autoload--insert-cookie-text.
18899 (autoload--insert-cookie-text): Remove.
18900 (autoload-generate-file-autoloads): Adjust calls accordingly.
18901
18902 * winner.el (winner-hook-installed-p): Remove.
18903 (winner-mode): Simplify accordingly.
18904
18905 * subr.el (add-to-list): Fix compiler-macro when `append' is
18906 not constant. Don't use `cl-member' for the base case.
18907
18908 * progmodes/subword.el: Fix boundary case (bug#13758).
18909 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
18910 own group.
18911 (subword-backward-regexp): Make it a constant.
18912 (subword-forward-internal): Don't treat a trailing capital as the
18913 beginning of a word.
18914
18915 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
18916
18917 * emacs-lisp/package.el (package-menu-mode): Don't modify the
18918 global value of tabulated-list-revert-hook (bug#14930).
18919
18920 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
18921
18922 * desktop.el: Require 'cl-lib.
18923 (desktop-before-saving-frames-functions): New hook.
18924 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18925 for frames being saved. Rename from desktop--save-minibuffer-frames.
18926 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18927 Do not save frames with non-nil `desktop-dont-save' parameter.
18928 Filter out deleted frames.
18929 (desktop--find-frame): Use cl-find-if.
18930 (desktop--select-frame): Use cl-(first|second|third) to access values
18931 of desktop-mini.
18932 (desktop--make-frame): Use cl-delete-if.
18933 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18934 (desktop-restore-frames): Use cl-(first|second|third) to access values
18935 of desktop-mini. Look for visible frame at the end, not while
18936 restoring frames.
18937
18938 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18939 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18940 Use string-match-p, looking-at-p (bug#14927).
18941
18942 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
18943
18944 * desktop.el (desktop-saved-frame-states):
18945 Rename from desktop--saved-states; all users changed.
18946 (desktop-save-frames): Rename from desktop--save-frames.
18947 Do not save state to desktop file.
18948 (desktop-save): Save desktop-saved-frame-states to desktop file
18949 and reset to nil.
18950 (desktop-restoring-frames-p): New function.
18951 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
18952 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
18953 buffer-lists when restoring frames. Suggested by Martin Rudalics.
18954
18955 * desktop.el: Correctly restore iconified frames.
18956 (desktop--filter-iconified-position): New function.
18957 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18958
18959 2013-07-20 Glenn Morris <rgm@gnu.org>
18960
18961 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18962 Let `message' do the formatting.
18963 (def-gdb-preempt-display-buffer): Add explicit format.
18964
18965 * image-dired.el (image-dired-track-original-file):
18966 Use with-current-buffer.
18967 (image-dired-track-thumbnail): Use with-current-buffer.
18968 Avoid changing point of wrong window.
18969
18970 * image-dired.el (image-dired-track-original-file):
18971 Avoid changing point of wrong window. (Bug#14909)
18972
18973 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
18974
18975 * progmodes/gdb-mi.el (gdb-done-or-error):
18976 Guard against "%" in gdb output. (Bug#14127)
18977
18978 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
18979
18980 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
18981 (Bug#14826)
18982
18983 * international/mule.el (coding-system-iso-2022-flags): Fix last
18984 change.
18985
18986 2013-07-20 Kenichi Handa <handa@gnu.org>
18987
18988 * international/mule.el (coding-system-iso-2022-flags):
18989 Add `8-bit-level-4'. (Bug#8522)
18990
18991 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18992
18993 * net/shr.el (shr-mouse-browse-url): New command and keystroke
18994 (bug#14815).
18995
18996 * net/eww.el (eww-process-text-input): Allow inputting when the
18997 point is at the start of the line, as the properties aren't
18998 front-sticky.
18999
19000 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
19001 degenerate widths.
19002
19003 2013-07-19 Richard Stallman <rms@gnu.org>
19004
19005 * epa.el (epa-popup-info-window): Doc fix.
19006
19007 * subr.el (split-string): New arg TRIM.
19008
19009 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
19010
19011 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
19012 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
19013
19014 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
19015
19016 * filenotify.el (file-notify--library): Rename from
19017 `file-notify-support'. Do not autoload. Adapt all uses.
19018 (file-notify-supported-p): New defun.
19019
19020 * autorevert.el (auto-revert-use-notify):
19021 Use `file-notify-supported-p' instead of `file-notify-support'.
19022 Adapt docstring.
19023 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
19024
19025 * net/tramp.el (tramp-file-name-for-operation):
19026 Add `file-notify-supported-p'.
19027
19028 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19029 New defun.
19030 (tramp-sh-file-name-handler-alist): Add it as handler for
19031 `file-notify-supported-p '.
19032
19033 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19034 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19035 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19036 Add `ignore' as handler for `file-notify-*' functions.
19037
19038 2013-07-17 Eli Zaretskii <eliz@gnu.org>
19039
19040 * simple.el (line-move-partial, line-move): Don't start vscroll or
19041 scroll-up if the current line is not taller than the window.
19042 (Bug#14881)
19043
19044 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
19045
19046 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
19047 highlight question marks in the method names as strings.
19048 (ruby-block-beg-keywords): Inline.
19049 (ruby-font-lock-keyword-beg-re): Extract from
19050 `ruby-font-lock-keywords'.
19051
19052 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
19053
19054 * frame.el (blink-cursor-blinks): New defcustom.
19055 (blink-cursor-blinks-done): New defvar.
19056 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
19057 (blink-cursor-timer-function): Check if number of blinks has been
19058 done on X and NS.
19059 (blink-cursor-suspend, blink-cursor-check): New defuns.
19060
19061 2013-07-15 Glenn Morris <rgm@gnu.org>
19062
19063 * edmacro.el (edmacro-format-keys): Fix previous change.
19064
19065 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
19066
19067 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
19068 The hack didn't work outside English locales anyway.
19069
19070 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
19071
19072 * simple.el (define-alternatives): Rename from alternatives-define,
19073 per RMS' suggestion.
19074
19075 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
19076
19077 * desktop.el (desktop-restore-frames): Change default to t.
19078 (desktop-restore-in-current-display): Now offer more options.
19079 (desktop-restoring-reuses-frames): New customization option.
19080 (desktop--saved-states): Doc fix.
19081 (desktop-filter-parameters-alist): New variable, renamed and expanded
19082 from desktop--excluded-frame-parameters.
19083 (desktop--target-display): New variable.
19084 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
19085 (desktop--filter-tty*, desktop--filter-*-color)
19086 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19087 (desktop--filter-save-desktop-parm)
19088 (desktop-restore-in-original-display-p): New functions.
19089 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
19090 (desktop--save-minibuffer-frames): New function, inspired by a similar
19091 function from Martin Rudalics.
19092 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
19093 (desktop--restore-in-this-display-p): Remove.
19094 (desktop--find-frame): Rename from desktop--find-frame-in-display
19095 and add predicate argument.
19096 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
19097 (desktop--reuse-list): New variable.
19098 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
19099 New functions.
19100 (desktop--restore-frames): Add support for "minibuffer-special" frames.
19101
19102 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
19103
19104 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
19105
19106 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
19107
19108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19109 Highlight conversion methods on Kernel.
19110
19111 2013-07-13 Alan Mackenzie <acm@muc.de>
19112
19113 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
19114 and comment it out. This out-commenting enables certain C++
19115 declarations to be parsed correctly.
19116
19117 2013-07-13 Eli Zaretskii <eliz@gnu.org>
19118
19119 * international/mule.el (define-coding-system): Doc fix.
19120
19121 * simple.el (default-font-height): Don't call font-info if the
19122 frame's default font didn't change since the frame was created.
19123 (Bug#14838)
19124
19125 2013-07-13 Leo Liu <sdl.web@gmail.com>
19126
19127 * ido.el (ido-read-file-name): Guard against non-symbol value.
19128
19129 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19130
19131 * progmodes/python.el (python-imenu--build-tree): Fix corner case
19132 in nested defuns.
19133
19134 2013-07-13 Leo Liu <sdl.web@gmail.com>
19135
19136 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
19137 ido-set-matches call. (Bug#6852)
19138
19139 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
19140
19141 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
19142 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
19143 Ruby 2.0.
19144 (ruby-font-lock-keywords): Distinguish calls to functions with
19145 module-like names from module references. Highlight character
19146 literals.
19147
19148 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
19149
19150 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
19151 (gdb-send): Handle continued commands. (Bug#14847)
19152
19153 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19154
19155 * desktop.el (desktop--v2s): Remove unused local variable.
19156 (desktop-save-buffer): Make defvar-local; adjust docstring.
19157 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
19158 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
19159
19160 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
19161
19162 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
19163
19164 2013-07-12 Eli Zaretskii <eliz@gnu.org>
19165
19166 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
19167 (Bug#14842)
19168
19169 2013-07-12 Glenn Morris <rgm@gnu.org>
19170
19171 * doc-view.el: Require cl-lib at runtime too.
19172 (doc-view-remove-if): Remove.
19173 (doc-view-search-next-match, doc-view-search-previous-match):
19174 Use cl-remove-if.
19175
19176 * edmacro.el: Require cl-lib at runtime too.
19177 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
19178 (edmacro-mismatch, edmacro-subseq): Remove.
19179
19180 * shadowfile.el: Require cl-lib.
19181 (shadow-remove-if): Remove.
19182 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
19183 Use cl-remove-if.
19184
19185 * wid-edit.el: Require cl-lib.
19186 (widget-choose): Use cl-remove-if.
19187 (widget-remove-if): Remove.
19188
19189 * progmodes/ebrowse.el: Require cl-lib at runtime too.
19190 (ebrowse-delete-if-not): Remove.
19191 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
19192 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
19193 Use cl-delete-if-not.
19194
19195 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19196
19197 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
19198 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
19199
19200 2013-07-12 Leo Liu <sdl.web@gmail.com>
19201
19202 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
19203
19204 2013-07-11 Glenn Morris <rgm@gnu.org>
19205
19206 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
19207 (edebug-gensym-index, edebug-gensym):
19208 Remove reimplementation of cl-gensym.
19209 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
19210
19211 * thumbs.el: Require cl-lib at run-time too.
19212 (thumbs-gensym-counter, thumbs-gensym):
19213 Remove reimplementation of cl-gensym.
19214 (thumbs-temp-file): Use cl-gensym.
19215
19216 * emacs-lisp/ert.el: Require cl-lib at runtime too.
19217 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
19218 (ert--intersection, ert--set-difference, ert--set-difference-eq)
19219 (ert--union, ert--gensym-counter, ert--gensym-counter)
19220 (ert--coerce-to-vector, ert--remove*, ert--string-position)
19221 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19222 (ert-make-test-unbound, ert--expand-should-1)
19223 (ert--expand-should, ert--should-error-handle-error)
19224 (should-error, ert--explain-equal-rec)
19225 (ert--plist-difference-explanation, ert-select-tests)
19226 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19227 Use cl-lib functions rather than reimplementations.
19228
19229 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19230
19231 * net/tramp.el (tramp-methods): Extend docstring.
19232 (tramp-connection-timeout): New defcustom.
19233 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19234 (with-tramp-progress-reporter): Simplify.
19235 (tramp-process-actions): Improve messages.
19236
19237 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19238 * net/tramp-sh.el (tramp-maybe-open-connection):
19239 Use `tramp-connection-timeout'.
19240 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19241 (Bug#14808)
19242
19243 2013-07-11 Leo Liu <sdl.web@gmail.com>
19244
19245 * ido.el (ido-read-file-name): Conform to the requirements of
19246 read-file-name. (Bug#11861)
19247 (ido-read-directory-name): Conform to the requirements of
19248 read-directory-name.
19249
19250 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19251
19252 * subr.el (delay-warning): New function.
19253
19254 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19255
19256 * simple.el (default-line-height): New function.
19257 (line-move-partial, line-move): Use it instead of computing the
19258 line height inline.
19259 (line-move-partial): Always compute ROWH. If the last line is
19260 partially-visible, but its text is completely visible, allow
19261 cursor to enter such a partially-visible line.
19262
19263 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19264
19265 Improve error messages. (Bug#14808)
19266
19267 * net/tramp.el (tramp-current-connection): New defvar, moved from
19268 tramp-sh.el.
19269 (tramp-message-show-progress-reporter-message): Remove, not
19270 needed anymore.
19271 (tramp-error-with-buffer): Show message in minibuffer.
19272 Discard input before waiting. Reset connection timestamp.
19273 (with-tramp-progress-reporter): Improve messages.
19274 (tramp-process-actions): Use progress reporter. Delete process in
19275 case of error. Improve messages.
19276
19277 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19278 Call `tramp-error-with-buffer' with vector and buffer.
19279 (tramp-current-connection): Remove.
19280 (tramp-maybe-open-connection): The car of
19281 `tramp-current-connection' are the first 3 slots of the vector.
19282
19283 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19284
19285 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19286 inside continued strings.
19287
19288 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19289
19290 Timestamp fixes for undo (Bug#14824).
19291 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19292
19293 2013-07-10 Leo Liu <sdl.web@gmail.com>
19294
19295 * files.el (require-final-newline): Allow safe local value.
19296 (Bug#14834)
19297
19298 2013-07-09 Leo Liu <sdl.web@gmail.com>
19299
19300 * ido.el (ido-read-directory-name): Handle fallback.
19301 (ido-read-file-name): Update DIR to ido-current-directory.
19302 (Bug#1516)
19303 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19304
19305 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19306
19307 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19308 "autoload". Remove "warn lower camel case" section, previously
19309 commented out. Highlight negation char. Do not highlight the
19310 target in singleton method definitions.
19311
19312 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19313
19314 * faces.el (tty-setup-hook): Declare the hook.
19315
19316 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19317 and detect when a guard/pred depends on local vars (bug#14773).
19318 (pcase--u1): Adjust caller.
19319
19320 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19321
19322 * simple.el (line-move-partial, line-move): Account for
19323 line-spacing.
19324 (line-move-partial): Avoid setting vscroll when the last
19325 partially-visible line in window is of default height.
19326
19327 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19328
19329 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19330 been used a while.
19331
19332 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19333
19334 * subr.el (read-quoted-char): Remove unused local variable `char'.
19335
19336 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19337
19338 * vc/ediff.el (ediff-version): Version update.
19339 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19340 (ediff-merge-with-ancestor-command, ediff-directories-command)
19341 (ediff-directories3-command, ediff-merge-directories-command)
19342 (ediff-merge-directories-with-ancestor-command): New functions.
19343 All are command-line interfaces to ediff: to facilitate calling
19344 Emacs with the appropriate ediff functions invoked.
19345
19346 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19347 New function.
19348 (viper-save-kill-buffer): Check if buffer is modified.
19349
19350 * emulation/viper.el (viper-version): Version update.
19351 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19352
19353 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19354
19355 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19356 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19357 (viper-intercept-ESC-key): Simplify.
19358 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19359 don't use kbd.
19360 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19361 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19362 (viper-setup-ESC-to-escape): New functions.
19363 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19364 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19365
19366 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19367
19368 * simple.el (default-font-height, window-screen-lines):
19369 New functions.
19370 (line-move, line-move-partial): Use them instead of
19371 frame-char-height and window-text-height. This makes scrolling
19372 text smoother when the buffer's default face uses a font that is
19373 different from the frame's default font.
19374
19375 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19376
19377 * files.el (write-file): Do not display confirm dialog for NS,
19378 it does its own dialog, which can't be canceled (Bug#14578).
19379
19380 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19381
19382 * simple.el (line-move-partial): Adjust the row returned by
19383 posn-at-point for the current window-vscroll. (Bug#14567)
19384
19385 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19386
19387 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19388 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19389 spaces.
19390
19391 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19392
19393 * window.el (window-state-put-stale-windows): New variable.
19394 (window--state-put-2): Save list of windows without matching buffer.
19395 (window-state-put): Remove "bufferless" windows if possible.
19396
19397 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19398
19399 * simple.el (alternatives-define): Remove leftover :group keyword.
19400 Tweak docstring.
19401
19402 2013-07-06 Leo Liu <sdl.web@gmail.com>
19403
19404 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19405 (ido-enable-virtual-buffers): New variable.
19406 (ido-buffer-internal, ido-toggle-virtual-buffers)
19407 (ido-make-buffer-list): Use it.
19408 (ido-exhibit): Support turning on and off virtual buffers
19409 automatically.
19410
19411 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19412
19413 * simple.el (alternatives-define): New macro.
19414
19415 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19416
19417 * subr.el (read-quoted-char): Use read-key.
19418 (sit-for): Let read-event decode tty input (bug#14782).
19419
19420 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19421
19422 * calendar/todo-mode.el: Add handling of file deletion, both by
19423 mode command and externally. Fix various related bugs.
19424 Clarify Commentary and improve some documentation strings and code.
19425 (todo-delete-file): New command.
19426 (todo-check-file): New function.
19427 (todo-show): Handle external deletion of the file we're trying to
19428 show (bug#14688). Replace called-interactively-p by an optional
19429 prefix argument to avoid problematic interaction with catch form
19430 when byte compiled (bug#14702).
19431 (todo-quit): Handle external deletion of the archive's todo file.
19432 Make sure the buffer that was visiting the archive file is still
19433 live before trying to bury it.
19434 (todo-category-completions): Handle external deletion of any
19435 category completion files.
19436 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19437 of todo files, in case of external deletion.
19438 (todo-add-file): Replace unnecessary setq by let-binding.
19439 (todo-find-archive): Check whether there are any archives.
19440 Replace unnecessary setq by let-binding.
19441 (todo-archive-done-item): Use find-file-noselect to get the
19442 archive buffer whether or not the archive already exists.
19443 Remove superfluous code. Use file size instead of buffer-file-name to
19444 check if the archive is new; if it is, update list of archives.
19445 (todo-default-todo-file): Allow nil to be a valid value for when
19446 there are no todo files.
19447 (todo-reevaluate-default-file-defcustom): Use corrected definition
19448 of todo-default-todo-file.
19449 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19450 (todo-delete-category, todo-show-categories-table)
19451 (todo-category-number): Clarify comment.
19452 (todo-filter-items): Clarify documentation string.
19453 (todo-show-current-file, todo-display-as-todo-file)
19454 (todo-reset-and-enable-done-separator): Tweak documentation string.
19455 (todo-done-separator): Make separator length window-width, since
19456 bug#2749 is now fixed.
19457
19458 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19459
19460 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19461 Support both "gvfs-monitor-dir" and "inotifywait".
19462 (tramp-sh-file-inotifywait-process-filter): Rename from
19463 `tramp-sh-file-notify-process-filter'.
19464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19465 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19466
19467 2013-07-05 Leo Liu <sdl.web@gmail.com>
19468
19469 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19470
19471 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19472
19473 * frame.el (display-pixel-height, display-pixel-width)
19474 (display-mm-height, display-mm-width): Mention behavior on
19475 multi-monitor setups in docstrings.
19476 (w32-display-monitor-attributes-list): Declare function.
19477 (display-monitor-attributes-list): Use it.
19478
19479 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19480
19481 * filenotify.el: New package.
19482
19483 * autorevert.el (top): Require filenotify.el.
19484 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19485 instead.
19486 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19487 (auto-revert-notify-handler): Use `file-notify-*' functions.
19488
19489 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19490
19491 * net/tramp.el (tramp-file-name-for-operation):
19492 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19493
19494 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19495 for `file-notify-add-watch' and `file-notify-rm-watch'.
19496 (tramp-process-sentinel): Improve trace.
19497 (tramp-sh-handle-file-notify-add-watch)
19498 (tramp-sh-file-notify-process-filter)
19499 (tramp-sh-handle-file-notify-rm-watch)
19500 (tramp-get-remote-inotifywait): New defuns.
19501
19502 2013-07-03 Juri Linkov <juri@jurta.org>
19503
19504 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19505 call of `occur-read-primary-args' to interactive spec.
19506
19507 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19508 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19509
19510 2013-07-03 Matthias Meulien <orontee@gmail.com>
19511
19512 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19513 `Buffer-menu-multi-occur'. Add it to the menu.
19514 (Buffer-menu-mode): Document it in docstring.
19515 (Buffer-menu-multi-occur): New command. (Bug#14673)
19516
19517 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19518
19519 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19520 keywords and built-ins.
19521
19522 2013-07-03 Glenn Morris <rgm@gnu.org>
19523
19524 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
19525
19526 Make info-xref checks case-sensitive by default
19527 * info.el (Info-find-node, Info-find-in-tag-table)
19528 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19529 Add option for exact case matching of nodes.
19530 * info-xref.el (info-xref): New custom group.
19531 (info-xref-case-fold): New option.
19532 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19533
19534 2013-07-03 Leo Liu <sdl.web@gmail.com>
19535
19536 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19537
19538 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19539
19540 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19541 middle of block statement initially, lower the depth. Remove
19542 FIXME comment, not longer valid. Remove middle of block statement
19543 detection, no need to do that anymore since we've been using
19544 `ruby-parse-region' here.
19545
19546 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
19547
19548 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19549
19550 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
19551
19552 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19553
19554 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
19555
19556 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19557 (desktop-restore-in-current-display): New customization option.
19558 (desktop--excluded-frame-parameters): Add `font'.
19559 (desktop--save-frames): Rename from desktop--save-windows.
19560 (desktop--restore-in-this-display-p): New function.
19561 (desktop--make-full-frame): Remove unwanted width/height from
19562 full(width|height) frames.
19563 (desktop--restore-frames): Rename from desktop--restore-windows.
19564 Obey desktop-restore-current-display. Do not delete old frames or
19565 select a new frame unless we were able to restore at least one frame.
19566
19567 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
19568
19569 * files.el (find-file-noselect): Simplify conditional expression.
19570
19571 * textmodes/remember.el (remember-append-to-file):
19572 Don't mix `find-buffer-visiting' and `get-file-buffer'.
19573
19574 Add `remember-notes' function to store random notes across Emacs
19575 restarts.
19576 * textmodes/remember.el (remember-data-file): Add :set callback to
19577 affect notes buffer (if any).
19578 (remember-notes): New command.
19579 (remember-notes-buffer-name, bury-remember-notes-on-kill):
19580 New defcustoms for the `remember-notes' function.
19581 (remember-notes-save-and-bury-buffer): New command.
19582 (remember-notes-mode-map): New variable.
19583 (remember-mode): New minor mode.
19584 (remember-notes--kill-buffer-query): New function.
19585 * startup.el (initial-buffer-choice): Add notes to custom type.
19586
19587 2013-06-30 Eli Zaretskii <eliz@gnu.org>
19588
19589 * bindings.el (right-char, left-char): Don't call sit-for, this is
19590 no longer needed. Use arithmetic comparison only for numerical
19591 arguments.
19592
19593 * international/mule-cmds.el (select-safe-coding-system):
19594 Handle the case of FROM being a string correctly. (Bug#14755)
19595
19596 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19597
19598 * net/shr.el (shr-make-table-1): Add a sanity check that allows
19599 progression on degenerate tables.
19600 (shr-rescale-image): ImageMagick animated images currently don't work.
19601
19602 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
19603
19604 Some fixes and improvements for desktop frame restoration.
19605 It is still experimental and disabled by default.
19606 * desktop.el (desktop--save-windows): Put the selected frame at
19607 the head of the list.
19608 (desktop--make-full-frame): New function.
19609 (desktop--restore-windows): Try to re-select the frame that was
19610 selected upon saving. Do not abort if some frames fail to restore,
19611 just show an error message and continue. Set up maximized frames
19612 so they have default non-maximized dimensions.
19613
19614 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
19615
19616 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
19617 Don't start heredoc inside a string or comment.
19618
19619 2013-06-29 Eli Zaretskii <eliz@gnu.org>
19620
19621 * bindings.el (visual-order-cursor-movement): New defcustom.
19622 (right-char, left-char): Provide visual-order cursor motion by
19623 calling move-point-visually. Update the doc strings.
19624
19625 2013-06-28 Kenichi Handa <handa@gnu.org>
19626
19627 * international/mule.el (define-coding-system): New coding system
19628 properties :inhibit-null-byte-detection,
19629 :inhibit-iso-escape-detection, and :prefer-utf-8.
19630 (set-buffer-file-coding-system): If :charset-list property of
19631 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19632 appropriate for setting.
19633
19634 * international/mule-cmds.el (select-safe-coding-system):
19635 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19636 multibyte characters, return utf-8 (or one of its siblings).
19637
19638 * international/mule-conf.el (prefer-utf-8): New coding system.
19639 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19640 files.
19641
19642 2013-06-28 Ivan Kanis <ivan@kanis.fr>
19643
19644 * net/shr.el (shr-render-region): New function.
19645
19646 * net/eww.el: Autoload `eww-browse-url'.
19647
19648 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
19649
19650 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19651 Adapt to `package-desc-version' being a list.
19652 Use `package--ac-desc-version' to retrieve version from a package
19653 archive element.
19654
19655 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
19656
19657 New experimental feature to save&restore window and frame setup.
19658 * desktop.el (desktop-save-windows): New defcustom.
19659 (desktop--saved-states): New var.
19660 (desktop--excluded-frame-parameters): New defconst.
19661 (desktop--filter-frame-parms, desktop--find-frame-in-display)
19662 (desktop--restore-windows, desktop--save-windows): New functions.
19663 (desktop-save): Call `desktop--save-windows'.
19664 (desktop-read): Call `desktop--restore-windows'.
19665
19666 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19667
19668 * net/shr.el (add-face-text-property): Remove compat definition.
19669
19670 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19671
19672 * info.el (Info-try-follow-nearest-node): Move search for footnote
19673 above search for node name to prevent missing a footnote (bug#14717).
19674
19675 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
19676
19677 * obsolete/otodo-mode.el: Add obsolescence info to file header.
19678
19679 2013-06-27 Leo Liu <sdl.web@gmail.com>
19680
19681 * net/eww.el (eww-read-bookmarks): Check file size.
19682
19683 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19686 advice--pending if newdef is nil or an autoload (bug#13820).
19687 (advice-mapc): New function.
19688
19689 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19690
19691 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19692 probably.
19693 (eww-mode-map): Add a menu bar.
19694 (eww-add-bookmark): New command.
19695 (eww-bookmark-mode): New mode and commands.
19696 (eww-add-bookmark): Remove newlines from the title.
19697 (eww-bookmark-browse): Don't bug out if it's the only window.
19698
19699 2013-06-26 Glenn Morris <rgm@gnu.org>
19700
19701 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19702 (hfy-size): Handle ttys. (Bug#14668)
19703
19704 * info-xref.el: Update for Texinfo 5 change in *note format.
19705 (info-xref-node-re, info-xref-note-re): New constants.
19706 (info-xref-check-buffer): Use info-xref-note-re.
19707
19708 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
19709
19710 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19711
19712 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19713 nil terminate the loop (bug#14718).
19714
19715 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19716
19717 * net/eww.el: Rework history traversal. When going forward/back,
19718 put these actions into the history, too, so that they can be
19719 replayed.
19720 (eww-render): Move the history reset to the correct buffer.
19721
19722 2013-06-25 Juri Linkov <juri@jurta.org>
19723
19724 * files-x.el (modify-dir-local-variable): Change the header comment
19725 in the file with directory local variables. (Bug#14692)
19726
19727 * files-x.el (read-file-local-variable-value): Add `default'.
19728 (Bug#14710)
19729
19730 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19731
19732 * net/eww.el (eww-make-unique-file-name): Create a unique file
19733 name before saving to entering `y' accidentally asynchronously.
19734
19735 2013-06-25 Ivan Kanis <ivan@kanis.fr>
19736
19737 * net/eww.el (eww-download): New command and keystroke.
19738
19739 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19740
19741 * net/eww.el (eww-copy-page-url): Change name of command.
19742
19743 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19744 be more consistent with Info and dired.
19745
19746 * net/eww.el (eww-mode-map): Ditto.
19747
19748 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19749
19750 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
19751 packages from archives.
19752 (package-archive-contents): Change format; include obsolete packages.
19753 (package-desc): Use `dir' to mark builtin packages.
19754 (package--from-builtin): Set the `dir' field to `builtin'.
19755 (generated-autoload-file, version-control): Declare.
19756 (package-compute-transaction): Change first arg and return value to be
19757 lists of package-descs. Adjust to new package-archive-contents format.
19758 (package--add-to-archive-contents): Adjust to new
19759 package-archive-contents format.
19760 (package-download-transaction): Arg is now a list of package-descs.
19761 (package-install): If `pkg' is a package name, pass it as
19762 a requirement, so it is subject to the usual (e.g. disabled) checks.
19763 (describe-package): Accept package-desc as well.
19764 (describe-package-1): Describe a specific package-desc. Add links to
19765 other package-descs for the same package name.
19766 (package-menu-describe-package): Pass the actual package-desc.
19767 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19768 works correctly.
19769 (package-desc-status): New function.
19770 (package-menu--refresh): New function, extracted
19771 from package-menu--generate.
19772 (package-menu--generate): Use it.
19773 (package-delete): Update package-alist.
19774 (package-menu-execute): Don't call package-initialize.
19775
19776 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19777 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19778 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19779 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19780 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19781 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19782
19783 2013-06-25 Martin Rudalics <rudalics@gmx.at>
19784
19785 * window.el (window--state-get-1): Workaround for bug#14527.
19786 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19787
19788 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
19789
19790 * net/eww.el (eww-back-url): Implement the history by stashing all
19791 the data into a list.
19792 (eww-forward-url): Allow going forward in the history, too.
19793
19794 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19795
19796 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19797 for values and use read--expression for expressions (bug#14710).
19798 (read-file-local-variable): Avoid setq.
19799 (read-file-local-variable-mode): Use minor-mode-list.
19800
19801 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19802
19803 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19804 for DOI URLs.
19805
19806 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19807
19808 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19809 Update imenu-support when dialect changes.
19810
19811 2013-06-25 Leo Liu <sdl.web@gmail.com>
19812
19813 * ido.el (ido-read-internal): Allow forward slash on windows.
19814
19815 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19816
19817 * net/eww.el (eww): Start of strings is \\`, not ^.
19818
19819 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19820
19821 * net/shr.el (shr-browse-url): Fix interactive spec.
19822
19823 * net/eww.el (eww): Add a trailing slash to domain names.
19824
19825 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
19826
19827 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19828
19829 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
19830
19831 * net/shr.el (shr-browse-url): Use an external browser if given a
19832 prefix.
19833
19834 * net/eww.el (eww-external-browser): Move to shr.
19835
19836 2013-06-24 Ivan Kanis <ivan@kanis.fr>
19837
19838 * net/eww.el (eww): Work more correctly for file: URLs.
19839 (eww-detect-charset): Allow quoted charsets.
19840 (eww-yank-page-url): New command and keystroke.
19841
19842 2013-06-24 Daiki Ueno <ueno@gnu.org>
19843
19844 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19845 file name of gpg executable.
19846 (epg-context-program): New function.
19847 (epg-context-home-directory): New function.
19848 (epg-context-set-program): New function.
19849 (epg-context-set-home-directory): New function.
19850 (epg--start): Use `epg-context-program' instead of
19851 'epg-gpg-program'.
19852 (epg--list-keys-1): Likewise.
19853
19854 2013-06-24 Leo Liu <sdl.web@gmail.com>
19855
19856 * ido.el (ido-read-internal): Fix bug#14620.
19857
19858 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19859
19860 * faces.el (face-documentation): Simplify.
19861 (read-face-attribute, tty-find-type, x-resolve-font-name):
19862 Use `string-match-p'.
19863 (list-faces-display): Use `string-match-p'. Simplify.
19864 (face-spec-recalc): Check face to avoid face alias loops.
19865 (read-color): Use `string-match-p' and non-capturing parenthesis.
19866
19867 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19868
19869 * net/shr.el (shr-rescale-image): Use the new
19870 :max-width/:max-height functionality.
19871
19872 2013-06-23 Ivan Kanis <ivan@kanis.fr>
19873
19874 * net/eww.el (eww-search-prefix): New variable.
19875 (eww): Use it.
19876 (eww-external-browser): New variable.
19877 (eww-mode-map): New keystroke.
19878 (eww-browse-with-external-browser): New command.
19879
19880 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19881
19882 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
19883
19884 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19885 Don't skip aligning the next header field when padding is 0;
19886 otherwise, field width is not respected unless the title is as
19887 wide as the field.
19888
19889 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
19890
19891 * emacs-lisp/package.el (package-el-version): Remove.
19892 (package-process-define-package): Fix inf-loop.
19893 (package-install): Allow symbols as arguments again.
19894
19895 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19896
19897 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19898 add some more keyword-like methods.
19899 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19900
19901 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
19902
19903 * bs.el (bs-buffer-show-mark): Make defvar-local.
19904 (bs-mode): Use setq-local.
19905
19906 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19907 (emacs-lock--try-unlocking): Make defvar-local.
19908
19909 2013-06-22 Glenn Morris <rgm@gnu.org>
19910
19911 * play/cookie1.el (cookie-apropos): Minor simplification.
19912
19913 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19914
19915 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
19916
19917 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19918 `regexp-opt', it breaks the build during dumping.
19919
19920 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
19921
19922 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19923 Highlight keyword-like methods on Kernel and Module with
19924 font-lock-builtin-face.
19925 (auto-mode-alist): Consolidate different entries into one regexp
19926 and add more *file-s.
19927
19928 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
19929
19930 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19931
19932 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19933 (diary-entry): Use it in the action of this button type instead of
19934 diary-goto-entry.
19935
19936 * calendar/todo-mode.el: New version.
19937 (todo-add-category): Append new category to end of file and give
19938 it the highest number, instead of putting it at the beginning and
19939 giving it 0. Incorporate noninteractive functionality.
19940 (todo-forward-category): Adapt to 1-based category numbering.
19941 Allow skipping over archived categories.
19942 (todo-backward-category): Derive from todo-forward-category.
19943 (todo-backward-item, todo-forward-item): Make noninteractive and
19944 delegate interactive part to new commands. Make sensitive to done items.
19945 (todo-categories): Make value an alist of category names and
19946 vectors of item counts.
19947 (todo-category-beg): Make a defconst.
19948 (todo-category-number): Use 1 instead of 0 as initial value.
19949 (todo-category-select): Make sensitive to overlays, optional item
19950 highlighting and done items.
19951 (todo-delete-item): Make sensitive to overlays and marked and done items.
19952 (todo-edit-item): Make sensitive to overlays and editing of
19953 date/time header optional. Add format checks.
19954 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
19955 no-op if point is not on an item. Advertise using todo-edit-quit.
19956 (todo-edit-mode): Make sensitive to new format, font-locking, and
19957 multiple todo files.
19958 (todo-insert-item, todo-insert-item-here): Derive from
19959 todo-basic-insert-item and extend functionality.
19960 (todo-item-end, todo-item-start): Make sensitive to done items.
19961 (todo-item-string): Don't return text properties. Restore point.
19962 (todo-jump-to-category): Make sensitive to multiple todo files and
19963 todo archives. Use extended category completion.
19964 (todo-lower-item, todo-raise-item): Rename to *-priority and
19965 derive from todo-set-item-priority.
19966 (todo-mode): Derive from special-mode. Make sensitive to new
19967 format, font-locking and multiple todo files. Make read-only.
19968 (todo-mode-map): Don't suppress digit keys, so they can supply
19969 prefix arguments. Add many new key bindings.
19970 (todo-prefix): Insert as an overlay instead of file text.
19971 Change semantics from diary date expression to purely visual mark.
19972 (todo-print): Rename to todo-print-buffer. Make buffer display
19973 features printable. Remove option to restrict number of items
19974 printed. Add option to print to file.
19975 (todo-print-function): Rename to todo-print-buffer-function.
19976 (todo-quit): Extend to handle exiting new todo modes.
19977 (todo-remove-item): Make sensitive to overlays.
19978 (todo-save): Extend to buffers of filtered items.
19979 (todo-show): Make sensitive to done items, multiple todo files and
19980 new todo modes. Offer to convert legacy todo file before creating
19981 first new todo file.
19982 (todo-show-priorities): Rename to todo-top-priorities.
19983 Change semantics of value 0.
19984 (todo-top-priorities): Rename to todo-filter-top-priorities,
19985 derive from todo-filter-items and extend functionality.
19986 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
19987 and extend functionality to other types of filtered items.
19988 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
19989 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
19990 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
19991 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
19992 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
19993 (todo-edit-mode-hook, todo-entry-prefix-function)
19994 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
19995 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
19996 (todo-initials, todo-insert-threshold, todo-item-string-start)
19997 (todo-line-string, todo-menu, todo-mode-hook)
19998 (todo-more-important-p, todo-previous-answer, todo-previous-line)
19999 (todo-print-priorities, todo-remove-separator)
20000 (todo-save-top-priorities-too, todo-string-count-lines)
20001 (todo-string-multiline-p, todo-time-string-format)
20002 (todo-tmp-buffer-name): Remove.
20003 (todo-add-file, todo-archive-done-item, todo-choose-archive)
20004 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
20005 (todo-edit-category-diary-inclusion)
20006 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
20007 (todo-edit-file, todo-edit-item-date-day)
20008 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
20009 (todo-edit-item-date-month, todo-edit-item-date-to-today)
20010 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
20011 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
20012 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
20013 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
20014 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
20015 (todo-filter-top-priorities-multifile, todo-find-archive)
20016 (todo-find-filtered-items-file, todo-go-to-source-item)
20017 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
20018 (todo-jump-to-archive-category, todo-lower-category)
20019 (todo-mark-category, todo-marked-item-p, todo-merge-category)
20020 (todo-move-category, todo-move-item, todo-next-button)
20021 (todo-next-item, todo-padded-string, todo-powerset)
20022 (todo-previous-button, todo-previous-item)
20023 (todo-print-buffer-to-file, todo-raise-category)
20024 (todo-rename-category, todo-repair-categories-sexp, todo-search)
20025 (todo-set-category-number, todo-set-item-priority)
20026 (todo-set-top-priorities-in-category)
20027 (todo-set-top-priorities-in-file, todo-show-categories-table)
20028 (todo-sort-categories-alphabetically-or-numerically)
20029 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
20030 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
20031 (todo-toggle-item-header, todo-toggle-item-highlighting)
20032 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
20033 (todo-toggle-view-done-items, todo-toggle-view-done-only)
20034 (todo-unarchive-items, todo-unmark-category): New commands.
20035 (todo-absolute-file-name, todo-add-to-buffer-list)
20036 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
20037 (todo-basic-insert-item, todo-category-completions)
20038 (todo-category-number, todo-category-string-matcher-1)
20039 (todo-category-string-matcher-2, todo-check-filtered-items-file)
20040 (todo-check-format, todo-clear-matches)
20041 (todo-comment-string-matcher, todo-convert-legacy-date-time)
20042 (todo-current-category, todo-date-string-matcher)
20043 (todo-define-insertion-command, todo-diary-expired-matcher)
20044 (todo-diary-goto-entry, todo-diary-item-p)
20045 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
20046 (todo-display-categories, todo-display-sorted, todo-done-item-p)
20047 (todo-done-item-section-p, todo-done-separator)
20048 (todo-done-string-matcher, todo-files, todo-filter-items)
20049 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
20050 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
20051 (todo-insert-category-line, todo-insert-item-from-calendar)
20052 (todo-insert-sort-button, todo-insert-with-overlays)
20053 (todo-insertion-command-name, todo-insertion-key-bindings)
20054 (todo-label-to-key, todo-longest-category-name-length)
20055 (todo-make-categories-list, todo-mode-external-set)
20056 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
20057 (todo-modes-set-3, todo-multiple-filter-files)
20058 (todo-nondiary-marker-matcher, todo-prefix-overlays)
20059 (todo-read-category, todo-read-date, todo-read-dayname)
20060 (todo-read-file-name, todo-read-time)
20061 (todo-reevaluate-category-completions-files-defcustom)
20062 (todo-reevaluate-default-file-defcustom)
20063 (todo-reevaluate-filelist-defcustoms)
20064 (todo-reevaluate-filter-files-defcustom)
20065 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
20066 (todo-reset-done-separator, todo-reset-done-separator-string)
20067 (todo-reset-done-string, todo-reset-global-current-todo-file)
20068 (todo-reset-highlight-item, todo-reset-nondiary-marker)
20069 (todo-reset-prefix, todo-set-categories)
20070 (todo-set-date-from-calendar, todo-set-show-current-file)
20071 (todo-set-top-priorities, todo-short-file-name)
20072 (todo-show-current-file, todo-sort, todo-time-string-matcher)
20073 (todo-total-item-counts, todo-update-buffer-list)
20074 (todo-update-categories-display, todo-update-categories-sexp)
20075 (todo-update-count, todo-validate-name, todo-y-or-n-p):
20076 New functions.
20077 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
20078 New major modes.
20079 (todo-categories, todo-display, todo-edit, todo-faces)
20080 (todo-filtered): New defgroups.
20081 (todo-archived-only, todo-button, todo-category-string, todo-date)
20082 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
20083 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
20084 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
20085 (todo-add-item-if-new-category, todo-always-add-time-string)
20086 (todo-categories-align, todo-categories-archived-label)
20087 (todo-categories-category-label, todo-categories-diary-label)
20088 (todo-categories-done-label, todo-categories-number-separator)
20089 (todo-categories-todo-label, todo-categories-totals-label)
20090 (todo-category-completions-files, todo-completion-ignore-case)
20091 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
20092 (todo-done-separator-string, todo-done-string)
20093 (todo-files-function, todo-filter-done-items, todo-filter-files)
20094 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
20095 (todo-initial-category, todo-initial-file, todo-item-mark)
20096 (todo-legacy-date-time-regexp, todo-mode-line-function)
20097 (todo-nondiary-marker, todo-number-prefix)
20098 (todo-print-buffer-function, todo-show-current-file)
20099 (todo-show-done-only, todo-show-first, todo-show-with-done)
20100 (todo-skip-archived-categories, todo-top-priorities-overrides)
20101 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
20102 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
20103 New defcustoms.
20104 (todo-category-done, todo-date-pattern, todo-date-string-start)
20105 (todo-diary-items-buffer, todo-done-string-start)
20106 (todo-filtered-items-buffer, todo-item-start)
20107 (todo-month-abbrev-array, todo-month-name-array)
20108 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
20109 (todo-top-priorities-buffer): New defconsts.
20110 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
20111 (todo-categories-with-marks, todo-category-string-face)
20112 (todo-comment-face, todo-comment-string, todo-current-todo-file)
20113 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
20114 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
20115 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
20116 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
20117 (todo-font-lock-keywords, todo-global-current-todo-file)
20118 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
20119 (todo-insertion-commands-args)
20120 (todo-insertion-commands-args-genlist)
20121 (todo-insertion-commands-names, todo-insertion-map)
20122 (todo-key-bindings-t, todo-key-bindings-t+a)
20123 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
20124 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
20125 (todo-nondiary-face, todo-print-buffer, todo-time-face)
20126 (todo-visited): New variables.
20127
20128 2013-06-21 Glenn Morris <rgm@gnu.org>
20129
20130 * play/cookie1.el (cookie-apropos): Add optional display argument.
20131 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
20132 (psychoanalyze-pinhead): Use cookie-doctor.
20133
20134 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20135
20136 * emacs-lisp/package.el (tar-get-file-descriptor)
20137 (tar--extract): Declare.
20138
20139 2013-06-21 Eduard Wiebe <usenet@pusto.de>
20140
20141 Extend flymake's warning predicate to be a function (bug#14217).
20142 * progmodes/flymake.el (flymake-warning-predicate): New.
20143 (flymake-parse-line): Use it.
20144 (flymake-warning-re): Make obsolete alias to
20145 `flymake-warning-predicate'.
20146
20147 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20148
20149 * emacs-lisp/package.el (package-alist): Include obsolete packages.
20150 (package-obsolete-list): Remove.
20151 (package-activate): Remove min-version argument. Add `force' argument.
20152 Adjust to new package-alist format.
20153 (package-mark-obsolete): Remove.
20154 (package-unpack): Force reload of the package's autoloads.
20155 (package-installed-p): Check builtins if the installed package is not
20156 recent enough.
20157 (package-initialize): Don't reset package-obsolete-list.
20158 Don't specify which package version to activate.
20159 (package-process-define-package, describe-package-1)
20160 (package-menu--generate): Adjust to new package-alist format.
20161
20162 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20163
20164 * allout-widgets.el (allout-widgets-mode-off)
20165 (allout-widgets-mode-on, allout-widgets-pre-command-business)
20166 (allout-widgets-post-command-business)
20167 (allout-widgets-after-copy-or-kill-function)
20168 (allout-widgets-after-undo-function, allout-test-range-overlaps)
20169 (allout-decorate-item-and-context)
20170 (allout-graphics-modification-handler): Fix typos in docstrings.
20171 (allout-get-or-create-parent-widget): Use `looking-at-p'.
20172
20173 * cmuscheme.el (scheme-start-file): Doc fix.
20174 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
20175 (scheme-input-filter): Use `string-match-p'.
20176
20177 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
20178
20179 * dired-x.el: Use Dired consistently in docstrings.
20180
20181 * dired.el: Use Dired consistently in docstrings.
20182 (dired-readin, dired-mode): Use `setq-local'.
20183 (dired-switches-alist): Make defvar-local.
20184 (dired-buffers-for-dir): Use `zerop'.
20185 (dired-safe-switches-p, dired-switches-escape-p)
20186 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
20187 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
20188 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
20189 (dired-goto-next-nontrivial-file): Use `string-match-p'.
20190 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
20191 (dired-toggle-marks, dired-mark-files-containing-regexp)
20192 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
20193 (dired-flag-auto-save-files, dired-flag-backup-files):
20194 Use `looking-at-p'.
20195 (dired-mark-files-regexp, dired-build-subdir-alist):
20196 Use `string-match-p', `looking-at-p'.
20197
20198 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
20199 (direct-print-region-helper): Use `string-match-p'.
20200
20201 2013-06-21 Leo Liu <sdl.web@gmail.com>
20202
20203 * comint.el (comint-redirect-results-list-from-process):
20204 Fix infinite loop.
20205
20206 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20207
20208 * net/eww.el (eww-update-header-line-format): Quote % characters.
20209
20210 2013-06-21 Glenn Morris <rgm@gnu.org>
20211
20212 * play/cookie1.el (cookie): New custom group.
20213 (cookie-file): New option.
20214 (cookie-check-file): New function.
20215 (cookie): Make it interactive. Make start and end messages optional.
20216 Interactively, display the result. Default to cookie-file.
20217 (cookie-insert): Default to cookie-file.
20218 (cookie-snarf): Make start and end messages optional.
20219 Default to cookie-file. Use with-temp-buffer.
20220 (cookie-read): Rename from read-cookie.
20221 Make start and end messages optional. Default to cookie-file.
20222 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
20223 Do not autoload it.
20224 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20225 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20226
20227 2013-06-21 Leo Liu <sdl.web@gmail.com>
20228
20229 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20230
20231 2013-06-21 Glenn Morris <rgm@gnu.org>
20232
20233 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20234
20235 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20236 Daniel Hackney <dan@haxney.org>
20237
20238 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20239 Consolidate the single-file vs tarball code.
20240 (package-desc-suffix): New function.
20241 (package-desc-full-name): Don't bother inlining it.
20242 (package-load-descriptor): Return the new package-desc.
20243 (package-mark-obsolete): Remove unused arg `package'.
20244 (package-unpack): Make it work for single files as well.
20245 Make it update package-alist.
20246 (package--make-autoloads-and-stuff): Rename from
20247 package--make-autoloads-and-compile. Don't compile any more.
20248 (package--compile): New function.
20249 (package-generate-description-file): New function, extracted from
20250 package-unpack-single.
20251 (package-unpack-single): Remove.
20252 (package--with-work-buffer): Add indentation and debugging info.
20253 (package-download-single): Remove.
20254 (package-install-from-archive): Rename from package-download-tar, make
20255 it take a pkg-desc, and make it work for single files as well.
20256 (package-download-transaction): Simplify.
20257 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20258 external tar program.
20259 (package-install-from-buffer): Remove `pkg-desc' argument.
20260 Use package-tar-file-info for tar-mode buffers.
20261 (package-install-file): Simplify accordingly.
20262 (package-archive-base): Change to take a pkg-desc.
20263 * tar-mode.el (tar--check-descriptor): New function, extracted from
20264 tar-get-descriptor.
20265 (tar-get-descriptor): Use it.
20266 (tar-get-file-descriptor): New function.
20267 (tar--extract): New function, extracted from tar-extract.
20268 (tar--extract): Use it.
20269 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20270 case the summary uses non-ascii. Adjust to new calling convention of
20271 package-tar-file-info.
20272
20273 2013-06-21 Leo Liu <sdl.web@gmail.com>
20274
20275 * comint.el (comint-redirect-results-list-from-process):
20276 Fix random delay. (Bug#14681)
20277
20278 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20279
20280 * profiler.el (profiler-format-number): Use log, not log10.
20281
20282 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20283
20284 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20285
20286 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20289 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20290 yet available.
20291 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20292 (AUTOGENEL): ... here.
20293 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20294 (cl--defsubst-expand): Use it.
20295
20296 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20297
20298 * subr.el (log10): Move here from C code, and declare as obsolete.
20299 All uses of (log10 X) replaced with (log X 10).
20300
20301 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20302
20303 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20304 Declare with `defvar-local'.
20305 (tabulated-list-use-header-line, tabulated-list-entries)
20306 (tabulated-list-padding, tabulated-list-printer)
20307 (tabulated-list-sort-key): Declare with `defvar-local'.
20308 (tabulated-list-init-header, tabulated-list-print-fake-header):
20309 Use `setq-local'.
20310
20311 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20312
20313 * arc-mode.el (archive-mode): Add `archive-write-file' to
20314 `write-contents-functions' also for remote files. (Bug#14652)
20315
20316 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20317
20318 * cus-edit.el (custom-commands): Fix typos.
20319 (custom-display): Fix tooltip text.
20320 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20321 Fix typos in docstrings.
20322 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20323 (custom-unlispify-menu-entry, custom-magic-value-create)
20324 (custom-add-see-also, custom-group-value-create): Use ?\s.
20325 (custom-guess-type, customize-apropos, editable-field)
20326 (custom-face-value-create): Use `string-match-p'.
20327 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20328
20329 * custom.el (custom-load-symbol): Use `string-match-p'.
20330
20331 * ansi-color.el: Convert to lexical binding.
20332 (ansi-colors): Fix URL.
20333 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20334 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20335 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20336
20337 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20338
20339 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20340
20341 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20342
20343 2013-06-19 Tom Tromey <tromey@redhat.com>
20344
20345 * net/eww.el (eww-top-url): Remove.
20346 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20347 (eww-render): Set new variables. Don't set eww-top-url.
20348 (eww-handle-link): Handle "prev", "home", and "contents".
20349 Downcase the rel text.
20350 (eww-top-url): Choose best top URL.
20351
20352 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353
20354 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20355 relying in widget.el. Using widget.el leads to too many
20356 user interface inconsistencies.
20357 (eww-self-insert): Implement entering commands in text fields.
20358 (eww-process-text-input): New function to make text input field editing
20359 work.
20360 (eww-submit): Rewrite to use the new-style form methods.
20361 (eww-select-display): Display the correct selected item.
20362 (eww-change-select): Implement changing the select value.
20363 (eww-toggle-checkbox): Implement radio/checkboxes.
20364 (eww-update-field): Fix compilation error.
20365 (eww-tag-textarea): Implement <textarea>.
20366
20367 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20368 we don't shadow mode-specific bindings.
20369
20370 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20371 nothing to push.
20372
20373 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20374
20375 2013-06-19 Glenn Morris <rgm@gnu.org>
20376
20377 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20378
20379 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20380
20381 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20382 not needed.
20383
20384 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20385
20386 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20387
20388 * net/browse-url.el (browse-url-browser-function):
20389 `eww-browse-url' has the right calling signature, `eww' does not.
20390
20391 2013-06-19 Glenn Morris <rgm@gnu.org>
20392
20393 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20394 Only eval autoloaded macros.
20395 (byte-compile-autoload): Only give the macro warning for macros.
20396
20397 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20398 (ps-underlined-faces): Declare.
20399
20400 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20401 (speedbar-add-supported-extension): Declare.
20402
20403 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20404 Don't include a date stamp in the header of the generated file;
20405 it leads to needless differences between output files.
20406
20407 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20408
20409 * net/secrets.el (secrets-struct-secret-content-type):
20410 Replace check of introspection data by a test call of "CreateItem".
20411 Some servers do not offer introspection.
20412
20413 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20414
20415 * electric.el (electric-pair-mode): Improve interaction with
20416 electric-layout-mode.
20417 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20418 (electric-pair-syntax): Use text-mode-syntax-table in comments
20419 and strings.
20420 (electric-pair--insert): New function.
20421 (electric-pair-post-self-insert-function): Use it and
20422 electric--after-char-pos.
20423
20424 2013-06-19 Leo Liu <sdl.web@gmail.com>
20425
20426 * progmodes/octave.el (octave-help): Fix regexp.
20427
20428 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20429
20430 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20431 (shr-table-horizontal-line): Allow nil as a value, and change the
20432 default.
20433 (shr-insert-table-ruler): Respect the nil value.
20434
20435 2013-06-18 Tom Tromey <tromey@barimba>
20436
20437 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20438 New defvars.
20439 (eww-open-file): New defun.
20440 (eww-render): Initialize new variables.
20441 (eww-display-html): Handle "link" and "a".
20442 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20443 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20444 (eww-back-url): Rename from eww-previous-url.
20445 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20446 New defuns.
20447
20448 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20449
20450 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20451 Distinguish ternary operator tokens from slash symbol and slash
20452 char literal.
20453
20454 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20455
20456 Convert symbol prettification into minor mode and global minor mode.
20457
20458 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20459 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20460 (prettify-symbols--keywords): Rename from
20461 `prog-prettify-symbols-alist' and make a local defvar.
20462 (prettify-symbols--compose-symbol): Rename from
20463 `prog--prettify-font-lock-compose-symbol'.
20464 (prettify-symbols--make-keywords): Rename from
20465 `prog-prettify-font-lock-symbols-keywords' and simplify.
20466 (prog-prettify-install): Remove.
20467 (prettify-symbols-mode): New minor mode, based on
20468 `prog-prettify-install'.
20469 (turn-on-prettify-symbols-mode): New function.
20470 (global-prettify-symbols-mode): New globalized minor mode.
20471
20472 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20473 * progmodes/cfengine.el (cfengine3-mode):
20474 * progmodes/perl-mode.el (perl-mode): Don't call
20475 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20476
20477 2013-06-18 Juri Linkov <juri@jurta.org>
20478
20479 * files-x.el (modify-file-local-variable-message): New function.
20480 (modify-file-local-variable)
20481 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20482 and call `modify-file-local-variable-message' when it's non-nil.
20483 (add-file-local-variable, delete-file-local-variable)
20484 (add-file-local-variable-prop-line)
20485 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20486 and use it. (Bug#9820)
20487
20488 2013-06-18 Juri Linkov <juri@jurta.org>
20489
20490 * emulation/vi.el (vi-shell-op):
20491 * emulation/vip.el (vip-execute-com, ex-command):
20492 * emulation/viper-cmd.el (viper-exec-bang):
20493 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20494 the call of `shell-command-on-region'. (Bug#14637)
20495
20496 * simple.el (shell-command-on-region): Doc fix.
20497
20498 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20499
20500 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20501 (bug#14633).
20502
20503 2013-06-18 Glenn Morris <rgm@gnu.org>
20504
20505 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20506
20507 * newcomment.el (comment-search-forward, comment-search-backward):
20508 Doc fix. (Bug#14376)
20509
20510 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20511
20512 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20513 (buffer-face-mode-invoke): Doc fix.
20514
20515 2013-06-18 Matthias Meulien <orontee@gmail.com>
20516
20517 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20518 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20519
20520 2013-06-18 Glenn Morris <rgm@gnu.org>
20521
20522 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20523 Replace obsolete function generic-make-keywords with its expansion.
20524
20525 * progmodes/python.el (ffap-alist): Declare.
20526
20527 * textmodes/reftex.el (bibtex-mode-map): Declare.
20528
20529 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20530
20531 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20532 (package-unpack, package-unpack-single): Return the pkg-dir.
20533 (package-download-transaction): Use it to update package-alist.
20534
20535 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20536
20537 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20538 possible choice.
20539
20540 2013-06-17 Juri Linkov <juri@jurta.org>
20541
20542 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20543
20544 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20545
20546 * emacs-lisp/package.el (package-load-descriptor):
20547 Remove `with-syntax-table' call, `read' doesn't need it.
20548 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20549
20550 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20551
20552 * startup.el (command-line): Expand package name returned by
20553 `package--description-file' (bug#14639).
20554
20555 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20556
20557 * emacs-lisp/package.el (package-load-descriptor): Do not call
20558 `emacs-lisp-mode', just use its syntax table.
20559
20560 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20561
20562 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20563 `font-lock-extra-managed-props' if any prettifying keyword is added.
20564 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20565 (prog-mode): Use `setq-local'.
20566
20567 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20568
20569 * international/characters.el (standard-case-table): Set syntax of ?»
20570 and ?« to punctuation.
20571
20572 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
20573
20574 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
20575 Save relevant match data before calling `syntax-ppss' (bug#14595).
20576
20577 2013-06-15 Juri Linkov <juri@jurta.org>
20578
20579 * files-x.el (modify-file-local-variable-prop-line): Add local
20580 variables to the end of the existing comment on the first line.
20581 Use `file-auto-mode-skip' to skip interpreter magic line,
20582 and also skip XML declaration.
20583
20584 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20585
20586 * startup.el (package--builtin-versions): New var.
20587 (package-subdirectory-regexp): Remove.
20588 (package--description-file): Hard code its value instead.
20589
20590 * emacs-lisp/package.el: Don't activate packages older than builtin.
20591 (package-obsolete-list): Rename from package-obsolete-alist, and make
20592 it into a simple list of package-desc.
20593 (package-strip-version): Remove.
20594 (package-built-in-p): Use package--builtin-versions.
20595 (package-mark-obsolete): Simplify.
20596 (package-process-define-package): Mark it obsolete if older than the
20597 builtin version.
20598 (package-handle-response): Use line-end-position.
20599 (package-read-archive-contents, package--download-one-archive):
20600 Simplify.
20601 (package--add-to-archive-contents): Skip if older than the builtin or
20602 installed version.
20603 (package-menu-describe-package): Fix last change.
20604 (package-list-unversioned): New var.
20605 (package-menu--generate): Use it.
20606
20607 * emacs-lisp/autoload.el: Manage package--builtin-versions.
20608 (autoload--insert-text, autoload--insert-cookie-text): New functions.
20609 (autoload-builtin-package-versions): New variable.
20610 (autoload-generate-file-autoloads): Use them.
20611 Remove the list of autoloaded functions/macros from the
20612 (autoload...) comments.
20613
20614 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
20615
20616 2013-06-15 Eli Zaretskii <eliz@gnu.org>
20617
20618 * simple.el (line-move-partial): Don't jump to the next screen
20619 line as soon as it becomes visible. Instead, continue enlarging
20620 the vscroll until the portion of a tall screen line that's left on
20621 display is about the height of the frame's default font.
20622 (Bug#14567)
20623
20624 2013-06-15 Glenn Morris <rgm@gnu.org>
20625
20626 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
20627 compilation-error-regexp-alist void, or local while let-bound.
20628
20629 * progmodes/make-mode.el (makefile-mode-syntax-table):
20630 Treat "=" as punctuation. (Bug#14614)
20631
20632 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
20633
20634 * help-fns.el (describe-variable):
20635 Add extra line for permanent-local variables.
20636
20637 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
20638
20639 * progmodes/scheme.el (scheme-font-lock-keywords-2):
20640 Add export, import, library. (Bug#9164)
20641 (library): Set indent function.
20642
20643 2013-06-14 Glenn Morris <rgm@gnu.org>
20644
20645 * term/xterm.el (xterm--query):
20646 Stop after first matching handler. (Bug#14615)
20647
20648 2013-06-14 Ivan Kanis <ivan@kanis.fr>
20649
20650 Add support for dired in saveplace.
20651 * dired.el (dired-initial-position-hook): New variable.
20652 (dired-initial-position): Call hook to place cursor position.
20653 * saveplace.el (save-place-to-alist): Add dired position.
20654 (save-place-dired-hook): New function.
20655
20656 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
20657
20658 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20659 through a symbol rather than letrec.
20660
20661 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
20662 (package-desc): Add `dir' field.
20663 (package-desc-full-name): New function.
20664 (package-load-descriptor): Combine the two arguments. Don't use `load'.
20665 (package-maybe-load-descriptor): Remove.
20666 (package-load-all-descriptors): Just call package-load-descriptor.
20667 (package--disabled-p): New function.
20668 (package-desc-vers, package-desc-doc): Remove aliases.
20669 (package--dir): Remove function.
20670 (package-activate): Check if a package is disabled.
20671 (package-process-define-package): New function, extracted from
20672 define-package.
20673 (define-package): Turn into a place holder.
20674 (package-unpack-single, package-tar-file-info):
20675 Use package--description-file.
20676 (package-compute-transaction): Use package--disabled-p.
20677 (package-download-transaction): Don't call
20678 package-maybe-load-descriptor since they're all loaded anyway.
20679 (package-install): Change argument to be a pkg-desc.
20680 (package-delete): Use a single pkg-desc argument.
20681 (describe-package-1): Use package-desc-dir instead of package--dir.
20682 Use package-desc property instead of package-symbol.
20683 (package-install-button-action): Adjust accordingly.
20684 (package--push): Rewrite.
20685 (package-menu--print-info): Adjust accordingly. Change the ID format
20686 to be a pkg-desc.
20687 (package-menu-describe-package, package-menu-get-status)
20688 (package-menu--find-upgrades, package-menu-mark-upgrades)
20689 (package-menu-execute, package-menu--name-predicate):
20690 Adjust accordingly.
20691 * startup.el (package--description-file): New function.
20692 (command-line): Use it.
20693 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20694 Use package-desc-version.
20695
20696 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20697 (byte-compile-preprocess): Use it.
20698 (byte-compile-file-form-defalias): Try a bit harder to use macros we
20699 can't quite recognize.
20700 (byte-compile-add-to-list): Remove.
20701 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20702 (cconv-closure-convert): Add assertion.
20703
20704 * emacs-lisp/map-ynp.el: Use lexical-binding.
20705 (map-y-or-n-p): Remove unused vars `tail' and `object'.
20706 Factor out some repeated code.
20707
20708 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20709
20710 * subr.el (with-eval-after-load): New macro.
20711 (eval-after-load): Allow form to be a function.
20712 take advantage of lexical-binding.
20713 (do-after-load-evaluation): Use dolist and adjust to new format.
20714 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20715
20716 2013-06-13 Juri Linkov <juri@jurta.org>
20717
20718 * replace.el (perform-replace): Display "symbol " and other search
20719 modes from `isearch-message-prefix' in the *Help* buffer.
20720
20721 * isearch.el (isearch-query-replace): Add " symbol" and other
20722 possible search modes from `isearch-message-prefix' to the prompt.
20723 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20724 when reading a regexp to collect.
20725
20726 2013-06-13 Juri Linkov <juri@jurta.org>
20727
20728 * isearch.el (word-search-regexp): Match whitespace if the search
20729 string begins or ends in whitespace. The LAX arg is applied to
20730 both ends of the search string. Use `regexp-quote' and explicit
20731 \< and \> instead of \b. Use \` and \' instead of ^ and $.
20732 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20733 boundaries are replaced with symbol boundaries, and characters
20734 between symbols match non-word non-symbol syntax. (Bug#14602)
20735
20736 2013-06-13 Juri Linkov <juri@jurta.org>
20737
20738 * isearch.el (isearch-del-char): Don't exceed the length of
20739 `isearch-string' by the prefix arg. (Bug#14563)
20740
20741 2013-06-13 Juri Linkov <juri@jurta.org>
20742
20743 * isearch.el (isearch-yank-word, isearch-yank-line)
20744 (isearch-char-by-name, isearch-quote-char)
20745 (isearch-printing-char, isearch-process-search-char):
20746 Add optional count prefix arg. (Bug#14563)
20747
20748 * international/isearch-x.el
20749 (isearch-process-search-multibyte-characters):
20750 Add optional count prefix arg.
20751
20752 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
20753
20754 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20755 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20756 lexical-binding.
20757
20758 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
20759
20760 * subr.el (set-temporary-overlay-map): Add on-exit argument.
20761
20762 2013-06-13 Glenn Morris <rgm@gnu.org>
20763
20764 * startup.el (tty-handle-args):
20765 Don't just discard "--" and anything after. (Bug#14608)
20766
20767 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20768
20769 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
20770
20771 Implement changes in Secret Service API. Make it backward compatible.
20772 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20773 (secrets-create-item): Use it. Prefix properties with interface.
20774
20775 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
20776
20777 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
20778 (term-emulate-terminal): Respect term-suppress-hard-newline.
20779
20780 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
20781
20782 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20783 Only remove a `thumb-file' overlay. (Bug#14548)
20784
20785 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
20786
20787 * mail/reporter.el (reporter-submit-bug-report):
20788 Handle missing package-name. (Bug#14600)
20789
20790 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20791
20792 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20793 (reftex-citation-prompt, reftex-default-bibliography)
20794 (reftex-bib-or-thebib, reftex-get-bibfile-list)
20795 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20796 (reftex-bib-sort-author, reftex-bib-sort-year)
20797 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20798 (reftex-extract-bib-entries-from-thebibliography)
20799 (reftex-get-bibkey-default, reftex-get-bib-names)
20800 (reftex-parse-bibtex-entry, reftex-get-bib-field)
20801 (reftex-format-bib-entry, reftex-parse-bibitem)
20802 (reftex-format-bibitem, reftex-do-citation)
20803 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20804 (reftex-restrict-bib-matches, reftex-extract-bib-file)
20805 (reftex-insert-bib-matches, reftex-format-citation)
20806 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20807 (reftex-create-bibtex-file): Add docstrings, mostly by converting
20808 existing comments into docstrings.
20809
20810 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20811
20812 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20813
20814 2013-06-12 Andreas Schwab <schwab@suse.de>
20815
20816 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20817 for auto-save files.
20818
20819 2013-06-12 Glenn Morris <rgm@gnu.org>
20820
20821 * ido.el (ido-delete-ignored-files): Remove.
20822 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20823 Go back to calling ido-ignore-item-p directly.
20824
20825 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
20826
20827 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20828
20829 * ido.el (ido-delete-ignored-files): New function,
20830 split from ido-make-file-list-1.
20831 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
20832 (ido-make-file-list-1): Use ido-delete-ignored-files.
20833
20834 2013-06-12 Leo Liu <sdl.web@gmail.com>
20835
20836 * progmodes/octave.el (inferior-octave-startup)
20837 (inferior-octave-completion-table)
20838 (inferior-octave-track-window-width-change)
20839 (octave-eldoc-function-signatures, octave-help)
20840 (octave-find-definition): Use single quoted strings.
20841 (inferior-octave-startup-args): Change default value.
20842 (inferior-octave-startup): Do not hard code "-i" and
20843 "--no-line-editing".
20844 (inferior-octave-resync-dirs): Add optional arg NOERROR.
20845 (inferior-octave-directory-tracker): Use it.
20846 (octave-goto-function-definition): Robustify.
20847 (octave-help): Support highlighting operators in 'See also'.
20848 (octave-find-definition): Find subfunctions only in Octave mode.
20849
20850 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20851
20852 * help-fns.el (help-fns--compiler-macro): If the handler function is
20853 named, then put a link to it.
20854 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20855 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20856 (cl-typep): Use it.
20857 (cl-eval-when): Simplify debug spec.
20858 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
20859 compiler-macro function instead of setting `compiler-macro-file'.
20860
20861 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
20862
20863 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20864 * vc/vc-hooks.el (vc-stay-local): Doc fix.
20865
20866 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
20867 Daniel Hackney <dan@haxney.org>
20868
20869 First part of Daniel Hackney's patch to package.el.
20870 * emacs-lisp/package.el: Use defstruct.
20871 (package-desc): New, main struct.
20872 (package--bi-desc, package--ac-desc): New structs, used to describe the
20873 format in external files.
20874 (package-desc-vers): Replace with package-desc-version accessor.
20875 (package-desc-doc): Replace with package-desc-summary accessor.
20876 (package-activate-1): Remove `package' arg since the pkg-vec now
20877 includes the name.
20878 (define-package): Use package-desc-from-define.
20879 (package-unpack-single): Change file-name arg to be a symbol.
20880 (package--add-to-archive-contents): Use package-desc-create and new
20881 accessor functions to package--ac-desc.
20882 (package-buffer-info, package-tar-file-info): Return a package-desc.
20883 (package-install-from-buffer): Remove `type' argument. Change pkg-info
20884 arg to be a package-desc.
20885 (package-install-file): Adjust accordingly. Use \' to match EOS.
20886 (package--from-builtin): New function.
20887 (describe-package-1, package-menu--generate): Use it.
20888 (package--make-autoloads-and-compile): Change name arg to be a symbol.
20889 (package-generate-autoloads): Idem and return the name of the file.
20890 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20891 Change pkg-info arg to be a package-desc.
20892 Use package-make-ac-desc.
20893 (package-upload-file): Use \' to match EOS.
20894 * finder.el (finder-compile-keywords): Use package-make-builtin.
20895
20896 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20897
20898 * vc/vc.el (vc-deduce-fileset): Change error message.
20899 (vc-read-backend): New function.
20900 (vc-next-action): Use it.
20901
20902 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20903
20904 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20905 (prolog-font-lock-keywords): Use regexp-opt instead.
20906 Don't manually highlight strings.
20907 (prolog-mode-variables): Simplify comment-start-skip.
20908 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
20909
20910 * emacs-lisp/generic.el (generic--normalise-comments)
20911 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20912 (generic-mode-set-comments): Use them.
20913 (generic-bracket-support): Use setq-local.
20914 (generic-make-keywords-list): Declare obsolete.
20915
20916 2013-06-11 Glenn Morris <rgm@gnu.org>
20917
20918 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20919 Prettify after setting font-lock-defaults. (Bug#14574)
20920
20921 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
20922
20923 * replace.el (query-replace, occur-read-regexp-defaults-function)
20924 (replace-search):
20925 * subr.el (declare-function, number-sequence, local-set-key)
20926 (substitute-key-definition, locate-user-emacs-file)
20927 (with-silent-modifications, split-string, eval-after-load):
20928 Fix typos, remove unneeded backslashes and reflow some docstrings.
20929
20930 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
20931
20932 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20933 default for Elisp files.
20934
20935 2013-06-11 Glenn Morris <rgm@gnu.org>
20936
20937 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20938 although define-derived-mode was doing this anyway. (Bug#14583)
20939
20940 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
20941
20942 * allout.el (allout-encryption-plaintext-sanitization-regexps):
20943 Fix make-variable-buffer-local call to refer to the correct variable.
20944
20945 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
20946
20947 * eshell/em-term.el (eshell-visual-commands)
20948 (eshell-visual-subcommands, eshell-visual-options):
20949 Add summary line to docstrings. Add cross-references.
20950
20951 2013-06-10 Glenn Morris <rgm@gnu.org>
20952
20953 * epa.el (epa-read-file-name): New function. (Bug#14510)
20954 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
20955
20956 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20957
20958 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20959 output redirection to be ignored with visual commands.
20960
20961 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
20962
20963 * eshell/em-term.el (eshell-visual-command-p): New function.
20964 (eshell-term-initialize): Move long lambda to separate function
20965 eshell-visual-command-p.
20966 * eshell/em-dirs.el (eshell-dirs-initialize):
20967 * eshell/em-script.el (eshell-script-initialize):
20968 Add missing #' to lambda.
20969
20970 2013-06-08 Leo Liu <sdl.web@gmail.com>
20971
20972 * progmodes/octave.el (octave-add-log-current-defun): New function.
20973 (octave-mode): Set add-log-current-defun-function.
20974 (octave-goto-function-definition): Do not move point if not found.
20975 (octave-find-definition): Enhance to try subfunctions first.
20976
20977 2013-06-08 Glenn Morris <rgm@gnu.org>
20978
20979 * emacs-lisp/bytecomp.el (byte-compile-char-before)
20980 (byte-compile-backward-char, byte-compile-backward-word):
20981 Improve previous change, to handle non-explicit nil.
20982
20983 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
20984
20985 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
20986 (smie--opener/closer-at-point): New function.
20987 (smie--matching-block-data): Use it. Don't match from right after an
20988 opener or right before a closer. Obey smie-blink-matching-inners.
20989 Don't signal a mismatch for repeated inners like "switch..case..case".
20990
20991 2013-06-07 Leo Liu <sdl.web@gmail.com>
20992
20993 * progmodes/octave.el (octave-mode): Set comment-use-global-state
20994 to t. (Bug#14303)
20995 (octave-function-header-regexp): Fix. (Bug#14570)
20996 (octave-help-mode-finish-hook, octave-help-mode-finish):
20997 Remove. Just use temp-buffer-show-hook.
20998
20999 * newcomment.el (comment-search-backward): Revert last change.
21000 (Bug#14434)
21001
21002 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
21003
21004 2013-06-07 Eli Zaretskii <eliz@gnu.org>
21005
21006 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
21007 through xargs, to avoid failure due to MS-Windows limitations on
21008 command-line length.
21009
21010 2013-06-06 Glenn Morris <rgm@gnu.org>
21011
21012 * font-lock.el (lisp-font-lock-keywords-2):
21013 Treat user-error like error.
21014
21015 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21016 (byte-compile-backward-char, byte-compile-backward-word):
21017 Handle explicit nil arguments. (Bug#14565)
21018
21019 2013-06-05 Alan Mackenzie <acm@muc.de>
21020
21021 * isearch.el (isearch-allow-prefix): New user option.
21022 (isearch-other-meta-char): Don't exit isearch when a prefix
21023 argument is typed whilst `isearch-allow-prefix' is non-nil.
21024 (Bug#9706)
21025
21026 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21027
21028 * autorevert.el (auto-revert-notify-handler): Use memq.
21029 Hide assertion failure.
21030
21031 * skeleton.el: Use cl-lib.
21032 (skeleton-further-elements): Use defvar-local.
21033 (skeleton-insert): Use cl-progv.
21034
21035 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21036
21037 * progmodes/prog-mode.el (prog-prettify-symbols)
21038 (prog-prettify-install): Update docstrings.
21039
21040 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21041
21042 * simple.el: Move all the prog-mode code to prog-mode.el.
21043 * progmodes/prog-mode.el: New file.
21044 * loadup.el: Add prog-mode.el.
21045
21046 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21047
21048 * simple.el (prog-prettify-symbols): Add version.
21049 (prog-prettify-install): Add convenience function to prettify symbols.
21050
21051 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
21052 (perl--augmented-font-lock-keywords-1)
21053 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
21054 variables and use it.
21055
21056 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21057 (cfengine3-mode): Remove unneeded variable and use it.
21058
21059 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21060 (lisp--augmented-font-lock-keywords-1)
21061 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
21062 Remove unneeded variables and use it.
21063
21064 2013-06-05 João Távora <joaotavora@gmail.com>
21065
21066 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
21067 to point when opening the connection. (Bug#14380)
21068
21069 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21070
21071 * subr.el (load-history-regexp, load-history-filename-element)
21072 (eval-after-load, after-load-functions, do-after-load-evaluation)
21073 (eval-next-after-load, display-delayed-warnings)
21074 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
21075 definition of save-match-data.
21076 (overriding-local-map): Remove accidental obsolescence declaration.
21077
21078 * emacs-lisp/edebug.el (edebug-result): Move before first use.
21079
21080 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21081
21082 Generalize symbol prettify support to prog-mode and implement it
21083 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
21084 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
21085 (prog--prettify-font-lock-compose-symbol)
21086 (prog-prettify-font-lock-symbols-keywords): New variables and
21087 functions to support symbol prettification.
21088 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21089 (lisp--augmented-font-lock-keywords-1)
21090 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
21091 (lisp--prettify-symbols-alist): Implement prettify of lambda.
21092 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21093 (cfengine3--prettify-symbols-alist, cfengine3-mode):
21094 Implement prettify of -> => :: strings.
21095 * progmodes/perl-mode.el (perl-prettify-symbols)
21096 (perl--font-lock-compose-symbol)
21097 (perl--font-lock-symbols-keywords): Move to prog-mode.
21098 (perl--prettify-symbols-alist): Prettify -> => :: strings.
21099 (perl-font-lock-keywords-1)
21100 (perl-font-lock-keywords-2): Remove explicit prettify support.
21101 (perl--augmented-font-lock-keywords)
21102 (perl--augmented-font-lock-keywords-1)
21103 (perl--augmented-font-lock-keywords-2, perl-mode):
21104 Implement prettify support.
21105
21106 2013-06-05 Leo Liu <sdl.web@gmail.com>
21107
21108 Re-implement SMIE matching block highlight using
21109 show-paren-data-function. (Bug#14395)
21110 * emacs-lisp/smie.el (smie-matching-block-highlight)
21111 (smie--highlight-matching-block-overlay)
21112 (smie--highlight-matching-block-lastpos)
21113 (smie-highlight-matching-block)
21114 (smie-highlight-matching-block-mode): Remove.
21115 (smie--matching-block-data-cache): New variable.
21116 (smie--matching-block-data): New function.
21117 (smie-setup): Use smie--matching-block-data for
21118 show-paren-data-function.
21119
21120 * progmodes/octave.el (octave-mode-menu): Fix.
21121 (octave-find-definition): Skip garbage lines.
21122
21123 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21124
21125 Fix compilation error with simultaneous dynamic+lexical scoping.
21126 Add warning when a defvar appears after the first let-binding.
21127 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
21128 (byte-compile-close-variables): Initialize it.
21129 (byte-compile--declare-var): New function.
21130 (byte-compile-file-form-defvar)
21131 (byte-compile-file-form-define-abbrev-table)
21132 (byte-compile-file-form-custom-declare-variable): Use it.
21133 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
21134 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
21135 (byte-compile-bind): Handle dynamic bindings that shadow
21136 lexical bindings.
21137 (byte-compile-unbind): Make arg non-optional.
21138 (byte-compile-let): Simplify.
21139 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
21140 (cconv--analyse-function, cconv-analyse-form): Populate it.
21141 Protect byte-compile-bound-variables to limit the scope of defvars.
21142 (cconv-analyse-form): Add missing rule for (defvar <foo>).
21143 Remove unneeded rule for `declare'.
21144
21145 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
21146 so as to avoid depending on cl-adjoin at run-time.
21147 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
21148
21149 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
21150 (macroexp--warn-and-return): Use it.
21151
21152 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21153
21154 * subr.el: Convert to lexical binding.
21155 (overriding-local-map): Make obsolete.
21156 (add-to-list): Doc fix. Add compiler macro.
21157 (read-key): Swap values of local maps.
21158
21159 2013-06-05 Leo Liu <sdl.web@gmail.com>
21160
21161 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
21162
21163 2013-06-04 Leo Liu <sdl.web@gmail.com>
21164
21165 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
21166 (compilation-auto-jump): Suppress the "Mark set" message to give
21167 way to exit message.
21168
21169 2013-06-04 Alan Mackenzie <acm@muc.de>
21170
21171 Remove faulty optimization from indentation calculation.
21172 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
21173 search limit based on 2000 characters back from indent-point.
21174
21175 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21176
21177 * eshell/em-term.el (cl-lib): Require `cl-lib'.
21178
21179 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
21180
21181 * emacs-lisp/lisp.el: Use lexical-binding.
21182 (lisp--local-variables-1, lisp--local-variables): New functions.
21183 (lisp--local-variables-completion-table): New var.
21184 (lisp-completion-at-point): Use it complete let-bound vars.
21185
21186 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
21187 eagerly (bug#14422).
21188
21189 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
21190
21191 * autorevert.el (auto-revert-notify-enabled)
21192 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21193 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
21194 (auto-revert-notify-handler): Handle also gfilenotify.
21195
21196 * subr.el (file-notify-handle-event): New defun. Replacing ...
21197 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
21198 Remove.
21199
21200 2013-06-03 Juri Linkov <juri@jurta.org>
21201
21202 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
21203 `M-s h .'. (Bug#14427)
21204
21205 * hi-lock.el (highlight-symbol-at-point): New alias for the new
21206 command `hi-lock-face-symbol-at-point'.
21207 (hi-lock-face-symbol-at-point): New command.
21208 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
21209 (hi-lock-menu): Add `highlight-symbol-at-point'.
21210 (hi-lock-mode): Doc fix.
21211
21212 * isearch.el (isearch-forward-symbol-at-point): New command.
21213 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
21214 (isearch-highlight-regexp): Add a regexp which matches
21215 words/symbols for word/symbol mode.
21216
21217 * subr.el (find-tag-default-bounds): New function with the body
21218 mostly moved from `find-tag-default'.
21219 (find-tag-default): Move most code to `find-tag-default-bounds',
21220 call it and apply `buffer-substring-no-properties' afterwards.
21221
21222 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21223
21224 * eshell/em-term.el (eshell-term-initialize):
21225 Use `cl-intersection' rather than `intersection'.
21226
21227 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21228
21229 * vc/log-view.el: Doc fix.
21230 (log-view-mode-map): Copy keymap from `special-mode-map'.
21231
21232 2013-06-02 Eric Ludlam <zappo@gnu.org>
21233
21234 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21235 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21236 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21237 (eieio-unbound, eieio-default-superclass)
21238 (eieio--define-field-accessors, method-static, method-before)
21239 (method-primary, method-after, method-num-lists)
21240 (method-generic-before, method-generic-primary)
21241 (method-generic-after, method-num-slots)
21242 (eieio-specialized-key-to-generic-key)
21243 (eieio--check-type, class-v, class-p)
21244 (eieio-class-name, define-obsolete-function-alias)
21245 (eieio-class-parents-fast, eieio-class-children-fast)
21246 (same-class-fast-p, class-constructor, generic-p)
21247 (generic-primary-only-p, generic-primary-only-one-p)
21248 (class-option-assoc, class-option, eieio-object-p)
21249 (class-abstract-p, class-method-invocation-order)
21250 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21251 (eieio-class-un-autoload, eieio-defclass)
21252 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21253 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21254 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21255 (eieio-defgeneric-reset-generic-form)
21256 (eieio-defgeneric-form-primary-only)
21257 (eieio-defgeneric-reset-generic-form-primary-only)
21258 (eieio-defgeneric-form-primary-only-one)
21259 (eieio-defgeneric-reset-generic-form-primary-only-one)
21260 (eieio-unbind-method-implementations)
21261 (eieio--defmethod, eieio--typep)
21262 (eieio-perform-slot-validation, eieio-validate-slot-value)
21263 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21264 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21265 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21266 (eieio-slot-name-index, eieio-class-slot-name-index)
21267 (eieio-set-defaults, eieio-initarg-to-attribute)
21268 (eieio-attribute-to-initarg, eieio-c3-candidate)
21269 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21270 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21271 (eieio-class-precedence-list, eieio-generic-call-methodname)
21272 (eieio-generic-call-arglst, eieio-generic-call-key)
21273 (eieio-generic-call-next-method-list)
21274 (eieio-pre-method-execution-functions, eieio-generic-call)
21275 (eieio-generic-call-primary-only, eieiomt-method-list)
21276 (eieiomt-optimizing-obarray, eieiomt-install)
21277 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21278 (eieio-generic-form, eieio-defmethod, make-obsolete)
21279 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21280 (defclass): Remove `eval-and-compile' from macro.
21281 (call-next-method, shared-initialize): Instead of using
21282 `scoped-class' variable, use new eieio--scoped-class, and
21283 eieio--with-scoped-class.
21284 (initialize-instance): Rename local variable 'scoped-class' to
21285 'this-class' to remove ambiguitity from old global.
21286
21287 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21288 eieio.el.
21289 (eieio--scoped-class-stack): New variable.
21290 (eieio--scoped-class): New fcn.
21291 (eieio--with-scoped-class): New scoping macro.
21292 (eieio-defclass): Use pushnew instead of add-to-list.
21293 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21294 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21295 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21296 `scoped-class' variable, use new eieio--scoped-class, and
21297 eieio--with-scoped-class.
21298
21299 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21300
21301 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21302
21303 * eshell/esh-ext.el (eshell-external-command): Pass args to
21304 `eshell-find-interpreter'.
21305 (eshell-find-interpreter): Add new second parameter ARGS.
21306
21307 * eshell/em-script.el (eshell-script-initialize): Add second arg
21308 to the function added as MATCH to `eshell-interpreter-alist'.
21309
21310 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21311 the function added as MATCH to `eshell-interpreter-alist'.
21312
21313 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21314 (eshell-visual-options): New defcustom.
21315 (eshell-escape-control-x): Adapt docstring.
21316 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21317 `eshell-visual-options' in addition to `eshell-visual-commands'.
21318 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21319
21320 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21321
21322 * progmodes/python.el (python-indent-block-enders): Add break,
21323 continue and raise keywords.
21324
21325 2013-06-01 Glenn Morris <rgm@gnu.org>
21326
21327 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21328
21329 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21330 * progmodes/cc-cmds.el (delete-forward-p):
21331 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21332 * progmodes/cc-engine.el (buffer-syntactic-context):
21333 * progmodes/cc-fonts.el (face-property-instance):
21334 * progmodes/cc-mode.el (set-keymap-parents):
21335 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21336 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21337 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21338 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21339 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21340
21341 * progmodes/cc-vars.el (other): Emacs has this widget since
21342 at least 21.1, so don't (re)define it.
21343
21344 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21345 Replace the obsolete alias pcomplete-arg-quote-list.
21346
21347 2013-06-01 Leo Liu <sdl.web@gmail.com>
21348
21349 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21350 punctuation syntax.
21351 (inferior-octave-minimal-columns)
21352 (inferior-octave-last-column-width): New variables.
21353 (inferior-octave-track-window-width-change): New function.
21354 (inferior-octave-mode): Adjust column width so that Octave output,
21355 for example from 'ls', can fit into the window nicely.
21356
21357 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21358
21359 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21360 Highlight expansions inside regexp literals.
21361
21362 2013-05-31 Glenn Morris <rgm@gnu.org>
21363
21364 * obsolete/sym-comp.el (symbol-complete):
21365 Replace obsolete completion-annotate-function.
21366
21367 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21368
21369 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21370
21371 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21372 New function, checks if point is inside a literal that allows
21373 expression expansion.
21374 (ruby-syntax-propertize-expansion): Use it.
21375 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21376 around the body.
21377
21378 2013-05-30 Juri Linkov <juri@jurta.org>
21379
21380 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21381 to "\M-si".
21382 (isearch-invisible): New variable.
21383 (isearch-forward): Doc fix.
21384 (isearch-mode): Set `isearch-invisible'
21385 to the value of `search-invisible'.
21386 (isearch-toggle-case-fold): Doc fix.
21387 (isearch-toggle-invisible): New command.
21388 (isearch-query-replace): Let-bind `search-invisible'
21389 to the value of `isearch-invisible'.
21390 (isearch-search): Use `isearch-invisible' instead of
21391 `search-invisible'. Let-bind `search-invisible'
21392 to the value of `isearch-invisible'. (Bug#11378)
21393
21394 2013-05-30 Juri Linkov <juri@jurta.org>
21395
21396 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21397 call when `query-flag' is nil and `search-invisible' is non-nil.
21398 (Bug#11746)
21399
21400 2013-05-30 Glenn Morris <rgm@gnu.org>
21401
21402 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21403
21404 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21405 (cc-require): Suppress spurious "noruntime" warnings.
21406 (cc-require-when-compile): Use fboundp, for sake of compiler.
21407
21408 * progmodes/cc-mode.el: Move load of cc-vars before that of
21409 cc-langs (which in turn loads cc-vars), to quieten compiler.
21410
21411 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21412
21413 * paren.el: Simplify the code.
21414 (show-paren-mode): Always start the timer.
21415 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21416 (show-paren--overlay, show-paren--overlay-1): Rename from
21417 show-paren-overlay and show-paren-overlay-1, and initialize to an
21418 overlay rather than to nil.
21419 (show-paren-function): Misc cleanup and simplifications.
21420
21421 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21422
21423 * paren.el (show-paren-data-function): New hook.
21424 (show-paren--default): New function, extracted from show-paren-function.
21425 (show-paren-function): Use show-paren-data-function.
21426
21427 2013-05-30 Glenn Morris <rgm@gnu.org>
21428
21429 * ielm.el (ielm-map, ielm-complete-symbol):
21430 Use completion-at-point rather than obsolete functions.
21431 (inferior-emacs-lisp-mode): Doc fix.
21432 Set completion-at-point-functions, rather than
21433 comint-dynamic-complete-functions.
21434
21435 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21436 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21437 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21438
21439 * image.el (image-animated-p): Tweak definition.
21440
21441 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21442 (rlogin-process-connection-type): Tweak default. Add set-after.
21443 (rlogin-host): Doc fix.
21444 (rlogin): Tweak prompt.
21445 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21446
21447 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21448 * progmodes/tcl.el (inferior-tcl-mode-map):
21449 Use completion-at-point rather than obsolete alias.
21450
21451 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21452
21453 * minibuffer.el (read-file-name-completion-ignore-case):
21454 Move before completion--in-region, for eager macro expansion.
21455
21456 2013-05-29 Juri Linkov <juri@jurta.org>
21457
21458 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21459 for total count of matching lines. Add `global-matches' for total
21460 count of matches. Rename `matches' to `lines' for count of
21461 matching lines. Add `matches' for count of matches.
21462 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21463 to `prev-line' for line number of prev match endpt.
21464 Increment `matches' for every match. Print the number of
21465 matching lines in the header.
21466 (occur-context-lines): Rename `lines' to `curr-line'.
21467 Rename `prev-lines' to `prev-line'. (Bug#14017)
21468
21469 2013-05-29 Juri Linkov <juri@jurta.org>
21470
21471 * replace.el (perform-replace): Add `skip-read-only-count',
21472 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21473 Increment them for corresponding conditions and report the number
21474 of skipped occurrences in the final message. (Bug#11746)
21475 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21476 (replace-string, replace-regexp): Doc fix.
21477
21478 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21479
21480 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21481
21482 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21483 prog-mode-map (bug#14504).
21484
21485 2013-05-29 Leo Liu <sdl.web@gmail.com>
21486
21487 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21488 (octave-help): Small simplification.
21489
21490 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21491 off the highlight first.
21492
21493 2013-05-29 Glenn Morris <rgm@gnu.org>
21494
21495 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21496 Handle idlwave-last-system-routine-info-cons-cell being nil.
21497
21498 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21499 (idlwave-write-paths): Simplify via with-temp-buffer.
21500
21501 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21502 * emulation/cua-rect.el: Also load cua-base at run time.
21503
21504 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21505 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21506 (cperl-imenu-on-info): Require imenu.
21507
21508 2013-05-28 Alan Mackenzie <acm@muc.de>
21509
21510 Handle "capitalised keywords" correctly.
21511 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21512
21513 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21514
21515 * eshell/em-unix.el: Add -r option to cp.
21516
21517 2013-05-28 Glenn Morris <rgm@gnu.org>
21518
21519 * vc/vc-arch.el (vc-exec-after): Declare.
21520 (vc-switches): Autoload.
21521 * vc/vc-bzr.el: No need to require vc when compiling.
21522 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21523 (vc-resynch-buffer, vc-dir-refresh): Declare.
21524 (vc-setup-buffer, vc-switches): Autoload.
21525 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21526 (vc-resynch-buffer): Declare.
21527 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21528 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21529 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21530 (grep-read-regexp, grep-read-files, grep-expand-template)
21531 (vc-dir-refresh): Declare.
21532 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21533 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21534 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21535 * vc/vc-mtn.el (vc-exec-after): Declare.
21536 (vc-switches): Autoload.
21537 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21538 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21539 (vc-file-tree-walk): Declare.
21540 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21541 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21542 (vc-tag-precondition, vc-rename-master): Autoload.
21543 * vc/vc-svn.el (vc-exec-after): Declare.
21544 (vc-switches, vc-setup-buffer): Autoload.
21545 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21546 Autoload.
21547 (vc-resynch-buffer): Declare.
21548
21549 * obsolete/fast-lock.el (byte-compile-warnings):
21550 Don't warn about obsolete features in this obsolete file.
21551
21552 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21553 Move definition before use.
21554
21555 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21556 (dun-unix-verbs): Remove dun-zippy.
21557 (dun-zippy): Remove function.
21558
21559 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21560
21561 2013-05-27 Juri Linkov <juri@jurta.org>
21562
21563 * replace.el (replace-search): New function with code moved out
21564 from `perform-replace'.
21565 (replace-highlight, replace-dehighlight): Move function definitions
21566 up closer to `replace-search'. (Bug#11746)
21567
21568 2013-05-27 Juri Linkov <juri@jurta.org>
21569
21570 * replace.el (perform-replace): Ignore invisible matches.
21571 In addition to checking `query-replace-skip-read-only', also
21572 filter out matches by calling `run-hook-with-args-until-failure'
21573 on `isearch-filter-predicates', and also check `search-invisible'
21574 for t or call `isearch-range-invisible'.
21575 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
21576
21577 2013-05-27 Juri Linkov <juri@jurta.org>
21578
21579 * isearch.el (isearch-filter-predicates): Rename from
21580 `isearch-filter-predicate'. Doc fix. (Bug#11378)
21581 (isearch-message-prefix): Display text from the property
21582 `isearch-message-prefix' of the currently active filters.
21583 (isearch-search): Don't compare `isearch-filter-predicate' with
21584 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
21585 on `isearch-filter-predicates'. Also check `search-invisible' for t
21586 or call `isearch-range-invisible'.
21587 (isearch-filter-visible): Make obsolete.
21588 (isearch-lazy-highlight-search):
21589 Call `run-hook-with-args-until-failure' on
21590 `isearch-filter-predicates' and use `isearch-range-invisible'.
21591
21592 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
21593 `isearch-filter-predicates' instead of `funcall'ing
21594 `isearch-filter-predicate'.
21595 (Info-mode): Set `Info-isearch-filter' to
21596 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
21597
21598 * dired-aux.el (dired-isearch-filter-predicate-orig):
21599 Remove variable.
21600 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
21601 (dired-isearch-filenames-end): Add and remove
21602 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
21603 instead of changing the value of `isearch-filter-predicate'.
21604 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
21605 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
21606 Put property `isearch-message-prefix' to "filename " on
21607 `dired-isearch-filter-filenames'.
21608
21609 * wdired.el (wdired-change-to-wdired-mode):
21610 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
21611 locally instead of changing `isearch-filter-predicate'.
21612 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
21613
21614 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
21615
21616 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
21617 return the commit hash (Bug#14459). Also set the
21618 `vc-git-detached' property.
21619 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
21620 (vc-git-mode-line-string): Use the same help-echo format whether
21621 in detached mode or not, because we know the actual revision now.
21622 When in detached mode, shorten the revision to 7 chars.
21623
21624 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21625
21626 * emacs-lisp/easy-mmode.el (define-minor-mode):
21627 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
21628 mode hook and provide a docstring.
21629
21630 2013-05-27 Alan Mackenzie <acm@muc.de>
21631
21632 Remove spurious syntax-table text properties inserted by C-y.
21633 * progmodes/cc-mode.el (c-after-change): Also clear hard
21634 syntax-table property with value nil.
21635
21636 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
21637
21638 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21639 when reading the events; the buffer layout shall not be changed.
21640
21641 2013-05-27 Leo Liu <sdl.web@gmail.com>
21642
21643 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21644 New variable.
21645 (inferior-octave-directory-tracker): Automatically re-sync
21646 default-directory.
21647 (octave-help): Improve handling of 'See also'.
21648
21649 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21650
21651 * doc-view.el: Minor naming convention tweaks.
21652 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21653
21654 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21655 even if there's no `display' property yet (bug#14435).
21656
21657 2013-05-25 Eli Zaretskii <eliz@gnu.org>
21658
21659 * subr.el (unmsys--file-name): Rename from reveal-filename.
21660
21661 * Makefile.in (custom-deps, finder-data, autoloads)
21662 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21663 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21664 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21665
21666 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21667
21668 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21669 error-completion on the first 2 args of condition-case (bug#14446).
21670 Don't burp at EOB.
21671
21672 2013-05-25 Leo Liu <sdl.web@gmail.com>
21673
21674 * comint.el (comint-previous-matching-input): Do not flood the
21675 *Messages* buffer with trivial messages.
21676
21677 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
21678
21679 * progmodes/flymake.el (flymake-nop): Don't return a string.
21680 (flymake-set-at): Fix typo.
21681
21682 * simple.el (read--expression): New function, extracted from
21683 eval-expression. Set completion-at-point-functions (bug#14465).
21684 (eval-expression, eval-minibuffer): Use it.
21685
21686 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
21687
21688 * progmodes/flymake.el (flymake-save-buffer-in-file)
21689 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21690 (flymake-selected-frame, flymake-log, flymake-ins-after)
21691 (flymake-set-at, flymake-get-buildfile-from-cache)
21692 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21693 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21694 Refine the doc string.
21695 (flymake-get-file-name-mode-and-masks): Reformat.
21696 (flymake-get-real-file-name-function): Fix a minor bug.
21697
21698 2013-05-24 Juri Linkov <juri@jurta.org>
21699
21700 * progmodes/grep.el (grep-mode-font-lock-keywords):
21701 Support =linenumber= format used by git-grep for lines with
21702 function names. (Bug#13549)
21703
21704 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21705
21706 * progmodes/octave.el (octave-smie-rules): Return nil rather than
21707 0 after a semi-colon; it works better for smie-auto-fill.
21708 (octave--indent-new-comment-line): New function.
21709 (octave-indent-new-comment-line): Use it (indirectly).
21710 (octave-mode): Don't disable smie-auto-fill. Use add-function to
21711 modify comment-line-break-function.
21712
21713 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21714 (smie-setup): Use add-function to set it.
21715
21716 2013-05-24 Sam Steingold <sds@gnu.org>
21717
21718 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21719 argument (before the `interactive' argument).
21720
21721 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21722
21723 * image-mode.el (image-mode-winprops): Add winprops to
21724 image-mode-winprops-alist before running
21725 image-mode-new-window-functions.
21726 * doc-view.el (doc-view-new-window-function): Don't delay
21727 doc-view-goto-page via timers (bug#14435).
21728
21729 2013-05-24 Tassilo Horn <tsdh@gnu.org>
21730
21731 * doc-view.el: Integrate with desktop.el. (Bug#14435)
21732 (doc-view-desktop-save-buffer): New function.
21733 (doc-view-restore-desktop-buffer): New function.
21734 (desktop-buffer-mode-handlers):
21735 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21736 handler.
21737 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21738 `desktop-save-buffer' function.
21739
21740 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21741
21742 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21743 (tramp-gvfs-file-name-handler): Raise a user error when
21744 `tramp-gvfs-enabled' is nil.
21745 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21746 Do not raise a user error when loading package. (Bug#14447)
21747
21748 * net/xesam.el: Move to obsolete/.
21749
21750 2013-05-24 Glenn Morris <rgm@gnu.org>
21751
21752 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21753
21754 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21755
21756 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21757 (Info-find-node, Man-getpage-in-background): Declare.
21758
21759 * mail/unrmail.el (unrmail):
21760 Replace obsolete detect-coding-with-priority.
21761
21762 * net/socks.el (socks-split-string): Use this rather than split-string.
21763 (socks-nslookup-host): Update for above change.
21764 (dynamic-choice, s5-dynamic-choice-match)
21765 (s5-dynamic-choice-match-inline, s5-widget-value-create):
21766 Comment out unused code.
21767
21768 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21769 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21770 (gud-tooltip-echo-area): Make obsolete.
21771 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21772
21773 * progmodes/js.el (js--optimize-arglist): Declare.
21774
21775 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21776
21777 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21778 (ediff-window-C): Declare.
21779
21780 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21781 Tweak requires to silence compiler.
21782
21783 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21784 (he-search-string, he-tried-table, he-expand-list)
21785 (he-init-string, he-string-member, he-substitute-string)
21786 (he-reset-string): Declare.
21787
21788 * obsolete/options.el (list-options): Use custom-variable-p,
21789 rather than obsolete alias.
21790
21791 2013-05-23 Sam Steingold <sds@gnu.org>
21792
21793 * simple.el (shell-command-on-region): Pass the `replace' argument
21794 down to `call-process-region' to comply with the doc as reported on
21795 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21796
21797 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21798
21799 * emacs-lisp/smie.el (smie-indent-forward-token)
21800 (smie-indent-backward-token): Handle string tokens (bug#14381).
21801
21802 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21803
21804 * ielm.el (ielm-menu): New menu.
21805 (inferior-emacs-lisp-mode): Set comment-start.
21806
21807 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21808
21809 * textmodes/reftex.el (reftex-ref-style-toggle):
21810 Fix deactivate action.
21811
21812 * textmodes/reftex-vars.el (reftex-ref-style-alist):
21813 Add cleveref macros.
21814
21815 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21816 Accept options for bibliography commands.
21817 * textmodes/reftex-vars.el (reftex-bibliography-commands):
21818 Add addbibresource. Basic Biblatex support.
21819
21820 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
21821
21822 * net/tramp-gvfs.el (top):
21823 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21824 when loading package. (Bug#14447)
21825
21826 2013-05-23 Glenn Morris <rgm@gnu.org>
21827
21828 * progmodes/js.el: No need to load comint when compiling.
21829 (ring-insert, comint-send-string, comint-send-input)
21830 (comint-last-input-end, ido-chop): Declare.
21831
21832 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21833 * vc/ediff-mult.el: Adjust requires.
21834 (ediff-directories-internal, ediff-directory-revisions-internal)
21835 (ediff-patch-file-internal): Declare.
21836 * vc/ediff-ptch.el: Adjust requires.
21837 (ediff-use-last-dir, ediff-buffers-internal): Declare.
21838 (ediff-find-file): Autoload.
21839 * vc/ediff-util.el: No need to load ediff when compiling.
21840 (ediff-regions-internal): Declare.
21841 * vc/ediff-wind.el: Adjust requires.
21842 (ediff-compute-toolbar-width): Define when compiling.
21843 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21844 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21845 (dired-get-filename, dired-get-marked-files)
21846 (ediff-last-dir-patch, ediff-patch-default-directory)
21847 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21848 (ediff-patch-buffer-internal): Declare.
21849
21850 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21851 (ispell-process, ispell-buffer-local-words, lm-summary)
21852 (lm-section-start, lm-section-end): Declare.
21853 (checkdoc-ispell-init): Simplify.
21854
21855 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21856 (he-string-member, he-reset-string, he-substitute-string): Declare.
21857
21858 * eshell/em-ls.el: Adjust requires.
21859 (eshell-glob-regexp): Declare.
21860 * eshell/em-tramp.el: Adjust requires.
21861 (eshell-parse-command): Autoload.
21862 * eshell/em-xtra.el: Adjust requires.
21863 (eshell-parse-command): Autoload.
21864 * eshell/esh-ext.el: Adjust requires.
21865 (eshell-parse-command, eshell-close-handles): Autoload.
21866 * eshell/esh-io.el: Adjust requires.
21867 (eshell-output-filter): Autoload.
21868 * eshell/esh-util.el: No need to load tramp when compiling.
21869 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21870 Declare.
21871 (eshell-parse-ange-ls): Require ange-ftp and tramp.
21872 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21873 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21874 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21875 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21876 * eshell/esh-opt.el, eshell/esh-proc.el:
21877 * eshell/esh-var.el: Adjust requires.
21878 * eshell/eshell.el: Do not require esh-util twice.
21879 (eshell-add-input-to-history): Declare.
21880 (eshell-command): Check history module is active before using it.
21881
21882 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21883
21884 2013-05-22 Leo Liu <sdl.web@gmail.com>
21885
21886 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21887
21888 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
21889
21890 * autorevert.el (auto-revert-notify-add-watch)
21891 (auto-revert-notify-handler): Add `attrib' for the inotify case,
21892 it indicates changes in file modification time.
21893
21894 2013-05-22 Glenn Morris <rgm@gnu.org>
21895
21896 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21897 Always delete the autoloaded function from the noruntime and
21898 unresolved functions lists.
21899
21900 * allout.el: No need to load epa, epg, overlay when compiling.
21901 (epg-context-set-passphrase-callback, epg-list-keys)
21902 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21903 (epg-key-user-id-list): Declare.
21904
21905 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21906 (viper-set-parsing-style-toggling-macro)
21907 (viper-set-emacs-state-searchstyle-macros):
21908 Use called-interactively-p on Emacs.
21909 (viper-looking-back): Make it an obsolete alias. Update callers.
21910 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21911 Use looking-back rather than viper-looking-back.
21912 (viper-tmp-insert-at-eob, viper-enlarge-region)
21913 (viper-read-string-with-history, viper-register-to-point)
21914 (viper-append-to-register, viper-change-state-to-vi)
21915 (viper-backward-char-carefully, viper-forward-char-carefully)
21916 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21917 (viper-change-state-to-emacs): Declare.
21918 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21919 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21920 * emulation/viper-mous.el: Do not load viper-cmd.
21921 (viper-backward-char-carefully, viper-forward-char-carefully)
21922 (viper-forward-word, viper-adjust-window): Declare.
21923
21924 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21925
21926 * progmodes/idlw-help.el (idlwave-help-fontify):
21927 Use called-interactively-p.
21928
21929 * term/w32console.el (w32-get-console-codepage)
21930 (w32-get-console-output-codepage): Declare.
21931
21932 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21933 Remove unnecessary declarations.
21934 (dframe-message): Doc fix.
21935
21936 * info.el (dframe-select-attached-frame, dframe-current-frame):
21937 Declare.
21938
21939 * speedbar.el (speedbar-message): Make it an obsolete alias.
21940 Update all callers.
21941 (speedbar-with-attached-buffer)
21942 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21943 (speedbar-with-writable): Use backquote.
21944 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21945 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21946 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21947 rather than speedbar- aliases.
21948 * mail/rmail.el: Load dframe rather than speedbar when compiling.
21949 (speedbar-make-specialized-keymap, speedbar-insert-button)
21950 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21951 (speedbar-do-function-pointer): Declare.
21952 (rmail-speedbar-button, rmail-speedbar-find-file)
21953 (rmail-speedbar-move-message):
21954 Use dframe-with-attached-buffer rather than speedbar- alias.
21955 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21956 (dframe-message, speedbar-make-specialized-keymap)
21957 (speedbar-add-expansion-list, speedbar-mode-functions-list)
21958 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21959 (speedbar-insert-button, dframe-select-attached-frame)
21960 (dframe-maybee-jump-to-attached-frame)
21961 (speedbar-change-initial-expansion-list)
21962 (speedbar-previously-used-expansion-list-name): Declare.
21963 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21964 Use dframe-message, dframe-with-attached-buffer rather than
21965 speedbar- aliases.
21966 (gud-sentinel): Silence compiler.
21967 * progmodes/vhdl-mode.el (speedbar-refresh)
21968 (speedbar-do-function-pointer, speedbar-add-supported-extension)
21969 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
21970 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
21971 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
21972 (speedbar-file-lists, speedbar-make-tag-line)
21973 (speedbar-line-directory, speedbar-goto-this-file)
21974 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
21975 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
21976 (speedbar-make-button, speedbar-reset-scanners)
21977 (speedbar-files-item-info, speedbar-line-text)
21978 (speedbar-find-file-in-frame, speedbar-set-timer)
21979 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
21980 (speedbar-with-writable): Do not (re)define it.
21981 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
21982 rather than speedbar- alias.
21983
21984 2013-05-21 Leo Liu <sdl.web@gmail.com>
21985
21986 * progmodes/octave.el (octave-mode-menu): Update and re-organize
21987 menu items.
21988 (octave-mode): Tweak fill-nobreak-predicate.
21989 (inferior-octave-startup): Check process to avoid infinite loop.
21990 (inferior-octave): Pop to buffer first to show abornmal process
21991 exit information.
21992
21993 2013-05-21 Glenn Morris <rgm@gnu.org>
21994
21995 * printing.el (pr-menu-bar): Define when compiling.
21996
21997 2013-05-21 Leo Liu <sdl.web@gmail.com>
21998
21999 * progmodes/octave.el (octave-auto-fill): Remove.
22000 (octave-indent-new-comment-line): Improve.
22001 (octave-mode): Use auto fill mode through
22002 comment-line-break-function and fill-nobreak-predicate.
22003 (octave-goto-function-definition): Support DEFUN_DLD.
22004 (octave-beginning-of-defun): Small tweak.
22005 (octave-help): Show parent directory.
22006
22007 2013-05-21 Glenn Morris <rgm@gnu.org>
22008
22009 * files.el (dired-unmark):
22010 * progmodes/gud.el (gdb-input): Update declarations.
22011
22012 * calculator.el (electric, ehelp): No need to load when compiling.
22013 (Electric-command-loop, electric-describe-mode): Declare.
22014
22015 * doc-view.el (doc-view-current-converter-processes): Move before use.
22016
22017 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
22018 Move MODE-set-explicitly definition before use.
22019
22020 * international/mule-diag.el (mule-diag):
22021 Don't use obsolete window-system-version.
22022
22023 * mail/feedmail.el (smtpmail): No need to load when compiling.
22024 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
22025
22026 * mail/mail-utils.el (rfc822): No need to load when compiling.
22027 (rfc822-addresses): Autoload it.
22028 (mail-strip-quoted-names): Trivial simplification.
22029
22030 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
22031 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
22032
22033 * net/snmp-mode.el (tempo): Don't duplicate requires.
22034
22035 * progmodes/prolog.el (info): No need to load when compiling.
22036 (comint): Require before shell requires it.
22037 (Info-goto-node): Autoload it.
22038 (Info-follow-nearest-node): Declare.
22039 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
22040
22041 * textmodes/artist.el (picture-mode-exit): Declare.
22042
22043 * textmodes/reftex-parse.el (reftex-parse-from-file):
22044 Trivial rewrite so the compiler can parse it better.
22045
22046 2013-05-20 Leo Liu <sdl.web@gmail.com>
22047
22048 * progmodes/octave.el (octave-help-mode-map)
22049 (octave-help-mode-finish-hook): New variables.
22050 (octave-help-mode, octave-help-mode-finish): New functions.
22051 (octave-help): Use octave-help-mode.
22052
22053 2013-05-20 Glenn Morris <rgm@gnu.org>
22054
22055 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
22056
22057 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
22058
22059 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
22060 start at point, so that expansion starting right after opening
22061 slash in a regexp is recognized.
22062 (ruby-syntax-before-regexp-re): New defvar, extracted from
22063 ruby-syntax-propertize-function. Since the value of this regexp
22064 is looked up at runtime now, we should be able to turn
22065 `ruby-syntax-methods-before-regexp' into a defcustom later.
22066 (ruby-syntax-propertize-function): Split regexp matching into two
22067 parts, for opening and closing slashes. That allows us to skip
22068 over string interpolations and support multiline regexps.
22069 Don't call `ruby-syntax-propertize-expansions', instead use another rule
22070 for them, which calls `ruby-syntax-propertize-expansion'.
22071 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
22072 call to `ruby-syntax-propertize-function'.
22073 (ruby-syntax-propertize-expansion): Extracted from
22074 `ruby-syntax-propertize-expansions'. Handles one expansion.
22075 (ruby-syntax-propertize-percent-literal): Leave point right after
22076 the percent symbol, so that the expression expansion rule can
22077 propertize the contents.
22078 (ruby-syntax-propertize-heredoc): Leave point at bol following the
22079 heredoc openers.
22080 (ruby-syntax-propertize-expansions): Remove.
22081
22082 2013-05-18 Juri Linkov <juri@jurta.org>
22083
22084 * man.el (Man-default-man-entry): Remove `-' from the end
22085 of the default value. (Bug#14400)
22086
22087 2013-05-18 Glenn Morris <rgm@gnu.org>
22088
22089 * comint.el (comint-password-prompt-regexp):
22090 Allow "password for XXX" where XXX contains colons (eg https://...).
22091
22092 2013-05-18 Leo Liu <sdl.web@gmail.com>
22093
22094 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
22095 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
22096 (octave-source-directories): Don't check process.
22097 (octave-source-directories, octave-find-definition): Doc fix.
22098
22099 2013-05-18 Glenn Morris <rgm@gnu.org>
22100
22101 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
22102 Remove backspace/delete bindings. (Bug#14392)
22103
22104 * cus-dep.el (custom-make-dependencies): Sort the output.
22105 (custom-versions-load-alist): Convert comment to doc.
22106
22107 2013-05-17 Leo Liu <sdl.web@gmail.com>
22108
22109 * newcomment.el (comment-search-backward): Stricter in finding
22110 comment start. (Bug#14303)
22111
22112 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
22113 (octave-comment-start-skip): Properly anchored.
22114
22115 2013-05-17 Leo Liu <sdl.web@gmail.com>
22116
22117 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
22118 Clean up when turned off. (Bug#14395)
22119 (smie--highlight-matching-block-overlay): No longer buffer-local.
22120 (smie-highlight-matching-block): Adjust.
22121
22122 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
22123
22124 Doc string fix for "nanoseconds" (Bug#14406).
22125 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
22126 Fix doc string typo that had "nanoseconds" instead of "microseconds".
22127
22128 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
22129
22130 * calc/calc-units.el (math-extract-units): Preserve powers
22131 of units.
22132
22133 2013-05-17 Leo Liu <sdl.web@gmail.com>
22134
22135 * subr.el (delete-consecutive-dups): New function.
22136 * ido.el (ido-set-matches-1): Use it.
22137 * progmodes/octave.el (inferior-octave-completion-table): Use it.
22138 * ido.el (ido-remove-consecutive-dups): Remove.
22139
22140 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22141
22142 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22143 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
22144 regexp-opt's `words'.
22145
22146 2013-05-16 Leo Liu <sdl.web@gmail.com>
22147
22148 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
22149 (smie--highlight-matching-block-overlay)
22150 (smie--highlight-matching-block-lastpos)
22151 (smie--highlight-matching-block-timer): New variables.
22152 (smie-highlight-matching-block): New function.
22153 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
22154 (smie-setup): Conditionally enable smie-blink-matching-open.
22155
22156 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
22157
22158 Sync with upstream verilog-mode r840.
22159 * progmodes/verilog-mode.el (verilog-mode-version)
22160 (verilog-mode-release-date): Update.
22161 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
22162 (verilog-sig-tieoff): Fix string error on
22163 AUTORESET with colon define, bug594. Reported by Andrew Hou.
22164 (verilog-read-decls): Fix parameters confusing
22165 AUTOINST interfaces, bug565. Reported by Leith Johnson.
22166
22167 2013-05-16 Eli Zaretskii <eliz@gnu.org>
22168
22169 * subr.el (reveal-filename): New function.
22170
22171 * loadup.el: Compute Emacs executable versions on MS-Windows,
22172 where executables have the .exe extension. Add a hard link
22173 emacs-XX.YY.ZZ.exe on MS-Windows.
22174
22175 * Makefile.in (XARGS_LIMIT): New variable.
22176 (custom-deps, finder-data, autoloads)
22177 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22178 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22179 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
22180 (compile-main): Limit xargs according to $(XARGS_LIMIT).
22181
22182 2013-05-16 Leo Liu <sdl.web@gmail.com>
22183
22184 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
22185 (octave-mode-menu, octave-mode-map): Remove its uses.
22186
22187 2013-05-16 Reto Zimmermann <reto@gnu.org>
22188
22189 Sync with upstream vhdl mode v3.34.2.
22190 * progmodes/vhdl-mode.el: Use `push' throughout.
22191 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
22192 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
22193 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
22194 (vhdl-actual-generic-name): New option to derive actual generic name.
22195 (vhdl-port-paste-signals): Replace formal by actual generics.
22196 (vhdl-beautify): New name for old group vhdl-align. Update users.
22197 (vhdl-beautify-options): New option.
22198 (vhdl-last-input-event): New compat alias. Use throughout.
22199 (vhdl-goto-line): Replace user level function `goto-line'.
22200 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
22201 vhdl-fix-statement-buffer.
22202 (vhdl-create-mode-menu): Add some entries.
22203 (vhdl-align-region-groups): Respect vhdl-beautify-options.
22204 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
22205 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
22206 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
22207 to force statements on one line.
22208 (vhdl-remove-trailing-spaces-region):
22209 New, split from vhdl-remove-trailing-spaces.
22210 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
22211 Respect vhdl-beautify-options.
22212 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
22213 (vhdl-update-sensitivity-list): Not add with index if exists without.
22214 Not include array index with signal. Ignore keywords in comments.
22215 (vhdl-get-visible-signals): Regexp tweaks.
22216 (vhdl-template-component-inst): Handle empty library.
22217 (vhdl-template-type): Add template for 'enum' type.
22218 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
22219 Use vhdl-replace-string.
22220 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22221 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22222 (vhdl-speedbar-initialize): Update for above name change.
22223 (vhdl-compose-wire-components): Fix in handling of constants.
22224 (vhdl-error-regexp-emacs-alist): New variable.
22225 (vhdl-error-regexp-add-emacs): New function;
22226 adds support for new compile.el (Emacs 22+)
22227 (vhdl-generate-makefile-1): Change target order for single lib. units.
22228 Allow use of absolute file names.
22229
22230 2013-05-16 Leo Liu <sdl.web@gmail.com>
22231
22232 * simple.el (prog-indent-sexp): Indent enclosing defun.
22233
22234 2013-05-15 Glenn Morris <rgm@gnu.org>
22235
22236 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22237 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22238 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22239 (whitespace-highlight): Move to whitespace group.
22240
22241 * comint.el (comint-source):
22242 * pcmpl-linux.el (pcmpl-linux):
22243 * shell.el (shell-faces):
22244 * eshell/esh-opt.el (eshell-opt):
22245 * international/ccl.el (ccl): Remove empty custom groups.
22246
22247 * completion.el (dynamic-completion-mode):
22248 * jit-lock.el (jit-lock-debug-mode):
22249 * minibuffer.el (completion-in-region-mode):
22250 * type-break.el (type-break-mode-line-message-mode)
22251 (type-break-query-mode):
22252 * emulation/tpu-edt.el (tpu-edt-mode):
22253 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22254 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22255 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22256
22257 * term/xterm.el (xterm): Change parent group to terminals.
22258
22259 * master.el (master): Remove empty custom group.
22260 (master-mode): Remove unused :group argument.
22261 * textmodes/refill.el (refill): Remove empty custom group.
22262 (refill-mode): Remove unused :group argument.
22263
22264 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22265
22266 * cus-dep.el: Provide a feature.
22267 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22268 Don't mistakenly ignore files whose basenames match a basename
22269 from preloaded-file-list (eg cedet/ede/simple.el).
22270 Add a fallback method for getting :group.
22271
22272 2013-05-15 Juri Linkov <juri@jurta.org>
22273
22274 * isearch.el (isearch-char-by-name): Rename from
22275 `isearch-insert-char-by-name'. Doc fix.
22276 (isearch-forward): Mention `isearch-char-by-name' in
22277 the docstring. (Bug#13348)
22278
22279 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22280 `exit-minibuffer' instead of
22281 `isearch-nonincremental-exit-minibuffer'.
22282 (isearch-edit-string): Remove mention of
22283 `isearch-nonincremental-exit-minibuffer' from docstring.
22284 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22285 (isearch-forward-exit-minibuffer)
22286 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22287
22288 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22289
22290 * loadup.el: Just use unversioned DOC.
22291
22292 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22293 literals as extending to EOB.
22294 (nxml-last-fontify-end): Remove unused variable.
22295 (nxml-after-change1): Use with-silent-modifications.
22296 (nxml-extend-after-change-region): Simplify.
22297 (nxml-extend-after-change-region1): Remove function.
22298 (nxml-after-change1): Don't adjust for dependent regions.
22299 (nxml-fontify-matcher): Simplify.
22300 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22301 (xmltok-add-dependent): Remove function.
22302 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22303 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22304 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22305 unclosed <[[, <?, comment, and other literals as extending to EOB.
22306 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22307 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22308 Remove functions.
22309 (rng-do-some-validation-1): Don't mark dependent regions.
22310 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22311 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22312 (nxml-clear-dependent-regions): Remove functions.
22313 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22314 (nxml-ensure-scan-up-to-date):
22315 Don't clear&mark dependent regions.
22316
22317 2013-05-15 Leo Liu <sdl.web@gmail.com>
22318
22319 * progmodes/octave.el (octave-goto-function-definition):
22320 Improve and fix callers.
22321
22322 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22323
22324 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22325 the setter (bug#14387).
22326
22327 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22328 surrounding group (bug#14402).
22329
22330 2013-05-14 Juri Linkov <juri@jurta.org>
22331
22332 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22333 (Bug#14390)
22334
22335 2013-05-14 Glenn Morris <rgm@gnu.org>
22336
22337 * progmodes/f90.el (f90-imenu-generic-expression):
22338 Fix typo in 2013-05-08 change. (Bug#14402)
22339
22340 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22341
22342 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22343 Remove signals for which replies are never received.
22344
22345 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22346
22347 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22348 (gdb-handler-alist, gdb-handler-number): Remove variables.
22349 (gdb-handler-list): New variable.
22350 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22351 (gdb-pending-handler-p, gdb-handle-reply)
22352 (gdb-remove-all-pending-triggers): New functions.
22353 (gdb-discard-unordered-replies): New defcustom.
22354 (gdb-handler): New defstruct.
22355 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22356 instead of gdb-pending-triggers. Update docstring.
22357 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22358 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22359 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22360 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22361 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22362 (gdb-frame-handler): Pending triggers are now automatically managed.
22363 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22364 Remove argument.
22365 (gdb-input): Automatically handles pending triggers. Update docstring.
22366 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22367 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22368 Update comments.
22369 (gdb-done-or-error): Now use gdb-handle-reply.
22370
22371 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22372
22373 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22374 gdb-debug-log.
22375
22376 2013-05-14 Glenn Morris <rgm@gnu.org>
22377
22378 * subr.el (user-emacs-directory-warning): New option.
22379 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22380
22381 2013-05-14 Leo Liu <sdl.web@gmail.com>
22382
22383 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22384 during redisplay.
22385 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22386 (octave-font-lock-texinfo-comment): Fix invalid search bound
22387 error: wrong side of point.
22388
22389 2013-05-14 Glenn Morris <rgm@gnu.org>
22390
22391 * progmodes/flymake.el (flymake-xml-program): New option.
22392 (flymake-xml-init): Use it.
22393
22394 * term/xterm.el: Provide a feature.
22395
22396 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22397
22398 2013-05-13 Glenn Morris <rgm@gnu.org>
22399
22400 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22401 Add compat aliases as a hack workaround. (Bug#14384)
22402
22403 2013-05-13 Leo Liu <sdl.web@gmail.com>
22404
22405 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22406 ###, and %!.
22407 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22408 C-M-q.
22409 (octave-comment-start-skip): Include %!.
22410 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22411
22412 2013-05-12 Leo Liu <sdl.web@gmail.com>
22413
22414 * progmodes/octave.el (inferior-octave-startup): Store the value
22415 of __octave_srcdir__ for octave-source-directories.
22416 (inferior-octave-check-process): New function refactored out of
22417 inferior-octave-send-list-and-digest.
22418 (octave-source-directories)
22419 (octave-find-definition-filename-function): New variables.
22420 (octave-source-directories)
22421 (octave-find-definition-default-filename): New functions.
22422 (octave-find-definition): Improve to find functions implemented in C++.
22423
22424 2013-05-12 Glenn Morris <rgm@gnu.org>
22425
22426 * calendar/diary-lib.el (diary-outlook-format-1):
22427 Don't include dayname in the output. (Bug#14349)
22428
22429 2013-05-11 Glenn Morris <rgm@gnu.org>
22430
22431 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22432
22433 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22434 Treat cc-provide like provide.
22435
22436 2013-05-11 Kevin Ryde <user42@zip.com.au>
22437
22438 * cus-dep.el (custom-make-dependencies):
22439 Use generated-autoload-load-name for the sake of files such
22440 such cedet/semantic/bovine/c.el, where the base file name
22441 is not in load-path. (Bug#5277)
22442
22443 2013-05-11 Glenn Morris <rgm@gnu.org>
22444
22445 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22446 Provide features.
22447
22448 2013-05-11 Leo Liu <sdl.web@gmail.com>
22449
22450 * progmodes/octave.el (octave-indent-comment): Improve.
22451 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22452 (octave-eldoc-function-signatures, octave-eldoc-function):
22453 New functions.
22454 (octave-mode, inferior-octave-mode): Add eldoc support.
22455
22456 2013-05-11 Richard Stallman <rms@gnu.org>
22457
22458 * epa.el (epa-decrypt-file): Take output file name as argument
22459 and read it using `interactive'.
22460
22461 2013-05-11 Leo Liu <sdl.web@gmail.com>
22462
22463 * progmodes/octave.el (octave-beginning-of-line)
22464 (octave-end-of-line): Check before using up-list because it jumps
22465 out of more syntactic contructs since moving to smie.
22466 (octave-indent-comment): New function.
22467 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22468 (octave-begin-keywords, octave-end-keywords)
22469 (octave-reserved-words, octave-smie-bnf-table)
22470 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22471
22472 2013-05-11 Glenn Morris <rgm@gnu.org>
22473
22474 * faces.el (internal-face-x-get-resource):
22475 * frame.el (ns-display-monitor-attributes-list):
22476 * calc/calc-aent.el (math-to-radians-2):
22477 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22478 Fix declarations.
22479
22480 * calc/calc-menu.el: Make it loadable in isolation.
22481
22482 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22483 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22484 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22485 (eudc-bbdb-query-internal): Require 'bbdb.
22486
22487 * lpr.el (lpr-headers-switches):
22488 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22489
22490 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22491
22492 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22493
22494 * term.el (term-set-escape-char): Make it idempotent.
22495
22496 2013-05-10 Leo Liu <sdl.web@gmail.com>
22497
22498 * progmodes/octave.el (inferior-octave-completion-table):
22499 No longer a function and all uses changed. Use cache to speed up
22500 completion due to bug#11906.
22501 (octave-beginning-of-defun): Re-write to be more general.
22502
22503 2013-05-10 Glenn Morris <rgm@gnu.org>
22504
22505 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22506
22507 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22508
22509 * comint.el (comint-redirect-send-command-to-process): Use :around
22510 rather than :override for comint-redirect-filter.
22511 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22512 Call it instead of comint-redirect-original-filter-function (which
22513 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22514
22515 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22516
22517 * frame.el (display-monitor-attributes-list): Add NS case.
22518 (ns-display-monitor-attributes-list): Declare.
22519
22520 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
22521
22522 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
22523
22524 2013-05-09 Glenn Morris <rgm@gnu.org>
22525
22526 * international/fontset.el (vertical-centering-font-regexp):
22527 Set standard-value.
22528
22529 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22530
22531 * bookmark.el (bookmark-search-delay):
22532 * cus-start.el (vertical-centering-font-regexp):
22533 * ps-mule.el (ps-mule-font-info-database-default):
22534 * ps-print.el (ps-default-fg, ps-default-bg):
22535 * type-break.el (type-break-good-break-interval):
22536 * whitespace.el (whitespace-indentation-regexp)
22537 (whitespace-space-after-tab-regexp):
22538 * emacs-lisp/testcover.el (testcover-1value-functions)
22539 (testcover-noreturn-functions, testcover-progn-functions)
22540 (testcover-prog1-functions):
22541 * emulation/viper-init.el (viper-emacs-state-cursor-color):
22542 * eshell/em-glob.el (eshell-glob-translate-alist):
22543 * play/tetris.el (tetris-tty-colors):
22544 * progmodes/cpp.el (cpp-face-default-list):
22545 * progmodes/flymake.el (flymake-allowed-file-name-masks):
22546 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22547 (idlwave-help-browser-generic-args):
22548 * progmodes/make-mode.el (makefile-special-targets-list):
22549 * progmodes/python.el (python-shell-virtualenv-path):
22550 * progmodes/verilog-mode.el (verilog-active-low-regexp)
22551 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22552 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22553 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22554 * textmodes/reftex-vars.el (reftex-format-label-function):
22555 * textmodes/remember.el (remember-diary-file): Fix custom types.
22556
22557 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22558 Add :version.
22559
22560 2013-05-09 Leo Liu <sdl.web@gmail.com>
22561
22562 * progmodes/octave.el (inferior-octave-completion-at-point):
22563 Restore file completion. (Bug#14300)
22564 (inferior-octave-startup): Fix incorrect highlighting for the
22565 first prompt.
22566
22567 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22568
22569 * progmodes/ruby-mode.el: First cut at SMIE support.
22570 (ruby-use-smie): New var.
22571 (ruby-smie-grammar): New constant.
22572 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
22573 (ruby-smie--forward-token, ruby-smie--backward-token)
22574 (ruby-smie-rules): New functions.
22575 (ruby-mode-variables): Setup SMIE if applicable.
22576
22577 2013-05-08 Eli Zaretskii <eliz@gnu.org>
22578
22579 * simple.el (line-move-visual): Signal beginning/end of buffer
22580 only if vertical-motion moved less than it was requested. Avoids
22581 silly incorrect error messages when there are display strings with
22582 multiple newlines at EOL.
22583
22584 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
22587 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
22588 (prolog-char-quote-workaround):
22589 * progmodes/cperl-mode.el (cperl-under-as-char):
22590 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
22591 Mark as obsolete.
22592 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
22593 their declaration.
22594 (vhdl-mode-syntax-table-init): Remove.
22595
22596 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
22597 last change.
22598
22599 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
22600 syntax for "_".
22601 (ld-script-font-lock-keywords):
22602 Change regexps to use things like \_< and \_>.
22603
22604 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
22605 Change all regexps to use things like \_< and \_>.
22606
22607 * progmodes/autoconf.el (autoconf-definition-regexp)
22608 (autoconf-font-lock-keywords, autoconf-current-defun-function):
22609 Handle a _ with symbol syntax.
22610 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
22611
22612 * progmodes/ada-mode.el (ada-mode-abbrev-table):
22613 Consolidate declaration.
22614 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
22615 the declaration.
22616 (ada-create-syntax-table): Remove.
22617 (ada-capitalize-word): Don't mess with the syntax of "_" since it
22618 already has the right syntax nowadays.
22619 (ada-goto-next-word): Don't change the syntax of "_".
22620
22621 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
22622 with-wrapper-hook.
22623
22624 2013-05-08 Sam Steingold <sds@gnu.org>
22625
22626 * thingatpt.el (thing-at-point): Accept optional second argument
22627 NO-PROPERTIES to strip the text properties from the return value.
22628 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22629 to `thing-at-point' instead of stripping the properties ourselves.
22630 Also, when `thing-at-point' fails to find a url, prepend "http://"
22631 to the filename at point on the assumption that the user is
22632 pointing at something like gnu.org/gnu.
22633
22634 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
22635
22636 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22637 * faces.el (crm-separator):
22638 Silence byte-compiler.
22639
22640 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22641 (tool-bar-map): Remove unneeded defvars.
22642
22643 2013-05-08 Leo Liu <sdl.web@gmail.com>
22644
22645 Re-work a fix for bug#10994 based on Le Wang's patch.
22646 * ido.el (ido-remove-consecutive-dups): New helper.
22647 (ido-completing-read): Use it.
22648 (ido-chop): Revert fix for bug#10994.
22649
22650 2013-05-08 Adam Spiers <emacs@adamspiers.org>
22651
22652 * cus-edit.el (custom-save-variables):
22653 Pretty-print long values. (Bug#14187)
22654
22655 2013-05-08 Glenn Morris <rgm@gnu.org>
22656
22657 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22658 (m4-mode-syntax-table): Init in the defvar.
22659 (m4-mode-abbrev-table): Let define-derived-mode define it.
22660
22661 2013-05-08 Tom Tromey <tromey@redhat.com>
22662
22663 * progmodes/m4-mode.el (m4-mode-syntax-table):
22664 Do not treat "_" as word constituent. (Bug#14167)
22665
22666 2013-05-07 Glenn Morris <rgm@gnu.org>
22667
22668 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22669 Remove explicit eshell-isearch-cancel-map.
22670
22671 * progmodes/f90.el (f90-smart-end-names): New option.
22672 (f90-smart-end): Doc fix.
22673 (f90-end-block-optional-name): New constant.
22674 (f90-block-match): Respect f90-smart-end-names.
22675
22676 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22677
22678 * progmodes/octave.el (octave-smie-forward-token): Be more careful
22679 about implicit semi-colons (bug#14218).
22680
22681 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22682
22683 * frame.el (display-monitor-attributes-list)
22684 (frame-monitor-attributes): New functions.
22685
22686 2013-05-06 Leo Liu <sdl.web@gmail.com>
22687
22688 * progmodes/octave.el (octave-syntax-propertize-function): Change
22689 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
22690 (octave-font-lock-keywords): Use octave-operator-regexp.
22691 (octave-completion-at-point): Rename from
22692 octave-completion-at-point-function.
22693 (inferior-octave-directory-tracker): Robustify.
22694 (octave-text-functions): Remove and fix its uses. No such things
22695 any more.
22696
22697 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22698
22699 * emacs-lisp/trace.el (trace--display-buffer): New function.
22700 (trace-make-advice): Use it.
22701
22702 2013-05-06 Juri Linkov <juri@jurta.org>
22703
22704 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
22705 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22706 Doc fix.
22707 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22708 in the help string. (Bug#12985)
22709
22710 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
22711
22712 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
22713
22714 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22715
22716 * progmodes/perl-mode.el: Add support for here documents.
22717 (perl-syntax-propertize-function): Match here-doc markers.
22718 (perl-syntax-propertize-special-constructs): Find their end.
22719 (perl-imenu-generic-expression): Use [:alnum:].
22720
22721 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22722 (advice--add-function): Refresh the advice if already present
22723 (bug#14317).
22724
22725 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
22726
22727 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
22728
22729 2013-05-06 Glenn Morris <rgm@gnu.org>
22730
22731 * w32-fns.el (w32-charset-info-alist): Declare.
22732
22733 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22734 of its defcustom properties.
22735 (eshell-cmpl-initialize): No need to load pcomplete.
22736
22737 * generic-x.el: No need to require comint when compiling.
22738
22739 * net/eudc-export.el: Make it loadable without bbdb.
22740 (top-level): Use require rather than load-library.
22741 (eudc-create-bbdb-record, eudc-bbdbify-phone)
22742 (eudc-batch-export-records-to-bbdb)
22743 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22744 Require bbdb.
22745
22746 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22747
22748 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22749 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22750 some tweaks, instead.
22751
22752 2013-05-05 Leo Liu <sdl.web@gmail.com>
22753
22754 * progmodes/octave.el (octave-font-lock-keywords)
22755 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22756 (inferior-octave-send-list-and-digest): Improve error message.
22757 (octave-mode, inferior-octave-mode): Use setq-local.
22758 (octave-help): Set info-lookup-mode.
22759
22760 2013-05-05 Richard Stallman <rms@gnu.org>
22761
22762 * vc/compare-w.el (compare-windows-whitespace):
22763 Treat no-break space as whitespace.
22764
22765 * mail/rmailsum.el (rmail-summary-rmail-update):
22766 Detect empty summary and don't change selected message.
22767 (rmail-summary-goto-msg): Likewise.
22768
22769 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22770 Doc fixes, rename args.
22771
22772 2013-05-05 Alan Mackenzie <acm@muc.de>
22773
22774 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22775
22776 2013-05-05 Juri Linkov <juri@jurta.org>
22777
22778 * info.el (Info-read-subfile): Use (point-min) instead of (point)
22779 to not add the length of the summary segment to the return value.
22780 (Bug#14125)
22781
22782 2013-05-05 Leo Liu <sdl.web@gmail.com>
22783
22784 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22785 (inferior-octave-output-filter): Remove.
22786 (octave-send-region, inferior-octave-startup): Fix callers.
22787 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22788 (octave-binary-file-extensions): New user variable.
22789 (octave-find-definition): Confirm if opening binary files.
22790 (octave-help-file): Use octave-find-definition to get the binary
22791 confirmation.
22792 (octave-help): Adjust for octave-help-file change.
22793
22794 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22795
22796 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22797 Merge the two entries that handle function definitions.
22798 (pascal--syntax-propertize): New const.
22799 (pascal-mode): Use it. Use setq-local.
22800
22801 2013-05-04 Glenn Morris <rgm@gnu.org>
22802
22803 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22804 (diary-from-outlook): Respect diary-from-outlook-function.
22805
22806 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22807
22808 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22809 Move the declaration from C.
22810 (read-minibuffer, eval-minibuffer): Move from C.
22811 (completion-setup-function): Avoid minibuffer-completion-contents.
22812
22813 2013-05-03 Leo Liu <sdl.web@gmail.com>
22814
22815 * progmodes/octave.el (octave-font-lock-keywords): Do not
22816 dehighlight 'end' in comments or strings.
22817 (octave-completing-read, octave-goto-function-definition):
22818 New helpers.
22819 (octave-help-buffer): New user variable.
22820 (octave-help-file, octave-help-function): New button types.
22821 (octave-help): New command and bind it to C-h ;.
22822 (octave-find-definition): New command and bind it to M-.
22823 (user-error): Alias to error if not defined.
22824
22825 2013-05-02 Leo Liu <sdl.web@gmail.com>
22826
22827 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22828 for \. (bug#14332)
22829 (octave-font-lock-keywords): Include [ and {.
22830
22831 2013-05-02 Leo Liu <sdl.web@gmail.com>
22832
22833 * progmodes/octave.el (inferior-octave-startup-file): Change default.
22834 (inferior-octave): Remove calling comint-mode and return the buffer.
22835 (inferior-octave-startup): Cosmetic changes.
22836
22837 2013-05-02 Leo Liu <sdl.web@gmail.com>
22838
22839 * progmodes/octave.el (octave-syntax-propertize-function):
22840 Include the case when ' is at line beginning. (Bug#14336)
22841
22842 2013-05-02 Glenn Morris <rgm@gnu.org>
22843
22844 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22845 * desktop.el (vc-dir-mode): Just autoload it here.
22846
22847 2013-05-02 Alan Mackenzie <acm@muc.de>
22848
22849 Eliminate variable c-standard-font-lock-fontify-region-function.
22850 * progmodes/cc-mode.el
22851 (c-standard-font-lock-fontify-region-function): Remove.
22852 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22853
22854 2013-05-01 Leo Liu <sdl.web@gmail.com>
22855
22856 * progmodes/octave.el: Compatible with older emacs-24 releases.
22857 (inferior-octave-has-built-in-variables): Remove. Built-in
22858 variables were removed from Octave in 2007.
22859 (inferior-octave-startup): Fix uses.
22860 (comint-line-beginning-position): Remove compatibility code for
22861 emacs 21.
22862
22863 2013-05-01 Juri Linkov <juri@jurta.org>
22864
22865 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
22866
22867 2013-05-01 Juri Linkov <juri@jurta.org>
22868
22869 * comint.el (comint-previous-matching-input): Don't print message
22870 "History item: %d" when `isearch-mode' is active.
22871 (comint-history-isearch-message): Print message "History item: %d"
22872 when `comint-input-ring-index' is not empty and this function is
22873 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
22874
22875 2013-05-01 Leo Liu <sdl.web@gmail.com>
22876
22877 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22878 definitions. Use completion-at-point to insert keywords.
22879 (octave-abbrev-start): Remove.
22880 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22881
22882 2013-04-30 Leo Liu <sdl.web@gmail.com>
22883
22884 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22885 change.
22886
22887 2013-04-30 Alan Mackenzie <acm@muc.de>
22888
22889 Handle arbitrarily long C++ member initialisation lists.
22890 * progmodes/cc-engine.el (c-back-over-member-initializers):
22891 new function.
22892 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22893 (most) member init lists.
22894
22895 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22896
22897 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22898 variable.
22899
22900 2013-04-30 Leo Liu <sdl.web@gmail.com>
22901
22902 * progmodes/octave.el (octave-variables): Remove. No builtin
22903 variables any more. All converted to functions.
22904 (octave-font-lock-keywords, octave-completion-at-point-function):
22905 Fix uses.
22906 (octave-font-lock-texinfo-comment): New user variable.
22907 (octave-texinfo-font-lock-keywords): New variable for texinfo
22908 comment block.
22909 (octave-function-comment-block): New face.
22910 (octave-font-lock-texinfo-comment): New function.
22911 (octave-mode): Font lock texinfo comment block.
22912
22913 2013-04-29 Leo Liu <sdl.web@gmail.com>
22914
22915 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22916 indexing expression.
22917 (octave-continuation-string): Do not use \.
22918 (inferior-octave-complete-impossible): Remove.
22919 (inferior-octave-completion-table)
22920 (inferior-octave-completion-at-point): Remove its uses.
22921 (inferior-octave-startup): completion_matches was introduced to
22922 Octave in 1996 so safe to assume it.
22923 (octave-function-file-comment): Improve to follow how Octave does it.
22924 (octave-update-function-file-comment): Tweak.
22925
22926 2013-04-29 Leo Liu <sdl.web@gmail.com>
22927
22928 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22929 (inferior-octave-startup): Remove inferior-octave-startup-hook.
22930 (octave-function-file-comment): Fix typo.
22931 (octave-sync-function-file-names): Use read-char-choice.
22932
22933 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
22934
22935 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22936 to t for the less important warnings.
22937
22938 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
22939
22940 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
22941
22942 2013-04-27 Glenn Morris <rgm@gnu.org>
22943
22944 * vc/log-view.el (log-view-current-entry):
22945 Treat "---" separator lines as part of the following rev. (Bug#14169)
22946
22947 2013-04-27 Juri Linkov <juri@jurta.org>
22948
22949 * subr.el (read-number): Doc fix about using it by interactive
22950 code letter `n'. (Bug#14254)
22951
22952 2013-04-27 Juri Linkov <juri@jurta.org>
22953
22954 * desktop.el (desktop-auto-save-timeout): New option.
22955 (desktop-file-checksum): New variable.
22956 (desktop-save): Add optional arg `auto-save' and don't auto-save
22957 if nothing changed.
22958 (desktop-auto-save-timer): New variable.
22959 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22960 (after-init-hook): Call `desktop-auto-save-set-timer'.
22961 Suggested by Reuben Thomas <rrt@sc3d.org> in
22962 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22963
22964 2013-04-27 Leo Liu <sdl.web@gmail.com>
22965
22966 * progmodes/octave.el (octave-function-file-p)
22967 (octave-skip-comment-forward, octave-function-file-comment)
22968 (octave-update-function-file-comment): New functions.
22969 (octave-mode-map): Bind C-c ; to
22970 octave-update-function-file-comment.
22971 (octave-mode-menu): Add octave-update-function-file-comment.
22972 (octave-mode, inferior-octave-mode): Fix doc-string.
22973 (octave-insert-defun): Conform to Octave's coding convention.
22974 (Bug#14285)
22975
22976 * files.el (basic-save-buffer): Don't let errors in
22977 before-save-hook prevent saving buffer.
22978
22979 2013-04-20 Roland Winkler <winkler@gnu.org>
22980
22981 * faces.el (read-face-name): Use completing-read if arg multiple
22982 is nil.
22983
22984 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
22985
22986 * ls-lisp.el (ls-lisp-insert-directory): If no files are
22987 displayed, move point to after the totals line.
22988 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
22989 for the details.
22990
22991 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
22992
22993 * emacs-lisp/package.el (package-autoload-ensure-default-file):
22994 Add current dir to the load-path.
22995 (package-generate-autoloads): Don't rely on
22996 autoload-ensure-default-file.
22997
22998 2013-04-26 Reuben Thomas <rrt@sc3d.org>
22999
23000 * textmodes/remember.el (remember-store-in-files): Document that
23001 the file name format is passed to `format-time-string'.
23002
23003 2013-04-26 Leo Liu <sdl.web@gmail.com>
23004
23005 * progmodes/octave.el (octave-sync-function-file-names): New function.
23006 (octave-mode): Use it in before-save-hook.
23007
23008 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
23009
23010 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
23011 (bug#14274).
23012
23013 * progmodes/octave.el (octave-smie-forward-token): Properly skip
23014 \n and comment, even if it's not an implicit ; (bug#14218).
23015
23016 2013-04-26 Glenn Morris <rgm@gnu.org>
23017
23018 * subr.el (read-number): Once more use `read' rather than
23019 `string-to-number', to trap non-numeric input. (Bug#14254)
23020
23021 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
23022
23023 * emacs-lisp/syntax.el (syntax-propertize-multiline):
23024 Use `syntax-multiline' text property consistently instead of
23025 `font-lock-multiline'. (Bug#14237)
23026
23027 2013-04-26 Glenn Morris <rgm@gnu.org>
23028
23029 * emacs-lisp/shadow.el (list-load-path-shadows):
23030 No longer necessary to check for duplicate simple.el, since
23031 2012-07-07 change to init_lread to not include installation lisp
23032 directories in load-path when running uninstalled. (Bug#14270)
23033
23034 2013-04-26 Leo Liu <sdl.web@gmail.com>
23035
23036 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
23037 (octave-mode, inferior-octave-mode): Use setq-local.
23038 (octave-not-in-string-or-comment-p): Rename to
23039 octave-in-string-or-comment-p.
23040 (octave-in-comment-p, octave-in-string-p)
23041 (octave-in-string-or-comment-p): Replace defsubst with defun.
23042
23043 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
23044
23045 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
23046
23047 2013-04-25 Bastien Guerry <bzg@gnu.org>
23048
23049 * textmodes/remember.el (remember-data-directory)
23050 (remember-directory-file-name-format): Fix custom types.
23051
23052 2013-04-25 Leo Liu <sdl.web@gmail.com>
23053
23054 * progmodes/octave.el (octave-completion-at-point-function):
23055 Make use of inferior octave process.
23056 (octave-initialize-completions): Remove.
23057 (inferior-octave-completion-table): New function.
23058 (inferior-octave-completion-at-point): Use it.
23059 (octave-completion-alist): Remove.
23060
23061 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23062
23063 * progmodes/opascal.el: Use font-lock and syntax-propertize.
23064 (opascal-mode-syntax-table): New var.
23065 (opascal-literal-kind, opascal-is-literal-end)
23066 (opascal-literal-token-at): Rewrite.
23067 (opascal--literal-start-re, opascal-font-lock-keywords)
23068 (opascal--syntax-propertize): New constants.
23069 (opascal-font-lock-defaults): Adjust.
23070 (opascal-mode): Use them. Set comment-<foo> variables as well.
23071 (delphi-comment-face, opascal-comment-face, delphi-string-face)
23072 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
23073 (delphi-other-face, opascal-other-face): Remove face variables.
23074 (opascal-save-state): Remove macro.
23075 (opascal-fontifying-progress-step): Remove constant.
23076 (opascal--ignore-changes): Remove var.
23077 (opascal-set-token-property, opascal-parse-next-literal)
23078 (opascal-is-stable-literal, opascal-complete-literal)
23079 (opascal-is-literal-start, opascal-face-of)
23080 (opascal-parse-region, opascal-parse-region-until-stable)
23081 (opascal-fontify-region, opascal-after-change)
23082 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
23083 (opascal-debug-parse-region, opascal-debug-parse-window)
23084 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
23085 (opascal-debug-fontify-buffer): Remove.
23086 (opascal-debug-mode-map): Adjust accordingly.
23087
23088 2013-04-25 Leo Liu <sdl.web@gmail.com>
23089
23090 Merge octave-mod.el and octave-inf.el into octave.el with some
23091 cleanups.
23092 * progmodes/octave.el: New file renamed from octave-mod.el.
23093 * progmodes/octave-inf.el: Merged into octave.el.
23094 * progmodes/octave-mod.el: Renamed to octave.el.
23095
23096 2013-04-25 Tassilo Horn <tsdh@gnu.org>
23097
23098 * textmodes/reftex-vars.el
23099 (reftex-label-ignored-macros-and-environments): New defcustom.
23100
23101 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
23102
23103 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23104
23105 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
23106 (smie-indent-keyword): Improve the check to ensure that the next
23107 comment is really on the same line.
23108 (smie-indent-comment): Don't align with a subsequent closer (or eob).
23109
23110 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
23111 semi-colons if the line is not otherwise empty (bug#14218).
23112
23113 2013-04-25 Glenn Morris <rgm@gnu.org>
23114
23115 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
23116
23117 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
23118
23119 * progmodes/opascal.el (opascal-set-token-property): Rename from
23120 opascal-set-text-properties and only set `token' (bug#14134).
23121 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
23122 (opascal-literal-text-properties): Remove.
23123 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
23124 Adjust callers.
23125
23126 2013-04-24 Reuben Thomas <rrt@sc3d.org>
23127
23128 * textmodes/remember.el (remember-handler-functions): Add an
23129 option for a new handler `remember-store-in-files'.
23130 (remember-data-directory, remember-directory-file-name-format):
23131 New options.
23132 (remember-store-in-files): New function to store remember notes
23133 as separate files within a directory.
23134
23135 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
23136
23137 * progmodes/compile.el (compilation-next-error-function):
23138 Pass "formats" to compilation-find-file (bug#11777).
23139
23140 2013-04-24 Glenn Morris <rgm@gnu.org>
23141
23142 * vc/vc-bzr.el (vc-bzr-print-log):
23143 * vc/vc-hg.el (vc-hg-print-log):
23144 * vc/vc-svn.el (vc-svn-print-log):
23145 Fix START-REVISION with LIMIT != 1. (Bug#14168)
23146
23147 * vc/vc-bzr.el (vc-bzr-print-log):
23148 * vc/vc-cvs.el (vc-cvs-print-log):
23149 * vc/vc-git.el (vc-git-print-log):
23150 * vc/vc-hg.el (vc-hg-print-log):
23151 * vc/vc-mtn.el (vc-mtn-print-log):
23152 * vc/vc-rcs.el (vc-rcs-print-log):
23153 * vc/vc-sccs.el (vc-sccs-print-log):
23154 * vc/vc-svn.el (vc-svn-print-log):
23155 * vc/vc.el (vc-print-log-internal): Doc fixes.
23156
23157 2013-04-23 Glenn Morris <rgm@gnu.org>
23158
23159 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
23160 Remove venerable code attempting to avoid substitute-command-keys.
23161
23162 2013-04-23 Tassilo Horn <tsdh@gnu.org>
23163
23164 * textmodes/reftex-vars.el (reftex-label-regexps):
23165 Call `reftex-compile-variables' after changes to this variable.
23166
23167 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
23168
23169 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
23170 Use lexical-binding.
23171 (jit-lock-force-redisplay): Use markers, check buffer's continued
23172 existence and beware narrowed buffers.
23173 (jit-lock-fontify-now): Adjust call accordingly.
23174
23175 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
23176
23177 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
23178 to avoid misleading the user.
23179
23180 2013-04-22 Leo Liu <sdl.web@gmail.com>
23181
23182 * info-look.el: Prefer latex2e.info. (Bug#14240)
23183
23184 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
23185
23186 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
23187
23188 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23189 * net/tramp.el (tramp-call-process): ... here.
23190 (tramp-set-completion-function, tramp-parse-putty):
23191 * net/tramp-adb.el (tramp-adb-execute-adb-command):
23192 * net/tramp-gvfs.el (tramp-gvfs-send-command):
23193 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
23194 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
23195 (tramp-call-local-coding-command): Use `tramp-call-process'
23196 instead of `tramp-compat-call-process'.
23197
23198 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
23199 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
23200 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
23201 (tramp-find-inline-compress): Improve traces.
23202 (tramp-maybe-send-script): Check for Perl binary.
23203 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
23204
23205 2013-04-22 Daiki Ueno <ueno@gnu.org>
23206
23207 * epg.el (epg-context-pinentry-mode): New function.
23208 (epg-context-set-pinentry-mode): New function.
23209 (epg--start): Pass --pinentry-mode option to gpg command.
23210
23211 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
23212
23213 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
23214 `comint-dynamic-complete' is obsolete since 24.1, replaced by
23215 `completion-at-point'. (Bug#13774)
23216
23217 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
23218 default key binding for `describe-distribution' has been moved to
23219 `C-h C-o'. (Bug#13970)
23220
23221 2013-04-21 Glenn Morris <rgm@gnu.org>
23222
23223 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23224 Add doc strings.
23225 (vc-print-log): Clarify interactive prompt.
23226
23227 2013-04-20 Glenn Morris <rgm@gnu.org>
23228
23229 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23230 No longer include timestamp etc information.
23231
23232 2013-04-20 Roland Winkler <winkler@gnu.org>
23233
23234 * faces.el (read-face-name): Bug fix, return just one face if arg
23235 multiple is nil. (Bug#14209)
23236
23237 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23238
23239 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23240 (remove-function): Autoload.
23241
23242 * comint.el (comint-redirect-original-filter-function): Remove.
23243 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23244 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23245 (vc-cvs-annotate-command):
23246 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23247 * progmodes/prolog.el (prolog-consult-compile):
23248 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23249 Use add/remove-function instead.
23250 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23251 (gud-tooltip-process-output, gud-tooltip-tips):
23252 Use add/remove-function instead.
23253 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23254 (scheme-interaction-mode, exit-scheme-interaction-mode):
23255 Use add/remove-function instead.
23256
23257 * vc/vc-dispatcher.el: Use lexical-binding.
23258 (vc--process-sentinel): Rename from vc-process-sentinel.
23259 Change last arg to be the code to run. Don't use vc-previous-sentinel
23260 and vc-sentinel-commands any more.
23261 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23262 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23263
23264 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23265
23266 * progmodes/sh-script.el (sh-imenu-generic-expression):
23267 Handle function names with a single character. (Bug#14111)
23268
23269 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23270
23271 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23272 for subroutines defined in an eval (bug#14182).
23273
23274 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23275
23276 * bookmark.el (bookmark-completing-read): Improve handling of empty
23277 string (bug#14176).
23278
23279 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23280
23281 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23282
23283 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23284
23285 New faster Imenu implementation (bug#14058).
23286 * progmodes/python.el (python-imenu-prev-index-position)
23287 (python-imenu-format-item-label-function)
23288 (python-imenu-format-parent-item-label-function)
23289 (python-imenu-format-parent-item-jump-label-function):
23290 New vars.
23291 (python-imenu-format-item-label)
23292 (python-imenu-format-parent-item-label)
23293 (python-imenu-format-parent-item-jump-label)
23294 (python-imenu--put-parent, python-imenu--build-tree)
23295 (python-imenu-create-index, python-imenu-create-flat-index)
23296 (python-util-popn): New functions.
23297 (python-mode): Set imenu-create-index-function to
23298 python-imenu-create-index.
23299
23300 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23301
23302 * winner.el (winner-active-region): Use region-active-p, activate-mark
23303 and deactivate-mark (bug#14225).
23304
23305 * simple.el (deactivate-mark): Don't inline it.
23306
23307 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23308
23309 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23310
23311 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23312
23313 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23314 file extensions from the archive-mode entry in order to prefer
23315 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23316
23317 2013-04-18 Leo Liu <sdl.web@gmail.com>
23318
23319 * bindings.el (help-event-list): Add ?\?.
23320
23321 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23322
23323 * subr.el (with-wrapper-hook): Declare obsolete.
23324 * simple.el (filter-buffer-substring-function): New hook.
23325 (filter-buffer-substring): Use it.
23326 (filter-buffer-substring-functions): Mark obsolete.
23327 * minibuffer.el (completion-in-region-function): New hook.
23328 (completion-in-region): Use it.
23329 (completion-in-region-functions): Mark obsolete.
23330 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23331 * abbrev.el (abbrev-expand-function): New hook.
23332 (expand-abbrev): Use it.
23333 (abbrev-expand-functions): Mark obsolete.
23334 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23335 and :filter-return.
23336
23337 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23338
23339 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23340 and do not care about match data.
23341
23342 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23343
23344 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23345 completion tables when completing error conditions and
23346 `declare' arguments.
23347 (lisp-complete-symbol, field-complete): Mark as obsolete.
23348 (check-parens): Unmatched parens are user errors.
23349 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23350
23351 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23352
23353 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23354 command changed buffer (ie. `flyspell-pre-buffer' is not current
23355 buffer), which prevents making decisions based on invalid value of
23356 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23357 cause an error when `flyspell-pre-point' was nil after switching
23358 buffers.
23359 (flyspell-post-command-hook): No longer needs to change buffers when
23360 checking pre-word. While at it remove unnecessary progn.
23361
23362 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23363
23364 * textmodes/ispell.el (ispell-add-per-file-word-list):
23365 Fix `flyspell-correct-word-before-point' error when accepting
23366 words and `coment-padding' is an integer by using
23367 `comment-normalize-vars' (Bug #14214).
23368
23369 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23370
23371 New defun movement commands.
23372 * progmodes/python.el (python-nav--syntactically)
23373 (python-nav--forward-defun, python-nav-backward-defun)
23374 (python-nav-forward-defun): New functions.
23375
23376 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23377
23378 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23379 (python-syntax-context): Use named compiler-macro for backwards
23380 compatibility with Emacs 24.x.
23381
23382 2013-04-17 Leo Liu <sdl.web@gmail.com>
23383
23384 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23385 octave-hide-process-buffer.
23386
23387 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23388
23389 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23390 (bug#14216).
23391
23392 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23393
23394 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23395 Fix adjustment of offset when receiving incomplete responses from GDB
23396 (bug#14129).
23397
23398 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23399
23400 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23401 python-mode-abbrev-table.
23402 (python-skeleton-define): Adjust accordingly.
23403 (python-mode-abbrev-table): New table that inherits from it so that
23404 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23405
23406 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23407 (abbrev-symbol): Use it.
23408 (abbrev--before-point): Use it since we already handle inheritance.
23409
23410 2013-04-16 Leo Liu <sdl.web@gmail.com>
23411
23412 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23413 binding to info-lookup-symbol.
23414
23415 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23416
23417 * minibuffer.el (completion--twq-all):
23418 * term/ns-win.el (ns-initialize-window-system):
23419 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23420
23421 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23422
23423 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23424 global bindings.
23425
23426 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23427
23428 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23429
23430 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23431 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23432 to nil.
23433 (ruby-end-of-defun): Remove the unused arg, change the docstring
23434 to reflect that this function is only used as the value of
23435 `end-of-defun-function'.
23436 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23437 to reflect an earlier change that beginning/end-of-defun functions
23438 jump between methods in a class definition, as well as top-level
23439 functions.
23440
23441 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23442
23443 * minibuffer.el (minibuffer-complete): Don't just scroll
23444 a *Completions* that's been iconified.
23445 (minibuffer-force-complete): Make sure repetitions do cycle when going
23446 through completion-in-region -> minibuffer-complete.
23447
23448 2013-04-15 Alan Mackenzie <acm@muc.de>
23449
23450 Correct the placement of c-cpp-delimiters when there're #s not at
23451 col 0.
23452
23453 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23454 place a submatch around the #.
23455 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23456 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23457 on the #, not BOL.
23458
23459 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23460
23461 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23462 (advice--member-p): New arg `name'.
23463 (advice--add-function, advice-member-p): Use it (bug#14202).
23464
23465 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23466
23467 Reformulate java imenu-generic-expression.
23468 The old expression contained ill formed regexps.
23469
23470 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23471 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23472 (cc-imenu-java-method-arg-regexp): New defconsts.
23473 (cc-imenu-java-build-type-args-regex): New defun.
23474 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23475 handling of spaces in the regexp.
23476
23477 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23478
23479 * textmodes/ispell.el (ispell-command-loop): Remove
23480 flyspell highlight of a word when ispell accepts it (bug #14178).
23481
23482 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23483
23484 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23485 uses code from the previous `ange-ftp-run-real-handler'.
23486 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23487 only in case that function exist. This is needed for proper
23488 unloading of Tramp.
23489
23490 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23491
23492 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23493
23494 * textmodes/reftex.el (reftex-compile-variables): Use it.
23495
23496 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23497
23498 * files.el (normal-mode): Only use default major-mode if no other mode
23499 was specified.
23500
23501 * emacs-lisp/trace.el (trace-values): New function.
23502
23503 * files.el: Allow : in local variables (bug#14089).
23504 (hack-local-variable-regexp): New var.
23505 (hack-local-variables-prop-line, hack-local-variables): Use it.
23506
23507 2013-04-13 Roland Winkler <winkler@gnu.org>
23508
23509 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23510 data before it gets modified by bibtex-beginning-of-entry.
23511
23512 2013-04-13 Roland Winkler <winkler@gnu.org>
23513
23514 * textmodes/bibtex.el (bibtex-url): Doc fix.
23515
23516 2013-04-13 Roland Winkler <winkler@gnu.org>
23517
23518 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23519 does not visit a BibTeX file, exclude it from the list of buffers
23520 returned by bibtex-initialize.
23521
23522 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23523
23524 * window.el (split-window): Remove interactive form, since as a
23525 command this function is a special case of split-window-below.
23526 Correct doc string.
23527
23528 2013-04-12 Roland Winkler <winkler@gnu.org>
23529
23530 * faces.el (read-face-name): Do not override value of arg default.
23531 Allow single faces and strings as default values. Remove those
23532 elements from return value that are not faces.
23533 (describe-face): Simplify.
23534 (face-at-point): New optional args thing and multiple so that this
23535 function can provide the same functionality previously provided by
23536 read-face-name.
23537 (make-face-bold, make-face-unbold, make-face-italic)
23538 (make-face-unitalic, make-face-bold-italic, invert-face)
23539 (modify-face, read-face-and-attribute): Use face-at-point.
23540
23541 * cus-edit.el (customize-face, customize-face-other-window)
23542 * cus-theme.el (custom-theme-add-face)
23543 * face-remap.el (buffer-face-set)
23544 * facemenu.el (facemenu-set-face): Use face-at-point.
23545
23546 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
23547
23548 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23549
23550 2013-04-10 Tassilo Horn <tsdh@gnu.org>
23551
23552 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23553 off leading { and trailing } from field values.
23554
23555 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23556
23557 * emacs-lisp/timer.el (timer--check): New function.
23558 (timer--time, timer-set-function, timer-event-handler): Use it.
23559 (timer-set-idle-time): Simplify.
23560 (timer--activate): CSE.
23561 (timer-event-handler): Give more info in error message.
23562 (internal-timer-start-idle): New function, moved from C.
23563
23564 * mpc.el (mpc-proc): Add `restart' argument.
23565 (mpc-proc-cmd): Use it.
23566 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23567 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
23568 less often.
23569
23570 2013-04-10 Masatake YAMATO <yamato@redhat.com>
23571
23572 * progmodes/sh-script.el: Implement `sh-mode' own
23573 `add-log-current-defun-function' (bug#14112).
23574 (sh-current-defun-name): New function.
23575 (sh-mode): Use the function.
23576
23577 2013-04-09 Bastien Guerry <bzg@gnu.org>
23578
23579 * simple.el (choose-completion-string): Fix docstring (bug#14163).
23580
23581 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
23582
23583 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
23584
23585 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
23586 timer (bug#14156).
23587
23588 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
23589
23590 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
23591 declaration.
23592
23593 2013-04-07 Leo Liu <sdl.web@gmail.com>
23594
23595 * pcmpl-x.el: New file.
23596
23597 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
23598
23599 Do not set x-display-name until X connection is established.
23600 This is needed to prevent from weird situation described at
23601 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
23602 * frame.el (make-frame): Set x-display-name after call to
23603 window system initialization function, not before.
23604 * term/x-win.el (x-initialize-window-system): Add optional
23605 display argument and use it.
23606 * term/w32-win.el (w32-initialize-window-system):
23607 * term/ns-win.el (ns-initialize-window-system):
23608 * term/pc-win.el (msdos-initialize-window-system):
23609 Add compatible optional display argument.
23610
23611 2013-04-06 Eli Zaretskii <eliz@gnu.org>
23612
23613 * files.el (normal-backup-enable-predicate): On MS-Windows and
23614 MS-DOS compare truenames of temporary-file-directory and of the
23615 file, so that 8+3 aliases (usually found in $TEMP on Windows)
23616 don't fail comparison by compare-strings. Also, compare file
23617 names case-insensitively on MS-Windows and MS-DOS.
23618
23619 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23620
23621 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
23622 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
23623
23624 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
23625
23626 * whitespace.el (whitespace-color-on, whitespace-color-off):
23627 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23628
23629 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
23630
23631 * ispell.el (ispell-set-spellchecker-params):
23632 Really set `ispell-args' for all equivs.
23633
23634 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
23635
23636 * ido.el (ido-completions): Use extra elements of ido-decorations
23637 (bug#14143).
23638 (ido-decorations): Update docstring.
23639
23640 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
23641
23642 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23643 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23644 nil during initialization, in order not to miss changes since the
23645 file was opened. (Bug#14140)
23646
23647 2013-04-05 Leo Liu <sdl.web@gmail.com>
23648
23649 * kmacro.el (kmacro-call-macro): Fix bug#14135.
23650
23651 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
23652
23653 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23654
23655 2013-04-04 Glenn Morris <rgm@gnu.org>
23656
23657 * electric.el (electric-pair-inhibit-predicate): Add :version.
23658
23659 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
23660
23661 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23662 when a package is required several times (bug#14082).
23663
23664 2013-04-04 Roland Winkler <winkler@gnu.org>
23665
23666 * faces.el (read-face-name): Behave as promised by the docstring.
23667 Assume that arg default is a list of faces.
23668 (describe-face): Call read-face-name with list of default faces.
23669
23670 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23671
23672 * bookmark.el: Fix deletion of bookmarks (bug#13972).
23673 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23674 (bookmark-bmenu-execute-deletions): Only skip first line if it's
23675 the header.
23676 (bookmark-exit-hook-internal): Save even if list is empty.
23677
23678 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
23679
23680 * emacs-lisp/package.el (package-pinned-packages): New var.
23681 (package--add-to-archive-contents): Obey it (bug#14118).
23682
23683 2013-04-03 Alan Mackenzie <acm@muc.de>
23684
23685 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23686 Also adapt to the new values of element 7 of a parse state.
23687
23688 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23689 parameter `not-in-delimiter'. Handle being inside comment opener.
23690 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23691 character in case we're typing a '*' after a '/'.
23692 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23693 instead by passing the parameter to c-state-pp-to-literal.
23694
23695 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23696 for elt. 7 of a parse state.
23697
23698 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
23699
23700 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23701 * international/latin1-disp.el, international/mule-util.el:
23702 * language/cyril-util.el, language/european.el, language/ind-util.el:
23703 * language/lao-util.el, language/thai.el, language/tibet-util.el:
23704 * language/tibetan.el, language/viet-util.el:
23705 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23706
23707 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23708
23709 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23710 (electric-pair-post-self-insert-function): Use it.
23711 (electric-pair-default-inhibit): New function, extracted from
23712 electric-pair-post-self-insert-function.
23713
23714 2013-03-31 Roland Winkler <winkler@gnu.org>
23715
23716 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23717
23718 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23719
23720 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23721
23722 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
23723
23724 Un-indent after "pass" and "return" statements (Bug#13888)
23725 * progmodes/python.el (python-indent-block-enders): New var.
23726 (python-indent-calculate-indentation): Use it.
23727
23728 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
23729
23730 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23731 defun. Defining it as defalias could introduce too eager
23732 byte-compiler optimization. (Bug#14030)
23733
23734 2013-03-30 Chong Yidong <cyd@gnu.org>
23735
23736 * iswitchb.el (iswitchb-read-buffer): Fix typo.
23737
23738 2013-03-30 Leo Liu <sdl.web@gmail.com>
23739
23740 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23741 (kmacro-execute-from-register): Pass the keyboard macro to
23742 kmacro-call-macro or repeating won't work correctly.
23743
23744 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
23745
23746 * progmodes/subword.el: Back to using `forward-symbol'.
23747
23748 * subr.el (forward-whitespace, forward-symbol)
23749 (forward-same-syntax): Move from thingatpt.el.
23750
23751 2013-03-29 Leo Liu <sdl.web@gmail.com>
23752
23753 * kmacro.el (kmacro-to-register): New command.
23754 (kmacro-execute-from-register): New function.
23755 (kmacro-keymap): Bind to 'x'. (Bug#14071)
23756
23757 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
23758
23759 * mpc.el: Use defvar-local and setq-local.
23760 (mpc--proc-connect): Connection failures are not bugs.
23761 (mpc-mode-map): `follow-link' only applies to the buffer's content.
23762 (mpc-volume-map): Bind to the up-events.
23763
23764 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
23765
23766 * progmodes/subword.el (superword-mode): Use `forward-sexp'
23767 instead of `forward-symbol'.
23768
23769 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23772 (edebug--recursive-edit): Use it.
23773 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23774 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23775
23776 2013-03-28 Leo Liu <sdl.web@gmail.com>
23777
23778 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
23779
23780 2013-03-27 Eli Zaretskii <eliz@gnu.org>
23781
23782 * facemenu.el (list-colors-callback): New defvar.
23783 (list-colors-redisplay): New function.
23784 (list-colors-display): Install list-colors-redisplay as the
23785 revert-buffer-function. (Bug#14063)
23786
23787 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
23788
23789 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23790 and suffixes don't overlap (bug#14061).
23791
23792 * case-table.el: Use lexical-binding.
23793 (case-table-get-table): New function.
23794 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
23795
23796 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
23797
23798 * progmodes/subword.el: Add `superword-mode' to do word motion
23799 over symbol_words (parallels and leverages `subword-mode' which
23800 does word motion inside MixedCaseWords).
23801
23802 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
23803
23804 * eshell/em-unix.el: Move su and sudo to...
23805 * eshell/em-tramp.el: ...Eshell tramp module.
23806
23807 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23808
23809 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23810 Change return value to be a sexp. Delay `get-buffer' to after
23811 restoring the desktop (bug#13951).
23812
23813 2013-03-26 Leo Liu <sdl.web@gmail.com>
23814
23815 * register.el: Move semantic tag handling back to
23816 cedet/semantic/senator.el. (Bug#14052)
23817
23818 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
23819
23820 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23821 into the prompt either (bug#13963).
23822
23823 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
23824
23825 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23826 part of "(error-foo)".
23827
23828 2013-03-24 Juri Linkov <juri@jurta.org>
23829
23830 * replace.el (list-matching-lines-prefix-face): New defcustom.
23831 (occur-1): Pass `list-matching-lines-prefix-face' to the function
23832 `occur-engine' if `face-differs-from-default-p' returns t.
23833 (occur-engine): Add `,' inside backquote construct to evaluate
23834 `prefix-face'. Propertize the prefix with the `prefix-face' face.
23835 Pass `prefix-face' to the functions `occur-context-lines' and
23836 `occur-engine-add-prefix'.
23837 (occur-engine-add-prefix, occur-context-lines): Add optional arg
23838 `prefix-face' and propertize the prefix with `prefix-face'.
23839 (Bug#14017)
23840
23841 2013-03-24 Leo Liu <sdl.web@gmail.com>
23842
23843 * nxml/rng-valid.el (rng-validate-while-idle)
23844 (rng-validate-quick-while-idle): Guard against deleted buffer.
23845 (Bug#13999)
23846
23847 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23848 is the last entry in kill-buffer-hook.
23849
23850 * files.el (kill-buffer-hook): Doc fix.
23851
23852 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
23853
23854 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23855 Make it safe-local.
23856
23857 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23858
23859 2013-03-23 Leo Liu <sdl.web@gmail.com>
23860
23861 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23862 Remove.
23863
23864 * nxml/rng-valid.el (rng-validate-mode)
23865 (rng-after-change-function, rng-do-some-validation):
23866 * nxml/rng-maint.el (rng-validate-buffer):
23867 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23868 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23869 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23870 (nxml-extend-after-change-region): Use with-silent-modifications.
23871
23872 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23873 timer-idle-list.
23874
23875 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23876 (rng-next-error-1, rng-previous-error-1): Do not let-bind
23877 timer-idle-list. (Bug#13999)
23878
23879 2013-03-23 Juri Linkov <juri@jurta.org>
23880
23881 * info.el (info-index-match): New face.
23882 (Info-index, Info-apropos-matches): Add a nested subgroup to the
23883 main pattern and add text properties with the new face to matches
23884 in index entries relative to the beginning of the index entry.
23885 (Bug#14015)
23886
23887 2013-03-21 Eric Ludlam <zappo@gnu.org>
23888
23889 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23890 Inhibit read only while inserting objects.
23891
23892 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
23893
23894 * progmodes/cfengine.el: Update docs to mention
23895 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
23896 symbol motion. Remove "_" from the word syntax.
23897
23898 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
23899
23900 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23901 syntax for both `cfengine2-mode' and `cfengine3-mode'.
23902
23903 2013-03-20 Juri Linkov <juri@jurta.org>
23904
23905 * info.el (Info-next-reference-or-link)
23906 (Info-prev-reference-or-link): New functions.
23907 (Info-next-reference, Info-prev-reference): Use them.
23908 (Info-try-follow-nearest-node): Handle footnote navigation.
23909 (Info-fontify-node): Fontify footnotes. (Bug#13989)
23910
23911 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
23912
23913 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23914 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23915
23916 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
23917
23918 Suppress unnecessary non-ASCII chatter during build process.
23919 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23920 (batch-skkdic-convert): Suppress most of the chatter.
23921 It's not needed so much now that machines are faster,
23922 and its non-ASCII component was confusing; see Dmitry Gutov in
23923 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23924
23925 2013-03-20 Leo Liu <sdl.web@gmail.com>
23926
23927 * ido.el (ido-chop): Fix bug#10994.
23928
23929 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23930
23931 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23932 Remove vars.
23933 (whitespace-color-on, whitespace-color-off):
23934 Use `font-lock-fontify-buffer' (Bug#13817).
23935
23936 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
23937
23938 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23939 remapping in mode-line.
23940 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23941
23942 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
23943
23944 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23945 value for `whitespace-line' face (Bug#13875).
23946 (whitespace-font-lock-keywords): Change description.
23947 (whitespace-color-on): Don't save `font-lock-keywords' value, save
23948 the constructed keywords instead.
23949 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23950
23951 2013-03-19 Leo Liu <sdl.web@gmail.com>
23952
23953 * progmodes/compile.el (compilation-display-error): New command.
23954 (compilation-mode-map, compilation-minor-mode-map): Bind it to
23955 C-o. (Bug#13992)
23956
23957 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23958
23959 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23960
23961 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
23962
23963 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23964
23965 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
23966
23967 * net/tramp-compat.el (tramp-compat-user-error): New defun.
23968
23969 * net/tramp-adb.el (tramp-adb-handle-shell-command):
23970 * net/tramp-gvfs.el (top):
23971 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
23972 (tramp-handle-shell-command): Use it.
23973 (tramp-dissect-file-name): Raise an error when hostname is a
23974 method name, and neither method nor user is specified.
23975
23976 * net/trampver.el: Update release number.
23977
23978 2013-03-18 Leo Liu <sdl.web@gmail.com>
23979
23980 Make sure eldoc can be turned off properly.
23981 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
23982 eldoc-mode.
23983 (eldoc-display-message-p): Revert last change.
23984 (eldoc-display-message-no-interference-p)
23985 (eldoc-print-current-symbol-info): Tweak.
23986
23987 2013-03-18 Tassilo Horn <tsdh@gnu.org>
23988
23989 * doc-view.el (doc-view-new-window-function): Check the new window
23990 overlay's display property instead the char property of the
23991 buffer's first char. Use `with-selected-window' instead of
23992 `save-window-excursion' with `select-window'.
23993 (doc-view-document->bitmap): Check the current doc-view overlay's
23994 display property instead the char property of the buffer's first char.
23995
23996 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
23997
23998 Automate the build of ja-dic.el (Bug#13984).
23999 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
24000 from the input, rather than assume that it's been done for us by the
24001 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
24002 the current date into a ja-dic.el comment, as that complicates
24003 regression testing.
24004
24005 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24006
24007 * whitespace.el: Fix double evaluation.
24008 (whitespace-space, whitespace-hspace, whitespace-tab)
24009 (whitespace-newline, whitespace-trailing, whitespace-line)
24010 (whitespace-space-before-tab, whitespace-indentation)
24011 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
24012 obsolete defvars.
24013 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
24014 (whitespace-color-on): Use a single font-lock-add-keywords call.
24015 Fix double-evaluation of face variables.
24016
24017 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
24018
24019 * net/tramp-adb.el (tramp-adb-parse-device-names):
24020 Use `start-process' instead of `call-process'. Otherwise, the
24021 function might be blocked under MS Windows. (Bug#13299)
24022
24023 2013-03-17 Leo Liu <sdl.web@gmail.com>
24024
24025 Extend eldoc to display info in the mode-line. (Bug#13978)
24026 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
24027 (eldoc-mode-line-string): New variable.
24028 (eldoc-minibuffer-message): New function.
24029 (eldoc-message-function): New variable.
24030 (eldoc-message): Use it.
24031 (eldoc-display-message-p)
24032 (eldoc-display-message-no-interference-p):
24033 Support eldoc-post-insert-mode.
24034
24035 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
24036 (eval-expression): Run it.
24037
24038 2013-03-17 Roland Winkler <winkler@gnu.org>
24039
24040 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
24041 strings in the list of return values.
24042
24043 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24044
24045 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
24046 radix before checking for HMS forms.
24047
24048 2013-03-16 Leo Liu <sdl.web@gmail.com>
24049
24050 * progmodes/scheme.el: Add indentation and font-locking for λ.
24051 (Bug#13975)
24052
24053 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
24054
24055 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
24056 token before point (bug#13942).
24057
24058 2013-03-16 Leo Liu <sdl.web@gmail.com>
24059
24060 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
24061
24062 2013-03-16 Eli Zaretskii <eliz@gnu.org>
24063
24064 * startup.el (command-line-normalize-file-name): Fix handling of
24065 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
24066 <xfq.free@gmail.com> in
24067 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
24068
24069 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
24070
24071 Sync with Tramp 2.2.7.
24072
24073 * net/trampver.el: Update release number.
24074
24075 2013-03-14 Tassilo Horn <tsdh@gnu.org>
24076
24077 * doc-view.el: Fix bug#13887.
24078 (doc-view-insert-image): Don't modify overlay associated to
24079 non-live windows, and implement horizontal centering of image in
24080 case it's smaller than the window.
24081 (doc-view-new-window-function): Force redisplay of new windows on
24082 doc-view buffers.
24083
24084 2013-03-13 Karl Fogel <kfogel@red-bean.com>
24085
24086 * saveplace.el (save-place-alist-to-file): Don't sort
24087 `save-place-alist', just pretty-print it (bug#13882).
24088
24089 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
24090
24091 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
24092 Check whether `default-file-name-coding-system' is bound.
24093 It isn't in XEmacs.
24094
24095 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
24096
24097 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
24098 backquotes for `obsolete' (bug#13929).
24099
24100 * international/mule.el (find-auto-coding): Include file name in
24101 obsolescence warning (bug#13922).
24102
24103 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
24104
24105 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
24106 for CFEngine 3-specific indentation.
24107 (cfengine3-indent-line): Use it. Fix up category regex.
24108 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
24109
24110 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24111
24112 * type-break.el (type-break-file-name):
24113 * textmodes/remember.el (remember-data-file):
24114 * strokes.el (strokes-file):
24115 * shadowfile.el (shadow-initialize):
24116 * saveplace.el (save-place-file):
24117 * ps-bdf.el (bdf-cache-file):
24118 * progmodes/idlwave.el (idlwave-config-directory):
24119 * net/quickurl.el (quickurl-url-file):
24120 * international/kkc.el (kkc-init-file-name):
24121 * ido.el (ido-save-directory-list-file):
24122 * emulation/viper.el (viper-custom-file-name):
24123 * emulation/vip.el (vip-startup-file):
24124 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
24125 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
24126
24127 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
24128
24129 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
24130 * language/thai-word.el: Switch to UTF-8.
24131
24132 See ChangeLog.16 for earlier changes.
24133
24134 ;; Local Variables:
24135 ;; coding: utf-8
24136 ;; End:
24137
24138 Copyright (C) 2011-2015 Free Software Foundation, Inc.
24139
24140 This file is part of GNU Emacs.
24141
24142 GNU Emacs is free software: you can redistribute it and/or modify
24143 it under the terms of the GNU General Public License as published by
24144 the Free Software Foundation, either version 3 of the License, or
24145 (at your option) any later version.
24146
24147 GNU Emacs is distributed in the hope that it will be useful,
24148 but WITHOUT ANY WARRANTY; without even the implied warranty of
24149 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24150 GNU General Public License for more details.
24151
24152 You should have received a copy of the GNU General Public License
24153 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.