]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge branch 'master' into cairo
[gnu-emacs] / lisp / ChangeLog
1 2015-04-03 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/js.el (js-indent-line): Do nothing when bol is inside
4 a string (https://github.com/mooz/js2-mode/issues/227).
5
6 2015-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * abbrev.el (define-abbrev-table): Treat a non-string "docstring" as
9 part of the "props" arguments rather than silently ignoring it.
10
11 * emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
12
13 2015-04-01 Alan Mackenzie <acm@muc.de>
14
15 Fix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240.
16
17 * progmodes/cc-mode.el (c-extend-after-change-region):
18 Widen before applying text properties.
19 * progmodes/cc-langs.el (c-before-font-lock-functions): Update an
20 entry to a new function name.
21
22 2015-04-01 Paul Eggert <eggert@cs.ucla.edu>
23
24 * emacs-lisp/package.el: Spelling fixes and use active voice.
25
26 2015-04-01 Artur Malabarba <bruce.connor.am@gmail.com>
27
28 * emacs-lisp/package.el: Implement asynchronous refreshing.
29 (package--with-work-buffer-async)
30 (package--check-signature-content)
31 (package--update-downloads-in-progress): New functions.
32 (package--check-signature, package--download-one-archive)
33 (package--download-and-read-archives, package-refresh-contents):
34 Optional arguments for async usage.
35 (package--post-download-archives-hook): New variable. Hook run
36 after every refresh.
37
38 * emacs-lisp/package.el: Make package-menu asynchronous.
39 (package-menu-async): New variable. Controls whether
40 `list-packages' is asynchronous.
41 (list-packages): Now asynchronous by default.
42 (package-menu--new-package-list): Always buffer-local.
43 (package-menu--post-refresh)
44 (package-menu--find-and-notify-upgrades)
45 (package-menu--populate-new-package-list): New functions.
46
47 2015-03-31 Simen Heggestøyl <simenheg@gmail.com>
48
49 * textmodes/css-mode.el (css-mode): Derive from `prog-mode'.
50
51 2015-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error.
54
55 Let jit-lock know the result of font-lock-extend-region-functions.
56 * jit-lock.el (jit-lock--run-functions): New function.
57 (jit-lock-fontify-now): Use it. Handle fontification bounds more
58 precisely in case the backend functions fontify more than requested.
59 Don't round up to whole lines since that shouldn't be needed
60 any more.
61 * font-lock.el (font-lock-fontify-region-function): Adjust docstring.
62 (font-lock-inhibit-thing-lock): Make obsolete.
63 (font-lock-default-fontify-region): Return the bounds actually used.
64
65 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
66 Fix compilation error.
67
68 2015-03-30 Artur Malabarba <bruce.connor.am@gmail.com>
69
70 * emacs-lisp/package.el: Reorganize package.el and divide it with
71 page-breaks and comments.
72
73 2015-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * emacs-lisp/eieio-base.el (make-instance) <eieio-named>: New instance
76 which stores the old-style object name argument into the
77 object-name field.
78
79 2015-03-30 Alan Mackenzie <acm@muc.de>
80
81 Correct calculation of CC Mode's font-lock region.
82
83 * progmodes/cc-mode.el (c-fl-decl-start): Rename from
84 c-set-fl-decl-start. Change signature such that nil is returned
85 when no declaration is found.
86 (c-change-expand-fl-region): Rename from
87 c-change-set-fl-decl-start. This now also handles expanding the
88 font lock region to whole lines.
89 (c-context-expand-fl-region): Rename from
90 c-context-set-fl-decl-start. This now also handles expanding the
91 font lock region to whole lines.
92 (c-font-lock-fontify-region): When a change font lock region is
93 spuriously enlarged to the beginning-of-line by jit-lock, fontify
94 the extra bit separately from the region calculated by CC Mode.
95 (c-extend-after-change-region): Explicitly apply 'fontified
96 properties to the extended bits of the font lock region.
97
98 * progmodes/cc-langs.el (c-before-font-lock-functions)
99 (c-before-context-fontification-functions): Use new names for
100 existing functions (see above).
101
102 2015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change)
103
104 * mail/sendmail.el (sendmail-send-it): Do not attempt to switch
105 to non-existent buffer (errbuf is not created when customization
106 variable mail-interactive is nil). (Bug#20211)
107
108 2015-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/smie.el (smie-backward-sexp-command)
111 (smie-forward-sexp-command): Don't pretend the arg is optional
112 (bug#20205).
113
114 2015-03-29 Dmitry Gutov <dgutov@yandex.ru>
115
116 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
117 Detect regexps after `!'. (Bug#19285)
118
119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
120 Use `font-lock-constant-face' for nil, true and false.
121 Highlight `self' as a keyword. (Bug#17733)
122
123 2015-03-29 Nobuyoshi Nakada <nobu@ruby-lang.org>
124
125 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
126 Expect beginning of regexp also after open brace or vertical bar.
127 (Bug#20026)
128
129 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
130
131 * emacs-lisp/package.el (package-refresh-contents): Fix spelling
132 error in previous change.
133
134 2015-03-28 Tom Willemse <tom@ryuslash.org> (tiny change)
135
136 * elec-pair.el (electric-pair-local-mode): New command.
137 (electric-pair-mode): Mention `electric-pair-local-mode' in the
138 docstring.
139
140 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
141
142 * emacs-lisp/package.el (package-refresh-contents): Add a message at
143 the end so it does not appear to have hanged (Bug#17879).
144
145 2015-03-27 Wolfgang Jenkner <wjenkner@inode.at>
146
147 * font-lock.el (font-lock--remove-face-from-text-property):
148 New function. Adapted from the previously commented out
149 remove-single-text-property.
150 Remove previously unused and commented out auxiliary function
151 remove-text-property and obsolete comment.
152 * comint.el (comint-output-filter): Use it to remove
153 comint-highlight-prompt.
154 (comint-snapshot-last-prompt, comint-output-filter):
155 Use font-lock-prepend-text-property for comint-highlight-prompt.
156 (Bug#20084)
157
158 2015-03-26 Daniel Colascione <dancol@dancol.org>
159 * progmodes/python.el
160 (python-indent-guess-indent-offset-verbose): New defcustom.
161 (python-indent-guess-indent-offset): Use it.
162
163 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * emacs-lisp/eieio.el (defclass): Change internal name so as to make
166 sure only EIEIO files should have "eieio--" prefixes in their .elc.
167
168 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
169
170 2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
171
172 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
173
174 2015-03-25 Dmitry Gutov <dgutov@yandex.ru>
175
176 * json.el (json-special-chars): Don't treat `/' specially, there's
177 no need to.
178 (json-encode-string): Only escape quotation mark, backslash and
179 the control characters U+0000 to U+001F.
180
181 2015-03-25 Artur Malabarba <bruce.connor.am@gmail.com>
182
183 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
184 Don't complain about args starting with _.
185
186 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * international/mule-cmds.el (mule--ucs-names-annotation): New func.
189 (read-char-by-name): Use it.
190
191 * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
192
193 2015-03-25 Nicolas Petton <nicolas@petton.fr>
194
195 * emacs-lisp/seq.el: Documentation improvements.
196
197 2015-03-25 Glenn Morris <rgm@gnu.org>
198
199 * net/browse-url.el (browse-url-browser-function)
200 (browse-url-default-browser):
201 Remove obsolete items from the explicit listing.
202 (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
203 (browse-url-netscape-program, browse-url-netscape-arguments)
204 (browse-url-netscape-startup-arguments)
205 (browse-url-galeon-program, browse-url-galeon-arguments)
206 (browse-url-galeon-startup-arguments)
207 (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
208 (browse-url-galeon-new-window-is-tab)
209 (browse-url-netscape-new-window-is-tab)
210 (browse-url-mosaic-program, browse-url-mosaic-arguments)
211 (browse-url-mosaic-pidfile, browse-url-CCI-port)
212 (browse-url-CCI-host, browse-url-netscape-version)
213 (browse-url-netscape, browse-url-netscape-sentinel)
214 (browse-url-netscape-reload, browse-url-netscape-send)
215 (browse-url-galeon, browse-url-galeon-sentinel)
216 (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
217 (browse-url-w3-gnudoit): Make obsolete.
218 * ffap.el (ffap-url-fetcher): Simplify default and doc.
219
220 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com>
221
222 * xt-mouse.el: Add mouse-tracking support (bug#19416).
223 (xterm-mouse-translate-1): Handle mouse-movement events.
224 (xterm-mouse--read-event-sequence-1000)
225 (xterm-mouse--read-event-sequence-1006): Delete functions.
226 (xterm-mouse--read-event-sequence): New function that handles both at
227 the same time. Handle mouse-movements.
228 (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
229 New functions.
230 (xterm-mouse-event): Simplify.
231 (xterm-mouse-tracking-enable-sequence)
232 (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
233
234 * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
235
236 2015-03-24 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
239 (tramp-do-file-attributes-with-stat): Quote file names in output.
240 (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
241
242 2015-03-24 Daiki Ueno <ueno@gnu.org>
243
244 * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
245 invocation; make the PARAMETERS documentation clearer.
246
247 2015-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 Add cl-struct specific optimizations to pcase.
250 * emacs-lisp/cl-macs.el (cl--struct-all-parents)
251 (cl--pcase-mutually-exclusive-p): New functions.
252 (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
253
254 * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
255
256 2015-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 Add new `cl-struct' and `eieio' pcase patterns.
259 * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
260 * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
261 (eieio-pcase-slot-index-from-index-table): New functions.
262 (eieio): New pcase pattern.
263 * emacs-lisp/pcase.el (pcase--make-docstring): New function.
264 (pcase): Use it to build the docstring.
265 (pcase-defmacro): Make sure the macro is lazy-loaded.
266 (\`): Move its docstring from `pcase'.
267
268 2015-03-23 Glenn Morris <rgm@gnu.org>
269
270 * emacs-lisp/authors.el (authors-aliases)
271 (authors-obsolete-files-regexps): Additions.
272
273 2015-03-23 Jan Djärv <jan.h.d@swipnet.se>
274
275 * simple.el (deactivate-mark): Only modify PRIMARY if we own
276 PRIMARY (Bug#18939).
277
278 2015-03-23 Martin Rudalics <rudalics@gmx.at>
279
280 * emacs-lisp/debug.el (debug): Don't try using "previous" window
281 when its not live or on an invisible frame (Bug#17170).
282
283 2015-03-23 Dmitry Gutov <dgutov@yandex.ru>
284
285 * json.el (json-decode-char0): Delete this alias as well.
286 (json-read-escaped-char): Don't call it (bug#20154).
287
288 2015-03-23 Daniel Colascione <dancol@dancol.org>
289
290 * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
291 (lisp--el-match-keyword): Use it.
292
293 2015-03-23 Daiki Ueno <ueno@gnu.org>
294
295 * subr.el (start-process): New function, ported from the C
296 implementation.
297
298 2015-03-23 Daniel Colascione <dancol@dancol.org>
299
300 Automatically adjust process window sizes.
301
302 * window.el (window-adjust-process-window-size-function):
303 New customizable variable.
304 (window-adjust-process-window-size)
305 (window-adjust-process-window-size-smallest)
306 (window-adjust-process-window-size-largest)
307 (window--process-window-list, window--adjust-process-windows):
308 New functions.
309 (window-configuration-change-hook):
310 Add `window--adjust-process-windows'.
311 * term.el (term-mode): Observe result of
312 `window-adjust-process-window-size-function'.
313 (term-check-size): Delete.
314
315 2015-03-22 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
316
317 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
318 (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
319 indentation (bug#20161).
320
321 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
322
323 * json.el (json-encode-char0): Delete this alias.
324 (json-encode-string): Rewrite to improve performance (bug#20154).
325 (json-encode-char): Fold into `json-encode-string'.
326
327 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
328
329 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
330 for `buffers-menu-max-size', not total buffers.
331
332 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
333
334 * window.el (window-font-width, window-font-height)
335 (window-max-chars-per-line): New functions.
336
337 * simple.el (default-font-height): Doc fix.
338 (default-font-width): New function.
339
340 2015-03-21 Tassilo Horn <tsdh@gnu.org>
341
342 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
343 Also recognize (cl-)defmethod with (setf method) name.
344
345 2015-03-20 Tassilo Horn <tsdh@gnu.org>
346
347 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
348 Fix false positive in function name font-locking.
349 (lisp-cl-font-lock-keywords-1): Ditto.
350
351 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
354 occurrences of args via &cl-defs (bug#20149).
355
356 2015-03-20 Alan Mackenzie <acm@muc.de>
357
358 Fix debbugs#20146
359
360 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
361 Return the calculated values, as per spec.
362
363 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
364
365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
366 and `callcc' to the "methods with required arguments" section,
367 they need a block argument. Remove a `throw' duplicate.
368
369 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
370
371 * progmodes/cperl-mode.el (cperl-electric-backspace):
372 Call delete-backward-space interactively instead of delete-char.
373
374 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
377
378 * emacs-lisp/eieio.el (object-slots): Return slot names as before
379 (bug#20141).
380
381 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 EIEIO: Change class's representation to unify instance and class slots
384 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
385 to match those of cl--class; use cl--slot for both instance slots and
386 class slots.
387 (eieio--object-num-slots): Use cl-struct-slot-info.
388 (eieio--object-class): Rename from eieio--object-class-object.
389 (eieio--object-class-name): Remove.
390 (eieio-defclass-internal): Adjust to new slot representation.
391 Store doc in class rather than in `variable-documentation'.
392 (eieio--perform-slot-validation-for-default): Change API to take
393 a slot object.
394 (eieio--slot-override): New function.
395 (eieio--add-new-slot): Rewrite.
396 (eieio-copy-parents-into-subclass): Rewrite.
397 (eieio--validate-slot-value, eieio--validate-class-slot-value)
398 (eieio-oref-default, eieio-oset-default)
399 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
400 slot representation.
401 (eieio--c3-merge-lists): Simplify.
402 (eieio--class/struct-parents): New function.
403 (eieio--class-precedence-bfs): Use it.
404
405 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
406 (object-class-fast): Change recommend replacement.
407 (eieio-object-class): Rewrite.
408 (slot-exists-p): Adjust to new slot representation.
409 (initialize-instance): Adjust to new slot representation.
410 (object-write): Adjust to new slot representation.
411
412 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
413 extracted from eieio-help-class-slots.
414 (eieio-help-class-slots): Use it. Adjust to new slot representation.
415
416 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
417 Declare to silence warnings.
418 (data-debug-insert-object-button): Avoid `object-slots'.
419 (data-debug/eieio-insert-slots): Adjust to new slot representation.
420
421 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
422 (eieio-object-value-get): Adjust to new slot representation.
423
424 * emacs-lisp/eieio-compat.el
425 (eieio--generic-static-symbol-specializers):
426 Extract from eieio--generic-static-symbol-generalizer.
427 (eieio--generic-static-symbol-generalizer): Use it.
428
429 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
430 Manually map initargs to slot names.
431 (eieio-persistent-validate/fix-slot-value): Adjust to new
432 slot representation.
433
434 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
435
436 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
437
438 * leim/quail/hangul.el (hangul-delete-backward-char)
439 (hangul-to-hanja-conversion):
440 * progmodes/cperl-mode.el (cperl-electric-keyword)
441 (cperl-electric-backspace): Use delete-char instead of
442 delete-backward-char, fixes compilation warnings.
443
444 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
445
446 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
447 Mark apostrophs with ?/ instead of \037. (Bug#20117)
448
449 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 Add classes as run-time descriptors of cl-structs.
452 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
453 (cl--make-slot-desc): New constructor.
454 (cl--plist-remove, cl--struct-register-child): New functions.
455 (cl-struct-define): Rewrite.
456 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
457 (cl--class): New structs.
458 (cl--struct-default-parent): Initialize it here.
459 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
460 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
461 (cl--struct-default-parent): New var.
462 (cl-defstruct): Adjust to new representation of classes; add
463 default parent. In accessors, signal `wrong-type-argument' rather than
464 a generic error.
465 (cl-struct-sequence-type, cl-struct-slot-info)
466 (cl-struct-slot-offset): Rewrite.
467 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
468 (cl-generic-generalizers): Rewrite.
469
470 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
471 (internal-macroexpand-for-load): Use it.
472
473 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
474 Bind inhibit-debug-on-entry here...
475 (debug): Instead of here.
476
477 2015-03-18 Dima Kogan <dima@secretsauce.net>
478
479 Have gud-display-line not display source buffer in gud window.
480 * progmodes/gud.el (gud-display-line): Make display-buffer
481 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
482
483 2015-03-17 Tassilo Horn <tsdh@gnu.org>
484
485 * emacs-lisp/byte-run.el (macro-declarations-alist):
486 New declaration no-font-lock-keyword.
487 (defmacro): Flush font-lock in existing elisp buffers.
488
489 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
490 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
491 Delete functions and defconst.
492 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
493 (lisp--el-font-lock-flush-elisp-buffers): New function.
494 (lisp-mode-variables): Remove code for updating
495 lisp--el-macro-regexp, and add
496 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
497
498 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
499
500 * textmodes/css-mode.el (css--font-lock-keywords):
501 Discriminate between pseudo-classes and pseudo-elements.
502 (css-pseudo-ids): Remove.
503 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
504 (css--complete-property): New function for completing CSS properties.
505 (css--complete-pseudo-element-or-class): New function
506 completing CSS pseudo-elements and pseudo-classes.
507 (css--complete-at-rule): New function for completing CSS at-rules.
508 (css-completion-at-point): New function.
509 (css-mode): Add support for completion.
510 (css-extract-keyword-list, css-extract-parse-val-grammar)
511 (css-extract-props-and-vals): Remove function in favor of manual
512 extraction.
513 (css-at-ids): Update list of CSS at-rule ids.
514 (css-property-ids): Update list of CSS properties.
515
516 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
517
518 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
519 more Kernel methods.
520
521 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
522
523 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
524 shell scripts. (Bug#20118)
525
526 2015-03-17 Eli Zaretskii <eliz@gnu.org>
527
528 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
529 nil, construct a menu of fixed fonts. This resurrects a feature
530 lost in Emacs 23.
531
532 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
533 reset mouse-appearance-menu-map, so the font dialog is recomputed
534 the next time the menu is requested.
535 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
536
537 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
540 (bug#20125).
541
542 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
545 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
546
547 2015-03-16 Alan Mackenzie <acm@muc.de>
548
549 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
550 Also display the overlay arrow in go and go-nonstop modes.
551
552 * emacs-lisp/edebug.el (edebug--display-1): Move the
553 `input-pending' test to after trace mode's `sit-for'.
554 (edebug--recursive-edit): Insert "(sit-for 0)" after
555 "(edebug-overlay-arrow)".
556
557 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
560 cl--do-arglist in more cases; add comments to explain what's going on.
561 (cl--do-&aux): New function extracted from cl--do-arglist.
562 (cl--do-arglist): Use it.
563
564 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
565
566 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
567 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
568 * ido.el (ido-read-buffer): Add `predicate' argument.
569 * misearch.el (unload-function-defs-list): Declare before use.
570
571 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
572
573 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
574 (browse-url-conkeror-program, browse-url-conkeror-arguments)
575 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
576 (browse-url-default-browser): Check for `browse-url-conkeror'
577 and call `browse-url-conkeror-program'.
578 (browse-url-conkeror): New command.
579 (bug#19863)
580
581 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
582
583 * eshell/esh-mode.el (eshell/clear): New function.
584
585 2015-03-16 Alan Mackenzie <acm@muc.de>
586
587 Make Edebug work with Follow Mode.
588
589 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
590 edebug-adjust-window.
591 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
592 over the recursive edit.
593 (edebug-adjust-window): Remove.
594
595 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
596
597 * net/tramp-adb.el:
598 * net/tramp-gvfs.el:
599 * net/tramp-sh.el:
600 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
601
602 * net/tramp.el (tramp-ssh-controlmaster-options)
603 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
604 (tramp-default-method): Do not check for
605 `tramp-ssh-controlmaster-options'.
606
607 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
608 New defcustom, moved from tramp.el.
609 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
610 but with a nil initial value.
611 (tramp-ssh-controlmaster-options): New defun.
612 (tramp-do-copy-or-rename-file-out-of-band)
613 (tramp-maybe-open-connection): Use it. (Bug#20015)
614
615 2015-03-15 Tassilo Horn <tsdh@gnu.org>
616
617 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
618 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
619 (lisp--el-match-macro): New functions.
620 (lisp-mode-variables): Update lisp--el-macro-regexp and add
621 lisp--el-update-after-load to after-load-functions.
622
623 2015-03-15 Daniel Colascione <dancol@dancol.org>
624
625 * emacs-lisp/cl-indent.el
626 (lisp-indent-backquote-substitution-mode): New user option.
627 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
628 (common-lisp-indent-function): Support normally indenting
629 backquote substitutions.
630 (extended-loop-p): Rename to `lisp-extended-loop-p'.
631
632 2015-03-14 Michael R. Mauger <michael@mauger.com>
633
634 * progmodes/sql.el: Version 3.5
635 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
636 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
637
638 2015-03-14 Daniel Colascione <dancol@dancol.org>
639
640 * widget.el (define-widget): Check that documentation is a string
641 or nil; prevent wailing and gnashing of teeth when users forget to
642 pass a docstring and wonder why their properties don't work.
643
644 * startup.el (command-line): Process "--no-x-resources".
645
646 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
647
648 info-look fixes for Texinfo 5
649 * info-look.el (c-mode, bison-mode, makefile-mode)
650 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
651 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
652 Match `foo' and 'foo' and ‘foo’ for @item and similar.
653 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
654 suffix regexp.
655
656 2015-03-12 Juri Linkov <juri@linkov.net>
657
658 * simple.el (next-line-or-history-element)
659 (previous-line-or-history-element): Remember the goal column of
660 possibly multi-line input, and restore it afterwards. (Bug#19824)
661
662 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
663
664 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
665 files (bug#19335).
666
667 2015-03-12 Eli Zaretskii <eliz@gnu.org>
668
669 * international/fontset.el (script-representative-chars): Add a
670 representative character for 'vai'.
671
672 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * international/quail.el (quail-input-method):
675 Use with-silent-modifications.
676
677 * simple.el (goto-history-element): Don't burp on t history.
678
679 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
680
681 Prefer "initialize" to "initialise"
682 * progmodes/js.el (js-indent-first-init):
683 Rename from js-indent-first-initialiser, to avoid worrying about
684 American vs British spelling. All uses changed.
685
686 2015-03-10 Glenn Morris <rgm@gnu.org>
687
688 * progmodes/js.el (js-indent-first-initialiser):
689 Fix doc, type, version.
690
691 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
692
693 * progmodes/js.el (js-indent-first-initialiser): New option.
694 (js--maybe-goto-declaration-keyword-end): New function.
695 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
696
697 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
698
699 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
700 from RFC2798 Section 9.1.1. (Bug#8983)
701
702 2015-03-09 Nicolas Petton <nicolas@petton.fr>
703
704 * emacs-lisp/seq.el (seq-into): New function.
705 Bump seq.el version to 1.3.
706
707 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
708
709 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
710 `=' a part of symbol when followed by `>'. (Bug#18644)
711 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
712 (Bug#19285)
713
714 2015-03-09 Eli Zaretskii <eliz@gnu.org>
715
716 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
717
718 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
719 Thomas Fitzsimmons <fitzsim@fitzsim.org>
720
721 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
722 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
723 (eudc-bbdb-format-record-as-result): Likewise.
724
725 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
726
727 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
728 Use `font-lock-constant-face' for nil, true and false.
729 Highlight `self' as a keyword. (Bug#17733)
730
731 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
732
733 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
734 Expect beginning of regexp also after open brace or vertical bar.
735 (Bug#20026)
736
737 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * battery.el (battery-echo-area-format): Simplify default.
740 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
741 for AC adapter.
742
743 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
744 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
745 do it.
746
747 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
748
749 * net/browse-url.el (browse-url-firefox): Remove outdated
750 MS-Windows limitations.
751
752 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
753
754 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
755 obsolete.
756 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
757 Don't clean up postal addresses if ldap-ignore-attribute-codings
758 is set. Combine mail addresses into one field. (Bug#17720)
759 (eudc-ldap-simple-query-internal):
760 Call eudc-ldap-cleanup-record-filtering-addresses instead of
761 eudc-ldap-cleanup-record-simple.
762 (eudc-ldap-get-field-list): Likewise.
763
764 2015-03-05 Ivan Shmakov <ivan@siamics.net>
765
766 * net/eww.el (eww-html-p): New function (bug#20009).
767 (eww-render): Use it.
768
769 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
770
771 * desktop.el (desktop-buffer-info): Write docstring.
772 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
773 unquote lamda.
774
775 * emacs-lisp/package.el (package-refresh-contents): Update doc.
776
777 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
778
779 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
780
781 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 Replace *-function vars with generic functions in cl-generic.
784 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
785 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
786 (cl--generic-t-generalizer): New const.
787 (cl--generic-make-method): Rename from `cl--generic-method-make'.
788 (cl--generic-make): Change calling convention.
789 (cl--generic): Add `options' field.
790 (cl-generic-function-options): New function.
791 (cl-defgeneric): Rewrite handling of options. Add support for :method
792 options and allow the use of a default body.
793 (cl-generic-define): Save options in the corresponding new field.
794 (cl-defmethod): Fix ordering of qualifiers.
795 (cl-generic-define-method): Use cl-generic-generalizers.
796 (cl--generic-get-dispatcher): Change calling convention, and change
797 calling convention of the returned function as well so as to take the
798 list of methods separately from the generic function object, so that it
799 can receive the original generic function object.
800 (cl--generic-make-next-function): New function, extracted from
801 cl--generic-make-function.
802 (cl--generic-make-function): Use it.
803 (cl-generic-method-combination-function): Remove.
804 (cl--generic-cyclic-definition): New error.
805 (cl-generic-call-method): Take a generic function object rather than
806 its name.
807 (cl-method-qualifiers): New alias.
808 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
809 don't segregate by qualifiers here any more.
810 (cl--generic-standard-method-combination): Segregate by qualifiers
811 here instead. Add support for the `:extra' qualifier.
812 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
813 (cl-generic-generalizers, cl-generic-combine-methods):
814 New generic functions.
815 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
816 Use the new "default method in defgeneric" functionality, change
817 calling convention to receive a generic function object.
818 (cl--generic-head-used): New var.
819 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
820 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
821 New consts.
822 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
823 (eieio--generic-subclass-generalizer): New consts.
824 (cl-generic-generalizers): New methods.
825 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
826 (eieio--generic-static-object-generalizer): New consts.
827 (cl-generic-generalizers) <(head eieio--static)>: New method.
828 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
829 Unfold closures like lambdas.
830
831 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
832
833 * autorevert.el (auto-revert-notify-add-watch):
834 Fix handler installation. (Bug#20000)
835
836 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
837
838 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
839 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
840 (eww): Do not end error messages with a period.
841
842 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
843
844 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
845 New user option.
846 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
847 names starting with a space.
848 (tramp-methods): Add `tramp-default-port' for "adb".
849 (tramp-adb-parse-device-names): Add traces. Return device names
850 with port, if present.
851 (tramp-adb-handle-directory-files-and-attributes): Quote all
852 remote file names.
853 (tramp-adb-get-device): New defun.
854 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
855 Use it.
856 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
857 variables. Remove checks for listed devices.
858
859 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
860
861 * net/tramp.el (tramp): Add :link property.
862 (tramp-login-prompt-regexp): Allow also "user", as required by
863 Fritz!Box telnet.
864 (tramp-autoload-file-name-handler): Use "/".
865 (tramp-handle-unhandled-file-name-directory): Return nil when
866 required by the spec.
867
868 * net/tramp-cache.el (tramp-dump-connection-properties):
869 Use `with-temp-file'.
870
871 * net/tramp-sh.el (tramp-perl-file-attributes)
872 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
873 file names.
874 (tramp-do-file-attributes-with-stat): Quote file name.
875 (tramp-sh-handle-directory-files-and-attributes): Fall back to
876 `tramp-handle-directory-files-and-attributes' in case of problems.
877 (tramp-do-directory-files-and-attributes-with-stat)
878 (tramp-sh-handle-file-name-all-completions)
879 (tramp-sh-handle-delete-directory)
880 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
881 Normalize use of "cd".
882 (tramp-do-directory-files-and-attributes-with-stat): Use the
883 `quoting-style' arg of `ls' if possible. Make it also working for
884 file names with apostrophes.
885 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
886 in proper order.
887 (tramp-do-copy-or-rename-file-via-buffer)
888 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
889 (tramp-get-remote-locale): Accept also \r in output.
890 (tramp-get-ls-command-with-quoting-style): New defun.
891 (tramp-get-inline-coding): Set `default-directory' to a local
892 directory. Sporadically, `call-process-region' does not handle a
893 remote default directory properly.
894
895 * net/trampver.el: Update release number.
896
897 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
898
899 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
900 .dat files for aspell dicts are also searched for in location
901 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
902 variable.
903
904 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
905
906 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
907 (ispell-hunspell-fill-dictionary-entry)
908 (ispell-find-hunspell-dictionaries)
909 (ispell-set-spellchecker-params): New generic name for
910 `ispell-hunspell-dictionary-equivs-alist'.
911 (ispell-aspell-add-aliases): Also use
912 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
913 standard dict names.
914
915 2015-03-03 Glenn Morris <rgm@gnu.org>
916
917 * net/browse-url.el (browse-url-firefox-startup-arguments):
918 Make obsolete.
919 (browse-url-firefox): Doc fix. Remove -remote, which no longer
920 exists in Firefox 36. (Bug#19921)
921 (browse-url-firefox-sentinel): Remove function.
922
923 2015-03-03 Eli Zaretskii <eliz@gnu.org>
924
925 * frame.el (blink-cursor-timer-function): Don't increment
926 blink-cursor-blinks-done counter when a menu is active on a w32
927 frame. (Bug#19925)
928
929 2015-03-03 Juri Linkov <juri@linkov.net>
930
931 * comint.el (comint-line-beginning-position): Revert searching for
932 the prompt when comint-use-prompt-regexp is non-nil because it
933 doesn't distinguish input from output. Check the field property
934 `output' for the case when comint-use-prompt-regexp is nil.
935 (Bug#19710)
936
937 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
938
939 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
940 with PAGER=cat. (Bug#19870)
941
942 2015-03-03 Glenn Morris <rgm@gnu.org>
943
944 * textmodes/flyspell.el (flyspell-duplicate-distance):
945 Bump :version.
946
947 2015-03-03 Eli Zaretskii <eliz@gnu.org>
948
949 * textmodes/text-mode.el (text-mode-syntax-table): Make some
950 punctuation character behave as word-constituent, for more
951 compatibility with Unicode.
952
953 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
954
955 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
956
957 Improve string search in `flyspell-word-search-*`. (Bug#16800)
958 * textmodes/flyspell.el (flyspell-duplicate-distance):
959 Limit default search distance for duplicated words to 40000.
960 (flyspell-word-search-backward, flyspell-word-search-forward):
961 Search as full word with defined casechars, not as substring.
962
963 2015-03-03 Juri Linkov <juri@linkov.net>
964
965 Better support for the case of typing RET on the prompt in comint.
966 * comint.el (comint-get-old-input-default): Go to the field end
967 when comint-use-prompt-regexp is nil.
968 (comint-line-beginning-position): Check if point is already
969 on the prompt before searching for the prompt when
970 comint-use-prompt-regexp is non-nil. (Bug#19710)
971
972 2015-03-03 Eli Zaretskii <eliz@gnu.org>
973
974 * frame.el (frame-notice-user-settings): Refresh the value of
975 frame parameters after calling tty-handle-reverse-video.
976 Call face-set-after-frame-default with the actual parameters, to avoid
977 resetting colors back to unspecified.
978 (set-background-color, set-foreground-color): Pass the foreground
979 and background colors to face-set-after-frame-default. (Bug#19802)
980
981 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
982
983 * net/network-stream.el (network-stream-open-tls): Respect the
984 :end-of-capability setting.
985
986 2015-03-03 Juri Linkov <juri@linkov.net>
987
988 Revert the previous change of comint-line-beginning-position callers,
989 and modify comint-line-beginning-position instead.
990
991 * comint.el (comint-history-isearch-search)
992 (comint-history-isearch-message, comint-history-isearch-wrap):
993 Use comint-line-beginning-position instead of field-beginning.
994 (comint-send-input): Use either end-of-line or field-end
995 depending on comint-use-prompt-regexp.
996 (comint-line-beginning-position): Search backward
997 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
998 Use field-beginning instead of line-beginning-position
999 if comint-use-prompt-regexp is nil. (Bug#19710)
1000
1001 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
1002
1003 * calendar/todo-mode.el (todo-item-done): When done items are
1004 hidden, restore point to its location prior to invoking this
1005 command. (Bug#19727)
1006
1007 2015-03-03 Eli Zaretskii <eliz@gnu.org>
1008
1009 * textmodes/artist.el (artist-ellipse-compute-fill-info):
1010 Use mapcar, not mapc, to create the other half of fill-info.
1011 (Bug#19763)
1012
1013 2015-03-03 Nicolas Petton <nicolas@petton.fr>
1014
1015 * emacs-lisp/authors.el (authors-ignored-files)
1016 (authors-renamed-files-alist): Additions.
1017
1018 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
1021 tempfile for ControlPath. (Bug#19702)
1022
1023 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
1026 ControlPath if possible. (Bug#19702)
1027
1028 2015-03-03 Glenn Morris <rgm@gnu.org>
1029
1030 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1031 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1032
1033 2015-03-03 Alan Mackenzie <acm@muc.de>
1034
1035 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
1036 * progmodes/cc-mode.el (c-font-lock-init):
1037 Set font-lock-extend-region-functions to nil.
1038
1039 2015-03-03 Daniel Colascione <dancol@dancol.org>
1040
1041 * emacs-lisp/generator.el: Make globals conform to elisp
1042 style throughout. Use more efficient font-lock patterns.
1043 (cps-inhibit-atomic-optimization): Rename from
1044 `cps-disable-atomic-optimization'.
1045 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1046 (cps-generate-evaluator): Move the `iter-yield' local macro
1047 definition here
1048 (iter-defun, iter-lambda): from here.
1049
1050 (iter-defun): Use `macroexp-parse-body'.
1051
1052 2015-03-03 Daniel Colascione <dancol@dancol.org>
1053
1054 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * progmodes/gud.el: Use lexical-binding (bug#19966).
1057
1058 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
1059
1060 2015-03-03 Daniel Colascione <dancol@dancol.org>
1061
1062 * emacs-lisp/generator.el: Make globals conform to elisp
1063 style throughout. Use more efficient font-lock patterns.
1064 (cps-inhibit-atomic-optimization): Rename from
1065 `cps-disable-atomic-optimization'.
1066 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1067 (cps-generate-evaluator): Move the `iter-yield' local macro
1068 definition here...
1069 (iter-defun, iter-lambda): ...from here.
1070
1071 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
1072
1073 * emacs-lisp/package.el (package-autoremove): Fix if logic.
1074
1075 2015-03-03 Martin Rudalics <rudalics@gmx.at>
1076
1077 * window.el (window--dump-frame): For pixel height return total
1078 number of frame's lines.
1079
1080 2015-03-03 Daniel Colascione <dancol@dancol.org>
1081
1082 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
1083
1084 * emacs-lisp/generator.el (iter-defun): Correctly propagate
1085 docstrings and declarations to underlying function.
1086
1087 2015-03-02 Daniel Colascione <dancol@dancol.org>
1088
1089 * emacs-lisp/generator.el: New file.
1090
1091 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
1092 `vc-responsible-backend'.
1093
1094 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
1095
1096 * vc/vc-hooks.el (vc-state, vc-working-revision):
1097 Use `vc-responsible-backend' in order to support unregistered files.
1098
1099 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
1100
1101 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
1102 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
1103 master name.
1104
1105 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
1106
1107 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1108
1109 * net/shr.el (shr-insert): Remove soft hyphens.
1110 (shr-insert): Also remove soft hypens from non-folded text.
1111
1112 2015-02-28 Eli Zaretskii <eliz@gnu.org>
1113
1114 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
1115 when the charset is only given by the HTML <head>, and allow to
1116 specify the encoding with "C-x RET c".
1117
1118 2015-02-27 Mark Laws <mdl@60hz.org>
1119
1120 Support daemon mode on MS-Windows (bug#19688)
1121 * server.el (server-process-filter): Force GUI frames on
1122 MS-Windows in daemon mode, even if a TTY frame was requested.
1123
1124 * frameset.el (frameset-keep-original-display-p): Don't assume
1125 windows-nt cannot be in daemon mode.
1126
1127 * frame.el (window-system-for-display): Don't assume windows-nt
1128 cannot be in daemon mode.
1129
1130 2015-02-26 Ivan Shmakov <ivan@siamics.net>
1131
1132 * faces.el (face-list-p): Split from face-at-point.
1133 (face-at-point): Use it.
1134 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
1135
1136 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
1137
1138 * vc/vc.el (vc-annotate-switches): New defcustom.
1139 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
1140 (vc-bzr-annotate-command): Use vc-switches.
1141 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
1142 (vc-cvs-annotate-command): Use vc-switches.
1143 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
1144 (vc-git-annotate-command): Use vc-switches.
1145 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
1146 (vc-hg-annotate-command): Use vc-switches.
1147 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
1148 (vc-mtn-annotate-command): Use vc-switches.
1149 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
1150 (vc-svn-annotate-command): Use vc-switches.
1151
1152 2015-02-26 Alan Mackenzie <acm@muc.de>
1153
1154 Handle "#" operator properly inside macro. Fix coding bug.
1155
1156 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1157 On finding a "#" which looks like the start of a macro, check it
1158 isn't already inside a macro.
1159
1160 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
1161 "safe" position into the list of them when this is beyond our
1162 current position.
1163
1164 2015-02-26 Martin Rudalics <rudalics@gmx.at>
1165
1166 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
1167 the menu frame is dead. (Bug#19728)
1168
1169 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1170
1171 python.el: Handle tabs in python-indent-dedent-line.
1172 * progmodes/python.el (python-indent-dedent-line): Fixes for
1173 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
1174
1175 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1176
1177 * progmodes/python.el (python-indent-context): Respect user
1178 indentation after comment.
1179
1180 2015-02-26 Tassilo Horn <tsdh@gnu.org>
1181
1182 * textmodes/reftex-vars.el (featurep): Conditionalize value of
1183 reftex-label-regexps in order to stay compatible with XEmacs 21.5
1184 which has no explicitly numbered groups in regexps (bug#19714).
1185
1186 2015-02-26 Daiki Ueno <ueno@gnu.org>
1187
1188 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
1189 integer before comparison.
1190
1191 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1192
1193 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
1194
1195 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1196
1197 * emacs-lisp/check-declare.el (check-declare-warn):
1198 Use compilation-style warnings.
1199 (check-declare-files): Make sure that
1200 `check-declare-warning-buffer' is in `compilation-mode'.
1201
1202 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1203
1204 * emacs-lisp/check-declare.el (check-declare-ext-errors):
1205 New defcustom.
1206 (check-declare): New defgroup.
1207 (check-declare-verify): When `check-declare-ext-errors' is
1208 non-nil, warn about an unfound function, instead of saying
1209 "skipping external file".
1210
1211 2015-02-25 Tassilo Horn <tsdh@gnu.org>
1212
1213 * textmodes/reftex-vars.el (reftex-include-file-commands):
1214 Call reftex-set-dirty on changes.
1215
1216 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
1219 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
1220 save-excursion.
1221
1222 2015-02-24 Glenn Morris <rgm@gnu.org>
1223
1224 * mail/rmailsum.el (rmail-summary-previous-all)
1225 (rmail-summary-previous-msg): Simplify.
1226
1227 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
1228
1229 * simple.el (region-active-p): Fix doc to say non-nil.
1230
1231 2015-02-24 Samer Masterson <nosefrog@gmail.com>
1232
1233 * eshell/em-hist.el (eshell-hist-parse-word-designator):
1234 Return args joined with " ".
1235 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
1236 (eshell-hist-parse-modifier): Pass mod a list instead of a string
1237 (bug#18960).
1238
1239 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
1240
1241 * comint.el (comint-mode-map): Fix obvious typo.
1242
1243 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
1244
1245 * filecache.el (file-cache-filter-regexps):
1246 Add lock files. (Bug#19516)
1247
1248 2015-02-24 Glenn Morris <rgm@gnu.org>
1249
1250 * mail/rmailsum.el (rmail-summary-next-all)
1251 (rmail-summary-previous-all, rmail-summary-next-msg):
1252 Fix handling of optional argument. (Bug#19916)
1253
1254 * progmodes/f90.el (f90-beginning-of-subprogram)
1255 (f90-end-of-subprogram, f90-match-end):
1256 Handle continued strings where the continuation does not start
1257 with "&" and happens to match our regexp. (Bug#19809)
1258
1259 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
1260
1261 * comint.el (comint-clear-buffer): New command.
1262 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1263
1264 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
1265
1266 Use ${EXEEXT} more uniformly in makefiles
1267 * Makefile.in (EMACS): Append ${EXEEXT}.
1268
1269 2015-02-23 Sam Steingold <sds@gnu.org>
1270
1271 * files.el (recover-session): Handle `auto-save-list-file-prefix'
1272 being a directory (empty non-directory part).
1273
1274 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
1275
1276 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1277 instead of sasl-scram-sha-1, as the former is the name that can be
1278 required.
1279
1280 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1281 (sasl-scram-sha-1-client-final-message)
1282 (sasl-scram-sha-1-authenticate-server): Move to end of file.
1283
1284 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
1285
1286 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1287 (Bug#19826)
1288
1289 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1292 and :documentation. Change return value format accordingly.
1293 * emacs-lisp/cl-generic.el (cl--generic-lambda):
1294 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1295 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1296
1297 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
1298
1299 Introduce `xref-etags-mode'.
1300 * progmodes/xref.el (xref-etags-mode--saved): New variable.
1301 (xref-etags-mode): New minor mode. (Bug#19466)
1302
1303 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1304
1305 * dom.el (dom-previous-sibling): New function.
1306
1307 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
1308
1309 * bindings.el (ctl-x-map): There is no 'C-;'.
1310 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1311 Perhaps some other binding should be chosen. (Bug#19826)
1312
1313 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
1314
1315 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
1316
1317 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * autorevert.el (auto-revert-notify-add-watch)
1320 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1321 buffers without an associated file, like dired buffers. (Bug#16112)
1322
1323 2015-02-21 Dima Kogan <dima@secretsauce.net>
1324
1325 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1326 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1327 wrappers. Call (auto-revert-buffers) consequently in order to
1328 install handlers.
1329
1330 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1331
1332 Sync with upstream verilog-mode revision 0d6420b.
1333 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1334 (vector-skip-list): Remove.
1335 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1336 (verilog-auto-inst, verilog-auto-inst-param):
1337 Use arguments rather than vector-skip.
1338 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1339 modport if signal attachment is itself a modport.
1340 Reported by Matthew Lovell.
1341
1342 2015-02-21 Reto Zimmermann <reto@gnu.org>
1343
1344 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1345 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1346 (vhdl-doc-release-notes): Update.
1347 (vhdl-standard): Add VHDL'08 option.
1348 (vhdl-sensitivity-list-all): New option.
1349 (vhdl-directive-keywords): Add psl.
1350 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1351 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1352 (vhdl-imenu-generic-expression): Add context, directive.
1353 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1354 (vhdl-template-map-init): Add vhdl-template-context.
1355 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1356 (vhdl-create-mode-menu): Add some entries.
1357 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1358 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1359 New constants.
1360 (vhdl-directives): New variable.
1361 (vhdl-words-init, vhdl-template-process)
1362 (vhdl-template-replace-header-keywords): Support VHDL'08.
1363 (vhdl-abbrev-list-init): Add vhdl-directives.
1364 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1365 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1366 (vhdl-lineup-comment): Handle block comments and directives.
1367 (vhdl-beginning-of-directive, vhdl-template-context)
1368 (vhdl-template-context-hook): New functions.
1369 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1370 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1371 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1372 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1373 (vhdl-scan-context-clause): Add context.
1374
1375 2015-02-20 Glenn Morris <rgm@gnu.org>
1376
1377 * calendar/solar.el (solar-sunrise-sunset-string):
1378 Shorten message a little.
1379 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1380
1381 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1382 (f90-font-lock-keywords-2): Some F2008 additions.
1383
1384 2015-02-19 Dima Kogan <dima@secretsauce.net>
1385
1386 * autorevert.el (auto-revert-buffers-counter)
1387 (auto-revert-buffers-counter-lockedout): New variables.
1388 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1389 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1390 suppressed by lockout. (Bug#18958)
1391
1392 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1395 returns classes, not class names (bug#19891).
1396
1397 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1398
1399 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1400
1401 2015-02-18 Kelly Dean <kelly@prtime.org>
1402
1403 * register.el (jump-to-register):
1404 * emacs-lisp/lisp.el (check-parens):
1405 Push mark before goto-char so user doesn't lose his previous place.
1406
1407 2015-02-18 Kelly Dean <kelly@prtime.org>
1408
1409 * rect.el (rectangle-mark-mode):
1410 Suppress superfluous "Mark set" message from push-mark.
1411
1412 2015-02-18 Kelly Dean <kelly@prtime.org>
1413
1414 * help-mode.el (help-go-back, help-go-forward, help-follow):
1415 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1416 * winner.el (winner-redo):
1417 * windmove.el (windmove-do-window-select):
1418 * register.el (jump-to-register, increment-register, insert-register)
1419 (append-to-register, prepend-to-register):
1420 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1421 (set-visited-file-name):
1422 * emacs-lisp/lisp.el (kill-backward-up-list):
1423 Use user-error instead of error. (Bug#14480)
1424
1425 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1428 assumptions about window ordering.
1429
1430 2015-02-16 Kelly Dean <kelly@prtime.org>
1431
1432 * files.el (insert-file-contents-literally): Fix docstring typo.
1433
1434 2015-02-16 Kelly Dean <kelly@prtime.org>
1435
1436 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1437 arguments correctly. (Bug#19685)
1438 (define-minor-mode): Clarify docstring.
1439 Clarify mode switch messages for minor modes. (Bug#19690)
1440
1441 2015-02-16 Kelly Dean <kelly@prtime.org>
1442
1443 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1444 Create valid tar files. (Bug#19536)
1445
1446 2015-02-16 Kelly Dean <kelly@prtime.org>
1447
1448 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1449 (Bug#19059)
1450
1451 2015-02-16 Kelly Dean <kelly@prtime.org>
1452
1453 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1454 buffer, and prevent interference with existing buffer. (Bug#13190)
1455
1456 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1457
1458 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1459
1460 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1461 Do not deactivate mark on fontification.
1462
1463 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1464
1465 * net/eww.el: Fix desktop support. (Bug#19226)
1466 (eww-mode): Add autoload cookie.
1467 (eww-restore-desktop): Use inhibit-read-only.
1468
1469 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1470 add-hook works correctly even if the file is not yet loaded.
1471
1472 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1475 eieio-constructor.
1476 (set-slot-value): Mark as obsolete.
1477 (eieio-object-class-name): Improve call to eieio-class-name.
1478 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1479 (object-slots): Use it. Declare obsolete.
1480 (eieio-constructor): Merge it with `make-instance'.
1481 (initialize-instance): Use `dolist'.
1482 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1483 Use eieio--class-print-name.
1484
1485 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1486 (eieio-class-name): Make it do what the docstring claims.
1487 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1488 (eieio--slot-name-index): Simplify accordingly.
1489 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1490 name to `slot-unbound'.
1491
1492 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1493 than on eieio-constructor.
1494
1495 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1498 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1499 about relationship between `type', `named', and `slots'.
1500 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1501 value of `cl-struct-type' property.
1502
1503 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1504
1505 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1506 with PAGER=cat. (Bug#19870)
1507
1508 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1509
1510 * emacs-lisp/package.el (package-read-all-archive-contents):
1511 Don't build the compatibility table.
1512 (package-refresh-contents, package-initialize): Do build the
1513 compatibility table.
1514 (package--build-compatibility-table): New function.
1515 (describe-package-1): Describe why a package is incompatible.
1516
1517 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1520 of the parent.
1521 (cl--assertion-failed): New function.
1522 (cl-assertion-failed): Move in from cl-lib.el.
1523
1524 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1525 as children of its parents.
1526 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1527 (cl-typep): Reimplement using define-inline.
1528 (cl-assert): Use cl--assertion-failed.
1529 (cl-struct-slot-value): Use define-inline.
1530
1531 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1532
1533 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1534 (flyspell-generic-check-word-p): Mark as obsolete.
1535
1536 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1537
1538 * emacs-lisp/package.el (package--compatibility-table): New var.
1539 (package--add-to-compatibility-table): New function.
1540 (package-read-all-archive-contents): Populate compatibility table.
1541 (package--incompatible-p): Also look in dependencies.
1542 (describe-package-1): Fix "incompat" handling.
1543
1544 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1545
1546 * net/rfc2104.el: Moved here from lisp/gnus.
1547
1548 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1549
1550 * net/sasl-scram-rfc.el: New file.
1551
1552 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1553 Add SCRAM-SHA-1 first.
1554 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1555 entry (bug#17636).
1556
1557 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1558
1559 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1560 <ul>.
1561
1562 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1563
1564 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1565 (gdb-inferior-filter): Don't pop up the buried output buffer when
1566 `gdb-display-io-nopopup' is non-nil.
1567
1568 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1569
1570 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1571
1572 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1573 Don't require a running process.
1574 (python-shell-font-lock-post-command-hook): Fontify only if the
1575 shell process is running.
1576
1577 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * hi-lock.el (hi-lock-unface-buffer): Don't call
1580 font-lock-remove-keywords if not needed (bug#19796).
1581
1582 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1583
1584 * emacs-lisp/package.el (package-install): Invert the second
1585 argument, for better backwards compatibility.
1586 (package-install-button-action, package-reinstall)
1587 (package-menu-execute): Account for the change.
1588
1589 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1590
1591 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1592 version of seq-reverse that works on sequences in Emacs 24.
1593 Bump seq.el version to 1.2.
1594
1595 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1596
1597 * emacs-lisp/package.el (package--incompatible-p): New function.
1598 Return non-nil if PKG has no chance of being installable.
1599 (package--emacs-version-list): New variable.
1600 (describe-package-1, package-desc-status)
1601 (package-menu--print-info, package-menu--status-predicate):
1602 Account for the "incompat" status.
1603
1604 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1605
1606 2015-02-11 Jan Djärv <jan.h.d@swipnet.se>
1607
1608 * version.el (emacs-version): Add cairo version.
1609
1610 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1611
1612 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1613 Rename frame parameter `maximized' to `fullscreen-restore'.
1614 Restore fullwidth/-height after fullboth state. Update doc-strings.
1615
1616 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1617
1618 * net/shr.el (shr-insert): Make sure the space inserted has the
1619 right font (for width).
1620 (shr-fill-line): Preserve background colours when indenting/folding.
1621 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1622 item in a <li>.
1623
1624 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1625
1626 * net/shr.el (shr-use-fonts): New variable.
1627 (shr-fill-text): Rename from "fold".
1628 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1629 New functions.
1630 (shr-insert): Just insert, don't fill the text. Filling is now
1631 done afterwards per display unit.
1632 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1633 per-unit base.
1634 (shr-find-fill-point): Take a "beginning" parameter.
1635 (shr-indent): Indent using the :width display parameter when using
1636 fonts.
1637 (shr-parse-style): Ignore "inherit" values, since we already do that.
1638 (shr-tag-img): Remove the insertion states.
1639 (shr-tag-blockquote): New-style filling.
1640 (shr-tag-dd): Ditto.
1641 (shr-tag-li): Ditto.
1642 (shr-mark-fill): New function to mark lines that need filling.
1643 (shr-tag-h1): Use a larger font.
1644 (shr-tag-table-1): Get the natural and suggested widths in one
1645 rendering.
1646 (shr-tag-table): Create the "fixed" version of the table only once
1647 so that we can cache data in the table.
1648 (shr-insert-table): Get colspan calculations right by having
1649 zero-width columns after colspan ones.
1650 (shr-expand-alignments): New function to make :align-to specs work
1651 right when rendered in one buffer and displayed in another one.
1652 (shr-insert-table-ruler): Use :align-to to get the widths right.
1653 (shr-make-table): Cache more.
1654 (shr-make-table-1): Use the new <td> data layout.
1655 (shr-pixel-buffer-width): New function.
1656 (shr-render-td): Add a caching layer.
1657 (shr-dom-max-natural-width): New function.
1658 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1659 (shr-tag-tt): New function.
1660 (shr-tag-hr): Compute the right length when using fonts.
1661 (shr-table-widths): Off-by-one error in width computation.
1662 (shr-expand-newlines): Remove dead code.
1663 (shr-insert-table): Extend background colors to the end of the column.
1664 (shr-insert-table): Only copy the background, not underline and
1665 the like.
1666 (shr-face-background): New function.
1667
1668 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1669
1670 python.el: Improved shell font lock respecting markers. (Bug#19650)
1671
1672 * progmodes/python.el
1673 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1674 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1675 (python-shell-font-lock-post-command-hook): Fontify by copying text
1676 properties from fontified buffer to shell, keeping markers unchanged.
1677 (python-shell-font-lock-turn-off): Fix typo.
1678 (python-util-text-properties-replace-name): Delete function.
1679
1680 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1681
1682 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1683 return sequence elements in correct order.
1684
1685 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1686
1687 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1688
1689 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1692
1693 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1694 case where the default value would be re-interpreted as a form!
1695
1696 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1697
1698 * help-fns.el (help-fns--signature): Keep doc for keymap.
1699
1700 2015-02-09 Kelly Dean <kelly@prtime.org>
1701
1702 * desktop.el: Save mark-ring less verbosely.
1703 (desktop-var-serdes-funs): New var.
1704 (desktop-buffer-info, desktop-create-buffer): Use it.
1705 (desktop-file-version): Update to 208.
1706
1707 2015-02-09 Leo Liu <sdl.web@gmail.com>
1708
1709 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1710
1711 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1712
1713 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1714
1715 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1716
1717 Port to platforms lacking test -a and -o
1718 * Makefile.in (compile-clean):
1719 * net/tramp-sh.el (tramp-find-executable):
1720 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1721
1722 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1723
1724 * newcomment.el (comment-line): Fix missing paren.
1725
1726 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1727
1728 * play/gamegrid.el: Update comment to reflect that the
1729 'update-game-score' helper program is now setgid by default.
1730
1731 2015-02-08 David Kastrup <dak@gnu.org>
1732
1733 * subr.el (apply-partially): Use lexical binding here.
1734
1735 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1736
1737 * newcomment.el (comment-line): New command.
1738
1739 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1740
1741 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1742
1743 * outline.el (outline-show-entry): Fix one invisible char for the
1744 file's last outline. (Bug#19493)
1745
1746 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * subr.el (indirect-function): Change advertised calling convention.
1749
1750 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1751
1752 python.el: Fix completion-at-point. (Bug#19667)
1753
1754 * progmodes/python.el
1755 (python-shell-completion-native-get-completions): Force process buffer.
1756 (python-shell-completion-at-point): Handle case where call is not
1757 in a shell buffer.
1758
1759 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1760
1761 python.el: Fix shell font-lock multiline input. (Bug#19744)
1762
1763 * progmodes/python.el
1764 (python-shell-font-lock-post-command-hook): Handle multiline input.
1765
1766 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1767
1768 python.el: Make shell font-lock respect markers. (Bug#19650)
1769
1770 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1771 Use `erase-buffer`.
1772 (python-shell-font-lock-comint-output-filter-function):
1773 Handle newlines.
1774 (python-shell-font-lock-post-command-hook): Respect markers on
1775 text fontification.
1776
1777 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1778
1779 python.el: Keep eldoc visible while typing args. (Bug#19637)
1780 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1781 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1782 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1783
1784 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1785
1786 Fix hideshow integration. (Bug#19761)
1787 * progmodes/python.el
1788 (python-hideshow-forward-sexp-function): New function based on
1789 Carlos Pita <carlosjosepita@gmail.com> patch.
1790 (python-mode): Make `hs-special-modes-alist` use it and initialize
1791 the end regexp with the empty string to avoid skipping parens.
1792
1793 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1794
1795 * progmodes/python.el (python-check-custom-command): Do not use
1796 defvar-local for compat with Emacs<24.3.
1797
1798 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1799
1800 * frame.el (frame-notice-user-settings):
1801 Update `frame-size-history'.
1802 (make-frame): Update `frame-size-history'.
1803 Call `frame-after-make-frame'.
1804 * faces.el (face-set-after-frame-default): Remove call to
1805 frame-can-run-window-configuration-change-hook.
1806
1807 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1808
1809 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1810 `vc-cvs-command' (bug#19732).
1811
1812 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1813
1814 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1815 New functions.
1816 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1817 (seq--drop-list, seq--take-list, seq--take-while-list):
1818 Better docstring.
1819
1820 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1821
1822 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1823 `image-kill-buffer' instead.
1824
1825 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1826
1827 * net/ldap.el (ldap-search-internal): Fix docstring.
1828
1829 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1830
1831 * subr.el (define-error): The error conditions may be constant
1832 lists, so use `append' to concatenate them.
1833
1834 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1835
1836 * net/network-stream.el (network-stream-open-tls): Respect the
1837 :end-of-capability setting.
1838
1839 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1840
1841 * emacs-lisp/package.el (package--sort-by-dependence):
1842 New function. Return PACKAGE-LIST sorted by dependencies.
1843 (package-menu-execute): Use it to delete packages in order.
1844 (package--sort-deps-in-alist): New function.
1845 (package-menu-mark-install): Can mark dependencies.
1846 (package--newest-p): New function.
1847 (package-delete): Don't deselect when deleting an older version of
1848 an upgraded package.
1849
1850 * emacs-lisp/package.el: Add missing (require 'subr-x)
1851
1852 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1855 hyphenated (bug#19263).
1856
1857 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1858 of variable interpolation (bug#19751).
1859
1860 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1861
1862 * json.el (json-end-of-file): New error (bug#19768).
1863 (json-pop, json-read): Use it.
1864
1865 2015-02-05 Kelly Dean <kelly@prtime.org>
1866
1867 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1868 `describe-variable'.
1869
1870 * help-fns.el (describe-function-or-variable): New function.
1871
1872 * help.el (help-map): Bind `describe-function-or-variable' to o.
1873 (help-for-help-internal): Document o key.
1874
1875 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1878 special (:documentation ...) feature.
1879 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1880 (eieio-make-child-predicate): Same.
1881 (eieio-copy-parents-into-subclass): Remove unused arg.
1882 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1883 `pname' var.
1884 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1885 callers accordingly.
1886
1887 * emacs-lisp/cconv.el (cconv--convert-function):
1888 Add `docstring' argument.
1889 (cconv-convert): Use it to handle the new (:documentation ...) form.
1890 (cconv-analyze-form): Handle the new (:documentation ...) form.
1891
1892 * emacs-lisp/bytecomp.el:
1893 (byte-compile-initial-macro-environment): Use macroexp-progn.
1894 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1895 (byte-compile-file-form-defvar-function): Rename from
1896 byte-compile-file-form-define-abbrev-table.
1897 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1898 (byte-compile): Use byte-compile-top-level rather than
1899 byte-compile-lambda so we can compile non-values.
1900 (byte-compile-form): Add warnings for failed uses of lexical vars via
1901 quoted symbols.
1902 (byte-compile-unfold-bcf): Improve message for failed inlining.
1903 (byte-compile-make-closure): Handle new format of internal-make-closure
1904 for dynamically-generated docstrings.
1905
1906 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1907 (open-line): Delete like all other commands, instead of killing.
1908 (delete-active-region): Don't define any return any value.
1909
1910 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1911 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1912 default.
1913
1914 2015-02-04 Sam Steingold <sds@gnu.org>
1915
1916 * progmodes/python.el (python-indent-calculate-indentation):
1917 Avoid the error when computing top-level indentation.
1918
1919 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1922
1923 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1924 (mail-mode-flyspell-verify): Fix last change.
1925 (flyspell-external-point-words, flyspell-large-region):
1926 Avoid add-to-list on local vars.
1927
1928 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1929
1930 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1931 void-variable error.
1932
1933 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1934
1935 * image-mode.el (image-kill-buffer): New command.
1936 (image-mode-map): Bind it to k.
1937
1938 * emacs-lisp/package.el (package-delete): Remove package from
1939 `package-selected-packages' even if it can't be deleted.
1940 (package-installed-p): Accept package-desc objects.
1941 (package-install): Can be used to mark dependencies as
1942 selected. When given a package-desc object which is already
1943 installed, the package is not downloaded again, but it is marked
1944 as selected (if it wasn't already).
1945 (package-reinstall): Accept package-desc objects.
1946
1947 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1948
1949 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1950 (package--get-deps): delete-dups when ONLY is nil.
1951 (package-autoremove): Warn the user if `package-selected-packages'
1952 is empty.
1953
1954 (package--user-selected-p): New function.
1955 (package-delete, package-install, package-install-from-buffer):
1956 Use it
1957 (package-selected-packages): Mention it.
1958
1959 (package-initialize): Don't populate `package-selected-packages'.
1960 (package-install-user-selected-packages, package-autoremove):
1961 Special handling for empty `package-selected-packages'.
1962 (package-install): Fix when PKG is a package-desc.
1963
1964 (package-desc-status): Add "dependency" status to the Package
1965 Menu.
1966 (package-menu--status-predicate, package-menu--print-info)
1967 (package-menu-mark-delete, package-menu--find-upgrades)
1968 (package-menu--status-predicate, describe-package-1): Use it
1969
1970 (package--removable-packages): New function.
1971 (package-autoremove): Use it.
1972 (package-menu-execute): Offer to remove unneeded packages.
1973
1974 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1975 tar-desc.
1976
1977 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1978
1979 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1980 (package-delete): New NOSAVE argument.
1981
1982 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1983
1984 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1985 (tramp-open-shell, tramp-maybe-open-connection): Set also
1986 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1987
1988 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1989
1990 * emacs-lisp/package.el (package--find-non-dependencies):
1991 New function.
1992 (package-initialize): Use it to populate `package-selected-packages'.
1993 (package-menu-execute): Clean unnecessary `and'.
1994 (package--get-deps): Fix returning duplicates.
1995
1996 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1997
1998 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1999 Use it as default.
2000 (tramp-open-shell, tramp-maybe-open-connection): Support it.
2001 (Bug#19731)
2002
2003 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2004
2005 * emacs-lisp/package.el (package-delete): Remove package from
2006 package-selected-packages.
2007 (package-autoremove): Remove unneeded variable.
2008
2009 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
2010
2011 * emacs-lisp/package.el (package-selected-packages): Fix :type
2012 (package-install): Rename ARG to MARK-SELECTED.
2013 (package--get-deps): Fix for indirect dependencies.
2014 (package-used-elsewhere-p): Rename to
2015 (package--used-elsewhere-p): New function.
2016 (package-reinstall, package-user-selected-packages-install)
2017 (package-autoremove): Use sharp-quote.
2018 (package-user-selected-packages-install): Reindent and rename to
2019 (package-install-user-selected-packages): New function.
2020
2021 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2022
2023 * emacs-lisp/package.el: Don't allow deleting dependencies.
2024
2025 (package-used-elsewhere-p): New function.
2026 (package-delete): Use it, return now an error when trying to
2027 delete a package used as dependency by another package.
2028
2029 Add a reinstall package command.
2030 (package-reinstall): New function.
2031
2032 Add a package-autoremove command.
2033 (package-selected-packages): New user var.
2034 (package-install): Add an optional arg to notify interactive use.
2035 Fix docstring. Save installed package to
2036 packages-installed-directly.
2037 (package-install-from-buffer): Same.
2038 (package-user-selected-packages-install): Allow installing all
2039 packages in packages-installed-directly at once.
2040 (package--get-deps): New function.
2041 (package-autoremove): New function.
2042 (package-install-button-action): Call package-install with
2043 interactive arg.
2044 (package-menu-execute): Same but only for only for not installed
2045 packages.
2046
2047 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
2050 and eieio-make-child-predicate.
2051 (eieio-class-parents): Use eieio--class-object.
2052 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
2053 (slot-exists-p): Use find-class.
2054
2055 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
2056 Use find-lisp-object-file-name, help-fns-short-filename and new calling
2057 convention for eieio-class-def.
2058 (eieio-build-class-list): Remove function, unused.
2059 (eieio-method-def): Remove button type, unused.
2060 (eieio-class-def): Inherit from help-function-def.
2061 (eieio--defclass-regexp): New constant.
2062 (find-function-regexp-alist): Use it.
2063 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
2064 (eieio-help-find-method-definition, eieio-help-find-class-definition):
2065 Remove functions.
2066
2067 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
2068 Use cl-check-type everywhere instead.
2069 (eieio-class-object): Remove, use find-class instead when needed.
2070 (class-p): Don't inline.
2071 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
2072 such as eieio classes, as objects. Don't inline.
2073 (object-p): Mark as obsolete.
2074 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
2075 (eieio--generic-tagcode): Avoid `class-p'.
2076 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
2077 (eieio-defclass-internal): Use current-load-list rather than
2078 `class-location'.
2079
2080 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
2081
2082 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
2085 since it may be "equivalent" in some sense, yet different (bug#19734).
2086
2087 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2088
2089 * outline.el (outline-font-lock-face): Add docstring.
2090 (outline-invisible-p): Improve docstring.
2091 (outline-invent-heading): Add docstring.
2092 (outline-promote): Improve docstring.
2093 (outline-demote): Improve docstring.
2094 (outline-head-from-level): Improve docstring.
2095 (outline-end-of-heading): Add docstring.
2096 (outline-next-visible-heading): Improve docstring.
2097 (outline-previous-visible-heading): Improve docstring.
2098 (outline-hide-region-body): Improve docstring.
2099 (outline-flag-subtree): Add docstring.
2100 (outline-end-of-subtree): Add docstring.
2101 (outline-headers-as-kill): Improve docstring.
2102
2103 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2104
2105 * outline.el (outline-hide-entry): Rename from `hide-entry'.
2106 (hide-entry): Declare as obsolete.
2107 (outline-show-entry): Rename from `show-entry'.
2108 (show-entry): Declare as obsolete.
2109 (outline-hide-body): Rename from `hide-body'.
2110 (hide-body): Declare as obsolete.
2111 (outline-hide-region-body): Rename from `hide-region-body'.
2112 (hide-region-body): Declare as obsolete.
2113 (outline-show-all): Rename from `show-all'.
2114 (show-all): Declare as obsolete.
2115 (outline-hide-subtree): Rename from `hide-subtree'.
2116 (hide-subtree): Declare as obsolete.
2117 (outline-hide-leaves): Rename from `hide-leaves'.
2118 (hide-leaves): Declare as obsolete.
2119 (outline-show-subtree): Rename from `show-subtree'.
2120 (show-subtree): Declare as obsolete.
2121 (outline-hide-sublevels): Rename from `hide-sublevels'.
2122 (hide-sublevels): Declare as obsolete.
2123 (outline-hide-other): Rename from `hide-other'.
2124 (hide-other): Declare as obsolete.
2125 (outline-show-children): Rename from `show-children'.
2126 (show-children): Declare as obsolete.
2127 (outline-show-branches): Rename from `show-branches'.
2128 (show-branches): Declare as obsolete.
2129
2130 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2131
2132 * outline.el (outline-mode): Clean up docstring.
2133 (font-lock-warning-face): Remove obsolete declaration.
2134 (outline-font-lock-face): Remove obsolete comment.
2135
2136 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2137
2138 * custom.el (defface): Set `indent' to 1.
2139
2140 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2141
2142 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
2143
2144 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
2145
2146 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
2147 is set, but user has just been asked whether they really want to
2148 kill Emacs (for example with a ‘Modified buffers exist; exit
2149 anyway?’ prompt), do not ask them for another confirmation.
2150
2151 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
2152
2153 * calc/calc-units.el (calc-convert-exact-units): New function.
2154 (calc-convert-units): Check for missing units.
2155 (math-consistent-units-p): Strengthen the test for consistent units.
2156
2157 * calc/calc-ext.el (calc-init-extensions): Autoload
2158 `calc-convert-exact-units' and assign it a keybinding.
2159
2160 * calc/calc-help (calc-u-prefix-help): Add help for the
2161 "un" keybinding.
2162
2163 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * emacs-lisp/cl.el (cl--function-convert): Simplify.
2166
2167 2015-01-28 Tassilo Horn <tsdh@gnu.org>
2168
2169 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
2170 punctuation syntax since to allow bibtex fields with values such
2171 as {Test 1) and 2)} (bug#19205, bug#19707).
2172 (reftex--prepare-syntax-tables): New function.
2173 (reftex-mode): Use it.
2174
2175 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
2176
2177 python.el: New non-global state dependent indentation engine.
2178 (Bug#18319, Bug#19595)
2179 * progmodes/python.el (python-syntax-comment-or-string-p):
2180 Accept PPSS as argument.
2181 (python-syntax-closing-paren-p): New function.
2182 (python-indent-current-level)
2183 (python-indent-levels): Mark obsolete.
2184 (python-indent-context): Return more context cases.
2185 (python-indent--calculate-indentation)
2186 (python-indent--calculate-levels): New functions.
2187 (python-indent-calculate-levels): Use them.
2188 (python-indent-calculate-indentation, python-indent-line):
2189 (python-indent-line-function): Rewritten to use new API.
2190 (python-indent-dedent-line): Simplify logic.
2191 (python-indent-dedent-line-backspace): Use `unless`.
2192 (python-indent-toggle-levels): Delete function.
2193
2194 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
2195
2196 * subr.el (posnp): Correct docstring of `posnp'.
2197 (posn-col-row): Make it work with all mouse position objects.
2198 * textmodes/artist.el (artist-mouse-draw-continously):
2199 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
2200
2201 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2202
2203 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
2204
2205 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
2206
2207 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
2208 Adapt docstring.
2209 (file-notify--descriptor): New defun.
2210 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
2211 Adapt docstring. Handle multiple values for
2212 `file-notify-descriptors' entries. (Bug#18880)
2213
2214 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
2215 `file-notify-descriptors', the implementation has been changed.
2216
2217 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2218
2219 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
2220 On MS-Windows, bind coding-system-for-read to the console output
2221 codepage. (Bug#19458)
2222
2223 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
2224
2225 Unbreak `mouse-action' property in text buttons.
2226 * button.el (push-button): Fix regression from 2012-12-06.
2227
2228 2015-01-28 Glenn Morris <rgm@gnu.org>
2229
2230 * progmodes/sh-script.el (sh-mode): Doc fix.
2231 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
2232
2233 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
2234
2235 Fix dired quoting bug with "Hit`N`Hide".
2236 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
2237
2238 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 Tighten up the tagcode used for eieio and cl-struct objects.
2241 * loadup.el: Load cl-preloaded.
2242 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
2243 slot of the tag symbol to :quick-object-witness-check.
2244 (eieio-object-p): Use :quick-object-witness-check.
2245 (eieio--generic-tagcode): Use cl--generic-struct-tag.
2246 * emacs-lisp/cl-preloaded.el: New file.
2247 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
2248 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
2249 (cl--make-usage-args): Strip away &aux args.
2250 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
2251 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
2252 (cl-defstruct): Use `declare' and cl-struct-define.
2253 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
2254 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
2255
2256 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2257
2258 * emacs-lisp/cl.el (cl--function-convert):
2259 Merge cache that cl--labels-convert adds (bug#19699).
2260
2261 2015-01-27 Ivan Shmakov <ivan@siamics.net>
2262
2263 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
2264 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2265 (tar-header-serialize): New functions.
2266 (tar-current-position): Split from tar-current-descriptor.
2267 (tar-current-descriptor): Use it.
2268 (tar-new-entry): New command.
2269 (tar-mode-map): Bind it.
2270
2271 2015-01-27 Sam Steingold <sds@gnu.org>
2272
2273 * progmodes/python.el (python-check-custom-command): Buffer local
2274 because it usually includes the buffer name.
2275 (python-check-command): Set to epylint when pyflakes is not available.
2276
2277 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
2278
2279 * isearch.el (isearch-process-search-char): Add docstring.
2280
2281 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
2282
2283 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2284
2285 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2286
2287 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2288 for the case cl-flet or cl-labels form is wrapped with lexical-let
2289 (bug#19613).
2290
2291 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2294 (cl--generic): The method-table is now a (list-of cl--generic-method).
2295 (cl--generic-member-method): New function.
2296 (cl-generic-define-method): Use it.
2297 (cl--generic-build-combined-method, cl--generic-cache-miss):
2298 Adapt to new method-table.
2299 (cl--generic-no-next-method-function): Add `method' argument.
2300 (cl-generic-call-method): Adapt to new method representation.
2301 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2302 (cl-find-method, cl-method-qualifiers): New functions.
2303 (cl--generic-method-info): Adapt to new method representation.
2304 Return a string for the qualifiers.
2305 (cl--generic-describe):
2306 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2307 (eieio-all-generic-functions, eieio-method-documentation):
2308 Adjust to new method representation.
2309
2310 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2311
2312 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * emacs-lisp/cl-generic.el: Add a method-combination hook.
2315 (cl-generic-method-combination-function): New var.
2316 (cl--generic-lambda): Remove `with-cnm' arg.
2317 (cl-defmethod): Change accordingly.
2318 (cl-generic-define-method): Don't check qualifiers validity.
2319 Preserve all qualifiers in `method-table'.
2320 (cl-generic-call-method): New function.
2321 (cl--generic-nest): Remove (morph into cl-generic-call-method).
2322 (cl--generic-build-combined-method): Adjust to new format of method-table
2323 and use cl-generic-method-combination-function.
2324 (cl--generic-standard-method-combination): New function, extracted from
2325 cl--generic-build-combined-method.
2326 (cl--generic-cnm-sample): Adjust to new format of method-table.
2327
2328 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2329 instead of :primary.
2330
2331 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2332 Remove obsolete function.
2333
2334 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2335
2336 * net/shr.el (shr-make-table-1): Fix colspan typo.
2337 (shr-make-table-1): Add comments.
2338 (shr-make-table-1): Make colspan display more sensibly.
2339
2340 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2341 slightly.
2342
2343 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2346 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2347 (bug#19672).
2348 (cl--generic-typeof-types): Add support for `sequence'.
2349 (cl-defmethod): Add non-keywords in the qualifiers.
2350
2351 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2352
2353 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2354 `defgroup' (regression from the previous change here).
2355
2356 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2357
2358 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2359 credentials error message.
2360
2361 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2362
2363 * net/ldap.el (ldap-password-read): Validate password before
2364 caching it.
2365 (ldap-search-internal): Handle ldapsearch error conditions.
2366
2367 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2368
2369 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2370
2371 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2372
2373 * net/eudc.el (eudc-expand-inline): Always restore former server
2374 and protocol.
2375
2376 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2377
2378 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2379 provided by the LDAP system configuration file.
2380
2381 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2382
2383 * net/eudc.el (eudc-format-query): Preserve the
2384 eudc-inline-query-format ordering of attributes in the returned list.
2385 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2386 Append the LDAP wildcard character to the last attribute value.
2387
2388 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2389
2390 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2391 Downcase field names of LDAP results.
2392 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2393
2394 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2395
2396 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2397 (ldap-search-internal): Send password to ldapsearch through a pipe
2398 instead of via the command line.
2399
2400 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2401
2402 * net/ldap.el: Require password-cache.
2403 (ldap-password-read): New function.
2404 (ldap-search-internal): Call ldap-password-read when it is
2405 configured to be called.
2406
2407 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2408
2409 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2410 Change default to nil.
2411
2412 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2413
2414 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2415 string-to-expand.
2416
2417 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2418
2419 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2420 format that includes first name and surname.
2421
2422 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2423
2424 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2425 query email and first name instead of surname.
2426
2427 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2428
2429 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2430
2431 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2432
2433 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2434 eudc-server-hotlist.
2435 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2436 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2437 (eudc-set-server): Allow setting protocol to nil.
2438 (eudc-expand-inline): Support hotlist-only expansions when server
2439 is not set.
2440
2441 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2444 (cl--generic-build-combined-method): Use it.
2445
2446 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2447
2448 Don't downcase system diagnostics' first letters
2449 * emacs-lisp/bytecomp.el (byte-compile-file):
2450 * ffap.el (find-file-at-point):
2451 * files.el (insert-file-1):
2452 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2453 (ange-ftp-copy-file-internal):
2454 * progmodes/etags.el (visit-tags-table):
2455 Keep diagnostics consistent with system's.
2456 * ffap.el (ffap-machine-p):
2457 Ignore case while comparing diagnostics.
2458
2459 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2462 arg (bug#19645).
2463 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2464 body with a docstring.
2465
2466 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2467
2468 * progmodes/xref.el (xref-location-marker, xref-location-group):
2469 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2470 counterparts.
2471
2472 * progmodes/etags.el (xref-location-marker): Same.
2473
2474 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2475 (xref--inhibit-mark-current): Rename from
2476 `xref--inhibit-mark-selected'. Update the usages.
2477 (xref-quit): Reword the docstring. Kill buffers after quitting
2478 windows instead of before.
2479 (xref--insert-xrefs): Tweak help-echo.
2480 (xref--read-identifier-history, xref--read-pattern-history):
2481 New variables.
2482 (xref--read-identifier, xref-find-apropos): Use them.
2483
2484 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2485
2486 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2487 Allow the 'update-game-score' helper program to run suid or sgid.
2488
2489 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/eieio.el: Use cl-defmethod.
2492 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2493 (eieio-object-name-string): Declare as obsolete.
2494
2495 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2496 (eieio--specializers-apply-to-class-p): New function.
2497 (eieio-all-generic-functions): Use it.
2498 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2499 Change format of return value.
2500 (eieio-help-class): Adapt accordingly.
2501
2502 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2503 errors when there's a `before' but no `primary' (bug#19645).
2504 (next-method-p): Return nil rather than signal an error.
2505 (eieio-defgeneric): Remove bogus (fboundp 'method).
2506
2507 * emacs-lisp/eieio-speedbar.el:
2508 * emacs-lisp/eieio-datadebug.el:
2509 * emacs-lisp/eieio-custom.el:
2510 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2511
2512 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2513 (cl--generic-setf-rewrite): Setup the setf expander right away.
2514 (cl-defmethod): Make sure the setf expander is setup before we expand
2515 the body.
2516 (cl-defmethod): Silence byte-compiler warnings.
2517 (cl-generic-define-method): Shuffle code to change return value.
2518 (cl--generic-method-info): New function, extracted from
2519 cl--generic-describe.
2520 (cl--generic-describe): Use it.
2521
2522 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2523
2524 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2525 the major mode. Remap `quit-window' to `xref-quit'.
2526 (xref--xref-buffer-mode): Inherit from special-mode.
2527
2528 xref: Keep track of temporary buffers (bug#19466).
2529 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2530 (xref--inhibit-mark-selected): New variables.
2531 (xref--mark-selected): New function.
2532 (xref--show-location): Maybe add the buffer to
2533 `xref--temporary-buffers', add `xref--mark-selected' to
2534 `buffer-list-update-hook' there.
2535 (xref--window): Add docstring.
2536 (xref-quit): Rename from `xref--quit'. Update both references.
2537 Add KILL argument. When it's non-nil, kill the temporary buffers
2538 that haven't been selected by the user.
2539 (xref--show-xref-buffer): Change the second argument to alist,
2540 extract the values for `xref--window' and
2541 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2542 `buffer-list-update-hook' to each buffer in the list.
2543 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2544 here. Save the difference between buffer lists before and after
2545 it's called as "temporary buffers", and `pass it to
2546 `xref-show-xrefs-function'.
2547 (xref--find-definitions, xref-find-references)
2548 (xref-find-apropos): Update accordingly.
2549
2550 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2551
2552 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2553
2554 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * emacs-lisp/eieio-generic.el: Remove.
2557 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2558 * emacs-lisp/eieio-compat.el: New file.
2559 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2560 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2561 Remove unused function.
2562 (eieio-defclass): Move to eieio-compat.el.
2563 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2564 (macroexp--expand-all): Use it.
2565 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2566
2567 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2568
2569 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2570 major modes should use `add-function' to alter value of the variable.
2571 * hexl.el (hexl-mode):
2572 * ielm.el (inferior-emacs-lisp-mode):
2573 * progmodes/cfengine.el (cfengine3-mode):
2574 * progmodes/elisp-mode (emacs-lisp-mode):
2575 * progmodes/octave.el (octave-mode):
2576 * progmodes/python.el (python-mode):
2577 * simple.el (read--expression): Set `eldoc-documentation-function'
2578 using `add-function' so the default value is always used.
2579
2580 * descr-text.el (describe-char-eldoc): New function returning
2581 basic Unicode codepoint information (e.g. name) about character
2582 at point. It is meant to be used as a default value of the
2583 `eldoc-documentation-function' variable.
2584 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2585 New helper functions for `describe-char-eldoc' function.
2586
2587 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2588
2589 * textmodes/paragraphs.el (sentence-end-base): Include an
2590 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2591 and a closing single quote (’) as an end of a quote.
2592
2593 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2594
2595 * textmodes/tildify.el (tildify-double-space-undos): A new
2596 variable specifying whether pressing space in `tildify-mode' after
2597 a space has been replaced with hard space undos the substitution.
2598 (tildify-space): Add code branch for handling `tildify-doule-space'.
2599
2600 * textmodes/tildify.el (tildify-space): A new function
2601 which can be used as a `post-self-insert-hook' to automatically
2602 convert spaces into hard spaces.
2603 (tildify-space-pattern): A new variable specifying pattern where
2604 `tildify-space' should take effect.
2605 (tildify-space-predicates): A new variable specifying list of
2606 predicate functions that all must return non-nil for
2607 `tildify-space' to take effect.
2608 (tildify-space-region-predicate): A new functions meant to be
2609 used as a predicate in `tildify-space-predicates' list.
2610 (tildify-mode): A new minor mode enabling `tildify-space' as a
2611 `post-self-insert-hook'
2612
2613 2015-01-20 Daniel Colascione <dancol@dancol.org>
2614
2615 * vc/vc-dir.el (vc-dir): Default to repository root, not
2616 default-directory.
2617
2618 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * progmodes/etags.el (xref-etags-location): New class.
2621 (xref-make-etags-location): New function.
2622 (etags--xref-find-definitions): Use it.
2623 (xref-location-marker): New method implementation.
2624
2625 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2626 (xref--insert-xrefs): Expand help-echo string.
2627
2628 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2629
2630 * ido.el: Update Customization instructions.
2631
2632 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2633
2634 Define Ido keymaps once (bug#17000).
2635 * ido.el (ido-common-completion-map)
2636 (ido-file-dir-completion-map)
2637 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2638 bindings when each variable is defined.
2639 (ido-completion-map): Move definition.
2640 (ido-init-completion-maps): Noop.
2641 (ido-common-initialization): Don't call it.
2642 (ido-setup-completion-map): Improve doc-string, cleanup.
2643
2644 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2645
2646 * cus-dep.el (custom-make-dependencies): Ensure that
2647 default-directory is interpreted as a directory (see bug#19140.)
2648
2649 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2650
2651 * progmodes/xref.el (xref--display-position):
2652 Set `other-window-scroll-buffer'.
2653 (xref-goto-xref): Use `user-error'.
2654
2655 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2656
2657 * progmodes/xref.el (xref--display-history): New variable.
2658 (xref--window-configuration): Remove.
2659 (xref--save-to-history): New function.
2660 (xref--display-position): Use it. Add new argument.
2661 (xref--restore-window-configuration): Remove.
2662 (xref--show-location, xref-show-location-at-point):
2663 Update accordingly.
2664 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2665 (xref--quit): New command.
2666 (xref-goto-xref): Use it.
2667 (xref--xref-buffer-mode-map): Bind `q' to it.
2668
2669 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2670
2671 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2672 indentation or at eol.
2673
2674 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2677 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2678 New functions.
2679 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2680
2681 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2682 `newname' argument.
2683
2684 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2685 introduction of a new dispatch argument.
2686 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2687 considered as dispatchable for this method.
2688 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2689 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2690
2691 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2692
2693 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2694
2695 * emacs-lisp/package.el (package--append-to-alist): Rename from
2696 `package--add-to-alist'
2697 Updated docstring due to new name.
2698
2699 2015-01-18 Leo Liu <sdl.web@gmail.com>
2700
2701 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2702 multiple evaluation. (Bug#19519)
2703
2704 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2705 error. (Bug#19434)
2706
2707 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2710 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2711 New functions.
2712 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2713
2714 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2715 or print is nil.
2716 (cl-struct-type-p): New function.
2717
2718 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2719 (cl-defmethod): Add edebug spec.
2720 (cl--generic-build-combined-method): Fix call to
2721 cl-no-applicable-method.
2722 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2723 (cl--generic-isnot-nnm-p): New function.
2724 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2725 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2726 (cl-next-method-p): New function.
2727
2728 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2729
2730 * version.el (emacs-repository-get-version): Update docstring.
2731
2732 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2733
2734 * files.el (find-file-other-window, find-file-other-frame):
2735 Use mapc instead of mapcar. (Bug#18175)
2736
2737 * files.el (dir-locals-collect-variables): Use default-directory
2738 in place of the file name while working on non-file buffers, just
2739 like hack-dir-local-variables already does. (Bug#19140)
2740
2741 * textmodes/enriched.el (enriched-encode):
2742 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2743 (Bug#18246)
2744
2745 * desktop.el (desktop-read): Do not call desktop-clear when no
2746 desktop file is found. (Bug#18371)
2747
2748 * misearch.el (multi-isearch-unload-function): New function.
2749 (misearch-unload-function): New alias. (Bug#19566)
2750
2751 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2754 class-constructor, and make it an alias for `identity'.
2755 Update all callers.
2756
2757 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2758 argument here (bug#19620)...
2759 (defclass): ...instead of in the constructor here.
2760
2761 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2762
2763 * emacs-lisp/package.el (package-archive-priorities):
2764 Specify correct type.
2765
2766 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2767
2768 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2769 Remove.
2770 (emacs-repository-get-version): Discard the Bazaar case.
2771 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2772 emacs-bzr-version-dirstate and move from version.el to here.
2773 (vc-bzr-working-revision): Use it.
2774
2775 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2778 eieio--scoped-class any more.
2779
2780 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2781 (eieio--scoped-class): Remove function.
2782 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2783 (eieio--slot-name-index): Don't check the :protection anymore.
2784 (eieio-initializing-object): Remove var.
2785 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2786
2787 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 Improve handling of doc-strings and describe-function for cl-generic.
2790
2791 * help-mode.el (help-function-def): Add optional arg `type'.
2792
2793 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2794 as it's a symbol.
2795 (help-fns-short-filename): New function.
2796 (describe-function-1): Use it. Use autoload-do-load.
2797
2798 * emacs-lisp/find-func.el: Use lexical-binding.
2799 (find-function-regexp): Don't rule out `defgeneric'.
2800 (find-function-regexp-alist): Document new possibility of including
2801 a function instead of a regexp.
2802 (find-function-search-for-symbol): Implement that new possibility.
2803 (find-function-library): Don't assume that `function' is a symbol.
2804 (find-function-do-it): Remove unused var `orig-buf'.
2805
2806 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2807 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2808 (eieio--method-optimize-primary): Don't mess with the docstring.
2809 (defgeneric): Keep the `args' in the docstring.
2810 (defmethod): Don't use the method's docstring for the generic
2811 function's docstring.
2812
2813 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2814 (eieio-defclass-autoload): Don't record the superclasses any more.
2815 (eieio-defclass-internal): Reuse the old class object if it was just an
2816 autoload stub.
2817 (eieio--class-precedence-list): Load the class if it's autoloaded.
2818
2819 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2820 override an autoload.
2821 (cl-generic-current-method-specializers): Replace dyn-bind variable
2822 with a lexically-scoped macro.
2823 (cl--generic-lambda): Update accordingly.
2824 (cl-generic-define-method): Record manually in the load-history with
2825 type `cl-defmethod'.
2826 (cl--generic-get-dispatcher): Minor optimization.
2827 (cl--generic-search-method): New function.
2828 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2829 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2830 specializers and the function's arguments.
2831
2832 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2833
2834 * emacs-lisp/package.el (package--read-pkg-desc):
2835 New function. Read a `define-package' form in current buffer.
2836 Return the pkg-desc, with desc-kind set to KIND.
2837 (package-dir-info): New function. Find package information for a
2838 directory. The return result is a `package-desc'.
2839 (package-install-from-buffer): Install packages from dired buffer.
2840 (package-install-file): Install packages from directory.
2841 (package-desc-suffix)
2842 (package-install-from-archive)
2843 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2844 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2845 value.
2846
2847 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2848
2849 * emacs-lisp/package.el: Provide repository priorities.
2850 (package-archive-priorities): New variable.
2851 (package--add-to-alist): New function.
2852 (package--add-to-archive-contents): Use it.
2853 (package-menu--find-upgrades): Use it as well. Small clean up to
2854 make the use of the package name here explicit.
2855 (package-archive-priority): New function.
2856 (package-desc-priority-version): New function.
2857
2858 2015-01-16 Daniel Colascione <dancol@dancol.org>
2859
2860 * cus-start.el (all): Make `ring-bell-function' customizable.
2861
2862 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2863
2864 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2865 vc-svn-after-dir-status's second argument. (Bug#19429)
2866
2867 2015-01-16 Samer Masterson <samer@samertm.com>
2868
2869 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2870 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2871
2872 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2873
2874 * dom.el (dom-strings): New function.
2875
2876 * files.el (directory-files-recursively): Don't use the word
2877 "path" for a file name.
2878
2879 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2880
2881 * calc/calc-units.el (math-units-in-expr-p)
2882 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2883 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2884
2885 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2888 (cl--labels-convert): Use it to ask the macro what is its replacement
2889 in the #'f case.
2890
2891 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2892 Return the value of the primary rather than the after method.
2893
2894 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2895 (eieio--generic-tagcode): New function.
2896 (cl-generic-tagcode-function): Use it.
2897 (eieio--generic-tag-types): New function.
2898 (cl-generic-tag-types-function): Use it.
2899 (eieio-object-p): Tighten up the test.
2900
2901 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2902
2903 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * emacs-lisp/cl-generic.el: New file.
2906
2907 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2908 (cl-load-time-value, cl-labels): Use closures rather than
2909 backquoted lambdas.
2910 (cl-macrolet): Use `eval' to create the function value, and support CL
2911 style arguments in for the defined macros.
2912
2913 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * net/eww.el: Use lexical-binding.
2916 (eww-links-at-point): Remove unused arg.
2917 (eww-mode-map): Inherit from special-mode-map.
2918 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2919
2920 2015-01-13 Alan Mackenzie <acm@muc.de>
2921
2922 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2923 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2924 New function which walks the stack to discover whether we're compiling
2925 or loading.
2926 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2927 (cc-bytecomp-is-loading): New defsubst.
2928 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2929 Use the above defsubsts.
2930 (cc-require-when-compile, cc-bytecomp-defvar)
2931 (cc-bytecomp-defun): Simplify conditionals.
2932 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2933 "Borrow" this function from cc-bytecomp.el.
2934 (c-get-current-file): Reformulate using the above.
2935 (c-lang-defconst): Prevent duplicate entries of file names in a
2936 symbol's 'source property.
2937 (c-lang-const): Use cc-bytecomp-is-compiling.
2938 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2939 Use cc-bytecomp-is-compiling.
2940
2941 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2944 (bug#19552).
2945
2946 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * menu-bar.el (menu-bar-goto-menu): Before calling
2949 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2950 (Bug#19554)
2951
2952 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2953
2954 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2955 cookie (Bug#19554).
2956
2957 * frame.el (frame-notice-user-settings): Remove code dealing with
2958 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2959 only if `window-system-frame-alist' or `default-frame-alist' ask
2960 for it.
2961 (make-frame): Update frame-adjust-size-history if needed.
2962
2963 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2964
2965 Have 'make' output better GEN names
2966 * Makefile.in (PHONY_EXTRAS): New macro.
2967 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2968 relevant files' time stamps are ignored.
2969 (custom-deps, $(lisp)/cus-load.el, finder-data)
2970 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2971 (custom-deps, $(lisp)/cus-load.el, finder-data)
2972 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2973 ($(lisp)/subdirs.el, update-subdirs):
2974 Output more-accurate destination names with GEN.
2975
2976 Say "ELC foo.elc" instead of "GEN foo.elc"
2977 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2978 New macros.
2979 ($(THEFILE)c, .el.elc): Use them.
2980
2981 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * files.el (directory-files-recursively): Do not include
2984 superfluous remote file names.
2985
2986 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2987
2988 * net/eww.el (eww): Interpret anything that looks like a protocol
2989 designator as a full URL.
2990
2991 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2992
2993 * net/shr.el (shr-urlify): Don't bother the user about
2994 invalidly-encoded display strings.
2995
2996 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2997
2998 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2999 (bug#19555).
3000
3001 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3002
3003 * net/eww.el (eww): Always interpret URLs that start with https?:
3004 as plain URLs, even if they have spaces in them (bug#19556).
3005 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
3006 software" as an URL.
3007 (eww): Don't interpret "org/foo" as an URL.
3008 (eww): Clear the title when loading so that we don't display
3009 misleading information.
3010
3011 2015-01-10 Daniel Colascione <dancol@dancol.org>
3012
3013 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
3014 by analogy with dired.
3015
3016 2015-01-09 Daniel Colascione <dancol@dancol.org>
3017
3018 * progmodes/js.el (js--function-heading-1-re)
3019 (js--function-prologue-beginning): Parse ES6 generator function
3020 declarations. (That is, "function* name()").
3021
3022 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
3025 that creates functions, and most of the sanity checks.
3026 Mark as obsolete the <class>-child-p function.
3027 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
3028 (eieio--class, eieio--object): Use cl-defstruct.
3029 (eieio--object-num-slots): Define manually.
3030 (eieio-defclass-autoload): Use eieio--class-make.
3031 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
3032 `(lambda...) definitions and most of the sanity checks to `defclass'.
3033 Mark as obsolete the <class>-list-p function, the <class> variable and
3034 the <initarg> variables. Use pcase-dolist.
3035 (eieio-defclass): New compatibility function.
3036 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
3037 (eieio-class-speedbar): Don't use eieio-default-superclass var.
3038
3039 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * emacs-lisp/eieio-generic.el: New file.
3042 * emacs-lisp/eieio-core.el: Move all generic function code to
3043 eieio-generic.el.
3044 (eieio--defmethod): Declare.
3045
3046 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
3047 function code to eieio-generic.el.
3048 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
3049 eieio-generic.el.
3050 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
3051 to eieio--generic-call.
3052 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
3053 <class>-child type.
3054
3055 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
3058 Don't use <class> as a variable.
3059
3060 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
3061 (call-next-method): Simplify.
3062 (clone): Obey eieio-backward-compatibility.
3063
3064 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
3065 (eieio-read-generic): Use `generic-p' instead.
3066
3067 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
3068 (eieio-defclass-autoload): Obey it.
3069 (eieio--class-object): Improve error behavior.
3070 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
3071 every use site.
3072 (eieio--defgeneric-form-primary-only): Rename from
3073 eieio-defgeneric-form-primary-only; update all callers.
3074 (eieio--defgeneric-form-primary-only-one): Rename from
3075 eieio-defgeneric-form-primary-only-one; update all callers.
3076 (eieio-defgeneric-reset-generic-form)
3077 (eieio-defgeneric-reset-generic-form-primary-only)
3078 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
3079 (eieio--method-optimize-primary): New function to replace them.
3080 (eieio--defmethod, eieio-defmethod): Use it.
3081 (eieio--perform-slot-validation): Rename from
3082 eieio-perform-slot-validation; update all callers.
3083 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
3084 Change `class' to be a class object. Update all callers.
3085 (eieio--validate-class-slot-value): Rename from
3086 eieio-validate-class-slot-value. Change `class' to be a class object.
3087 Update all callers.
3088 (eieio-oset-default): Accept class object as well.
3089 (eieio--generic-call-primary-only): Rename from
3090 eieio-generic-call-primary-only. Update all callers.
3091
3092 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3093 Improve error messages.
3094 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
3095 well as user-defined types. Emit errors for legacy types like
3096 <class>-child and <class>-list, if not eieio-backward-compatibility.
3097
3098 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
3101 (eieio--class-slot-initarg): Rename from class-slot-initarg.
3102 Change `class' arg to be a class object. Update all callers.
3103 (call-next-method): Adjust to new return value of `eieio-generic-form'.
3104 (eieio-default-superclass): Set var to the class object.
3105 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
3106 Change print behavior to affect class objects rather than
3107 class symbols.
3108
3109 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
3110 (eieio-class-parents-fast): Remove macro.
3111 (eieio--class-option-assoc): Rename from class-option-assoc.
3112 Update all callers.
3113 (eieio--class-option): Rename from class-option. Change `class' arg to
3114 be a class object. Update all callers.
3115 (eieio--class-method-invocation-order): Rename from
3116 class-method-invocation-order. Change `class' arg to be a class
3117 object. Update all callers.
3118 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
3119 a list of class objects rather than names.
3120 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
3121 for accessors to class allocated slots.
3122 (eieio--perform-slot-validation-for-default): Rename from
3123 eieio-perform-slot-validation-for-default. Update all callers.
3124 (eieio--add-new-slot): Rename from eieio-add-new-slot.
3125 Update all callers. Use push.
3126 (eieio-copy-parents-into-subclass): Adjust to new content of
3127 `parent' field. Use dolist.
3128 (eieio-oref): Remove support for providing a class rather than
3129 an object.
3130 (eieio-oref-default): Prefer class objects over class names.
3131 (eieio--slot-originating-class-p): Rename from
3132 eieio-slot-originating-class-p. Update all callers. Use `or'.
3133 (eieio--slot-name-index): Turn check into assertion.
3134 (eieio--class-slot-name-index): Rename from
3135 eieio-class-slot-name-index. Change `class' arg to be a class object.
3136 Update all callers.
3137 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
3138 (eieio--c3-candidate): Rename from eieio-c3-candidate.
3139 Update all callers.
3140 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
3141 Update all callers.
3142 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
3143 Update all callers.
3144 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
3145 Update all callers.
3146 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
3147 Update all callers. Adjust to new `parent' content.
3148 (eieio--class-precedence-list): Rename from -class-precedence-list.
3149 Update all callers.
3150 (eieio-generic-call): Use autoloadp and autoload-do-load.
3151 Slight simplification.
3152 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
3153 return value of `eieio-generic-form'.
3154 (eieiomt-add): Index the hashtable with class objects rather than
3155 class names.
3156 (eieio-generic-form): Accept class objects as well.
3157
3158 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
3159 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
3160 (eieio-persistent-validate/fix-slot-value):
3161 Change `class' arg to be a class object. Update all callers.
3162
3163 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
3166 additionally to class names.
3167
3168 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
3169 (object): Remove first (constant) slot; rename second to `class-tag'.
3170 (eieio--object-class-object, eieio--object-class-name): New funs
3171 to replace eieio--object-class.
3172 (eieio--class-object, eieio--class-p): New functions.
3173 (same-class-fast-p): Make it a defsubst, change its implementation
3174 to check the class objects rather than their names.
3175 (eieio-object-p): Rewrite.
3176 (eieio-defclass): Adjust the object initialization according to the new
3177 object layout.
3178 (eieio--scoped-class): Declare it returns a class object (not a class
3179 name any more). Adjust calls accordingly (along with calls to
3180 eieio--with-scoped-class).
3181 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
3182 its class arg to be a class object. Adjust callers accordingly.
3183 (eieio-slot-originating-class-p): Make its start-class arg a class
3184 object. Adjust all callers.
3185 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
3186 Make its `class' arg a class object. Adjust all callers.
3187
3188 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3189 Use eieio--slot-name-index rather than eieio-slot-name-index.
3190
3191 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
3194 name argument.
3195 (eieio-object-name): Use eieio-object-name-string.
3196 (eieio--object-names): New const.
3197 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
3198 using a hashtable rather than a built-in slot.
3199 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
3200 (clone): Don't mess with the object's "name".
3201
3202 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
3203 (eieio-object-value-get): Use eieio-object-set-name-string.
3204
3205 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
3206 (eieio--object): Remove `name' field.
3207 (eieio-defclass): Adjust to new convention where constructors don't
3208 take an "object name" any more.
3209 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
3210 (eieio-validate-slot-value, eieio-oset-default)
3211 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
3212 (eieio-generic-call-primary-only): Simplify.
3213
3214 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
3215 Use call-next-method.
3216 (eieio-constructor): Rename from `constructor'.
3217 (eieio-persistent-convert-list-to-object): Drop objname.
3218 (eieio-persistent-validate/fix-slot-value): Don't hardcode
3219 eieio--object-num-slots.
3220 (eieio-named): Use a normal slot.
3221 (slot-missing) <eieio-named>: Remove.
3222 (eieio-object-name-string, eieio-object-set-name-string, clone)
3223 <eieio-named>: New methods.
3224
3225 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
3228 (method-*): Add a "eieio--" prefix to those constants.
3229
3230 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
3231
3232 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
3233
3234 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
3237 `eieio-default-superclass'.
3238
3239 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
3240
3241 * emacs-lisp/eieio-custom.el: Use lexical-binding.
3242 (eieio-object-value-to-abstract): Simplify.
3243
3244 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
3245 (eieio-build-class-alist): Use dolist.
3246 (eieio-all-generic-functions): Adjust to use of hashtables.
3247
3248 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
3249 symbol-hashtable. It contains a hashtable instead of an obarray.
3250 (generic-p): Use symbol property `eieio-method-hashtable' instead of
3251 `eieio-method-obarray'.
3252 (generic-primary-only-p, generic-primary-only-one-p):
3253 Slight optimization.
3254 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
3255 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
3256 (eieio-class-un-autoload): Use autoload-do-load.
3257 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
3258 Use new cl-deftype-satisfies. Adjust to use of hashtables.
3259 Don't hardcode the value of eieio--object-num-slots.
3260 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3261 Use a closure rather than a backquoted lambda.
3262 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
3263 function-documentation property.
3264 (eieio-slot-originating-class-p, eieio-slot-name-index)
3265 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3266 (eieio-generic-form): Adjust to use of hashtables.
3267 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3268 additional class argument.
3269 (eieio-generic-call-methodname): Remove, unused.
3270
3271 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3272 Prefer \' to $.
3273
3274 2015-01-08 Eli Zaretskii <eliz@gnu.org>
3275
3276 * simple.el (line-move-visual): When converting X pixel coordinate
3277 to temporary-goal-column, adjust the value for right-to-left
3278 screen lines. This fixes vertical-motion, next/prev-line, etc.
3279
3280 2015-01-08 Glenn Morris <rgm@gnu.org>
3281
3282 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
3283
3284 2015-01-07 K. Handa <handa@gnu.org>
3285
3286 * international/ccl.el (define-ccl-program): Improve the docstring.
3287
3288 2015-01-06 Sam Steingold <sds@gnu.org>
3289
3290 * shell.el (shell-display-buffer-actions): Remove,
3291 use `display-buffer-alist' instead.
3292
3293 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3296 to the references.
3297
3298 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * minibuffer.el (completion-category-defaults): New var.
3301 Set unicode-name to use substring completion.
3302 (completion-category-defaults): Set it to nil.
3303
3304 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 Add mouse interaction to xref.
3307 * progmodes/xref.el (xref--button-map): New variable.
3308 (xref--mouse-2): New command.
3309 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3310 the inserted references.
3311
3312 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
3313
3314 Less 'make' chatter for lisp dir
3315 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3316 to make it clearer that the caller must specify it.
3317 (compile-onefile): Remove, replacing by ...
3318 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
3319 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3320 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3321 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3322 Use AM_V_GEN to lessen 'make' chatter.
3323 (.el.elc): Omit duplicate comment.
3324
3325 Less 'make' chatter in batch mode
3326 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3327 * emacs-lisp/bytecomp.el (byte-compile-file):
3328 * files.el (save-buffer, basic-save-buffer):
3329 * international/quail.el (quail-update-leim-list-file):
3330 Don't output messages like "Generating ..." in batch mode.
3331
3332 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3333
3334 Unbreak `mouse-action' property in text buttons.
3335 * button.el (push-button): Fix regression from 2012-12-06.
3336
3337 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3338
3339 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3340
3341 * menu-bar.el (menu-bar-goto-menu): Use it.
3342
3343 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/xref.el (xref--window-configuration): New variable.
3346 (xref-show-location-at-point): New command.
3347 (xref--restore-window-configuration): New function.
3348 (xref-next-line, xref-prev-line): Delegate to
3349 `xref-show-location-at-point'.
3350 (xref--location-at-point): Don't signal the error.
3351 (xref-goto-xref): Do that here instead.
3352 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3353 to `pre-command-hook'.
3354 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3355 `previous-line'. Additionally bind `xref-next-line' and
3356 `xref-prev-line' to `n' and `p' respectively.
3357 Bind `xref-show-location-at-point' to `C-o'.
3358
3359 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3360
3361 * tool-bar.el (tool-bar-local-item)
3362 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3363 make sure the tool-bar changes show on display.
3364
3365 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3366
3367 Sync with Tramp 2.2.11.
3368
3369 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3370 Make an alias for `default-toplevel-value' if it doesn't exist.
3371
3372 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3373 Use `tramp-compat-delete-directory'.
3374
3375 * net/trampver.el: Update release number.
3376
3377 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3378
3379 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3380 for remote files. (Bug#19449)
3381
3382 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3383
3384 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3385
3386 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3387
3388 Less 'make' chatter in lisp directory
3389 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3390 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3391 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3392
3393 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3394
3395 * info.el (info-display-manual): Limit the completion alternatives
3396 to currently visited manuals if prefix argument is non-nil.
3397
3398 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3399
3400 * Makefile.in (semantic): Simplify.
3401
3402 2014-12-30 Juri Linkov <juri@linkov.net>
3403
3404 * net/eww.el (eww-isearch-next-buffer): New function.
3405 (eww-mode): Set multi-isearch-next-buffer-function to it.
3406
3407 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3408
3409 * progmodes/xref.el (xref-find-definitions): Mention "no
3410 identifier at point" case in the docstring.
3411
3412 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3413 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3414 and `separator-tag-file' items.
3415
3416 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3417
3418 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3419 This is instead of system-name, which is both wrong here and obsolete.
3420 * desktop.el (desktop-save-frameset):
3421 * dnd.el (dnd-get-local-file-uri):
3422 * nxml/rng-uri.el (rng-uri-file-name-1):
3423 Prefer (system-name) to system-name, and avoid naming
3424 locals 'system-name'.
3425 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3426
3427 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3428
3429 * menu-bar.el (menu-bar-next-tag-other-window)
3430 (menu-bar-next-tag): Remove.
3431
3432 2014-12-29 K. Handa <handa@gnu.org>
3433
3434 * international/mule.el (make-translation-table-from-alist):
3435 Accept nil or zero-length vector for FROM and TO.
3436
3437 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3438
3439 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3440 display when resizing.
3441
3442 * net/shr.el (shr-width): Default to using the window width when
3443 rendering.
3444
3445 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3446
3447 Unbreak jumping to an alias's definition.
3448 * emacs-lisp/find-func.el (find-function-library): Return a pair
3449 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3450 (find-function-noselect): Use it.
3451 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3452 `elisp--xref-identifier-location', incorporate logic from
3453 `elisp--xref-find-definitions', use the changed
3454 `find-function-library' return value.
3455
3456 2014-12-29 Juri Linkov <juri@linkov.net>
3457
3458 * comint.el (comint-history-isearch-message): Use field-beginning
3459 instead of comint-line-beginning-position - that's more fixes for
3460 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3461 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3462
3463 2014-12-29 Juri Linkov <juri@linkov.net>
3464
3465 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3466 (vc-dir-mode-map): Bind it to "\C-o".
3467 (vc-dir-menu-map): Add it to menu.
3468
3469 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3470
3471 * progmodes/etags.el (find-tag-other-window)
3472 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3473 (tags-apropos): Declare obsolete.
3474
3475 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3476 with xref ones.
3477
3478 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3479
3480 * international/mule.el (define-coding-system): Fix typos in the
3481 doc string.
3482
3483 2014-12-28 Kenichi Handa <handa@gnu.org>
3484
3485 * international/mule.el (define-coding-system): Improve the doc
3486 string.
3487
3488 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3489
3490 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3491 elements in tables (bug#19444).
3492
3493 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3494 (bug#19445).
3495
3496 2014-12-28 Juri Linkov <juri@linkov.net>
3497
3498 * vc/compare-w.el: Require diff-mode for diff faces.
3499 (compare-windows-removed, compare-windows-added): New faces
3500 inheriting from diff faces.
3501 (compare-windows): Define obsolete face alias.
3502 (compare-windows-highlight): Replace face `compare-windows' with
3503 new faces `compare-windows-added' and `compare-windows-removed'
3504 (bug#19451).
3505 (compare-windows-get-recent-window): Signal an error when
3506 no other window is found (bug#19170).
3507
3508 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3509
3510 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3511 Skip features that have no sources.
3512
3513 * simple.el (execute-extended-command):
3514 When `suggest-key-bindings' is nil, don't.
3515
3516 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3517
3518 python.el: Native readline completion.
3519 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3520 (python-shell-completion-native-enable)
3521 (python-shell-completion-native-output-timeout): New defcustoms.
3522 (python-shell-completion-native-interpreter-disabled-p)
3523 (python-shell-completion-native-try)
3524 (python-shell-completion-native-setup)
3525 (python-shell-completion-native-turn-off)
3526 (python-shell-completion-native-turn-on)
3527 (python-shell-completion-native-turn-on-maybe)
3528 (python-shell-completion-native-turn-on-maybe-with-msg)
3529 (python-shell-completion-native-toggle): New functions.
3530 (python-shell-completion-native-get-completions): New function.
3531 (python-shell-completion-at-point): Use it.
3532
3533 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3534
3535 python.el: Enhance shell user interaction and deprecate
3536 python-shell-get-or-create-process.
3537 * progmodes/python.el (python-shell-get-process-or-error):
3538 New function.
3539 (python-shell-with-shell-buffer): Use it.
3540 (python-shell-send-string, python-shell-send-region)
3541 (python-shell-send-buffer, python-shell-send-defun)
3542 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3543 Add argument MSG to display user-friendly message when no process
3544 is running.
3545 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3546 (python-shell-make-comint): Rename argument SHOW from POP.
3547 Use display-buffer instead of pop-to-buffer.
3548 (run-python): Doc fix. Return process.
3549 (python-shell-get-or-create-process): Make obsolete.
3550
3551 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3552
3553 * progmodes/python.el (python-shell-buffer-substring):
3554 Handle cornercase when region sent starts at point-min.
3555
3556 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3557
3558 * language/misc-lang.el (composition-function-table): Add Syriac
3559 characters and also ZWJ/ZWNJ.
3560 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3561 for the details.
3562
3563 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3564
3565 python.el: Fix message when sending region.
3566 * progmodes/python.el (python-shell-send-region): Rename argument
3567 send-main from nomain. Fix message.
3568 (python-shell-send-buffer): Rename argument send-main from arg.
3569
3570 python.el: Cleanup temp files even with eval errors.
3571 * progmodes/python.el (python-shell-send-file): Make file-name
3572 mandatory. Fix temp file removal in the majority of cases.
3573
3574 python.el: Handle file encoding for shell.
3575 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3576 (python-shell--save-temp-file): Write file with proper encoding.
3577 (python-shell-buffer-substring): Add coding cookie for detected
3578 encoding to generated content. Fix blank lines when removing
3579 if-name-main block.
3580 (python-shell-send-file): Handle file encoding.
3581 (python-info-encoding-from-cookie)
3582 (python-info-encoding): New functions.
3583
3584 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3585
3586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3587 Use `tramp-rsh-end-of-line', it ought to be more robust.
3588
3589 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3592 (bug#19397).
3593
3594 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3597
3598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3599 as end-of-line delimeter for passwords, when running on MS Windows.
3600
3601 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3604 of indent-line-function (bug#19433).
3605
3606 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3607
3608 Fix line numbers on Python shell.
3609 * progmodes/python.el (python-shell--save-temp-file): Do not
3610 append coding cookie.
3611 (python-shell-send-string): Generalize for
3612 python-shell-send-region.
3613 (python--use-fake-loc): Delete var.
3614 (python-shell-buffer-substring): Cleanup fake-loc logic.
3615 (python-shell-send-region): Remove fake-loc logic, simplify.
3616
3617 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3618
3619 * progmodes/python.el (python-indent-post-self-insert-function):
3620 Make colon to re-indent only for dedenters, handling
3621 multiline-statements gracefully.
3622
3623 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3624
3625 * net/tramp.el (tramp-handle-insert-file-contents):
3626 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3627
3628 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3629
3630 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3631 arg MARKER.
3632 (tramp-get-remote-path): Use it.
3633
3634 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * subr.el (redisplay-dont-pause): Mark as obsolete.
3637
3638 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3639
3640 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3641 (tramp-accept-process-output): Use nil as argument for
3642 `accept-process-output', when there is a gateway prepended.
3643
3644 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3645 wrong debug buffer.
3646 (tramp-gw-open-connection): Set process coding system 'binary.
3647 (tramp-gw-open-network-stream): Handle HTTP error 403.
3648
3649 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3650 wrong debug buffer.
3651 (tramp-maybe-open-connection): Set connection property "gateway".
3652
3653 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * subr.el (sit-for): Tweak docstring (bug#19381).
3656
3657 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3658
3659 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3660 stage to after `diff-index' (bug#19386).
3661
3662 2014-12-27 João Távora <joaotavora@gmail.com>
3663
3664 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3665 `electric-pair-mode' (bug#19356).
3666
3667 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3668
3669 elisp-xref-find: Don't create buffers eagerly.
3670
3671 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3672 into `elisp--company-location'.
3673 (elisp--identifier-completion-table): Rename to
3674 `elisp--identifier-completion-table', and do not include just any
3675 symbols with a property list.
3676 (elisp-completion-at-point): Revert the 2014-12-25 change.
3677 (elisp--xref-identifier-file): New function.
3678 (elisp--xref-find-definitions): Use it.
3679
3680 * emacs-lisp/find-func.el (find-function-library): New function,
3681 extracted from `find-function-noselect'.
3682
3683 * progmodes/xref.el (xref-elisp-location): New class.
3684 (xref-make-elisp-location): New function.
3685 (xref-location-marker): New implementation.
3686
3687 2014-12-27 Juri Linkov <juri@linkov.net>
3688
3689 * minibuffer.el (minibuffer-completion-help):
3690 Use shrink-window-if-larger-than-buffer in window-height
3691 when temp-buffer-resize-mode is nil.
3692
3693 * window.el (with-displayed-buffer-window): Remove window-height
3694 from the action alist in the temp-buffer-window-show call
3695 when window-height is handled explicitly afterwards (bug#19355).
3696
3697 2014-12-27 Juri Linkov <juri@linkov.net>
3698
3699 Support subdirectories when saving places in dired.
3700 * saveplace.el (toggle-save-place, save-place-to-alist)
3701 (save-places-to-alist, save-place-dired-hook):
3702 Use dired-current-directory instead of dired-directory (bug#19436).
3703 (save-place-dired-hook): Add check for alist to make the new
3704 format future-proof to allow other possible formats.
3705
3706 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3707
3708 python.el: Generate clearer shell buffer names.
3709 * progmodes/python.el (python-shell-get-process-name)
3710 (python-shell-internal-get-process-name): Use `buffer-name`.
3711 (python-shell-internal-get-or-create-process): Simplify.
3712
3713 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3714
3715 Add basic xref apropos implementation to elisp-mode.
3716
3717 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3718 Filter out nil results.
3719 (elisp--xref-find-apropos): New function.
3720 (elisp-xref-find): Use it.
3721
3722 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3723
3724 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3725
3726 * dired-aux.el (dired-maybe-insert-subdir):
3727 Make dired-maybe-insert-subdir always skip trivial files.
3728
3729 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3730 Dmitry Gutov <dgutov@yandex.ru>
3731
3732 Consolidate cross-referencing commands.
3733
3734 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3735 `C-x 5 .' from etags.el to xref.el.
3736
3737 * progmodes/xref.el: New file.
3738
3739 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3740 (elisp--identifier-location): New function, extracted from
3741 `elisp--company-location'.
3742 (elisp--company-location): Use it.
3743 (elisp--identifier-completion-table): New variable.
3744 (elisp-completion-at-point): Use it.
3745 (emacs-lisp-mode): Set the local values of `xref-find-function'
3746 and `xref-identifier-completion-table-function'.
3747 (elisp-xref-find, elisp--xref-find-definitions)
3748 (elisp--xref-identifier-completion-table): New functions.
3749
3750 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3751 favor of `xref--marker-ring'.
3752 (tags-lazy-completion-table): Autoload.
3753 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3754 (find-tag-noselect): Use `xref-push-marker-stack'.
3755 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3756 (etags--xref-limit): New constant.
3757 (etags-xref-find, etags--xref-find-definitions): New functions.
3758
3759 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3760
3761 * cus-start.el (resize-mini-windows): Make it customizable.
3762
3763 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3764
3765 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3766 to (info "(emacs)Contributing"). (Bug#19299)
3767
3768 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3769
3770 * window.el (mouse-autoselect-window-position-1): New variable.
3771 (mouse-autoselect-window-cancel)
3772 (mouse-autoselect-window-select, handle-select-window):
3773 With delayed autoselection select window only if mouse moves after
3774 selecting its frame.
3775
3776 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3779 remote file names. (Bug#18782)
3780
3781 2014-12-23 Sam Steingold <sds@gnu.org>
3782
3783 * shell.el (shell-display-buffer-actions): New user option.
3784 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3785 `pop-to-buffer-same-window'.
3786
3787 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3790 (js-syntax-propertize-regexp): Use it to recognize "slash in
3791 a character class" (bug#19397).
3792
3793 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * completion.el: Use post-self-insert-hook (bug#19400).
3796 (completion-separator-self-insert-command)
3797 (completion-separator-self-insert-autofilling): Remove.
3798 (completion-separator-chars): New var.
3799 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3800 of changing the keymap.
3801 (completion--post-self-insert): New function.
3802 (dynamic-completion-mode): Use it instead of rebinding keys.
3803 (cmpl--completion-string): Rename from completion-string.
3804 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3805
3806 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3807
3808 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3809 by leveraging `syntax-ppss'.
3810
3811 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3812
3813 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3814
3815 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3818
3819 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3820
3821 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3822
3823 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3824
3825 * let-alist.el (let-alist): Enable access to deeper alists by
3826 using dots inside the dotted symbols.
3827
3828 2014-12-19 Alan Mackenzie <acm@muc.de>
3829
3830 Make C++11 uniform init syntax work.
3831 New keywords "final" and "override".
3832 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3833 New function.
3834 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3835 new function.
3836 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3837 carefully for "are we at a declarator?" using
3838 c-back-over-member-initializers.
3839 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3840 and "override" in the C++ value.
3841
3842 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3843
3844 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3845
3846 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3847
3848 * net/nsm.el (nsm-save-host): Don't save the host name twice
3849 (bug#19269).
3850
3851 2014-12-18 Sam Steingold <sds@gnu.org>
3852
3853 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3854 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3855 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3856 * menu-bar.el (menu-bar-buffer-vector): Extract from
3857 `menu-bar-update-buffers'.
3858 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3859 (buffer-menu-open): New user command, bound globally to C-f10,
3860 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3861 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3862 convert the value returned by `mouse-buffer-menu-map' to a list
3863 acceptable to `popup-menu' for `buffer-menu-open'.
3864
3865 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3866
3867 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3868
3869 2014-12-18 Sam Steingold <sds@gnu.org>
3870
3871 * emacs-lisp/package.el: Avoid compilation warning by declaring
3872 the `find-library-name' function.
3873 (package-activate-1): Fix the `with-demoted-errors' calls:
3874 the first argument must be a string literal.
3875
3876 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3877
3878 Add code for "preserving" window sizes.
3879 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3880 `preserve-size' t.
3881 (dired-mark-pop-up): Preserve size of window showing marked files.
3882 * electric.el (Electric-pop-up-window):
3883 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3884 with `preserve-size' t.
3885 * minibuffer.el (minibuffer-completion-help):
3886 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3887 (Bug#19355). Preserve size of completions window.
3888 * register.el (register-preview): Preserve size of register
3889 preview window.
3890 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3891 with `preserve-size' t (Bug#1291).
3892 * window.el (with-displayed-buffer-window): Add calls to
3893 `window-preserve-size'.
3894 (window-min-pixel-size, window--preservable-size)
3895 (window-preserve-size, window-preserved-size)
3896 (window--preserve-size, window--min-size-ignore-p): New functions.
3897 (window-min-size, window-min-delta, window--resizable)
3898 (window--resize-this-window, split-window-below)
3899 (split-window-right): Amend doc-string.
3900 (window--min-size-1, window-sizable, window--size-fixed-1)
3901 (window-size-fixed-p, window--min-delta-1)
3902 (frame-windows-min-size, window--max-delta-1, window-resize)
3903 (window--resize-child-windows, window--resize-siblings)
3904 (enlarge-window, shrink-window, split-window): Handle preserving
3905 window sizes.
3906 (adjust-window-trailing-edge): Handle preserving window
3907 sizes. Signal user-error instead of an error when there's no
3908 window above or below.
3909 (window--state-put-2): Handle horizontal scroll bars.
3910 (window--display-buffer): Call `preserve-size' if asked for.
3911 (display-buffer): Mention `preserve-size' alist member in doc-string.
3912 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3913 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3914 scroll bar on ispell's windows. Don't count window lines and
3915 don't deal with dedicated windows.
3916 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3917 do the window handling.
3918 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3919 (ispell-display-buffer): New function to reuse, create and fit
3920 window to ispell's buffers. (Bug#3413)
3921
3922 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3923
3924 * emacs-lisp/package.el (package-activate): Do not re-activate or
3925 reload the dependencies (bug#19390).
3926
3927 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3930 (c-update-modeline):
3931 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3932 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3933 (c-mode-base-map): Use c-subword-mode.
3934
3935 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3936
3937 * international/mule-diag.el (describe-font-internal):
3938 Display additional info returned by font-info.
3939
3940 * linum.el (linum--face-width): Rename from linum--face-height,
3941 and use the new functionality of font-info.
3942 (linum-update-window): Use linum--face-width and frame-char-width,
3943 instead of approximating with height.
3944
3945 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3948 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3949
3950 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3951 and a docstring.
3952 (package-activate): Call itself on dependencies on PACKAGE with
3953 the same FORCE argument. Pass FORCE as RELOAD into
3954 `package-activate-1' (bug#19390).
3955
3956 2014-12-17 Sam Steingold <sds@gnu.org>
3957
3958 * emacs-lisp/package.el (package--list-loaded-files):
3959 Handle `(nil ...)' elements in `load-history'.
3960
3961 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3962
3963 * net/tramp-sh.el (tramp-histfile-override): New variable.
3964 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3965
3966 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * vc/vc.el: Improve `dir-status-files' description.
3969
3970 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3971 file-truename on load-history elements (bug#19390).
3972
3973 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3974
3975 * emacs-lisp/seq.el: New file.
3976
3977 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3980 is 0 and there is no input pending.
3981
3982 2014-12-15 Juri Linkov <juri@linkov.net>
3983
3984 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3985 only on the return value (bug#19383).
3986
3987 2014-12-15 Juri Linkov <juri@linkov.net>
3988
3989 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3990 the wrapped search by the length of the search string to be able
3991 to lazy-highlight the whole search string at point (bug#19353).
3992
3993 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3994
3995 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3996
3997 2014-12-14 Alan Mackenzie <acm@muc.de>
3998
3999 * cus-start.el (all): Add fast-but-imprecise-scrolling.
4000
4001 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
4002
4003 * let-alist.el: Add lexical binding.
4004
4005 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
4006
4007 * emacs-lisp/package.el (package-menu-mode): Use an extra column
4008 for the "Version" column, to accomodate date-and-time-based versions.
4009
4010 2014-12-14 Cameron Desautels <camdez@gmail.com>
4011
4012 * cus-edit.el (custom-unsaved-options): New function, extracted
4013 from `customize-unsaved'.
4014 (custom-unsaved): Use it.
4015 (custom-prompt-customize-unsaved-options): New function.
4016 (Bug#19328)
4017
4018 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
4021
4022 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 Move ASYNC argument to the `diff' VC command to the fifth
4025 position, for better compatibility with existing third-party code,
4026 and document it.
4027
4028 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
4029 backend `diff' command in the last position.
4030
4031 * vc/vc-svn.el (vc-svn-diff):
4032 * vc/vc-src.el (vc-src-diff):
4033 * vc/vc-sccs.el (vc-sccs-diff):
4034 * vc/vc-rcs.el (vc-rcs-diff):
4035 * vc/vc-mtn.el (vc-mtn-diff):
4036 * vc/vc-hg.el (vc-hg-diff):
4037 * vc/vc-git.el (vc-git-diff):
4038 * vc/vc-dav.el (vc-dav-diff):
4039 * vc/vc-cvs.el (vc-cvs-diff):
4040 * vc/vc-bzr.el (vc-bzr-diff):
4041 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
4042
4043 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
4044
4045 * emacs-lisp/cconv.el (cconv--analyze-use):
4046 Rename from cconv--analyse-use.
4047 (cconv--analyze-function): Rename from cconv--analyse-function.
4048 (cconv-analyze-form): Rename from cconv-analyse-form.
4049
4050 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
4051
4052 * net/shr.el (shr-next-link): Don't error out at eob.
4053
4054 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4055
4056 * isearch.el (isearch-open-necessary-overlays): Open overlay
4057 ending at point (bug#19333).
4058
4059 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4060
4061 * net/shr.el (shr-fold-text): New function.
4062 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
4063 alt/title texts.
4064 (shr-fold-text): Inhibit state from being altered.
4065
4066 * files.el (directory-files-recursively): Really check whether
4067 files are symlinks.
4068 (directory-name-p): New function.
4069 (directory-files-recursively): Use it.
4070
4071 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
4072
4073 * emacs-lisp/package.el (package--list-loaded-files): New function
4074 to list files in a given directory which correspond to already
4075 loaded files.
4076 (package-activate-1): Reload files given by `package--list-loaded-files'.
4077 Fix bug#10125, bug#18443, and bug#18448.
4078
4079 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
4080
4081 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
4082
4083 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4084
4085 * simple.el (password-word-equivalents): Add "passcode", used for
4086 numeric secrets like PINs or RSA tokens.
4087
4088 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4089
4090 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
4091 order to determine `tramp-own-remote-path'.
4092
4093 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4094
4095 * progmodes/python.el (python-shell-parse-command):
4096 Quote `python-shell-interpreter`. (Bug#19289)
4097
4098 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
4101 (python-indent-levels): Document extra value.
4102 (python-indent-calculate-indentation): Return `noindent' in strings.
4103 (python-indent-post-self-insert-function)
4104 (python-indent-calculate-levels): Handle new value.
4105
4106 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4107
4108 * net/network-stream.el (network-stream-open-starttls): No need to
4109 check for the availability of `gnutls-available-p'.
4110
4111 * files.el (directory-files-recursively): Don't follow symlinks to
4112 other directories.
4113
4114 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
4115
4116 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
4117 * vc/vc.el: latest-on-branch-p is no longer a public method.
4118
4119 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
4120 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
4121 Remove `rollback' method, to be replaced in the future by uncommit.
4122
4123 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
4124
4125 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
4126 that there is empty output.
4127
4128 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4129
4130 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
4131 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
4132
4133 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
4134
4135 * let-alist.el: Add new package and macro.
4136
4137 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
4138
4139 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
4140 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
4141 it's a shoot-self-in-foot archaism. Workfiles are always kept.
4142
4143 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
4144
4145 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
4146 trouble with ls over ftp. These flags result in ls returning no
4147 output, causing Tramp-breakage. (bug#19192)
4148
4149 2014-12-10 Andreas Schwab <schwab@suse.de>
4150
4151 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
4152
4153 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4154
4155 * files.el (directory-files-recursively):
4156 Use `file-name-all-completions' instead of `directory-files' for
4157 greater speed.
4158
4159 * net/shr.el (shr-tag-object): Don't bug out on text elements in
4160 <object>.
4161
4162 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
4163
4164 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
4165 and Puppetfile.
4166 (ruby-toggle-string-quotes): New command that allows you to quickly
4167 toggle between single-quoted and double-quoted string literals.
4168
4169 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
4170
4171 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
4172 list, avoids problems witt names containing hyphens.
4173
4174 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
4175
4176 Sync with upstream verilog-mode revision aa4b777.
4177 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4178 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
4179 (verilog-set-auto-endcomments): Automatically comment property/
4180 endproperty blocks to match other similar blocks like sequence/
4181 endsequence, function/endfunction, etc. Reported by Alex Reed.
4182 (verilog-set-auto-endcomments): Fix end comments for functions of
4183 type void, etc. Detect the function- or task-name when
4184 auto-commenting blocks that lack an explicit portlist.
4185 Reported by Alex Reed.
4186 (verilog-nameable-item-re): Fix nameable items that can have an
4187 end-identifier to include endchecker, endgroup, endprogram,
4188 endproperty, and endsequence. Reported by Alex Reed.
4189 (verilog-preprocessor-re, verilog-beg-of-statement):
4190 Fix indentation of property/endproperty around pre-processor
4191 directives. Reported by Alex Reed.
4192 (verilog-label-be): When auto-commenting a buffer, consider
4193 auto-comments on all known keywords (not just a subset thereof).
4194 Reported by Alex Reed.
4195 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
4196 Reported by Alex Reed.
4197 (verilog-beg-of-statement-1, verilog-at-constraint-p):
4198 Fix hanging with many curly-bracket pairs, bug663.
4199 (verilog-do-indent): Fix electric tab deleting form-feeds.
4200 Note caused by indent-line-to deleting tabls pre 24.5.
4201 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
4202 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
4203 (verilog-read-always-signals, verilog-auto-sense-sigs)
4204 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
4205 bug844. Reported by Greg Hilton.
4206
4207 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
4208
4209 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
4210 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
4211 'foreach', and 'do' keywords.
4212 (verilog-endcomment-reason-re, verilog-beg-of-statement):
4213 Fix labeling do-while blocks, bug842.
4214 (verilog-backward-token): Fix indenting sensitivity lists with
4215 named events, bug840.
4216
4217 2014-12-09 Reto Zimmermann <reto@gnu.org>
4218
4219 Sync with upstream vhdl mode v3.36.1.
4220 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4221 (vhdl-compiler-alist): Anchor all error regexps.
4222 (vhdl-compile-use-local-error-regexp): Change default to nil.
4223 (vhdl-asort, vhdl-anot-head-p): Remove.
4224 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
4225 Remove optional argument of vhdl-aget and update all callers.
4226 (vhdl-import-project): Also set `vhdl-compiler'.
4227
4228 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4229
4230 * files.el (find-files): New function.
4231
4232 * net/shr.el (shr-dom-print): Don't print comments.
4233 (shr-tag-svg): Give inline SVG images the right type.
4234
4235 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
4236 certificates in the header line.
4237 (eww-invalid-certificate, eww-valid-certificate): New faces.
4238
4239 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
4240
4241 * progmodes/python.el (inferior-python-mode):
4242 Set `comint-prompt-read-only` to `t` only locally.
4243
4244 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4245
4246 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
4247 (nsm-format-certificate): Include more data about the connection.
4248 (nsm-query): Fill the text to that it looks nicer.
4249 (nsm-check-protocol): Also warn if using SSL3 or older.
4250
4251 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
4254
4255 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
4256
4257 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
4258
4259 * info.el (Info-mode-map): Remove left-over binding.
4260
4261 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4262 (avl-tree--root): Remove redundant defsetf.
4263
4264 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
4266 * net/nsm.el (network-security-level): Remove the detailed
4267 description, which was already outdated, and refer the users to
4268 the manual.
4269 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4270 (bug#19153).
4271
4272 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
4273
4274 * net/eww.el (eww-buffers-mode): New major mode.
4275 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4276 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4277 New commands/functions (bug#19131).
4278
4279 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4280
4281 * net/gnutls.el (gnutls-negotiate): Ignore files found via
4282 'file-name-handler-alist' since the gnutls library can't use those
4283 (bug#15866).
4284
4285 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
4286
4287 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4288 when FILES is non-nil (bug#19304).
4289
4290 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
4291
4292 * vc/vc-arch.el: Move to obsolete directory so a test framework
4293 won't trip over bit-rot in it. There has been no Arch snapshot
4294 for nine years.
4295
4296 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4297
4298 * net/eww.el (eww-follow-link): Revert prefix behaviour to
4299 previous behavior.
4300 (eww-copy-page-url): Add doc string.
4301
4302 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4303
4304 * net/eww.el (eww): Move history recording here...
4305 (eww-browse-url): ... from here (bug#19253).
4306
4307 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4308 iterating over possible buffer names.)
4309
4310 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4311
4312 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4313 (eww-current-buffer): Compilation fix for bug#18550 patch.
4314
4315 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4316
4317 * net/eww.el (eww-list-histories): Restore the history in the
4318 correct buffer (bug#18550).
4319
4320 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4321
4322 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4323 displaying shortened titles first (bug#16398).
4324
4325 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4326
4327 * progmodes/python.el: Recognize docstrings.
4328 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4329 New functions.
4330 (python-mode): Use them.
4331
4332 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4333
4334 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4335 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4336 (newsticker--treeview-create-groups-menu)
4337 (newsticker--treeview-create-tree-menu): Remove.
4338 (newsticker--treeview-tree-open-menu): New.
4339 (newsticker-treeview-tree-click): Pass event to
4340 `newsticker-treeview-tree-do-click'.
4341 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4342
4343 2014-12-05 Juri Linkov <juri@linkov.net>
4344
4345 * comint.el (comint-history-isearch-search)
4346 (comint-history-isearch-wrap): Use field-beginning instead of
4347 comint-line-beginning-position.
4348 (comint-send-input): Go to the end of the field instead of the end
4349 of the line to accept whole multi-line input.
4350 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4351
4352 2014-12-05 Juri Linkov <juri@linkov.net>
4353
4354 * minibuffer.el (minibuffer-completion-help):
4355 Compare selected-window with minibuffer-window to check whether
4356 completions should be displayed near the minibuffer. (Bug#17809)
4357 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4358
4359 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * vc/vc-mtn.el (vc-mtn-root):
4362 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4363
4364 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4367 of the whole pipe when indenting an opening keyword after a |.
4368 Generalize this treatment to opening keywords like "while" (bug#18031).
4369
4370 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * simple.el (newline): Place the hook buffer-locally,
4373 to make sure it's first.
4374
4375 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4376 Fix handling of symbols with different syntax at beginning/end or with
4377 symbol rather than word syntax.
4378
4379 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4380
4381 * simple.el (line-move): If noninteractive, call line-move-1, not
4382 forward-line, since the former is compatible with line-move-visual
4383 both in terms of the column to which it moves and the return
4384 value. (Bug#19211)
4385
4386 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * vc/ediff-init.el (ediff-odd-p): Remove.
4389 (ediff-background-face): Use cl-oddp instead.
4390 (ediff-buffer-live-p): Make it a defsubst.
4391
4392 * tooltip.el (tooltip-region-active-p): Remove.
4393
4394 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4395 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4396
4397 * fringe.el (fringe-bitmap-p): Make it a plain function.
4398
4399 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4400 (class-p, generic-p, eieio-object-p, class-abstract-p):
4401 Make them defsubst, so as to avoid corner case problems where
4402 the arg might be evaluated in the condition-case, or it can't be passed
4403 to higher-order functions like `cl-some'.
4404
4405 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4406
4407 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4408 and remove old menu-related code.
4409
4410 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
4412 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4413 display PDF files (bug#19270).
4414
4415 2014-12-05 Juri Linkov <juri@linkov.net>
4416
4417 Compare with the most recent window by default.
4418 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4419 (compare-windows-get-recent-window)
4420 (compare-windows-get-next-window): New functions.
4421 (compare-windows, compare-windows-sync-default-function):
4422 Use `compare-windows-get-window-function' instead of `next-window'.
4423 (compare-windows): Add diff/match messages with region boundaries.
4424 (Bug#19170)
4425
4426 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4429
4430 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4431
4432 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4433
4434 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4435
4436 Implement copying of a buffer portion while preserving visual order.
4437 * simple.el (bidi-directional-controls-chars)
4438 (bidi-directional-non-controls-chars): New variables.
4439 (squeeze-bidi-context-1, squeeze-bidi-context)
4440 (line-substring-with-bidi-context)
4441 (buffer-substring-with-bidi-context): New functions.
4442
4443 * files.el (file-tree-walk): Doc fix.
4444
4445 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4446 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4447
4448 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4449 program support to match more extensions. Replace non-alnum
4450 characters when generating include guards (headers) and check for
4451 more extensions when generating includes (programs)
4452 (bug#19254).
4453
4454 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4455
4456 * files.el (file-tree-walk): Fix docstring.
4457
4458 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4459
4460 Fix bug whereby saving files hung in VC hook.
4461
4462 Saving a buffer visiting a file under SVN control would hang if
4463 the remote repository were unreachable, because the VC hooks tried
4464 to run "svn status -u" on the file, where the "-u" tells svn to
4465 get update information from the remote repository.
4466 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4467
4468 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4469 argument and always pass "-v" to "svn status", never "-u".
4470
4471 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * emacs-lisp/inline.el: Fix up copyright header.
4474 (inline-quote, inline-const-p, inline-const-val, inline-error):
4475 Silence compiler warnings.
4476 (inline-letevals): Fix edebug spec.
4477 (inline--testconst-p): Consider lambda expressions as const-p.
4478 (inline--getconst-val): Use inline--testconst-p.
4479
4480 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4481 and change default to stay in the minibuffer when called from
4482 the minibuffer (bug#19250).
4483 (lazy-completion-table): Use this new argument to preserve the
4484 old behavior.
4485
4486 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4487 incorrect lexical elements (bug#19250).
4488
4489 2014-12-03 A. N. Other <none@example.com>
4490
4491 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4492
4493 2014-12-02 Glenn Morris <rgm@gnu.org>
4494
4495 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4496
4497 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4498
4499 * subr.el (filter): New macro. Because it's just silly for a Lisp
4500 not to have this in 2014. And VC needs it.
4501
4502 * vc.el: All backends: API simplification: Abolish dir-status.
4503 It's replaced by dir-status-files.
4504
4505 * vc.el: All backends: API simplification: Remove 4th
4506 'default-state' argument from vc-dir-status files and its backend
4507 methods - no backend method ever set it. It was used only in the
4508 fallback method to to set a default of 'up-to-date, though a
4509 convoluted call chain obscured this.
4510
4511 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4512
4513 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4514 improving behavior on directories using multiple file-oriented VCSes.
4515
4516 * vc/vc.el: All backends: API simplification; clear-headers
4517 is no longer a public method. It is now local to the one place
4518 it's used, in the RCS steal-lock method.
4519
4520 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4521
4522 * vc/vc.el: In all backends: API simplification; could-register
4523 is no longer a public method. (vc-cvs.el still has a private
4524 implementation.)
4525
4526 * vc/vc.el: In all backends: API cleanup; the backend diff method
4527 takes an explicit async flag. This eliminates a particularly ugly
4528 global.
4529
4530 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4531 VC randomly/unpredictably fails without it; cause not yet established.
4532
4533 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 Merge some of the differences from the standalone CC-mode.
4536 The main change is to only use the `category' text-property only when
4537 available. For that many calls are changed to use c-get-char-property,
4538 c-next-single-property-change, c-sc-scan-lists,
4539 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4540
4541 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4542 (c-basic-common-init): Initialize it.
4543 (c-common-init): Only use mode-require-final-newline when available.
4544 (c-before-change): Check and set c-just-done-before-change.
4545 (c-after-change): Re-set c-just-done-before-change.
4546 (c-advise-fl-for-region): New macro.
4547 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4548 (font-lock-after-change-function, jit-lock-after-change):
4549 Advise if needed.
4550
4551 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4552 (c-known-type-key): Don't make a list just to throw it away.
4553
4554 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4555 Handle the case where categories are not available.
4556 (c-record-parse-state-state, c-replay-parse-state-state):
4557 Handle marker values.
4558 (c-before-change-check-<>-operators): Look for the `syntax-table'
4559 property rather than for the corresponding `category'.
4560 (c-looking-at-decl-block): Remove unused var
4561 `c-disallow-comma-in-<>-arglists'.
4562 (c-forward-<>-arglist-recur): Remove unused var
4563 `orig-record-found-types'.
4564
4565 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4566 (c-use-category): New const.
4567 (c-next-single-property-change): New macro.
4568 (c-region-is-active-p): Prefer region-active-p when available.
4569 (c-search-backward-char-property): Fix old min/max typo; probably
4570 a copy/paste error.
4571 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4572 Turn them into macros that obey c-use-category.
4573 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4574 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4575 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4576 (c-looking-at-non-alphnumspace): New macros.
4577 (c-sc-parse-partial-sexp-no-category): New function.
4578 (c-emacs-features): Add `category-properties' element.
4579
4580 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4581 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4582 not available.
4583 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4584 (c-indent-line-or-region): Use c-region-is-active-p.
4585
4586 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4587 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4588 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4589 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4590 (cc-bytecomp-obsolete-fun): Delete unused functions.
4591
4592 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4593
4594 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
4596 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4597 dom.el changes.
4598
4599 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4602 current "project" rather than just the current directory.
4603 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4604 the file names make sense.
4605
4606 * vc/smerge-mode.el (smerge-swap): New command.
4607
4608 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4609
4610 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4611
4612 * net/newst-treeview.el (newsticker--treeview-item-show):
4613 Check window liveliness before measuring its width.
4614
4615 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4616 Pass correct status to `newsticker--sentinel-work'.
4617 (newsticker--sentinel-work): Use "newsticker--download-error" as
4618 guid in order to prevent multiple "Could not download..."
4619 messages. (Bug#19166)
4620
4621 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4622
4623 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4624 correct buffer (bug#19225).
4625
4626 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4627
4628 * net/nsm.el (network-security-level): Change the default to `medium'.
4629
4630 * net/eww.el (eww): Leave point in a place that doesn't cause
4631 scrolling when displaying "Loading...".
4632
4633 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4634
4635 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4636 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4637 'merge-branch'. Prompting for merge revisions is pushed down to
4638 the back ends; this fixes a layering violation that caused bad
4639 behavior with SVN.
4640
4641 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4642 vc-stay-local-p and repository-hostname are no longer public
4643 methods. Only the CVS and SVN backends used these, and the SVN
4644 support was conditioned out because svn status -v is too slow.
4645 The CVS back end retains this machinery and the vc-stay-local
4646 configuration variable now only affects it.
4647
4648 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * emacs-lisp/inline.el: New file.
4651
4652 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4653
4654 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4655 vc-state-heuristic is no longer a public method, having been
4656 removed where it is redundant, unnecessary, or known buggy.
4657 This eliminated all backends except CVS. Eliminates bug#7850.
4658
4659 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4660 Eliminate vc-mistrust-permissions. It was only relevant to the
4661 RCS and SCCS back ends and defaulted to t. Code now always
4662 mistrusts permissions - by actual measurement the effect on
4663 performance is negligible. As a side effect bug#11490 is now
4664 irrelevant.
4665
4666 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4667 vc-workfile-unchanged-p is no longer a public method (but the RCS
4668 and SCCS back ends retain it as a private method used in state
4669 computation). This method was redundant with vc-state and usually
4670 implemented as a trivial call to same. Fixes the failure mode
4671 described in bug#694.
4672
4673 * vc/vc.el: All backends: API simplification; init-revision is
4674 gone, and vc-registered functions no longer take an
4675 initial-revision argument.
4676
4677 2014-11-29 Glenn Morris <rgm@gnu.org>
4678
4679 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4680 (vc-src-master-templates): Fix :version tags.
4681
4682 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4683
4684 * outline.el (outline-move-subtree-down): Refactor and improve code.
4685
4686 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4687 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * outline.el (outline-move-subtree-down): Make sure we can move
4690 forward to find the end of the subtree and the insertion point
4691 (bug#19102).
4692
4693 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4694
4695 * progmodes/python.el (python-shell-completion-setup-code):
4696 Use __builtin__ module (or builtins in Python 3) and catch all errors
4697 when importing readline and rlcompleter.
4698
4699 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4700
4701 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4702 (todo-revert-buffer): New function.
4703 (todo-modes-set-1): Use it as the buffer-local value of
4704 revert-buffer-function.
4705
4706 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4707
4708 * calendar/todo-mode.el (todo-mode): If called interactively, just
4709 display a message saying to call todo-show to enter Todo mode
4710 (Bug#19112).
4711
4712 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4713
4714 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4715 (Bug#18579)
4716
4717 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4718 files. (Bug#18579)
4719
4720 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4721
4722 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4723 remote `buffer-file-name'.
4724
4725 2014-11-29 Leo Liu <sdl.web@gmail.com>
4726
4727 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4728
4729 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4730
4731 Set PYTHONUNBUFFERED on shell startup.
4732
4733 * progmodes/python.el (python-shell-unbuffered): New var.
4734 (python-shell-calculate-process-environment): Use it.
4735
4736 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4737
4738 * net/tramp.el (tramp-action-password): Clean password on subsequent
4739 attempts even if there was no wrong password indication. (Bug#19047)
4740
4741 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4742 fallback.
4743 (tramp-open-connection-setup-interactive-shell): No need to check
4744 for nil as `tramp-get-remote-locale' return value.
4745
4746 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4747
4748 * vc/vc-git.el (vc-git-command, vc-git--call):
4749 Bind coding-system-for-read and coding-system-for-write to
4750 vc-git-commits-coding-system.
4751 (vc-git-previous-revision): Use "~1" instead of "^", since the
4752 latter is a special character for MS-Windows system shells.
4753
4754 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4755
4756 Improve XEmacs compatibility.
4757
4758 * net/tramp.el (tramp-autoload-file-name-handler):
4759 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4760 exist in XEmacs.
4761 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4762 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4763 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4764 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4765 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4766 * net/tramp-cache.el (tramp-get-file-property):
4767 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4768 Use `time-less-p' and `time-subtract, respectively.
4769
4770 * net/tramp-adb.el (top): Do not require time-date.el.
4771
4772 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4773
4774 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4775 Check, whether `utf-8' is a valid coding system.
4776
4777 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4778
4779 * vc/vc.el (vc-retrieve-tag): Doc fix.
4780
4781 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4784 (bug#19152).
4785
4786 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4787
4788 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4789 * help.el (help-window-old-frame): New variable.
4790 (help-window-select): Default to nil (Bug#11039).
4791 Rewrite doc-string.
4792 (help-window-setup): When the help window appears on another
4793 frame and `help-window-select' is non-nil, give that frame input
4794 focus too (Bug#19012).
4795 (with-help-window): Store selected frame in
4796 help-window-old-frame.
4797
4798 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4799
4800 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4801 nil value for `newsticker-groups-filename'.
4802
4803 2014-11-28 Daiki Ueno <ueno@gnu.org>
4804
4805 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4806 (epa-sign-region, epa-encrypt-region):
4807 Use `epg-context-set-{passphrase,progress}-callback', instead of
4808 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4809 Reported by José A. Romero L.
4810
4811 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4812
4813 * net/eww.el (eww-restore-history):
4814 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4815
4816 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4817
4818 * net/newst-backend.el (newsticker--parse-atom-1.0):
4819 Handle embedded (x)html in summary node.
4820
4821 2014-11-27 Sam Steingold <sds@gnu.org>
4822
4823 * menu-bar.el (menu-bar-open): When everything else fails,
4824 use (mouse-menu-bar-map).
4825
4826 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4827
4828 * net/newst-treeview.el (newsticker-groups-filename):
4829 Change default value to nil. Point out that variable is obsolete in doc
4830 string.
4831 (newsticker--treeview-load): Change wording of the questions the
4832 user is asked when `newsticker-groups-filename' is found to be
4833 used and we offer to read and remove the groups file. (Bug#19165)
4834
4835 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4836
4837 * net/eww.el (eww): Record the new URL immediately, so that if the
4838 HTTP fetch fails, we have the right URL in the buffer.
4839 (eww-process-text-input): Don't shorten the input field if
4840 deleting at the last character (bug#19085).
4841 (eww-restore-history): Inhibit change functions while restoring
4842 the history.
4843 (eww-process-text-input): Fix deletion at the start of the field, too.
4844 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4845 (eww-process-text-input): Try to keep track of the size more reliably.
4846
4847 * dom.el (dom-pp): New function.
4848
4849 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4850
4851 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4852 Don't assume --long is the default for "bzr log", always specify
4853 it explicitly, in case the user defined an alias for 'log' that
4854 uses some other format.
4855
4856 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4857
4858 * progmodes/python.el (python-eldoc--get-doc-at-point):
4859 Strip shell output before returning. (bug#18794)
4860
4861 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4862
4863 Fix indentation before `!=' and after `+='. Originally reported
4864 in https://github.com/mooz/js2-mode/issues/174.
4865 * progmodes/js.el (js--indent-operator-re): Make assignments and
4866 (in)equality operator a separate case.
4867 (js--continued-expression-p): Escape the second `+' in the regexp.
4868
4869 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4872
4873 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4874
4875 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4876 when querying about new certificates.
4877
4878 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4879
4880 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4881 can be strings.
4882 (dom-elements): Protect against non-text nodes.
4883 (dom-non-text-children): New function.
4884
4885 * net/eww.el (eww-tag-title): Use `dom-text'.
4886
4887 2014-11-26 Sam Steingold <sds@gnu.org>
4888
4889 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4890
4891 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4892
4893 * net/eww.el (eww-highest-readability): More dom.el fixes.
4894
4895 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4896
4897 * net/newst-backend.el (newsticker--parse-generic-items):
4898 Take care of UIDs when adding elements to cache.
4899
4900 2014-11-26 Alan Mackenzie <acm@muc.de>
4901
4902 Remove spurious reference to symbol category_properties.
4903 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4904
4905 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4906
4907 * net/eww.el: Use the new dom.el accessors throughout.
4908
4909 * net/shr.el: Ditto.
4910
4911 * dom.el: New file.
4912
4913 2014-11-26 Glenn Morris <rgm@gnu.org>
4914
4915 * arc-mode.el (archive-visit-single-files): Add :version.
4916
4917 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918
4919 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4920 elements.
4921 (nsm-warnings-ok-p): The new version of this function always
4922 returned nil when everything was OK.
4923
4924 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4925
4926 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4927
4928 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4929 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4930
4931 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4932
4933 * emacs-lisp/byte-run.el (function-put): Match argument names to
4934 docstring.
4935
4936 2014-11-24 Sam Steingold <sds@gnu.org>
4937
4938 * vc/vc-hooks.el (vc-directory-exclusion-list):
4939 Fix a trivial typo (bug#19171).
4940
4941 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * vc/vc-hooks.el (vc-state-base-face): Don't override
4944 mode-line-inactive.
4945
4946 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4947
4948 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4949 (eww-process-text-input): Inhibit read only so that input fields
4950 don't get shortened (bug#19085).
4951
4952 2014-11-24 Leo Liu <sdl.web@gmail.com>
4953
4954 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4955
4956 * window.el (with-temp-buffer-window)
4957 (with-current-buffer-window, with-displayed-buffer-window):
4958 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4959 * emacs-lisp/cl-lib.el (substring):
4960 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4961
4962 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4963
4964 * isearch.el (isearch-update): Don't assume
4965 pos-visible-in-window-p will return nil when point is hscrolled
4966 out of view. (Bug#19157)
4967
4968 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4969
4970 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4971 (eww-follow-link): Follow in new buffer in case of prefix
4972 argument, open externally with double prefix (bug#19130).
4973
4974 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4975
4976 * net/eww.el (eww-display-html): Decode the document-defined charset.
4977 (eww): Pop to the *eww* buffer immediately after executing the
4978 `M-x eww' command to avoid having buffers pop up later.
4979 (eww-display-html): Don't pop the *eww* buffer.
4980 (eww-display-raw): Ditto.
4981 (eww-display-image): Ditto.
4982 (eww-follow-link): Make going to #targets in the page work again.
4983
4984 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4985
4986 * net/eww.el (eww-suggest-uris): New variable.
4987 (eww-suggested-uris): New function.
4988 (eww): Default to URL under point.
4989 (eww-links-at-point): New function.
4990
4991 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4992
4993 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4994
4995 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4996
4997 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4998
4999 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5000
5001 * net/eww.el (eww-set-character-encoding): New command and keystroke.
5002 (eww-display-raw): Use it (bug#16225).
5003
5004 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005
5006 * net/nsm.el (network-security-level): Rename from
5007 `nsm-security-level' and documented.
5008
5009 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
5010 we're sending a password.
5011
5012 * net/nsm.el: New file that implements a Network Security Manager.
5013
5014 * net/network-stream.el (open-network-stream): Add a new
5015 :warn-unless-encrypted parameter.
5016 (network-stream-open-plain): Allow warning unless encrypted.
5017 (network-stream-open-starttls): Call the Network Security Manager.
5018 (network-stream-open-tls): Ditto.
5019
5020 2014-11-23 Leo Liu <sdl.web@gmail.com>
5021
5022 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
5023 (calendar-chinese-to-absolute-for-diary)
5024 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
5025 Handle leap months in Chinese calendar. (Bug#18953)
5026
5027 2014-11-22 Alan Mackenzie <acm@muc.de>
5028
5029 Fix error with `mark-defun' and "protected:" in C++ Mode.
5030 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
5031 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
5032
5033 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
5034
5035 * net/newst-backend.el (newsticker--sentinel-work):
5036 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
5037
5038 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
5041 (tramp-sh-handle-process-file): Propagate `process-environment'.
5042
5043 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
5044 Tramp propagates environment variables now.
5045
5046 2014-11-22 Eric S. Raymond <esr@snark>
5047
5048 * vc/vc-filewise.el: New file to isolate code used only by the
5049 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
5050 live in vc.el and certainly not in vc-hooks.el.
5051
5052 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
5053 This is preparatory to isolating all the 'master' functions
5054 used only by the file-oriented back ends. With this done first,
5055 the substantive diffs will be easier to read.
5056
5057 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5058
5059 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
5060 that is recognized by `help-mode'.
5061
5062 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * desktop.el (desktop-create-buffer): Use activate-mark to set
5065 `mark-active' (bug#19058).
5066
5067 2014-11-21 Eric S. Raymond <esr@snark>
5068
5069 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
5070 nil state.
5071
5072 2014-11-21 Eli Zaretskii <eliz@gnu.org>
5073
5074 * vc/vc.el (vc-deduce-fileset): Support invocation from
5075 *vc-change-log* buffer. (Bug#19084)
5076
5077 2014-11-13 Matthew Leach <matthew@mattleach.net>
5078
5079 * arc-mode.el (archive-visit-single-files): New.
5080 (archive-mode): Visit file if archive contains a single file.
5081 (Bug#1702)
5082
5083 2014-11-21 Ulrich Müller <ulm@gentoo.org>
5084
5085 * vc/vc.el: Fix a typo in the commentary.
5086
5087 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
5088
5089 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
5090 testing and a real log-view mode.
5091
5092 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
5093 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
5094 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
5095 checkout methods; where it matters (which is only in SCCS and RCS)
5096 files are always checked out editable. This may actually have
5097 been dynamically true already - it looks like the vc-next-action
5098 code evolved past visiting the other case. Tested with RCS.
5099
5100 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
5101 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
5102 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
5103 argument from the backend checkin methods. Only the RCS, SCCS,
5104 and CVS back ends tried to do anything with it, and that code was
5105 never exercised. Chiseling away the cruft of decades...
5106
5107 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5108
5109 * net/eww.el (eww-render): Remove a no-op :title setting.
5110
5111 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5112
5113 * net/eww.el (eww-history-limit): New variable.
5114 (eww-save-history): Use it (bug#19105).
5115 (eww-reload): Reload the page in the right buffer.
5116
5117 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5118
5119 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
5120
5121 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5122
5123 * net/eww.el (eww-desktop-remove-duplicates)
5124 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
5125 (eww-mode): Set up desktop mode (bug#18010).
5126 (eww-desktop-data-save, eww-desktop-data-1)
5127 (eww-desktop-history-duplicate, eww-desktop-misc-data)
5128 (eww-restore-desktop): New functions.
5129
5130 2014-11-19 Eli Zaretskii <eliz@gnu.org>
5131
5132 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
5133 correct buffer. (Bug#19101)
5134
5135 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5136
5137 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
5138 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
5139
5140 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
5141
5142 * ido.el (ido-bury-buffer-at-head): New command.
5143 (ido-buffer-completion-map): Bind it to C-S-b.
5144
5145 2014-11-18 Juri Linkov <juri@linkov.net>
5146
5147 * simple.el (next-line-or-history-element): Wrap next-line
5148 in with-no-warnings.
5149 (previous-line-or-history-element): Wrap previous-line
5150 in with-no-warnings.
5151
5152 2014-11-18 Juri Linkov <juri@linkov.net>
5153
5154 * progmodes/grep.el (grep-compute-defaults):
5155 Compute grep-highlight-matches before its use.
5156
5157 2014-11-18 Juri Linkov <juri@linkov.net>
5158
5159 * replace.el (query-replace-from-to-separator): Turn defvar into
5160 defcustom. Wrap char-displayable-p in ignore-errors because an
5161 attempt to autoload char-displayable-p fails during pre-loading.
5162 Move (propertize "\0" ... 'separator t) out of customizable part
5163 to query-replace-read-from.
5164 (query-replace-read-from): Call custom-reevaluate-setting on
5165 query-replace-from-to-separator to reevaluate the separator
5166 depending on the return value of char-displayable-p.
5167 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
5168
5169 2014-11-18 Juri Linkov <juri@linkov.net>
5170
5171 * bindings.el (minibuffer-local-map): Rebind [down] from
5172 next-history-element to next-line-or-history-element, and [up]
5173 from previous-history-element to previous-line-or-history-element.
5174
5175 * simple.el (next-line-or-history-element)
5176 (previous-line-or-history-element): New commands.
5177 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
5178
5179 2014-11-18 Leo Liu <sdl.web@gmail.com>
5180
5181 * emacs-lisp/nadvice.el (define-advice): New macro.
5182 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5183 Add define-advice.
5184 (lisp-font-lock-keywords-1): Add define-advice.
5185
5186 2014-11-18 Daiki Ueno <ueno@gnu.org>
5187
5188 * epg.el (epg-context): New slot EDIT-CALLBACK.
5189 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
5190 (epg-reset): Reset EDIT-CALLBACK of the context.
5191 (epg-start-edit-key): New function.
5192 (epg-edit-key): New function.
5193
5194 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
5195
5196 Port new time stamp handling to Emacs 23.2.
5197 This fix is for Gnus. Reported by Katsumi Yamaoka.
5198 * calendar/time-date.el (time-add, time-subtract, time-less-p):
5199 Use eval-and-compile, not eval-when-compile.
5200
5201 2014-11-18 Daiki Ueno <ueno@gnu.org>
5202
5203 * epg.el (epg-context-set-passphrase-callback)
5204 (epg-context-set-progress-callback): Check if the CALLBACK
5205 argument is a function, instead of a cons.
5206
5207 2014-11-18 Daiki Ueno <ueno@gnu.org>
5208
5209 * epa-file.el (epa-file-insert-file-contents)
5210 (epa-file-write-region): Remove redundant check of
5211 epa-pinentry-mode.
5212 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5213 (epa-sign-region, epa-encrypt-region): Remove redundant check of
5214 epa-pinentry-mode.
5215
5216 2014-11-18 Daiki Ueno <ueno@gnu.org>
5217
5218 * epa-file.el (epa-file-insert-file-contents): Don't show
5219 "*Error*" buffer if input file does not exist.
5220 Reported by Herbert J. Skuhra.
5221
5222 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
5223 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5224
5225 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
5226 An alternative version of the patch from bug#13871.
5227 (c-operators): Add "alignof".
5228 (c-primitive-type-kwds): Add "char16_t", "char32_t".
5229 (c-type-modifier-kwds): Add "constexpr", "noexcept".
5230 (c-modifier-kwds): Add "thread_local".
5231 (c-constant-kwds): Add "nullptr".
5232
5233 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
5234
5235 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
5236 New variables for specifying tildify pattern and representation of
5237 a hard space -- a no-break space by default -- respectively.
5238 Being buffer-local they are much easier to handle than
5239 `tildify-string-alist' and `tildify-pattern-alist' respectively
5240 that have been used so far. They also works better with derived
5241 modes.
5242 (tildify-foreach-region-function): New variable specifying
5243 a function determining portions of buffer that should be
5244 tildified. It allows major modes to create a filtering function
5245 more elaborate than a set of regular expressions. Initialized to
5246 `tildify--deprecated-ignore-evironments' by default to handle now
5247 deprecated `tildify-ignored-environments-alist' variable.
5248 (tildify--foreach-region): A new function that takes
5249 `tildify-foreach-region-function' into account and calls callback
5250 for regions of the buffer that should be tildified.
5251 (tildify-foreach-ignore-environments): A new function which can be
5252 partially applied and used as `tildify-foreach-region-function'.
5253 (tildify-ignored-environments-alist, tildify-pattern)
5254 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
5255 (tildify--find-env): Rename from `tildify-find-env' and mark as
5256 obsolete.
5257 (tildify--deprecated-ignore-evironments): New function,
5258 immediately marked as obsolete, used to handle deprecated
5259 `tildify-ignored-environments-alist'.
5260
5261 * textmodes/tex-mode.el (tex-common-initialization):
5262 Set `tildify-space-string' and `tildify-foreach-region-function'
5263 variables in all variants of TeX mode since `tildify-string-alist'
5264 and `tildify-ignored-environments-alist' are now empty by default.
5265
5266 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5267 If encoding supports it use no-break space instead of character
5268 entity; this changes previous default which used a numeric
5269 reference.
5270
5271 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5272 If encoding does not support no-break space, use numeric reference;
5273 this changes previous default which used named entity (“&nbsp;”)
5274 in HTML mode.
5275
5276 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
5277
5278 * calendar/icalendar.el (icalendar-export-alarms):
5279 New customizable variable. (Bug#5433)
5280 (icalendar-export-region): Export alarms as specified in
5281 `icalendar-export-alarms'.
5282 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5283 New functions for exporting alarms.
5284
5285 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5286
5287 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5288
5289 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
5290
5291 Port new time stamp handling to old Emacs and to XEmacs.
5292 This is needed for Gnus, which copies time-date.el and which
5293 runs on older Emacs implementations.
5294 * calendar/time-date.el (with-decoded-time-value):
5295 Handle 'nil' and floating-point arg more compatibly with new Emacs.
5296 (encode-time-value, with-decoded-time-value):
5297 Obsolete only if new Emacs.
5298 (time-add, time-subtract, time-less-p): Define if not new Emacs.
5299
5300 Improve time stamp handling, and be more consistent about it.
5301 This implements a suggestion made in:
5302 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5303 Among other things, this means timer.el no longer needs to
5304 autoload the time-date module.
5305 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5306 * arc-mode.el (archive-ar-summarize):
5307 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5308 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5309 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5310 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5311 * proced.el (proced-time-lessp):
5312 * timezone.el (timezone-time-from-absolute):
5313 * type-break.el (type-break-schedule, type-break-time-sum):
5314 Simplify by using new functionality.
5315 * calendar/cal-dst.el (calendar-next-time-zone-transition):
5316 Do not return time values in obsolete and undocumented (HI . LO)
5317 format; use (HI LO) instead.
5318 * calendar/time-date.el (with-decoded-time-value):
5319 Treat 'nil' as current time. This is mostly for XEmacs.
5320 (encode-time-value, with-decoded-time-value): Obsolete.
5321 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5322 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
5323 * ldefs-boot.el: Update to match new time-date.el
5324 * proced.el: Do not require time-date.
5325
5326 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5327
5328 * net/eww.el (eww-mode): Make the buffer read-only.
5329 (eww-form-text): Inhibit read-only-ness in text input fields
5330 (bug#16476).
5331
5332 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * simple.el (execute-extended-command--shorter): Cut search here.
5335 (execute-extended-command): Instead of here.
5336
5337 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5338
5339 * progmodes/python.el (python-mode): Avoid use of set-local to
5340 keep Emacs 24.x compatibility.
5341
5342 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5343
5344 * net/shr.el (shr): Move to the new defgroup `web'.
5345
5346 * net/eww.el (eww): Ditto.
5347
5348 * simple.el (execute-extended-command): Don't show the help
5349 message if the binding isn't significantly shorter than the
5350 M-x command the user typed (bug#19013).
5351
5352 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5353
5354 * calendar/icalendar.el (icalendar--convert-tz-offset):
5355 Return complete cons when offsets of standard time and daylight saving
5356 time are equal.
5357 (icalendar-export-region): Fix unbound variable warning.
5358
5359 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5360
5361 * progmodes/python.el (run-python): Allow CMD to be optional and
5362 default it to a safe command, even for Windows. (bug#18596)
5363
5364 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5365
5366 * progmodes/python.el (python-shell-calculate-command):
5367 Rename from python-shell-parse-command. Cleanup.
5368 (run-python, run-python-internal): Use it.
5369 (python-shell-calculate-pythonpath): Rename from
5370 python-new-pythonpath.
5371 (python-shell-calculate-process-environment): Use it.
5372 (python-shell-calculate-exec-path): Add comment.
5373
5374 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5375
5376 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5377 for date handling.
5378
5379 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5380
5381 * version.el (emacs-repository-get-version): Use git rev-parse
5382 instead of git log.
5383
5384 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5385
5386 * progmodes/python.el (python-indent-calculate-levels):
5387 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5388
5389 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5390
5391 * progmodes/python.el (python-indent-region):
5392 Use python-indent-line and skip special cases. (Bug#18843)
5393
5394 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5395
5396 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5397 envelope-from when reporting through sendmail (bug#19054).
5398
5399 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5400
5401 Add faces for the VC modeline state indicator.
5402 * vc/vc-hooks.el:
5403 (vc-state-faces, vc-state-base-face)
5404 (vc-up-to-date-state, vc-needs-update-state)
5405 (vc-locked-state, vc-locally-added-state)
5406 (vc-conflict-state, vc-removed-state)
5407 (vc-missing-state, vc-edited-state):
5408 New faces.
5409 (vc-default-mode-line-string): Use them
5410
5411 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5414
5415 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5416
5417 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5418
5419 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5420
5421 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5422 type checks, simplify printing. (Bug#18962)
5423
5424 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5425
5426 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5427 (python-shell-font-lock-with-font-lock-buffer)
5428 (python-shell-get-buffer, python-ffap-module-path):
5429 Use `derived-mode-p' instead of equality test on `major-mode'.
5430
5431 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5432
5433 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5434 python-shell-virtualenv-path.
5435 (python-shell-internal-get-process-name)
5436 (python-shell-calculate-process-environment)
5437 (python-shell-calculate-exec-path): Use it.
5438
5439 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5440
5441 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5442 bindings.el, since it is not yet loaded when bindings.el is
5443 preloaded.
5444
5445 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5446
5447 * progmodes/python.el (python-shell-completion-get-completions):
5448 Fix previous merge.
5449
5450 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5451
5452 * net/eww.el (eww-render): Don't set the title to the URL.
5453
5454 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5455
5456 * version.el (emacs-repository-get-version): Call `git log'
5457 command with proper format argument (bug#19049).
5458
5459 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
5461 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5462
5463 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5464
5465 * net/eww.el (eww-search-words): New command (bug#16258).
5466
5467 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5468
5469 * net/shr.el (shr-inhibit-images): Add a doc string.
5470
5471 * net/eww.el (eww-after-render-hook): New variable.
5472 (eww-render): Use it.
5473
5474 * net/shr.el (shr-descend): Don't descend further than
5475 `max-specpdl-size' allows (bug#16587).
5476 (shr-depth): New variable.
5477 (shr-warning): New variable.
5478
5479 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5480
5481 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5482 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5483
5484 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5485
5486 * net/eww.el (eww): Add comment to clarify.
5487
5488 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5489 external SVG images.
5490 (shr-tag-object): Display images in <object> forms (bug#16244).
5491 (shr-tag-table): Also insert <objects> after the tables.
5492
5493 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5494
5495 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5496
5497 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5498
5499 * net/eww.el (eww-form-file): Fix version number.
5500
5501 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5502
5503 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5504
5505 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5506
5507 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5508 (eww-submit-file): New key map of file upload.
5509 (eww-form-file): New file upload button and file name context.
5510 (eww-select-file): Select file and display selected file name.
5511 (eww-tag-input): Handle input tag of file type.
5512 (eww-update-field): Add point offset.
5513 (eww-submit): Add submit with multipart/form-data.
5514
5515 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5516
5517 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5518 Allow taking a buffer to render data in. This allows using several
5519 eww buffers (bug#16211).
5520
5521 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5522
5523 * net/eww.el (eww-download-callback): Save only the file contents,
5524 not the headers.
5525
5526 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5527
5528 * net/eww.el (eww-data): New plist to store all the data relevant
5529 to a single page, used throughout the file instead of the
5530 variables `eww-current-url', `eww-current-dom',
5531 `eww-current-source', and `eww-current-title'.
5532 (eww-readable): Copy over pertinent data from the parent page.
5533 (eww-save-history): Don't let the history grow infinitely.
5534
5535 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5536 `eww-up-url', `eww-home-url', `eww-start-url' and
5537 `eww-contents-url' and put the data into the `eww-data' plist.
5538 This allow restoring these values after going back in the history.
5539
5540 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5541
5542 Allow VTIMEZONE where daylight and standard time zones are equal.
5543 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5544 * calendar/icalendar.el (icalendar--convert-tz-offset):
5545 Support timezone without daylight saving time.
5546
5547 2014-11-10 Glenn Morris <rgm@gnu.org>
5548
5549 * startup.el (command-line): Handle nil elements in load-path.
5550
5551 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * help.el (view-lossage): Include the actual commands run.
5554
5555 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5556
5557 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5558 no state is specified. (Bug#18964)
5559
5560 2014-11-09 Eric Ludlam <zappo@gnu.org>
5561
5562 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5563 Set eieio-cog (current group) to g, which is an improved form of input
5564 group.
5565
5566 2014-11-09 Juri Linkov <juri@jurta.org>
5567
5568 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5569 "Multi-buffer" instead of "Multi". (Bug#13592)
5570
5571 * misearch.el (multi-isearch-file-list):
5572 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5573 (multi-isearch-end): Reset multi-isearch-buffer-list and
5574 multi-isearch-file-list to nil.
5575
5576 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5579 Don't call byte-compile-preprocess since the result will go through
5580 cconv.
5581 (byte-compile-output-docform): Handle uninterned `name' correctly.
5582 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5583 to circumvent byte-compiler bug.
5584
5585 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5586 (macroexp--compiler-macro): Remove left-over debug code.
5587
5588 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5589
5590 2014-11-08 Juri Linkov <juri@jurta.org>
5591
5592 * simple.el (shell-command): Use buffer-name when output-buffer is
5593 a buffer. (Bug#18096)
5594
5595 2014-11-08 Juri Linkov <juri@jurta.org>
5596
5597 * minibuffer.el (minibuffer-completion-help): Compare this-command
5598 with completion-at-point. (Bug#17809)
5599
5600 2014-11-08 Glenn Morris <rgm@gnu.org>
5601
5602 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5603 Allow the argument to be a string. Due to the vague doc,
5604 it was already being used this way.
5605
5606 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5609 the constructed Tramp file name. (Bug#18943)
5610
5611 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5614 (bug#18952).
5615 (cua-set-mark, cua--post-command-handler-1):
5616 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5617
5618 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * files.el (file-name-non-special): Wrap the call of
5621 `insert-file-contents' by `unwind-protect', in order to set the
5622 buffer's file name anyway. (Bug#18891)
5623
5624 2014-11-08 Alan Mackenzie <acm@muc.de>
5625
5626 Fix wrong bound to c-font-lock-declarators.
5627 * progmodes/cc-fonts.el (c-font-lock-declarations):
5628 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5629 the buffer is sometimes narrowed to less than "limit" (e.g., in
5630 the presence of macros). (Bug#18948)
5631
5632 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5633
5634 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5635 only when message appeared in minibuffer. (Bug#18891)
5636
5637 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5638 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5639 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5640 case of errors.
5641
5642 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5645 Don't compile before eval in `eval-and-compile'.
5646 (byte-compile-arglist-warn): Add check for defining macros after their
5647 first use. Check call use even if the function is fboundp.
5648
5649 2014-11-08 Richard Stallman <rms@gnu.org>
5650
5651 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5652 Check more carefully for mime-part specified character set.
5653 Check for mime-part Content Transfer Encoding.
5654 Notify if no armor found.
5655
5656 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5657
5658 * faces.el (face-set-after-frame-default): Enable running
5659 `window-configuration-change-hook'.
5660
5661 2014-11-07 Juri Linkov <juri@jurta.org>
5662
5663 * replace.el: History for query replace pairs.
5664 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5665 (query-replace-from-to-separator): New variable.
5666 (query-replace-read-from): Let-bind query-replace-from-to-history
5667 to a list of FROM-TO strings created from query-replace-defaults
5668 and separated by query-replace-from-to-separator. Use it as
5669 the history while reading from the minibuffer. Split the returned
5670 string by the separator to get FROM and TO parts, and add them
5671 to the history variables.
5672 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5673 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5674 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5675
5676 * isearch.el (isearch-text-char-description): Keep characters
5677 intact and put formatted strings with the `display' property.
5678
5679 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5680
5681 * cus-start.el (frame-resize-pixelwise): Fix group.
5682 (frame-inhibit-implied-resize): Add entry.
5683
5684 2014-11-07 Daiki Ueno <ueno@gnu.org>
5685
5686 * epa.el (epa-pinentry-mode): New user option.
5687 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5688 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5689 * epa-file.el (epa-file-insert-file-contents)
5690 (epa-file-write-region): Respect epa-pinentry-mode.
5691
5692 2014-11-07 Daiki Ueno <ueno@gnu.org>
5693
5694 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5695 (bug#18979). Reported by Hideki Saito.
5696
5697 2014-11-06 Daiki Ueno <ueno@gnu.org>
5698
5699 * emacs-lisp/package.el (package--display-verify-error): New function.
5700 (package--check-signature): Use it to display output sent to stderr.
5701
5702 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * subr.el (pop): Don't call the getter twice (bug#18968).
5705
5706 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5707 uses of `funcall'.
5708
5709 2014-11-06 Daiki Ueno <ueno@gnu.org>
5710
5711 * epa.el (epa-error-buffer): New variable.
5712 (epa-display-error): New function.
5713 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5714 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5715 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5716 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5717 Use setf instead of epg-context-set-*.
5718 * epa-file.el (epa-file-insert-file-contents):
5719 Use epa-display-error instead of epa-display-info. Mimic the behavior
5720 of jka-compr when decryption program is not found.
5721 (epa-file-write-region): Use epa-display-error instead of
5722 epa-display-info.
5723
5724 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * vc/vc.el (vc-region-history): New command.
5727 (vc-print-log-internal): Use cl-some.
5728
5729 * vc/vc-git.el (vc-git-region-history): New function.
5730 (vc-git-region-history-mode-map)
5731 (vc-git--log-view-long-font-lock-keywords)
5732 (vc-git-region-history-font-lock-keywords): New vars.
5733 (vc-git-region-history-font-lock): New function.
5734 (vc-git-region-history-mode): New major mode.
5735
5736 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5737
5738 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5739 uses string-trim.
5740
5741 2014-11-05 Daiki Ueno <ueno@gnu.org>
5742
5743 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5744 (epg-error-output): New buffer-local variable.
5745 (epg--start): Initialize epg-error-output.
5746 (epg--process-filter): Record output lines sent to stderr, in
5747 epg-error-output.
5748 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5749 slot of context.
5750 * epa-file.el (epa-file-insert-file-contents): On error, display
5751 output sent to stderr.
5752 (epa-file-write-region): Likewise.
5753
5754 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5755
5756 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5757 returned by load-average.
5758
5759 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5762 a local copy; setting `inhibit-file-name-handlers' proper might be
5763 more performant. (Bug#18751)
5764
5765 2014-11-05 Glenn Morris <rgm@gnu.org>
5766
5767 * mail/emacsbug.el (report-emacs-bug): No longer include
5768 recent-keys in the report. (Bug#18900)
5769
5770 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5771
5772 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5773
5774 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5775
5776 * net/eww.el (eww): Trim URL with `string-trim'.
5777 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5778
5779 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5780
5781 * net/eww.el (eww-score-readability): Don't count comments positively.
5782
5783 * net/shr.el (shr-retransform-dom): Typo fix.
5784
5785 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5786 (eww-display-html): Don't leave point inside forms.
5787
5788 * net/shr.el: Ditto.
5789
5790 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5793 edebug-prin1-to-string already handles circularity.
5794
5795 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5796 autoloading when specified as a lambda.
5797
5798 * simple.el (execute-extended-command--last-typed): New var.
5799 (read-extended-command): Set it.
5800 Don't complete obsolete commands.
5801 (execute-extended-command--shorter-1)
5802 (execute-extended-command--shorter): New functions.
5803 (execute-extended-command): Use them to suggest shorter names.
5804 (indicate-copied-region, deactivate-mark): Use region-active-p.
5805
5806 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5807
5808 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5809 local copy of FILENAME, when it is remote. (Bug#18751)
5810
5811 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5812 an error when the command fails; the return code must indicate.
5813 (tramp-adb-send-command-and-check): Fix docstring.
5814
5815 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
5817 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5818 have no children like <br />.
5819
5820 * net/eww.el (eww-display-html): Clear `url-queue'.
5821 (eww-display-pdf): New function.
5822 (eww-render): Display PDFs with `doc-view'.
5823 (url-queue): Require `url-queue' to avoid compilation warning.
5824 (eww-colorize-region): Remove duplicate function.
5825 (eww-tag-body): Use `shr-colorize-region'.
5826
5827 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5828
5829 * net/eww.el (eww-list-bookmarks): Autoload.
5830
5831 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5832
5833 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5834
5835 * net/eww.el (eww-display-html): The charset is called `utf-8',
5836 not `utf8'.
5837 (eww-readable): Decode the saved text correctly.
5838 (eww-readable): Save the history before displaying so that we can
5839 go back to the non-readable version.
5840 (eww-display-html): Don't try to decode the text if we've been
5841 passed in a pre-parsed DOM.
5842 (eww-tag-title): Remove newlines and extra whitespace from the
5843 displayed title.
5844
5845 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5846
5847 * net/eww.el (eww-readable): New command and keystroke.
5848
5849 * net/shr.el (shr-retransform-dom): New function.
5850
5851 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5852 correct buffer.
5853 (eww-view-source): Use it.
5854
5855 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5856
5857 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5858 (Bug#18603).
5859
5860 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5861
5862 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5863
5864 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5865
5866 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5867
5868 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5869
5870 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5871 (Bug#18834).
5872
5873 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5874
5875 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5876 use as advice.
5877 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5878
5879 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5882 (bug#18821).
5883 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5884
5885 2014-11-01 Michael R. Mauger <michael@mauger.com>
5886
5887 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5888 syntax, add new keywords, and parse longer keywords first.
5889 (sql-redirect-one): Protect against empty command.
5890 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5891 to SQL. (Bug#14759)
5892
5893 2014-11-01 Michael R. Mauger <michael@mauger.com>
5894
5895 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5896 Bug#16814 with let-bind of comint-input-ring variables around read
5897 and save functions.
5898
5899 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5900
5901 * net/tramp-cache.el (tramp-get-file-property)
5902 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5903 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5904 be compiler warnings.
5905
5906 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5907 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5908
5909 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5910
5911 * progmodes/compile.el (compilation-mode): Turn off deferred
5912 fontifications locally. (Bug#18856)
5913
5914 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5915
5916 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5917 remote-echo connection property is non-nil (bug#18858).
5918
5919 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * simple.el (newline): Add assertions to try and help catch bug#18913.
5922
5923 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5924 (bug#18886).
5925 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5926
5927 2014-11-01 Kim F. Storm <storm@cua.dk>
5928
5929 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5930 * delsel.el (delete-selection-save-to-register)
5931 (delsel--replace-text-or-position): New vars.
5932 (delete-active-region): Use them.
5933 (delete-selection-repeat-replace-region): New command, moved from
5934 cua-base.el.
5935 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5936 (cua-repeat-replace-region): Move command to delsel.el.
5937 (cua--init-keymaps): Update binding accordingly.
5938 (cua-mode): Set delete-selection-save-to-register.
5939
5940 2014-11-01 Alan Mackenzie <acm@muc.de>
5941
5942 Make blink-parens work with a closing template delimiter.
5943 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5944 before calling blink-paren-function, so as to apply syntax-table
5945 properties to the ">".
5946
5947 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5948
5949 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5950
5951 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5954 (macroexp--expand-all): Unrelated tweaks.
5955
5956 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5957
5958 2014-10-30 Glenn Morris <rgm@gnu.org>
5959
5960 * startup.el (command-line): Remove pointless attempt to avoid
5961 statting the file-system (which expand-file-name doesn't do).
5962
5963 2014-10-30 Daniel Colascione <dancol@dancol.org>
5964
5965 Add "enum class" support to C++ mode.
5966 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5967 (c-after-brace-list-key): New language consts/variables.
5968 * progmodes/cc-engine.el (c-looking-at-decl-block):
5969 Exclude spurious match of "enum struct" from decl-block recognition.
5970 (c-backward-colon-prefixed-type): New function.
5971 (c-backward-over-enum-header): Call above function to extend
5972 recognition of enum structure.
5973
5974 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5977 (c-lang-defconst):
5978 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5979
5980 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5981
5982 * progmodes/compile.el (compilation-start):
5983 If compilation-scroll-output is non-nil, don't force window-start of
5984 the compilation buffer to be at beginning of buffer. (Bug#18874)
5985
5986 * startup.el (fancy-about-text): Read the entire tutorial, not
5987 just its first 256 bytes. (Bug#18760)
5988
5989 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5992 * emacs-lisp/cl-extra.el: Add missing provide.
5993
5994 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5995 all args are copyable (bug#18767).
5996 (=, <, >, <=, >=): Re-enable the optimization.
5997
5998 2014-10-29 Glenn Morris <rgm@gnu.org>
5999
6000 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
6001
6002 * version.el (emacs-bzr-version, emacs-bzr-get-version):
6003 Revert 2014-10-26 change.
6004
6005 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
6006
6007 Simplify use of current-time and friends.
6008 * allout-widgets.el (allout-widgets-hook-error-handler):
6009 * calendar/appt.el (appt-display-message):
6010 * calendar/icalendar.el (icalendar--convert-float-to-ical):
6011 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
6012 (timeclock-last-period, timeclock-day-base):
6013 * eshell/em-ls.el (eshell-ls-file):
6014 * eshell/esh-util.el (eshell-parse-ange-ls):
6015 * generic-x.el (named-database-print-serial):
6016 * net/newst-backend.el (newsticker--get-news-by-url-callback)
6017 (newsticker-get-news, newsticker--sentinel-work)
6018 (newsticker--image-get, newsticker--image-sentinel):
6019 * net/tramp-sh.el (tramp-get-remote-touch):
6020 * progmodes/opascal.el (opascal-debug-log):
6021 * textmodes/remember.el (remember-mail-date)
6022 (remember-store-in-files):
6023 * vc/vc-annotate.el (vc-annotate-display-autoscale)
6024 (vc-default-annotate-current-time):
6025 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
6026 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
6027 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
6028 Omit unnecessary call to current-time.
6029 * calendar/time-date.el (time-to-seconds) [!float-time]:
6030 * vc/vc-annotate.el (vc-annotate-convert-time):
6031 Use current time if arg is nil, to be compatible with float-time.
6032 (time-date--day-in-year): New function, with most of the guts of
6033 the old time-to-day-in-year.
6034 (time-to-day-in-year): Use it.
6035 (time-to-days): Use it, to avoid decoding the same time stamp twice.
6036 * calendar/timeclock.el (timeclock-time-to-date):
6037 Arg is now optional, like current-time-string.
6038 (timeclock-update-mode-line):
6039 Don't call current-time twice to get the current time stamp,
6040 as this can lead to inconsistent results.
6041 * completion.el (cmpl-hours-since-origin):
6042 * ido.el (ido-time-stamp):
6043 * vc/vc-annotate.el (vc-annotate-convert-time):
6044 Simplify by using float-time.
6045 * completion.el (save-completions-to-file):
6046 Rename local var to avoid confusion.
6047 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
6048 time-to-seconds now behaves like float-time with respect to nil arg.
6049 * subr.el (progress-reporter-do-update):
6050 Don't call float-time unless needed.
6051
6052 2014-10-29 Leo Liu <sdl.web@gmail.com>
6053
6054 * net/rcirc.el (rcirc-fill-column): Use function.
6055 (rcirc-markup-fill): Remove adjustment.
6056
6057 2014-10-28 Christopher Schmidt <ch@ristopher.com>
6058
6059 * calc/calc.el (quick-calc):
6060 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
6061
6062 2014-10-28 Sam Steingold <sds@gnu.org>
6063
6064 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
6065 the sake of `window-body-width' (in addition to `frame-width').
6066
6067 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
6068
6069 * version.el: Fix some fallback values to conform to the actual
6070 release number.
6071
6072 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
6073
6074 * Makefile.in: Change some production names so they're neutral
6075 about the repository type.
6076
6077 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
6078
6079 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
6080 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
6081 during initialization. (Bug#18774)
6082
6083 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
6084
6085 * ses.el (macroexp): Add require for this package, so that
6086 function `ses--cell' gets macroexp-quote --- this change was
6087 supposed to be in my previous commit, but left out by mistake.
6088 (ses--cell): Do not make formula a macroexp-quote of value when
6089 value, not formula, is *skip*.
6090
6091 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6092
6093 * ses.el (macroexp): Add require for this package, so that function
6094 `ses--cell gets macroexp-quote.
6095 (ses--cell): Makes formula a macroexp-quote of value when formula
6096 is nil. The rationale of this changr is to allow in the future
6097 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
6098 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
6099 reference list REFLIST would be re-computed after load --- thus
6100 trading off load time against file size.
6101
6102 * emacs-lisp/package.el (package--alist-to-plist-args):
6103 Use macroexp-quote instead of a lambda expression which has the same
6104 content as macroexp-quote.
6105 (macroexp): Add require for this package, so that function
6106 `package--alist-to-plist-args' gets macroexp-quote.
6107
6108 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
6109
6110 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * term/ns-win.el (ns-store-cut-buffer-internal)
6113 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
6114
6115 2014-10-24 Martin Rudalics <rudalics@gmx.at>
6116
6117 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
6118 Calculate increment from last position instead of window edge.
6119 Add right- and bottom-divider bindings to transient map.
6120
6121 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
6124 even if :predicate was nil, for the benefit of typep.
6125 Record the name of the predicate for typep's use.
6126 (cl--make-type-test): Use pcase. Obey new
6127 cl-deftype-satisfies property.
6128
6129 * epg.el: Use cl-defstruct.
6130 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
6131 (epg-data-string): Define via cl-defstruct.
6132 (epg--gv-nreverse): New macro.
6133 (epg-context--make): New constructor (provided vi cl-defstruct).
6134 (epg-make-context): Rewrite using it.
6135 (epg-context-protocol, epg-context-program)
6136 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
6137 (epg-context-include-certs, epg-context-cipher-algorithm)
6138 (epg-context-digest-algorithm, epg-context-compress-algorithm)
6139 (epg-context-passphrase-callback, epg-context-progress-callback)
6140 (epg-context-signers, epg-context-sig-notations, epg-context-process)
6141 (epg-context-output-file, epg-context-result, epg-context-operation)
6142 (epg-context-pinentry-mode): Define using cl-defstruct.
6143 (epg-context-set-protocol, epg-context-set-program)
6144 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
6145 (epg-context-set-digest-algorithm)
6146 (epg-context-set-sig-notations, epg-context-set-process)
6147 (epg-context-set-output-file, epg-context-set-result)
6148 (epg-context-set-operation, epg-context-set-pinentry-mode)
6149 (epg-context-set-compress-algorithm): Remove. Use setf instead.
6150 (epg-context-set-armor, epg-context-set-textmode)
6151 (epg-context-set-signers): Redefine using setf
6152 and declare as obsolete.
6153 (epg-context-set-passphrase-callback)
6154 (epg-context-set-progress-callback): Use setf.
6155 (epg-signature-notations): Rename from epg-sig-notations.
6156 (epg-make-signature, epg-signature-status, epg-signature-key-id)
6157 (epg-signature-validity, epg-signature-fingerprint)
6158 (epg-signature-creation-time, epg-signature-expiration-time)
6159 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
6160 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
6161 (epg-signature-set-status, epg-signature-set-key-id)
6162 (epg-signature-set-validity, epg-signature-set-fingerprint)
6163 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
6164 (epg-signature-set-pubkey-algorithm)
6165 (epg-signature-set-digest-algorithm, epg-signature-set-class)
6166 (epg-signature-set-version, epg-signature-set-notations): Remove.
6167 Use setf instead.
6168 (epg-make-new-signature, epg-new-signature-type)
6169 (epg-new-signature-pubkey-algorithm)
6170 (epg-new-signature-digest-algorithm, epg-new-signature-class)
6171 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
6172 Define using cl-defstruct.
6173 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
6174 (epg-key-user-id-list): Define using cl-defstruct.
6175 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
6176 Use setf instead.
6177 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
6178 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
6179 (epg-sub-key-id, epg-sub-key-creation-time)
6180 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
6181 cl-defstruct.
6182 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
6183 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
6184 (epg-user-id-signature-list): Define using cl-defstruct.
6185 (epg-user-id-set-signature-list): Remove. Use setf instead.
6186 (epg-make-key-signature, epg-key-signature-validity)
6187 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
6188 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
6189 (epg-key-signature-user-id, epg-key-signature-class)
6190 (epg-key-signature-exportable-p): Define using cl-defstruct.
6191 (epg-make-sig-notation, epg-sig-notation-name)
6192 (epg-sig-notation-value, epg-sig-notation-human-readable)
6193 (epg-sig-notation-critical): Define using cl-defstruct.
6194 (epg-sig-notation-set-value): Remove. Use setf instead.
6195 (epg-make-import-status, epg-import-status-fingerprint)
6196 (epg-import-status-reason, epg-import-status-new)
6197 (epg-import-status-user-id, epg-import-status-signature)
6198 (epg-import-status-sub-key, epg-import-status-secret): Define using
6199 cl-defstruct.
6200 (epg-make-import-result, epg-import-result-considered)
6201 (epg-import-result-no-user-id, epg-import-result-imported)
6202 (epg-import-result-imported-rsa, epg-import-result-unchanged)
6203 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
6204 (epg-import-result-new-signatures, epg-import-result-new-revocations)
6205 (epg-import-result-secret-read, epg-import-result-secret-imported)
6206 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
6207 (epg-import-result-imports): Define using cl-defstruct.
6208
6209 * emacs-lisp/package.el: Require EPG during macroexpansion.
6210 (package--check-signature, package-import-keyring): Use setf instead of
6211 epg-context-set-home-directory.
6212
6213 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
6216
6217 2014-10-23 Leo Liu <sdl.web@gmail.com>
6218
6219 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
6220 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
6221 (cfengine3-current-defun): New function.
6222 (cfengine3-mode): Set add-log-current-defun-function.
6223
6224 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * select.el: Use lexical-binding.
6227 (gui-set-selection): Provide an implementation for non-GUI frames
6228 (bug#18791).
6229 * term/x-win.el: Use lexical-binding.
6230 (x-clipboard-yank): Fix up missed renamings.
6231 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
6232 (w32--set-selection): Fix up var names.
6233 * term/pc-win.el: Use lexical-binding.
6234 (w16-selection-exists-p): Silence compiler warning.
6235 (w16-selection-owner-p): Fix up missed renamings.
6236
6237 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
6238
6239 * frame.el (frame-notice-user-settings): Fix excessive quoting.
6240
6241 2014-10-22 Tassilo Horn <tsdh@gnu.org>
6242
6243 * doc-view.el (doc-view-open-text): View the document's plain text
6244 in the current buffer instead of a new one.
6245 (doc-view-toggle-display): Handle the case where the current
6246 buffer contains the plain text contents of the document.
6247 (doc-view-initiate-display): Don't switch to fallback mode if the
6248 user wants to view the doc's plain text.
6249 (doc-view-set-doc-type): Use assoc-string instead of
6250 assoc-ignore-case.
6251
6252 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * subr.el (read-key): Fix clicks on the mode-line.
6255 (set-transient-map): Return exit function.
6256
6257 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
6258 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
6259 (mouse-yank-secondary): Use gui-get-selection.
6260 (mouse--down-1-maybe-follows-link): Use read-key.
6261
6262 * xt-mouse.el: Add `event-kind' property on the fly from
6263 xterm-mouse-translate-1 rather than statically at the outset.
6264
6265 2014-10-21 Daniel Colascione <dancol@dancol.org>
6266
6267 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6268 change window configuration when we turn it off.
6269
6270 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 Get rid of backend-dependent selection-handling functions for kill/yank
6273 and make it generic instead by relying on the lower-level selection
6274 management functions.
6275
6276 * select.el (select-enable-clipboard): Rename from
6277 gui-select-enable-clipboard.
6278 (select-enable-primary): Move from x-win.el and rename from
6279 x-select-enable-primary.
6280 (gui-last-selected-text): Remove.
6281 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6282 New vars.
6283 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6284 (gui-select-text-alist, gui-selection-value-alist): Remove.
6285 (x-select-request-type): Move from x-win.el.
6286 (gui--selection-value-internal): New function, taken from x-win's
6287 x-selection-value-internal.
6288 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6289 (gui-set-selection-alist): Rename from gui-own-selection-alist and
6290 extend it to handle a nil value as a "disown" request.
6291 (gui-disown-selection-alist): Remove.
6292 (xselect-convert-to-delete): Adjust accordingly.
6293 (gui-set-selection): Simplify accordingly as well. Use dotimes.
6294
6295 * term/x-win.el (x-last-selected-text-primary)
6296 (x-select-enable-primary): Remove (moved to select.el).
6297 (x-select-request-type): Move to select.el.
6298 (x-selection-value-internal, x--selection-value): Remove functions.
6299 (gui-selection-value, gui-select-text): Remove moethods.
6300 (gui-set-selection): Merge own and disown methods.
6301
6302 * term/w32-win.el (w32--select-text, w32--get-selection-value):
6303 Delete function (move functionality into w32--set-selection and
6304 w32--get-selection).
6305 (gui-select-text, gui-selection-value): Don't define methods.
6306 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6307 New functions.
6308 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6309 Use them.
6310 (gui-selection-exists-p): Adjust to new name of C primitive.
6311
6312 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6313 test of gui-select-enable-clipboard, to make it usable as
6314 a gui-get-selection method.
6315 (gui-selection-exists-p): Adjust to new name of C primitive.
6316 (gui-set-selection): Merge own and disown methods.
6317 (gui-select-text, gui-selection-value): Delete methods.
6318 (w16--select-text): Delete function.
6319
6320 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6321 (ns-selection-value): Remove functions.
6322 (gui-select-text, gui-selection-value): Don't define method any more.
6323 (gui-set-selection): Merge the old own and disown methods.
6324 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6325 underlying C primitive.
6326
6327 * startup.el (command-line): Adjust now that `gui-method' expects nil
6328 for ttys.
6329
6330 * frame.el (gui-method): Use window-system rather than framep.
6331 (gui-method-declare): The tty case is now nil rather than t.
6332 (make-frame): Adjust accordingly.
6333
6334 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * net/newst-reader.el (newsticker--image-read): Simplify.
6337 (newsticker--icon-read): Use dolist and fix free var error.
6338
6339 * imenu.el (imenu--menubar-keymap): New var.
6340 (imenu-add-to-menubar): Set it to remember the keymap we used.
6341 (imenu-update-menubar): Use it instead of asking lookup-key.
6342
6343 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6344
6345 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6346
6347 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6348 case (bug#18767).
6349
6350 2014-10-21 Glenn Morris <rgm@gnu.org>
6351
6352 * Merge in all changes up to version 24.4 release.
6353
6354 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6357 case (bug#18767).
6358
6359 2014-10-20 Glenn Morris <rgm@gnu.org>
6360
6361 * Merge in all changes up to 24.4 release.
6362
6363 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6364
6365 * net/newst-backend.el
6366 (newsticker--image-download-by-url-callback): Make this function
6367 actually work: Check status properly, then save image.
6368
6369 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6372 `this-event'.
6373 (mouse-drag-line): Unless there's no actual mouse, use the event's
6374 position info.
6375
6376 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * textmodes/css-mode.el (scss-mode): New major-mode.
6379 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6380 (css-ident-re): Allow things like @-moz-keyframes.
6381 (scss--hash-re): New const.
6382 (css--font-lock-keywords): New function, extracted from
6383 css-font-lock-keywords.
6384
6385 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6386
6387 * net/newst-backend.el: Require url-parse.
6388 (newsticker--get-news-by-wget): Store feed name as process property.
6389 (newsticker--sentinel): Read feed name from process property.
6390 (newsticker--sentinel-work): Rename argument name to feed-name.
6391 Rename variable imageurl to image-url. Pick icon url from Atom
6392 1.0 data. Launch download of feed icon.
6393 (newsticker--get-icon-url-atom-1.0): New.
6394 (newsticker--unxml)
6395 (newsticker--unxml-node)
6396 (newsticker--unxml-attribute): Documentation.
6397 (newsticker--icons-dir): New.
6398 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6399 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6400 (newsticker--image-download-by-wget): New. Use process properties
6401 for storing informations.
6402 (newsticker--image-sentinel): Read informations from process properties.
6403 (newsticker--image-save)
6404 (newsticker--image-remove)
6405 (newsticker--image-download-by-url)
6406 (newsticker--image-download-by-url-callback): New.
6407 (newsticker-opml-export): Handle url list entries containing a
6408 function instead of an url string.
6409
6410 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6411 (newsticker--print-extra-elements)
6412 (newsticker--do-print-extra-element):
6413 Documentation (newsticker--image-read): Optionally limit image height.
6414 Use imagemagick if possible.
6415 (newsticker--icon-read): New.
6416
6417 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6418 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6419 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6420 (newsticker--tree-widget-leaf-icon): Use feed icon.
6421
6422 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6425 Use help-function-arglist instead.
6426
6427 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6428 (eieio--with-scoped-class): Use `declare'.
6429 (eieio-defclass): Remove compatibility code.
6430 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6431 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6432
6433 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6434
6435 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6436
6437 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6438 replacements to stock names before stock names in a list.
6439 Cdr may be a list, each name is tried in turn until one is found.
6440
6441 2014-10-18 Alan Mackenzie <acm@muc.de>
6442
6443 Check that a "macro" found near point-min isn't a ## operator.
6444 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6445 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6446
6447 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6448
6449 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6450 correct data to `gnutls-boot' (Bug#18664).
6451 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6452
6453 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6454
6455 * whitespace.el (whitespace-style, whitespace-big-indent)
6456 (whitespace-big-indent-regexp, whitespace-style-value-list)
6457 (whitespace-toggle-option-alist, whitespace-interactive-char)
6458 (whitespace-toggle-options)
6459 (global-whitespace-toggle-options, whitespace-help-text)
6460 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6461 style to `whitespace-mode' to indicate that the line indentation
6462 is too deep. By default, 32 SPACEs or four TABs are considered
6463 too many but `whitespace-big-indent-regexp' can be configured.
6464
6465 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6466
6467 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6468 tildify-mode-alist.
6469
6470 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6473 (defclass, defgeneric, defmethod): Add doc-string position.
6474 (with-slots): Require cl-lib.
6475
6476 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6477 (list-of): New type.
6478 (eieio--typep): Remove.
6479 (eieio-perform-slot-validation): Use cl-typep instead.
6480
6481 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6482
6483 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6484
6485 2014-10-16 Alan Mackenzie <acm@muc.de>
6486
6487 Trigger showing when point is in the "periphery" of a line or just
6488 inside a paren.
6489 * paren.el (show-paren-style, show-paren-delay)
6490 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6491 Remove superfluous :group specifications.
6492 (show-paren-when-point-inside-paren)
6493 (show-paren-when-point-in-periphery): New customizable variables.
6494 (show-paren-highlight-openparen): Make into a defcustom.
6495 (show-paren--unescaped-p, show-paren--categorize-paren)
6496 (show-paren--locate-near-paren): New defuns.
6497 (show-paren--default): Refaactor and trigger on more paren
6498 positions.
6499 (show-paren-function): Small consequential changes.
6500
6501 2014-10-16 Tom Tromey <tom@tromey.com>
6502
6503 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6504 (bug #18719).
6505
6506 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6507
6508 * international/characters.el (bracket-type): Force pre-loading of
6509 uni-brackets.el.
6510
6511 2014-10-16 Alan Mackenzie <acm@muc.de>
6512
6513 * cus-edit.el (custom-command-apply): Specify the return value in
6514 the doc string.
6515 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6516 custom-command-apply has returned non-nil.
6517
6518 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6521 Remove incorrect handling of eldoc-print-after-edit.
6522 (eldoc-message-commands, eldoc-last-data): Use defvar.
6523 * loadup.el (emacs-lisp/eldoc): Load it.
6524
6525 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6526 (m4-mode): Use it.
6527 (m4--quoted-p): New function.
6528 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6529 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6530 for most special characters.
6531
6532 * progmodes/compile.el (compilation--previous-directory): Simplify.
6533 (compilation-next-error): Ensure the parse before we look at
6534 compilation-message property.
6535
6536 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6537
6538 * simple.el (what-cursor-position):
6539 * descr-text.el (describe-char): Update to support the new bidi
6540 characters.
6541
6542 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6543 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6544 buffer-menu display when the first buffer happens to start with
6545 R2L letter.
6546
6547 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * progmodes/elisp-mode.el (elisp--local-variables-1):
6550 Handle quoted expressions (bug#18688).
6551
6552 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6553 Michael Albinus <michael.albinus@gmx.de>
6554
6555 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6556 Reduce the amount of set environment variable commands.
6557
6558 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6559
6560 Fix import completion. (Bug#18582)
6561 * progmodes/python.el (python-shell-completion-get-completions):
6562 Fix import case regexp.
6563
6564 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6567 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6568 * progmodes/prolog.el (prolog-electric--underscore): Same.
6569
6570 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6573
6574 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6575
6576 * cus-start.el (all): Add missing ns and boolean to
6577 ns-use-fullscreen-animation.
6578
6579 2014-10-11 Leo Liu <sdl.web@gmail.com>
6580
6581 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6582 Use strings.
6583 (cfengine3-create-imenu-index): New function.
6584 (cfengine3-mode): Use it for `imenu-create-index-function'.
6585 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6586 buffer is empty.
6587
6588 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6589
6590 * cus-start.el (all): Add ns-use-fullscreen-animation.
6591
6592 2014-10-11 Glenn Morris <rgm@gnu.org>
6593
6594 * calendar/diary-lib.el (diary-display-function):
6595 Drop support for deprecated nil and list forms.
6596 (diary-list-entries): Update for the above.
6597 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6598
6599 2014-10-10 Leo Liu <sdl.web@gmail.com>
6600
6601 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6602 (Bug#18656)
6603
6604 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * select.el (gui-selection-exists-p-alist): New method.
6607 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6608 * simple.el (deactivate-mark): Use it.
6609 * term/x-win.el (gui-selection-exists-p):
6610 * term/w32-win.el (gui-selection-exists-p):
6611 * term/pc-win.el (gui-selection-exists-p):
6612 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6613
6614 2014-10-10 Glenn Morris <rgm@gnu.org>
6615
6616 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6617 Fix :type. Allow t to mean no limit.
6618 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6619
6620 2014-10-09 Glenn Morris <rgm@gnu.org>
6621
6622 * frame.el (display-monitor-attributes-list): Doc tweaks.
6623
6624 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6625
6626 * faces.el (display-grayscale-p): Mention in the doc string that
6627 the argument can be either a display name or a frame.
6628
6629 * frame.el (display-pixel-height, display-pixel-width)
6630 (display-mm-height, display-mm-width, display-backing-store)
6631 (display-save-under, display-planes, display-color-cells)
6632 (display-visual-class, display-monitor-attributes-list)
6633 (display-screens): Mention in the doc string that the argument can
6634 be either a display name or a frame. Improve the docs of the
6635 monitor attributes. (Bug#18636)
6636
6637 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6638
6639 * term.el (term-window-width): Subtract 1 from the width when
6640 any fringe has zero width, not just the right fringe. (Bug#18601)
6641
6642 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6645
6646 2014-10-08 Leo Liu <sdl.web@gmail.com>
6647
6648 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6649
6650 2014-10-08 Glenn Morris <rgm@gnu.org>
6651
6652 * calendar/cal-x.el (calendar-dedicate-diary):
6653 Drop support for recently deleted aliases.
6654
6655 2014-10-08 Leo Liu <sdl.web@gmail.com>
6656
6657 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6658 Always return a syntax. Replace call-process-shell-command with
6659 process-file. Ensure cfengine-mode-syntax-functions-regex is
6660 always set. Ensure cache when cfengine-cf-promises fails.
6661 (Bug#18620)
6662
6663 2014-10-07 Glenn Morris <rgm@gnu.org>
6664
6665 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6666
6667 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6668
6669 Sync with upstream verilog-mode revision c075a492.
6670 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6671 (verilog-menu): Add AUTOINSERTLAST.
6672 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6673 is nil, fix indenting initial/final to match always statements, bug825.
6674 Reported by Tim Clapp.
6675 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6676 bug557. Reported by ZeDong Mao and Jason Forkey.
6677 (verilog-read-decls): Fix parsing typed interfaces.
6678 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6679 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6680 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6681 Reported by Pierre-David Pfister.
6682 (verilog-auto-insert-lisp): Doc fix.
6683 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6684 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6685 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6686 (verilog-sk-uvm-component): Fix missing string keyword in class
6687 skeletons, bug824. Reported by eldad faruhi.
6688
6689 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * term/w32-win.el: Move all code from 32-common-fns.el here.
6692 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6693 console as well (bug#18629).
6694 * w32-common-fns.el: Remove.
6695 * loadup.el: Don't load w32-common-fns.el.
6696 * w32-fns.elc: Don't require w32-common-fns.
6697
6698 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6699 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6700 Remove redundant obsolescence thingy.
6701 * loadup.el: Don't load obsolete/loaddefs.el.
6702 * Makefile.in (obsolete-autoloads): Remove.
6703 (AUTOGENEL): Remove obsolete/loaddefs.el.
6704
6705 2014-10-06 Glenn Morris <rgm@gnu.org>
6706
6707 * Makefile.in (obsolete-autoloads): Write to a separate file,
6708 to workaround autoloads bug. (Bug#17407)
6709 (AUTOGENEL): Add obsolete/loaddefs.el.
6710 * loadup.el: Load obsolete/loaddefs.el if present.
6711 * subr.el (do-after-load-evaluation):
6712 Don't warn about obsolete/loaddefs.el.
6713
6714 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6715 It has zero relationship to a game.
6716
6717 2014-10-06 Leo Liu <sdl.web@gmail.com>
6718
6719 * imenu.el (imenu): Re-write for clarity.
6720
6721 2014-10-06 Glenn Morris <rgm@gnu.org>
6722
6723 Remove calendar code obsolete since at least version 23.1.
6724 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6725 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6726 (calendar-goto-bahai-date, list-bahai-diary-entries)
6727 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6728 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6729 (insert-yearly-bahai-diary-entry):
6730 * calendar/cal-china.el (chinese-calendar-time-zone)
6731 (chinese-calendar-location-name)
6732 (chinese-calendar-daylight-time-offset)
6733 (chinese-calendar-standard-time-zone-name)
6734 (chinese-calendar-daylight-time-zone-name)
6735 (chinese-calendar-daylight-savings-starts)
6736 (chinese-calendar-daylight-savings-ends)
6737 (chinese-calendar-daylight-savings-starts-time)
6738 (chinese-calendar-daylight-savings-ends-time)
6739 (chinese-calendar-celestial-stem)
6740 (chinese-calendar-terrestrial-branch)
6741 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6742 (calendar-goto-chinese-date):
6743 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6744 (calendar-print-coptic-date, coptic-prompt-for-date)
6745 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6746 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6747 * calendar/cal-french.el (calendar-absolute-from-french)
6748 (calendar-print-french-date, calendar-goto-french-date):
6749 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6750 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6751 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6752 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6753 (holiday-passover-etc, holiday-tisha-b-av-etc)
6754 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6755 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6756 (insert-monthly-hebrew-diary-entry)
6757 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6758 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6759 (diary-sabbath-candles):
6760 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6761 (calendar-print-islamic-date, calendar-goto-islamic-date)
6762 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6763 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6764 (insert-monthly-islamic-diary-entry)
6765 (insert-yearly-islamic-diary-entry):
6766 * calendar/cal-iso.el (calendar-absolute-from-iso)
6767 (calendar-print-iso-date, calendar-iso-read-args)
6768 (calendar-goto-iso-date, calendar-goto-iso-week):
6769 * calendar/cal-julian.el (calendar-absolute-from-julian)
6770 (calendar-print-julian-date, calendar-goto-julian-date)
6771 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6772 (calendar-goto-astro-day-number):
6773 * calendar/cal-mayan.el (calendar-print-mayan-date)
6774 (calendar-next-haab-date, calendar-previous-haab-date)
6775 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6776 (calendar-next-calendar-round-date)
6777 (calendar-previous-calendar-round-date)
6778 (calendar-absolute-from-mayan-long-count)
6779 (calendar-goto-mayan-long-count-date):
6780 * calendar/cal-move.el (scroll-calendar-left)
6781 (scroll-calendar-right, scroll-calendar-left-three-months)
6782 (scroll-calendar-right-three-months):
6783 * calendar/cal-persia.el (calendar-absolute-from-persian)
6784 (calendar-print-persian-date, persian-prompt-for-date)
6785 (calendar-goto-persian-date):
6786 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6787 * calendar/calendar.el (view-diary-entries-initially)
6788 (mark-diary-entries-in-calendar, calendar-today-face)
6789 (diary-face, holiday-face, view-calendar-holidays-initially)
6790 (mark-holidays-in-calendar, initial-calendar-window-hook)
6791 (today-visible-calendar-hook, today-invisible-calendar-hook)
6792 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6793 (bahai-diary-entry-symbol, american-date-diary-pattern)
6794 (european-date-diary-pattern, european-calendar-display-form)
6795 (american-calendar-display-form, holidays-in-diary-buffer)
6796 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6797 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6798 (fancy-diary-buffer, increment-calendar-month)
6799 (extract-calendar-month, extract-calendar-day)
6800 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6801 (mark-visible-calendar-date, calendar-version):
6802 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6803 (diary-display-hook, list-diary-entries-hook)
6804 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6805 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6806 (abbreviated-calendar-year, number-of-diary-entries)
6807 (view-other-diary-entries, add-to-diary-list)
6808 (include-other-diary-files, simple-diary-display)
6809 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6810 (mark-sexp-diary-entries, mark-included-diary-files)
6811 (mark-calendar-days-named, mark-calendar-month)
6812 (mark-calendar-date-pattern, sort-diary-entries)
6813 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6814 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6815 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6816 (insert-block-diary-entry, insert-cyclic-diary-entry)
6817 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6818 * calendar/holidays.el (general-holidays, oriental-holidays)
6819 (local-holidays, other-holidays, hebrew-holidays)
6820 (christian-holidays, islamic-holidays, bahai-holidays)
6821 (solar-holidays, list-calendar-holidays)
6822 (check-calendar-holidays, mark-calendar-holidays)
6823 (filter-visible-calendar-holidays):
6824 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6825 (diary-phases-of-moon): Remove obsolete aliases.
6826 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6827 * calendar/cal-x.el (calendar-one-frame-setup)
6828 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6829 Remove obsolete functions.
6830 (cal-x-load-hook): Remove obsolete hook.
6831 * calendar/calendar.el (european-calendar-style):
6832 Remove obsolete variable.
6833 (calendar-date-style): No longer consult european-calendar-style.
6834 * calendar/calendar.el (european-calendar, american-calendar):
6835 Remove obsolete commands.
6836 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6837 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6838 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6839 Use the face `diary' instead of the variable `diary-face'.
6840 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6841 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6842 * calendar/icalendar.el (icalendar--date-style): Remove function.
6843 Replace all uses with calendar-date-style.
6844 * textmodes/remember.el (calendar-date-style): Declare.
6845 (remember-diary-convert-entry):
6846 No longer consult european-calendar-style.
6847
6848 2014-10-05 Leo Liu <sdl.web@gmail.com>
6849
6850 * imenu.el (imenu-default-goto-function): Fix typo.
6851
6852 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6853
6854 * net/ntlm.el (ntlm-build-auth-request):
6855 Add NTLM2 Session support. (Bug#15603)
6856
6857 2014-10-04 Glenn Morris <rgm@gnu.org>
6858
6859 * apropos.el (apropos-symbols-internal):
6860 Avoid error with non-symbol properties. (Bug#18337#16)
6861
6862 * startup.el (command-line):
6863 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6864
6865 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6866
6867 * window.el (window-full-height-p): Make it behave correctly for
6868 minibuffer window.
6869 (window-current-scroll-bars): Fix code.
6870 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6871 window-scroll-bars.
6872 * frame.el (frame-current-scroll-bars): Fix doc-string.
6873 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6874
6875 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6876
6877 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6878
6879 2014-10-04 Glenn Morris <rgm@gnu.org>
6880
6881 * frame.el (frame-monitor-attributes)
6882 (display-monitor-attributes-list): Doc fixes.
6883
6884 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 Merge trivially safe differences from standalone CC-mode.
6887 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6888 just to then pass it to `symbol-value'.
6889 (prog-mode): Provide fallback definition, if needed.
6890 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6891 Remove "cl-" prefix accordingly.
6892 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6893 characterp depending on the type of characters.
6894 (c-font-lock-enum-tail): Remove unused var `start'.
6895 * progmodes/cc-engine.el: Load CL at compile-time.
6896 (c-declare-lang-variables): Use mapcan.
6897 (c-append-to-state-cache): Remove unused var `ce+1'.
6898 (c-parse-state-state): Make buffer-local.
6899 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6900 (c-just-after-func-arglist-p): Remove unused var `end'.
6901 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6902 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6903 (c-make-keywords-re): Use delete-dups.
6904 (c-get-current-file): Avoid file-name-base.
6905 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6906 `close-paren-inserted'.
6907 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6908
6909 * progmodes/python.el: Avoid building unneeded markers.
6910 (python-font-lock-keywords, python-indent-dedent-line)
6911 (python-fill-paren, python-shell-completion-complete-or-indent):
6912 Prefer point over point-marker.
6913 (inferior-python-mode): Remove redundant completion settings.
6914
6915 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6916
6917 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6918 (vc-svn-ignore): Use it. (Bug#18619)
6919
6920 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6921
6922 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6923 In doc-string mention need to set `frame-resize-pixelwise'.
6924
6925 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6928 similarly to Rogers's 2010-06-16 change for the remote case
6929 (bug#18605).
6930
6931 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 New gui-selection-value consolidating x-selection-value.
6934 * select.el (gui-selection-value-alist): New method.
6935 (gui-selection-value): New function.
6936 (x-selection-value): Make it an obsolete alias.
6937 * simple.el (interprogram-paste-function): Default to
6938 gui-selection-value.
6939 * w32-common-fns.el (w32-get-selection-value): Simplify.
6940 (x-selection-value): Remove alias.
6941 (interprogram-paste-function): Don't set.
6942 (gui-selection-value): Define for w32.
6943 * term/x-win.el (gui-selection-value): Define for x.
6944 (x--selection-value): Rename from x--selection-value.
6945 (interprogram-paste-function): Don't set.
6946 * term/pc-win.el (w16-get-selection-value): Simplify.
6947 (msdos-initialize-window-system): Don't set
6948 interprogram-paste-function.
6949 (gui-selection-value): Define for pc.
6950 * term/ns-win.el (x-selection-value): Remove.
6951 (gui-selection-value): Define for ns, instead.
6952 * term/common-win.el (x-setup-function-keys): Don't set
6953 interprogram-paste-function.
6954 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6955 Use gui-selection-value.
6956
6957 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6958
6959 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6960
6961 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * obsolete/lucid.el (read-number): Remove, redundant.
6964 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6965 Remove, broken.
6966
6967 2014-10-02 Glenn Morris <rgm@gnu.org>
6968
6969 * emacs-lisp/package.el (package-import-keyring):
6970 Create gnupg directory private. (Bug#17625#155)
6971
6972 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * progmodes/python.el (python-shell-completion-get-completions):
6975 Use python-shell--prompt-calculated-input-regexp from the
6976 process buffer (bug#18582).
6977 Don't assume that `line' comes from the process buffer.
6978
6979 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * frame.el: Use lexical-binding (bug#18598).
6982 (make-frame): Use t rather than nil for tty's window-system.
6983 * startup.el (command-line): Use gui-method.
6984
6985 Consolidate management/ownership of selections.
6986 * select.el (gui-get-selection-alist): New method.
6987 (gui-get-selection): Use it. Rename from x-get-selection.
6988 (x-get-selection): Define as obsolete alias.
6989 (x-get-clipboard): Mark obsolete.
6990 (gui-get-primary-selection): New function.
6991 (x-get-selection-value): Mark obsolete.
6992 (gui-own-selection-alist, gui-disown-selection-alist)
6993 (gui-selection-owner-p-alist): New methods.
6994 (gui-set-selection): Use them. Rename from x-set-selection.
6995 (x-set-selection): Define as obsolete alias.
6996 (gui--valid-simple-selection-p): Rename from
6997 x-valid-simple-selection-p.
6998 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6999 (gui-selection-owner-p, gui-get-selection): Define for w32.
7000 (w32-get-selection-value): Rename from x-get-selection-value.
7001 Use the new gui-last-selected-text.
7002 * term/x-win.el (x-get-selection-value): Remove.
7003 (x-clipboard-yank): Declare obsolete.
7004 (gui-own-selection, gui-disown-selection, gui-get-selection)
7005 (gui-selection-owner-p): Define for x.
7006 * term/w32-win.el (w32-win-suspend-error): Rename from
7007 x-win-suspend-error.
7008 * term/pc-win.el (w16-get-selection-value): Rename from
7009 x-get-selection-value.
7010 (w16-selection-owner-p): Rename from x-selection-owner-p.
7011 (gui-own-selection, gui-disown-selection, gui-get-selection)
7012 (gui-selection-owner-p): Define for pc.
7013 (w16--select-text): New function.
7014 * term/ns-win.el (gui-own-selection, gui-disown-selection)
7015 (gui-get-selection, gui-selection-owner-p): Define for ns.
7016 * term.el (term-mouse-paste):
7017 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
7018
7019 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
7020
7021 * calc/calc-help.el (calc-describe-thing): Quote strings
7022 which could look like regexps.
7023
7024 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 Consolidate x-select-text.
7027 * frame.el (gui-method, gui-method-define, gui-method-declare)
7028 (gui-call): New macros.
7029 (gui-method--name): New function.
7030 (frame-creation-function-alist): Use gui-method-declare.
7031 (make-frame): Use gui-method.
7032 * select.el (gui-select-enable-clipboard): Rename from
7033 x-select-enable-clipboard and move here.
7034 (x-select-enable-clipboard): Define as obsolete alias.
7035 (gui-last-selected-text): New var, to replace x-last-selected-text.
7036 (gui-select-text): New GUI method.
7037 (gui-select-text): New function.
7038 (x-select-text): Define as obsolete alias.
7039 * term/common-win.el (x-select-enable-clipboard, x-select-text):
7040 Move to select.el.
7041 * simple.el (interprogram-cut-function): Change default to
7042 x-select-text.
7043 (interprogram-paste-function): Change default to `ignore'.
7044 * w32-common-fns.el (interprogram-cut-function): Don't modify.
7045 * term/x-win.el (interprogram-cut-function): Don't modify.
7046 (gui-select-text): Add method for x.
7047 * term/w32-win.el (gui-select-text): Add method for w32.
7048 * term/pc-win.el (x-last-selected-text): Remove, use
7049 gui-last-selected-text instead.
7050 (msdos-initialize-window-system): Don't set interprogram-cut-function.
7051 (gui-select-text): Add method for pc.
7052 * term/ns-win.el (ns-last-selected-text): Remove, use
7053 gui-last-selected-text instead.
7054 (gui-select-text): Add method for ns.
7055 (x-setup-function-keys): Don't change interprogram-cut-function.
7056 * loadup.el ("startup"): Load after "frame".
7057 * subr.el (package--builtin-versions, package--description-file):
7058 Move from startup.el.
7059 * startup.el (package--builtin-versions, package--description-file):
7060 Move to subr.el.
7061 (handle-args-function-alist, window-system-initialization-alist):
7062 Use gui-method-declare.
7063 (command-line): Use gui-method.
7064
7065 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * subr.el (alist-get): New accessor.
7068 * emacs-lisp/gv.el (alist-get): Provide expander.
7069 * winner.el (winner-remember):
7070 * tempo.el (tempo-use-tag-list):
7071 * progmodes/gud.el (minor-mode-map-alist):
7072 * international/mule-cmds.el (define-char-code-property):
7073 * frameset.el (frameset-filter-params):
7074 * files.el (dir-locals-set-class-variables):
7075 * register.el (get-register, set-register):
7076 * calc/calc-yank.el (calc-set-register): Use it.
7077 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
7078 * tooltip.el (tooltip-set-param): Mark as obsolete.
7079 (tooltip-show): Use alist-get instead.
7080 * ses.el (ses--alist-get): Remove. Use alist-get instead.
7081
7082 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
7083
7084 * net/newst-backend.el: Remove Time-stamp. Rename variable
7085 `newsticker--download-logos' to `newsticker-download-logos' and
7086 make it customizable.
7087 (newsticker--sentinel-work): Move xml-workarounds to function
7088 `newsticker--do-xml-workarounds', call unless libxml-parser is
7089 used. Allow single quote in regexp for encoding.
7090 Use libxml-parser if available, else fall back to `xml-parse-region'.
7091 Take care of possibly missing namespace prefixes (like "RDF"
7092 instead of "rdf:RDF") when checking xml nodes and attributes (as
7093 libxml correctly removes the prefixes). Always use Atom 1.0 as
7094 fallback feed type. Rename `newsticker--download-logos' to
7095 `newsticker-download-logos'
7096 (newsticker--unxml, newsticker--unxml-node)
7097 (newsticker--unxml-attribute): New.
7098 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
7099 HTML code has become part of the xml parse tree.
7100 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
7101 of possibly missing namespace prefixes.
7102 (newsticker--parse-generic-items): Code formatting. Typo.
7103 (newsticker--images-dir): Add trailing slash.
7104 (newsticker--image-get): Fix error message.
7105
7106 * net/newst-plainview.el: Remove Time-stamp.
7107
7108 * net/newst-reader.el: Remove Time-stamp.
7109 (newsticker-download-logos): Rename variable
7110 `newsticker--download-logos' to `newsticker-download-logos' and
7111 make it customizable.
7112 (newsticker--print-extra-elements): Add optional parameter
7113 'htmlish for using html markup. Amend list of ignored elements.
7114 (newsticker--do-print-extra-element): Add parameter 'htmlish for
7115 using html markup.
7116
7117 * net/newst-ticker.el: Remove Time-stamp.
7118
7119 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
7120 for formatting extra elements.
7121
7122 * net/newsticker.el: Remove Time-stamp, Version.
7123 (newsticker-version): Make obsolete.
7124
7125 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
7126
7127 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
7128 (bug#18462).
7129
7130 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * emacs-lisp/package.el (package-check-signature): Default to nil if
7133 GPG is not available.
7134 (package-refresh-contents): Don't mess with the keyring if we won't
7135 check the signatures anyway.
7136
7137 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
7140 (ses-center, ses-center-span): Use them.
7141 (ses-print-cell): Bind them while calling the printer.
7142 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
7143 (ses-dorange): Revert last change.
7144 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
7145 the formula.
7146 (ses-set-cell): Avoid `eval'.
7147 (ses--time-check): Rename it from ses-time-check and turn it into
7148 a macro.
7149
7150 * ses.el (ses-setup): Don't assume modifying the iteration var of
7151 dotimes affects the iteration (bug#18191).
7152
7153 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
7154
7155 * ses.el (ses-calculate-cell): Bind row and col dynamically to
7156 their values with 'cl-progv'.
7157 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
7158 their values with 'cl-progv', also use non-interned symbols for
7159 row, minrow, maxrow, mincol and maxcol.
7160 (maxrow maxcol): New defvar, to make the compiler happy.
7161
7162 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
7165 completion functions.
7166
7167 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * ses.el (ses--letref): Quote value before it gets re-evaluated.
7170
7171 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
7172
7173 Font-lock `cl-flet*', too.
7174 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
7175 Add "flet*" to intermediate var `cl-lib-kw'.
7176
7177 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * epg-config.el (epg-gpg-program): Use the plain program names rather
7180 than their absolute file name.
7181
7182 * subr.el (track-mouse): New macro.
7183 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7184 Remove track-mouse case.
7185 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
7186
7187 2014-09-27 Leo Liu <sdl.web@gmail.com>
7188
7189 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
7190
7191 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
7192
7193 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
7196 Handle the case where `match' is :pcase--succeed or :pcase--fail
7197 (bug#18554).
7198
7199 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
7200 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
7201 (eldoc-schedule-timer): Obey it.
7202 (eldoc-documentation-function): Default to nil.
7203 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
7204 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
7205 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
7206 (eldoc-last-data-store, eldoc-docstring-first-line)
7207 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
7208 (eldoc-beginning-of-sexp, eldoc-current-symbol)
7209 (eldoc-function-argstring): Move to elisp-mode.el.
7210 (eldoc-symbol-function): Remove, unused.
7211 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
7212 (elisp-completion-at-point): Rename from lisp-completion-at-point.
7213 (elisp--preceding-sexp): Rename from preceding-sexp.
7214 * loadup.el: Load new file progmodes/elisp-mode.
7215 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
7216 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
7217 (lisp--local-variables-completion-table, lisp--expect-function-p)
7218 (lisp--form-quoted-p, lisp--company-doc-buffer)
7219 (lisp--company-doc-string, lisp--company-location)
7220 (lisp-completion-at-point): Move to elisp-mode.el.
7221 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
7222 extracted from emacs-lisp-mode-syntax-table.
7223 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
7224 elisp-mode.el.
7225 (lisp-imenu-generic-expression): Add comments to document what comes
7226 from which Lisp dialect.
7227 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
7228 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
7229 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
7230 (emacs-lisp-byte-code-comment)
7231 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
7232 (lisp-interaction-mode-map, lisp-interaction-mode)
7233 (eval-print-last-sexp, last-sexp-setup-props)
7234 (last-sexp-toggle-display, prin1-char, preceding-sexp)
7235 (eval-last-sexp-1, eval-last-sexp-print-value)
7236 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
7237 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
7238
7239 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
7240
7241 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
7242 Do not match file names that end in '/', as they cannot be 'grep'
7243 hits nowadays. This prevents confusion when 'grep -r' reports a
7244 match in a file whose basename is ':12345:'. Conversely, do not
7245 require exactly the same sequence of spaces and tabs after both
7246 colons, and allow spaces or tabs before the second colon, as per
7247 the POSIX spec for 'grep' output.
7248
7249 2014-09-26 Leo Liu <sdl.web@gmail.com>
7250
7251 Add cl-parse-integer based on parse-integer (Bug#18557)
7252 * calendar/parse-time.el (parse-time-digits): Remove.
7253 (digit-char-p, parse-integer) Moved to cl-lib.el.
7254 (parse-time-tokenize, parse-time-rules, parse-time-string):
7255 Use cl-parse-integer.
7256
7257 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
7258
7259 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
7260 (cl-digit-char-p): New function.
7261
7262 2014-09-25 Juri Linkov <juri@jurta.org>
7263
7264 * vc/add-log.el (change-log-next-buffer): Don't create an empty
7265 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7266 Return the current buffer if no files match the default pattern
7267 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
7268
7269 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7272 the global vc-handled-backends (bug#18535).
7273
7274 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7277 Suggested by <lompik@voila.fr>.
7278
7279 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
7280
7281 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7282 Rename from `newsticker--treeview-do-get-node'.
7283 (newsticker--treeview-get-node-by-id):
7284 Rename from `newsticker--treeview-get-node'.
7285 (newsticker--treeview-buffer-init)
7286 (newsticker--treeview-buffer-init): Disable buffer undo.
7287 (newsticker--treeview-unfold-node): Adapt to modified
7288 `newsticker--group-find-parent-group'.
7289 (newsticker--group-do-find-group):
7290 Rename from `newsticker--group-do-find-group-for-feed'.
7291 Now works for both, groups and feeds.
7292 (newsticker--group-find-parent-group):
7293 Rename from `newsticker--group-find-group-for-feed'.
7294 Now works for both, groups and feeds.
7295 (newsticker--group-do-get-parent-group)
7296 (newsticker--group-get-parent-group): Remove.
7297 (newsticker-group-add-group): Change interactive prompts.
7298 (newsticker-group-add-group): Finally jump to added group.
7299 (newsticker-group-delete-group): Finally jump to current feed.
7300 (newsticker--group-do-rename-group, newsticker-group-rename-group)
7301 (newsticker--get-group-names, newsticker--group-names): New.
7302 (newsticker-group-move-feed): Finally jump to moved feed.
7303 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7304 (newsticker-group-shift-group-down)
7305 (newsticker-group-shift-group-up, newsticker--group-shift): New.
7306 (newsticker-treeview-mode-map): New keybindings for new shift commands.
7307
7308 * net/newst-backend.el (newsticker--item-list)
7309 (newsticker--item-position, newsticker--prev-message)
7310 (newsticker--scrollable-text): Move to newst-ticker.el.
7311
7312 * net/newst-ticker.el (newsticker--item-list)
7313 (newsticker--item-position, newsticker--prev-message)
7314 (newsticker--scrollable-text): Move from newst-backend.el.
7315
7316 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
7317
7318 * window.el (fit-window-to-buffer): When counting buffer width,
7319 count the whole visible buffer. Correctly convert the body-height
7320 to pixel size for window-text-pixel-size (Bug#18498).
7321
7322 2014-09-22 Sam Steingold <sds@gnu.org>
7323
7324 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7325 (sql-execute): Use `special-mode'.
7326
7327 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 Add pcase-defmacro, as well as `quote' and `app' patterns.
7330 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7331 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7332 (pcase--funcall, pcase--eval): New functions.
7333 (pcase--u1): Use them for guard, pred, let, and app.
7334 (\`): Use the new feature to generate better code for vector patterns.
7335 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7336 (pcase--upat): Remove.
7337 (pcase--macroexpand): Don't hardcode handling of `.
7338 (pcase--split-consp, pcase--split-vector): Remove.
7339 (pcase--split-equal): Disregard ` since it's expanded away.
7340 (pcase--split-member): Optimize for quote rather than for `.
7341 (pcase--split-pred): Optimize for quote rather than for `.
7342 (pcase--u1): Remove handling of ` (and of `or' and `and').
7343 Quote non-selfquoting values when passing them to `eq'.
7344 Drop `app's let-binding if the variable is not used.
7345 (pcase--q1): Remove.
7346 (`): Define as a pattern macro.
7347 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7348 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7349 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7350 quote patterns.
7351 (pcase--split-match): Don't hoist or/and here any more.
7352 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7353 (pcase--flip): New helper macro.
7354 (pcase--u1): Optimize the memq case directly.
7355 Don't handle neither self-quoting nor and/or patterns any more.
7356 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7357 (pcase--macroexpand): New function.
7358 (pcase--expand): Use it.
7359 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7360 New optimization functions.
7361 (pcase--u1): Add support for `quote' and `app'.
7362 (pcase): Document them in the docstring.
7363
7364 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 Use lexical-bindin in Ibuffer.
7367 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7368 (ibuffer-compile-format): Simplify.
7369 (ibuffer-clear-summary-columns): Simplify.
7370 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7371 elem of dotimes when we don't refer to the iteration var from it.
7372 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7373 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7374 Silence byte-compiler.
7375
7376 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7379 expression for a list.
7380
7381 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7382 for functions with no arguments.
7383
7384 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7385 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7386
7387 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7388
7389 * simple.el (clone-indirect-buffer): Mention the return value
7390 (bug#18478).
7391
7392 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7393 Text mode in docstring (bug#18464).
7394
7395 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7398 Accept underscores in identifiers after "sub" (bug#18502).
7399
7400 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7401
7402 * textmodes/reftex-sel.el (reftex-select-label-mode)
7403 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7404 from special-mode (instead of fundamental-mode) and propertize
7405 with font-lock-face instead of just face. (Bug#18496)
7406
7407 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7408
7409 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7410
7411 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7412 `table-etc' when `end' is non-nil.
7413 (lisp-completion-at-point): Move `end' back if it's after quote.
7414 If in comment or string, only complete when after backquote.
7415 (Bug#18265)
7416 (lisp-completion-at-point): Don't use
7417 `lisp--local-variables-completion-table' in the
7418 `lisp--form-quoted-p' case.
7419
7420 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7421
7422 * emacs-lisp/lisp.el (lisp--expect-function-p)
7423 (lisp--form-quoted-p): New functions.
7424 (lisp-completion-at-point): Use them to see if we're completing a
7425 variable reference, a function name, or just any symbol.
7426 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7427
7428 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7429
7430 * net/shr.el, net/eww.el: Don't override `shr-width', but
7431 introduce a new variable `shr-internal-width'. This allows users
7432 to specify a width themselves.
7433
7434 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
7436 * image-mode.el (image-toggle-display-image): If we have a
7437 `fit-width' or a `fit-height', don't limit the size of the image
7438 to the window size, because that doesn't preserve the aspect ratio.
7439 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7440 warning.
7441
7442 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7443
7444 * progmodes/js.el: Add interpreter-mode-alist support for various
7445 JavaScript interpreters.
7446
7447 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7448
7449 Don't assume 'grep' supports GREP_OPTIONS.
7450 The GREP_OPTIONS environment variable is planned to be marked
7451 obsolescent in GNU grep, due to problems in its use, so stop
7452 relying on it.
7453 * progmodes/grep.el (grep-highlight-matches): Document this.
7454 (grep-process-setup): Do not set GREP_OPTIONS.
7455 (grep-compute-defaults): Use an explicit --color option if supported.
7456
7457 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7460 Don't add outdated key-shortcut cache (bug#18482).
7461
7462 2014-09-15 Glenn Morris <rgm@gnu.org>
7463
7464 * image.el (image-multi-frame-p): Fix thinko - do not force
7465 a delay if none was specified. (Bug#18334)
7466
7467 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7468
7469 * window.el (fit-window-to-buffer): Doc fix.
7470
7471 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7472
7473 * desktop.el (desktop-create-buffer): Check that buffers are still live
7474 before burying them (bug#18373).
7475
7476 2014-09-15 Glenn Morris <rgm@gnu.org>
7477
7478 * calendar/diary-lib.el (diary-list-entries):
7479 Restore 24.3 display behavior. (Bug#18381)
7480
7481 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7482
7483 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7484 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7485 discrepancy between window-pixel-edges and mouse events, and
7486 avoids moving mode line up when the mouse click is on the modeline
7487 and no drag is attempted.
7488
7489 2014-09-14 Daniel Colascione <dancol@dancol.org>
7490
7491 * register.el (insert-register): Change default interactive
7492 insertion mode.
7493
7494 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7495
7496 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7497 Suppress debug messages.
7498
7499 * net/tramp.el (tramp-file-name-handler):
7500 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7501 appropriate.
7502
7503 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7504
7505 * calendar/calendar.el (calendar-update-mode-line):
7506 Do not overwrite mode-line-format if calendar-mode-line-format is
7507 nil. (Bug#18467)
7508
7509 2014-09-13 Leo Liu <sdl.web@gmail.com>
7510
7511 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7512 (pcase--expand): Use it.
7513 (pcase-exhaustive): New macro. (Bug#16567)
7514
7515 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7516 Add pcase-exhaustive.
7517
7518 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7519
7520 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7521 using the specified transfer-encoding, if any, or 'undecided'.
7522 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7523 broken at the window margin.
7524
7525 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7526
7527 Support rendering of HTML parts in Rmail (bug#4258).
7528 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7529 separately from other text/ types. Suppress tagline for
7530 multipart body.
7531 (rmail-mime-parse): Don't change visibility of tagline here.
7532 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7533 Handle text/html specially.
7534 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7535 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7536 (rmail-mime-render-html-lynx): New functions.
7537 (rmail-mime-fix-inserted-faces): New function.
7538 (rmail-mime-process-multipart): Find the best part to show
7539 following rmail-mime-prefer-html if set.
7540 (rmail-mime-searching): New variable.
7541 (rmail-search-mime-message): Bind rmail-mime-searching to
7542 suppress rendering while searching.
7543
7544 2014-09-12 Sam Steingold <sds@gnu.org>
7545
7546 * progmodes/sql.el (sql-product-alist): Add vertica.
7547 (sql-vertica-program, sql-vertica-options)
7548 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7549 New functions and variables to support Vertica.
7550 Inspired by code by Roman Scherer <roman@burningswell.com>.
7551
7552 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7553
7554 * ses.el (ses-file-format-extend-parameter-list): Rename from
7555 ses-file-format-extend-paramter-list, to correct a misspelling.
7556 All uses changed.
7557
7558 2014-09-10 Alan Mackenzie <acm@muc.de>
7559
7560 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7561 gets loaded at run-time).
7562 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7563 c-lang-const to c-make-no-parens-syntax-table and correct the
7564 logic.
7565 (c-no-parens-syntax-table): Correct the logic of the
7566 c-lang-defvar.
7567
7568 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7571 plus misc cleanup.
7572 * progmodes/cc-mode.el (c-basic-common-init):
7573 Set open-paren-in-column-0-is-defun-start.
7574 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7575 Remove declarations, unused.
7576 (run-mode-hooks): Remove declaration.
7577 (font-lock-defaults): Use plain `defvar' to declare.
7578 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7579 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7580 (c-make-mode-syntax-table): Don't micro-optimize.
7581 (c-keywords, c-keyword-member-alist): Simplify.
7582 (c-kwds-lang-consts): Don't eval at compile-time.
7583 (c-primary-expr-regexp): Comment out unused vars.
7584 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7585 (c-font-byte-compile): New var.
7586 (c--compile): New function. Use it instead of `byte-compile'.
7587 (c-cpp-matchers): Quote the value returned by
7588 `c-make-syntactic-matcher' in case it's not self-evaluating.
7589 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7590 parentheses instead (in case MATCHER happens to be a list).
7591 (c-font-lock-enum-tail): Remove unused var `start'.
7592 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7593 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7594 test into an argument.
7595 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7596 (c-get-char-property): Don't use `eval' just to unquote a constant.
7597 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7598 more efficiently.
7599 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7600 (c-clear-char-property, c-clear-char-properties): Check that `property'
7601 is a quoted constant.
7602 (c-emacs-features): Remove `infodock', `syntax-properties', and
7603 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7604 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7605 changing buffer, so we don't have to setq them again afterwards.
7606 (c-lang-const): Remove redundant symbolp assertions.
7607 (c-find-assignment-for-mode): Use `or'.
7608 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7609
7610 2014-09-09 Sam Steingold <sds@gnu.org>
7611
7612 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7613
7614 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7617 Change doc comments into docstrings.
7618 * Makefile.in: Remove cc-awk dependency.
7619
7620 2014-09-08 Sam Steingold <sds@gnu.org>
7621
7622 * progmodes/sql.el (sql-send-line-and-next): New command,
7623 bound to C-c C-n.
7624 (sql-show-sqli-buffer): Display the buffer instead of its name and
7625 bind the command to C-c C-z.
7626 (sql-default-directory): New user option.
7627 (sql-product-interactive): Bind `default-directory' to it to
7628 enable remote connections using Tramp.
7629 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7630 suitable buffer is available.
7631
7632 2014-09-08 Glenn Morris <rgm@gnu.org>
7633
7634 * calendar/calendar.el (calendar-basic-setup):
7635 Fix calendar-view-holidays-initially-flag and fancy display.
7636 * calendar/diary-lib.el (diary-live-p): Doc fix.
7637
7638 * calendar/calendar.el (calendar-basic-setup):
7639 Avoid clobbering calendar with diary. (Bug#18381)
7640
7641 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7644
7645 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7646
7647 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7648 as well (bug#18400).
7649
7650 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7651
7652 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7653
7654 2014-09-06 Leo Liu <sdl.web@gmail.com>
7655
7656 * emacs-lisp/pcase.el (pcase): Doc fix.
7657 (pcase--split-vector): New function.
7658 (pcase--q1): Support vector qpattern. (Bug#18327)
7659
7660 2014-09-05 Sam Steingold <sds@gnu.org>
7661
7662 * textmodes/tex-mode.el (tex-print-file-extension): New user
7663 option.
7664 (tex-print): Use it instead of the hard-coded string.
7665
7666 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7667
7668 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7669 Expand `default-directory'.
7670
7671 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7672
7673 * scroll-bar.el (horizontal-scroll-bars-available-p):
7674 New function.
7675 (horizontal-scroll-bar-mode): Rewrite using
7676 horizontal-scroll-bars-available-p.
7677 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7678 horizontal-scroll-bars-available-p.
7679
7680 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * subr.el (call-process-shell-command, process-file-shell-command):
7683 Make the `args' obsolete (bug#18409).
7684 (start-process-shell-command, start-file-process-shell-command):
7685 Use `declare'.
7686
7687 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7688
7689 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7690 "negative" hms forms.
7691
7692 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7693
7694 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7695 returns nil (bug#18391).
7696
7697 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7700 terminating paren (bug#18352).
7701 (eldoc-last-data-store): Return cached data.
7702 (eldoc-get-var-docstring): Avoid setq.
7703 (eldoc-get-fnsym-args-string): Clarify data flow.
7704
7705 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7706
7707 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7708 case where we're currently providing part of the &rest arg after some
7709 &key args, as in define-ibuffer-op (bug#18048).
7710
7711 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7714 buffer-local setting of which-func-mode.
7715 (which-func-mode): Use defvar-local.
7716 (which-function-mode): Don't reset which-func-mode in each buffer since
7717 it might have been set by someone else.
7718 (which-func-update-ediff-windows): Check which-function-mode.
7719
7720 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7721
7722 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7723 from frame-initial-frame-alist.
7724 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7725 (horizontal-scroll-bar-mode-explicit)
7726 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7727 (toggle-horizontal-scroll-bar): Remove.
7728 (horizontal-scroll-bar-mode): Remove defcustom.
7729 (horizontal-scroll-bar-mode): Fix doc-string.
7730 (scroll-bar-toolkit-scroll)
7731 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7732
7733 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * emacs-lisp/package.el (package-generate-description-file):
7736 Properly quote the arguments (bug#18332). Change second arg.
7737 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7738 quote the elements.
7739 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7740 the *-pkg.el file. Adjust to new calling convention of
7741 package-generate-description-file.
7742
7743 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7744 (gud-gdb-completions): Remove obsolete workaround.
7745
7746 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7747
7748 * subr.el (posn-col-row): Revert the change from commit
7749 2010-11-13T21:07:58Z!eliz@gnu.org, which
7750 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7751 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7752 introduced an off-by-one error in the reported row when there is a
7753 header line. (Bug#18384)
7754
7755 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7756
7757 * progmodes/python.el (python-indent-post-self-insert-function):
7758 Avoid electric colon at beginning-of-defun. (Bug#18228)
7759
7760 2014-09-03 Glenn Morris <rgm@gnu.org>
7761
7762 * tutorial.el (tutorial--display-changes):
7763 Fix 2014-08-01 change. (Bug#18382)
7764
7765 2014-09-03 Ken Brown <kbrown@cornell.edu>
7766
7767 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7768 the Cygwin-w32 build. (Bug#18347)
7769
7770 2014-09-03 Glenn Morris <rgm@gnu.org>
7771
7772 * tar-mode.el (tar--extract, tar-extract):
7773 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7774
7775 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7778 handle multiline elements (bug#18380).
7779
7780 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7781
7782 * ls-lisp.el (ls-lisp-use-string-collate)
7783 (ls-lisp-UCA-like-collation): New defcustoms.
7784 (ls-lisp-string-lessp): Use them to control sorting by file
7785 names. (Bug#18051)
7786 (ls-lisp-version-lessp): New function.
7787 (ls-lisp-handle-switches): Use it to implement the -v switch of
7788 GNU ls.
7789 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7790
7791 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7792
7793 * ibuffer.el: Replace mode-specific quit function with
7794 `quit-window' via `special-mode'.
7795 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7796 of local overrides.
7797 (ibuffer): Don't store previous windows configuration.
7798 Let `quit-window' handle restoring.
7799 (ibuffer-quit): Remove function. Use `quit-window' instead.
7800 (ibuffer-restore-window-config-on-quit): Remove variable.
7801 (ibuffer-prev-window-config): Remove variable.
7802
7803 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7804
7805 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7806 name instead of variable name in hook docstring. (Bug#18349)
7807
7808 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7809
7810 * window.el (display-buffer-at-bottom): Prefer bottom-left
7811 window to other bottom windows. Reuse a bottom window if it
7812 shows the buffer already. Suggested by Juri Linkov
7813 <juri@jurta.org> in discussion of (Bug#18181).
7814
7815 2014-08-29 Leo Liu <sdl.web@gmail.com>
7816
7817 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7818 append to minibuffer-setup-hook. (Bug#18341)
7819
7820 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7823 byte-compiler.
7824 (lookup-syntax-properties): Silence byte-compiler.
7825 (c-lang-defconst): Quote the code with `lambda' rather than with
7826 `quote'.
7827 (c-lang-const): Avoid unneeded setq.
7828 (c-lang-constants-under-evaluation): Add docstring.
7829 (c-lang--novalue): New constant.
7830 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7831 (c-get-lang-constant): Same here.
7832 Get the mode's value using `funcall' now that the code is quoted
7833 with `lambda'.
7834
7835 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7836
7837 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7838 (Bug#18326)
7839
7840 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7841
7842 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7843 interpretation of `portion-whole'.
7844
7845 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/tramp-adb.el: Spell author name correctly.
7848
7849 2014-08-28 João Távora <joaotavora@gmail.com>
7850
7851 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7852 use url-expand-file-name. (Bug#18310)
7853
7854 2014-08-28 Glenn Morris <rgm@gnu.org>
7855
7856 * emulation/cua-rect.el (cua--highlight-rectangle):
7857 Avoid error at point-min. (Bug#18309)
7858
7859 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7862 executable-find (bug#18244).
7863
7864 * simple.el (self-insert-uses-region-functions): Defvar.
7865
7866 2014-08-28 Glenn Morris <rgm@gnu.org>
7867
7868 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7869
7870 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7871
7872 * startup.el (normal-top-level): Now use internal--top-level-message.
7873
7874 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7875
7876 * startup.el (normal-top-level): Use top-level-message.
7877
7878 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7881 URLs containing spaces and the like.
7882
7883 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7884
7885 * subr.el (remq): Fix docstring (Bug#18253).
7886
7887 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7888
7889 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7890
7891 2014-08-24 Alan Mackenzie <acm@muc.de>
7892
7893 Handle C++11's "auto" and "decltype" constructions.
7894 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7895 and return 'decltype.
7896 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7897 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7898 keyword.
7899 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7900 "decltype" keyword.
7901 (c-font-lock-c++-new): Handle "decltype" constructions.
7902 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7903 New c-lang-defconsts/defvars.
7904 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7905 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7906 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7907 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7908
7909 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7910 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7911 off from c->-op-cont-re.
7912 (c->-op-cont-tokens): Change to use the above.
7913 (c->-op-without->-cont-regexp): New lang-const.
7914 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7915 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7916
7917
7918 2014-08-23 Alan Mackenzie <acm@muc.de>
7919
7920 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7921 loop, bug #18306. The bug was introduced on 2014-08-02.
7922
7923 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7924
7925 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7926 Don't recognize a Top node if there are other sectioning commands
7927 earlier in the Texinfo file. This fixes a bug in
7928 texinfo-make-menu and avoids inflooping in
7929 texinfo-all-menus-update when they are invoked on texinfo.texi.
7930
7931 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7932
7933 * window.el (window--side-window-p): New function.
7934 (split-window, window-splittable-p): Use window--side-window-p to
7935 determine whether WINDOW can be split (Bug#18304).
7936 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7937 `window-splittable-p' and add another (Bug#18304).
7938
7939 2014-08-20 Sam Steingold <sds@gnu.org>
7940
7941 * progmodes/python.el (python-new-pythonpath): Extract from
7942 `python-shell-calculate-process-environment'.
7943
7944 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7945
7946 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7947 for &key args (bug#18048).
7948
7949 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7952 (eldoc-function-argstring-format): Remove.
7953 (eldoc-function-argstring): Always return upcase args.
7954 Use help-make-usage. Don't add parens.
7955 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7956 it's too late to do it right (bug#18048).
7957
7958 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7959
7960 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7961 (scroll-bar-toolkit-horizontal-scroll): When determining the
7962 paragraph direction, use the buffer of the window designated in
7963 the event.
7964
7965 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7966
7967 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7968 context of unified diff.
7969
7970 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7971
7972 Add dependencies to fix loaddefs race during parallel builds.
7973 Without this, for example, 'make -j bootstrap' can fail and report
7974 "Opening input file: no such file or directory,
7975 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7976 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7977 got confused because diary-loaddefs.el was being built in parallel.
7978 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7979 Depend on $(CAL_DIR)/cal-loaddefs.el.
7980 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7981
7982 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7983
7984 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7985 portion-whole for scrolling right-to-left text.
7986
7987 2014-08-15 Leo Liu <sdl.web@gmail.com>
7988
7989 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7990 elements from imenu.
7991
7992 2014-08-15 Glenn Morris <rgm@gnu.org>
7993
7994 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7995
7996 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7997
7998 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7999 Add Guile regexpses.
8000
8001 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
8002
8003 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
8004 add Guile debugger support for GUD.
8005
8006 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
8009 (mouse-sel--ignore): New function.
8010 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
8011 (mouse-sel-original-interprogram-cut-function)
8012 (mouse-sel-original-interprogram-paste-function): Remove.
8013
8014 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
8015
8016 * vc/vc-git.el (vc-git-resolve-when-done): New function.
8017 Call "git add" when there are no longer conflict markers.
8018
8019 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8020
8021 * vc/vc-git.el (vc-git-find-file-hook): New function.
8022 Adds support for calling smerge (and resolve) on a conflicted file.
8023 (vc-git-conflicted-files): New function.
8024 Useful in itself and a step towards better smerge support.
8025
8026 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
8029 to the first part if they're the same as the selection.
8030
8031 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8032
8033 * image-mode.el (image-transform-reset): New command and menu item.
8034 (image-mode-map): Rearrange the menu items to put presumably more
8035 obscure items at the end.
8036
8037 2014-08-12 Juri Linkov <juri@jurta.org>
8038
8039 * vc/vc-annotate.el (vc-annotate-background-mode):
8040 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
8041
8042 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * files.el (out-of-memory-warning-percentage): Turn it off by default.
8045
8046 2014-08-11 Sam Steingold <sds@gnu.org>
8047
8048 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
8049 the presence of known validators (tidy, (o)nsgmls).
8050
8051 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
8052
8053 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
8054 * net/newst-treeview.el (newsticker-treeview-date-format): New.
8055 (newsticker--treeview-list-add-item):
8056 Use `newsticker-treeview-date-format'.
8057
8058 2014-08-11 Glenn Morris <rgm@gnu.org>
8059
8060 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
8061 chose coding system for writing before backing up, since it causes
8062 a more serious problem than the one it solves. (Closes Bug#18141,
8063 reopens Bug#13522.)
8064
8065 2014-08-11 Martin Rudalics <rudalics@gmx.at>
8066
8067 * window.el (window-total-size): Make doc-string more self-contained.
8068
8069 * window.el (display-buffer-below-selected): Restore original
8070 behavior if buffer is already displayed in the window below the
8071 selected one (Bug#18181).
8072
8073 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
8076 event (bug#18212).
8077
8078 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8079
8080 * info.el (info): Doc fix.
8081
8082 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * info.el (Info-mode-map): Override a global down-mouse-2 binding
8085 (bug#18212).
8086
8087 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8088
8089 * simple.el (default-line-height): A floating-point value of
8090 line-spacing means a fraction of the default frame font's height,
8091 not of the font currently used by the 'default' face.
8092 Truncate the pixel value, like the display engine does.
8093 (window-screen-lines): Use window-inside-pixel-edges for
8094 determining the window height in pixels. (Bug#18195)
8095
8096 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
8097
8098 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
8099
8100 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
8101
8102 Enumerate evaluated sexp diary entries (Bug#7911).
8103 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
8104 (icalendar-export-sexp-enumeration-days): New.
8105 (icalendar-export-region): Now `icalendar--convert-to-ical'
8106 returns a cons cell or a list of cons cells.
8107 (icalendar--convert-to-ical): Take care of
8108 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
8109 (icalendar--convert-ordinary-to-ical)
8110 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8111 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
8112 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
8113 (icalendar--convert-anniversary-to-ical): Return cons cell.
8114 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
8115 entries. Return (list of) cons cells.
8116
8117 2014-08-09 Juri Linkov <juri@jurta.org>
8118
8119 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
8120 to reevaluate `vc-annotate-color-map'. (Bug#18189)
8121
8122 2014-08-09 Alan Mackenzie <acm@muc.de>
8123
8124 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
8125 for top-level that can cause unacceptable slow-down in scrolling.
8126 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
8127 Antipov from 2013-10-14 in emacs-devel.
8128
8129 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8130
8131 * ibuffer.el (ibuffer-mode-map): Use toggle button for
8132 `ibuffer-auto-mode' menu entry.
8133 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
8134
8135 2014-08-08 Matthias Meulien <orontee@gmail.com>
8136
8137 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
8138 (Bug#16394)
8139
8140 2014-08-07 Martin Rudalics <rudalics@gmx.at>
8141
8142 * window.el (window--min-size-1): Explicitly set WINDOW arg in
8143 calls of window-min-pixel-height and window-min-pixel-width.
8144
8145 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8146
8147 * progmodes/ada-mode.el:
8148 * net/tramp.el (tramp-handle-file-symlink-p):
8149 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
8150 about VMS, which we no longer support.
8151 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
8152 and fix a FIXME, using convert-standard-filename in place of
8153 removed ada-convert-file-name.
8154
8155 2014-08-07 Eli Zaretskii <eliz@gnu.org>
8156
8157 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
8158
8159 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8160
8161 Refer to MS-DOS using the same name everywhere.
8162 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
8163 ``msdog'' become ``MS-DOS''.
8164
8165 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
8166
8167 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8168 Use cached "remote-copy-args" value, if available. (Bug#18199)
8169
8170 2014-08-07 Leo Liu <sdl.web@gmail.com>
8171
8172 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
8173 Revert change on 2014-03-22.
8174
8175 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
8176
8177 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
8178 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
8179 (Bug#13750).
8180
8181
8182 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8183
8184 * image-mode.el (image-toggle-display-image): Always rescale images
8185 to not be bigger than the current window.
8186
8187 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
8188
8189 * net/eww.el (eww-bookmarks-directory): New variable.
8190 (eww-write-bookmarks): Use it.
8191 (eww-read-bookmarks): Ditto.
8192
8193 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8194
8195 * net/shr.el (shr-copy-url): Also copy the image URL.
8196
8197 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
8198
8199 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8200 also for Tramp working buffers.
8201
8202 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8203
8204 * progmodes/python.el: Fix completions inside (i)pdb.
8205 (python-shell-completion-pdb-string-code): Make obsolete.
8206 (python-shell-completion-get-completions):
8207 Use python-shell-completion-string-code resending setup code
8208 continuously for (i)pdb.
8209
8210 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
8211
8212 * rect.el (rectangle--default-line-number-format): Rename
8213 from misspelled rectange--default-line-number-format (Bug#18045).
8214 All uses changed.
8215
8216 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
8217
8218 Don't mishandle year-9999 dates (Bug#18176).
8219 * calendar/parse-time.el (parse-time-rules):
8220 Allow years up to most-positive-fixnum.
8221 * calendar/time-date.el (date-to-time):
8222 Pass "Specified time is not representable" errors through.
8223
8224 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8225
8226 * progmodes/python.el: Completion code cleanups.
8227 (python-shell-completion-get-completions): Detect and send import
8228 statements directly to completion function.
8229 (python-shell-completion-at-point): Simplify prompt calculation
8230 and import vs input completion logic.
8231
8232 2014-08-02 Alan Mackenzie <acm@muc.de>
8233
8234 Fix confusion in C++ file caused by comma in "= {1,2},".
8235 Bug #17756.
8236 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
8237 for a statement boundary marked by "}", check there's no "="
8238 before the "{".
8239 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
8240 non-nil `comma-delim' argument.
8241 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
8242 initializer expression more accurately.
8243
8244 Correct loop termination condition in c-syntactic-skip-backward.
8245 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
8246 the situation where, after moving back out of a literal,
8247 skip-chars-backward doesn't move further, yet checks have still to
8248 be done.
8249
8250 2014-08-01 Eli Zaretskii <eliz@gnu.org>
8251
8252 * tutorial.el (tutorial--display-changes): Accept punctuation
8253 characters before the key binding. (Bug#18146)
8254
8255 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
8256
8257 * progmodes/python.el: Shell output capture enhancements.
8258 (python-shell-accept-process-output): New function.
8259 (inferior-python-mode)
8260 (python-shell-send-setup-code): Use it.
8261
8262 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
8263
8264 * calendar/icalendar.el (icalendar--decode-isodatetime):
8265 Use actual current-time-zone when converting to local time. (Bug#15408)
8266
8267 2014-07-29 Martin Rudalics <rudalics@gmx.at>
8268
8269 * window.el (window--state-put-2): Handle horizontal scroll
8270 bars, if present.
8271
8272 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8273
8274 * menu-bar.el (menu-bar-update-buffers): Update item list format
8275 in `buffers-menu' to confirm with changes to `get_keyelt'
8276 (r117463). (Bug#18016)
8277
8278 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8279
8280 * progmodes/python.el (inferior-python-mode): Make input prompts
8281 read-only.
8282
8283 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
8284
8285 * net/tramp-sh.el (tramp-get-remote-python): Also search for
8286 executables named "python2" or "python3".
8287 (tramp-get-remote-uid-with-python): Use parentheses around
8288 arguments to `print' to make it compatible with Python 3.
8289 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
8290
8291 2014-07-28 Eli Zaretskii <eliz@gnu.org>
8292
8293 * window.el (window--pixel-to-total): Use FRAME's root window, not
8294 that of the selected frame. (Bug#18112, Bug#16674)
8295
8296 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
8297
8298 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8299 (Bug#18117)
8300
8301 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8302
8303 * progmodes/python.el (inferior-python-mode): Doc fix.
8304
8305 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8306
8307 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8308 not a character, ignore it instead of raising an error.
8309
8310 * calendar/todo-mode.el: Fix handling of marked items and make
8311 minor code improvements.
8312 (todo-edit-item): If there are marked items, ensure user can only
8313 invoke editing commands that work with marked items.
8314 (todo-edit-item--text): When there are marked items, make it a
8315 noop if invoked with point not on an item; otherwise, ensure it
8316 applies only to item at point.
8317 (todo-item-undone): If there are marked not-done items, return
8318 point to its original position before signaling user error.
8319 (todo--user-error-if-marked-done-item): New function.
8320 (todo-edit-item--header, todo-edit-item--diary-inclusion)
8321 (todo-item-done): Use it.
8322
8323 2014-07-28 Glenn Morris <rgm@gnu.org>
8324
8325 * files.el (toggle-read-only): Re-add basic doc-string.
8326 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8327
8328 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8329 Replace missing `switch-to-prolog' with `run-prolog'.
8330 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8331
8332 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8333
8334 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8335 of file-wide setting when changing category-wide setting.
8336
8337 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8338
8339 * doc-view.el (doc-view-open-text): Don't require that the
8340 document is saved in a file (e.g., email attachment).
8341
8342 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8343
8344 Parse completion input in a iPython friendly way. (Bug#18084)
8345 * progmodes/python.el
8346 (python-shell-completion-at-point): Rename from
8347 python-shell-completion-complete-at-point.
8348 (inferior-python-mode): Use it.
8349 (python-completion-at-point): Rename from
8350 python-completion-complete-at-point. Parse input up to first
8351 backward occurrence of whitespace, open-paren, close-paren or
8352 string delimiter.
8353 (python-mode): Use it.
8354
8355 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8356
8357 * progmodes/python.el
8358 (python-shell-with-shell-buffer): New macro.
8359 (python-shell-font-lock-get-or-create-buffer)
8360 (python-shell-font-lock-kill-buffer)
8361 (python-shell-font-lock-with-font-lock-buffer)
8362 (python-shell-font-lock-cleanup-buffer)
8363 (python-shell-font-lock-toggle): Use it.
8364 (python-shell-font-lock-turn-on)
8365 (python-shell-font-lock-turn-off): Use it. Make command.
8366
8367 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8368
8369 Grab all Python process output before inferior-python-mode hooks.
8370 * progmodes/python.el (inferior-python-mode):
8371 Call accept-process-output and sit-for to ensure all output for process
8372 has been received before running hooks.
8373 (python-shell-internal-get-or-create-process):
8374 Cleanup accept-process-output and sit-for calls.
8375
8376 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8377
8378 More robust shell startup and code setup.
8379 * progmodes/python.el (python-shell-make-comint):
8380 Remove accept-process-output call.
8381 (python-shell-get-buffer): Return current buffer if major-mode is
8382 inferior-python-mode.
8383 (python-shell-get-or-create-process): Use it.
8384 (python-shell-send-setup-code): Send all setup code in one string,
8385 output success message and accept-process-output.
8386
8387 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8388
8389 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8390 Add rudimentary support for bidirectional text.
8391
8392 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8393
8394 * frame.el (frame-notice-user-settings): Rewrite using
8395 frame-initial-frame-tool-bar-height.
8396 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8397 (menu-bar-no-horizontal-scroll-bar): New functions.
8398 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8399 scroll bars.
8400 * scroll-bar.el (scroll-bar-lines)
8401 (set-horizontal-scroll-bar-mode)
8402 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8403 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8404 (scroll-bar-toolkit-horizontal-scroll): New functions.
8405 (horizontal-scroll-bar-mode)
8406 (previous-horizontal-scroll-bar-mode)
8407 (horizontal-scroll-bar-mode-explicit): New variables.
8408 (horizontal-scroll-bar-mode): New option.
8409 (toggle-horizontal-scroll-bar): Do something.
8410 (top-level): Bind horizontal-scroll-bar mouse-1.
8411 * startup.el (tool-bar-originally-present): Remove variable.
8412 (command-line): Don't set tool-bar-originally-present.
8413 * window.el (window-min-height): Update doc-string.
8414 (window--dump-frame): Dump horizontal scroll bar values.
8415 (window--min-size-1): Handle minibuffer window separately.
8416 Count in margins and horizontal scroll bar. Return safe value
8417 iff IGNORE equals 'safe.
8418 (frame-windows-min-size): New function (used by frame resizing
8419 routines).
8420 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8421 scroll bars.
8422 (window--sanitize-window-sizes): New function.
8423 (window-split-min-size): Remove.
8424 (split-window): Count divider-width. Don't use
8425 `window-split-min-size' any more. Reword error messages.
8426 Sanitize windows sizes after splitting.
8427
8428 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8429
8430 Use `defvar-local' more.
8431 * progmodes/hideshow.el
8432 (hs-c-start-regexp, hs-block-start-regexp)
8433 (hs-block-start-mdata-select, hs-block-end-regexp)
8434 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8435 remove corresponding `make-variable-buffer-local' top-level calls.
8436
8437 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8438
8439 Cleanup error signals. (Bug#18067)
8440 * progmodes/python.el
8441 (python-indent-shift-left): Use user-error instead.
8442 (python-shell-prompt-detect): Use lwarn with python group.
8443 (python-completion-complete-at-point)
8444 (python-eldoc--get-doc-at-point): Don't signal error.
8445
8446 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8447
8448 Support for packages in Python shell. (Bug#13570)
8449 * progmodes/python.el (python-shell--package-depth): New var.
8450 (python-shell-package-enable): New command.
8451 (python-util-list-directories, python-util-list-files)
8452 (python-util-list-packages): New functions.
8453
8454 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8455
8456 Faster comint output. (Bug#16875)
8457 * progmodes/python.el:
8458 (python-comint-output-filter-function): Make obsolete.
8459 (python-comint-postoutput-scroll-to-bottom): New function.
8460 (inferior-python-mode): Set comint-output-filter-functions to a
8461 minimum.
8462
8463 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8464
8465 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8466 Safeguard current point and undo history.
8467
8468 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8469
8470 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8471 * progmodes/python.el:
8472 (python-shell-prompt-input-regexps): Add iPython block prompt.
8473 (python-shell-output-syntax-table): Delete var.
8474 (python-shell-font-lock-with-font-lock-buffer): New macro.
8475 (python-shell-font-lock-get-or-create-buffer)
8476 (python-shell-font-lock-kill-buffer)
8477 (python-shell-font-lock-cleanup-buffer)
8478 (python-shell-font-lock-post-command-hook)
8479 (python-shell-font-lock-turn-off): New functions.
8480 (python-shell-font-lock-turn-on): New function.
8481 (inferior-python-mode): Use it.
8482 (python-shell-font-lock-toggle): New command.
8483 (python-shell-font-lock-enable): Rename from
8484 python-shell-enable-font-lock.
8485 (run-python-internal): Use it.
8486 (python-shell-font-lock-comint-output-filter-function): New function.
8487 (python-shell-comint-end-of-output-p): New function.
8488 (python-shell-output-filter): Use it.
8489 (python-util-comint-last-prompt): New function.
8490 (python-util-text-properties-replace-name): New function.
8491
8492 2014-07-25 Glenn Morris <rgm@gnu.org>
8493
8494 * vc/ediff-init.el (ediff-toggle-read-only-function):
8495 * vc/ediff-util.el (ediff-toggle-read-only):
8496 Replace obsolete toggle-read-only with read-only-mode.
8497
8498 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8499
8500 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8501 with `save-match-data'. (Bug#18095)
8502
8503 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8504
8505 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8506 order to ensure that row and col are lexically bound inside the
8507 evaluated sexp.
8508
8509 2014-07-21 Glenn Morris <rgm@gnu.org>
8510
8511 * progmodes/hideif.el (hide-ifdef-mode-submap):
8512 Also substitute read-only-mode.
8513 * bindings.el (mode-line-toggle-read-only):
8514 * bs.el (bs-toggle-readonly):
8515 * buff-menu.el (Buffer-menu-toggle-read-only):
8516 * dired.el (dired-toggle-read-only):
8517 * files.el (view-read-only, find-file-read-only)
8518 (find-file-read-only-other-window)
8519 (find-file-read-only-other-frame):
8520 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8521 Doc fixes re toggle-read-only.
8522
8523 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8524
8525 * progmodes/python.el: Add comment about pipe buffering and
8526 solutions for missing/delayed output in inferior Python shells.
8527 (Bug#17304)
8528
8529 * progmodes/python.el (python-mode): Don't set
8530 mode-require-final-newline. (Bug#17990)
8531
8532 Make python.el work with IPython automatically. (Bug#15510)
8533 * progmodes/python.el:
8534 (python-shell-completion-setup-code): New value supporting iPython.
8535 (python-shell-completion-string-code): New value supporting iPython.
8536 (python-shell-completion-get-completions): Use them.
8537 (python-shell-completion-module-string-code): Make obsolete.
8538 (python-shell-prompt-input-regexps)
8539 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8540 (python-shell-output-filter): Fix comment typo.
8541
8542 Fix Python shell prompts detection for remote hosts.
8543 * progmodes/python.el (python-shell-prompt-detect):
8544 Replace call-process with process-file and make it more robust.
8545
8546 Autodetect Python shell prompts. (Bug#17370)
8547 * progmodes/python.el:
8548 (python-shell-interpreter-interactive-arg)
8549 (python-shell-prompt-detect-enabled)
8550 (python-shell-prompt-detect-failure-warning)
8551 (python-shell-prompt-input-regexps)
8552 (python-shell-prompt-output-regexps): New vars.
8553 (python-shell-prompt-calculated-input-regexp)
8554 (python-shell-prompt-calculated-output-regexp): New vars.
8555 (python-shell-get-process-name)
8556 (python-shell-internal-get-process-name)
8557 (python-shell-output-filter)
8558 (python-shell-completion-get-completions): Use them.
8559 (python-shell-prompt-detect)
8560 (python-shell-prompt-validate-regexps): New functions.
8561 (python-shell-prompt-set-calculated-regexps): New function.
8562 (inferior-python-mode): Use it. Also honor overriden
8563 python-shell-interpreter and python-shell-interpreter-args.
8564 (python-shell-make-comint): Honor overriden
8565 python-shell-interpreter and python-shell-interpreter-args.
8566 (python-shell-get-or-create-process): Make it testable by allowing
8567 to call run-python non-interactively.
8568 (python-util-valid-regexp-p): New function.
8569 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8570 (python-shell-prompt-output-regexp)
8571 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8572
8573 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8576 smie-config--guess.
8577 (smie-config--guess): Use it.
8578
8579 * emacs-lisp/edebug.el: Use nadvice.
8580 (edebug-original-read): Remove.
8581 (edebug--read): Rename from edebug-read and add `orig' arg.
8582 (edebug-uninstall-read-eval-functions)
8583 (edebug-install-read-eval-functions): Use nadvice.
8584 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8585 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8586 (edebug-read-string, edebug-read-function): Use just `read'.
8587 (edebug-original-debug-on-entry): Remove.
8588 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8589 `orig' arg.
8590 (debug-on-entry): Override with nadvice.
8591
8592 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8593 it also makes sense to bind it to a non-mouse event.
8594
8595 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8596
8597 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8600 (bug#18015).
8601
8602 * rect.el (rectangle--string-preview): Don't assume there
8603 a non-nil default (bug#17984).
8604
8605 2014-07-16 Glenn Morris <rgm@gnu.org>
8606
8607 * desktop.el (after-init-hook): Disable startup frame restoration
8608 in non-graphical situations. (Bug#17693)
8609
8610 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8611 if it was "empty", or used for a different set of files. (Bug#17884)
8612
8613 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8614
8615 * bindings.el (mode-line-remote): If default-directory is not a
8616 string, don't call file-remote-p on it; instead state in the
8617 help-echo that it is nil. (Bug#17986)
8618
8619 2014-07-14 Daniel Colascione <dancol@dancol.org>
8620
8621 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8622 to `macroexpand-all'
8623
8624 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8625 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8626
8627 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8628
8629 Fix bug: C-x v v discarded existing log message (Bug#17884).
8630 * vc/vc-dispatcher.el (vc-log-edit):
8631 Don't clobber an already-existing log message.
8632
8633 2014-07-12 Glenn Morris <rgm@gnu.org>
8634
8635 * vc/log-edit.el (log-edit-changelog-entries):
8636 Check for a visited-but-never-saved ChangeLog.
8637
8638 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8641 a non-existing file (bug#17970).
8642
8643 * faces.el (face-name): Undo last change.
8644 (x-resolve-font-name): Don't call face-name (bug#17956).
8645
8646 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8647
8648 Fix dedenters and electric colon handling. (Bug#15163)
8649 * progmodes/python.el
8650 (python-rx-constituents): Add dedenter and block-ender.
8651 (python-indent-dedenters, python-indent-block-enders): Delete.
8652 (python-indent-context): Return new case for dedenter-statement.
8653 (python-indent-calculate-indentation): Handle new case.
8654 (python-indent-calculate-levels): Fix levels calculation for
8655 dedenter statements.
8656 (python-indent-post-self-insert-function): Fix colon handling.
8657 (python-info-dedenter-opening-block-message): New function.
8658 (python-indent-line): Use it.
8659 (python-info-closing-block)
8660 (python-info-closing-block-message): Remove.
8661 (python-info-dedenter-opening-block-position)
8662 (python-info-dedenter-opening-block-positions)
8663 (python-info-dedenter-statement-p): New functions.
8664
8665 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8666
8667 * files.el (out-of-memory-warning-percentage): New defcustom.
8668 (warn-maybe-out-of-memory): Use it.
8669
8670 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8671
8672 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8673 when calling `read-string'. (Bug#17839)
8674
8675 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8676
8677 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8678 warning.
8679
8680 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8681
8682 * files.el (warn-maybe-out-of-memory): New function.
8683 (find-file-noselect): Use it.
8684
8685 2014-07-09 Sam Steingold <sds@gnu.org>
8686
8687 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8688 `constant' like `bless', `return' &c
8689
8690 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8693 next line.
8694
8695 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8698 the middle of a line (bug#17896).
8699
8700 2014-07-09 Juri Linkov <juri@jurta.org>
8701
8702 * startup.el (command-line): Append displaying the warning about
8703 the errors in the init file to the end of `after-init-hook'.
8704 (Bug#17927)
8705
8706 * faces.el (face-name): Return input arg `face' as-is
8707 when it's not a symbol.
8708 (x-resolve-font-name): Don't check if the face is a symbol.
8709 (Bug#17956)
8710
8711 * facemenu.el (list-colors-print): In help-echo format use %.2f
8712 instead of %d because now HSV values are floating-point components
8713 between 0.0 and 1.0.
8714
8715 2014-07-09 Glenn Morris <rgm@gnu.org>
8716
8717 * emulation/cua-rect.el (cua--activate-rectangle):
8718 Avoid setting cua--rectangle to nil. (Bug#17877)
8719
8720 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8721
8722 * calendar/todo-mode.el: Fix wrong-type-argument error when
8723 marking multiple consecutive items.
8724 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8725 end of the todo and done items sections. Note in doc string that
8726 items marked by passing a numeric prefix argument can include the
8727 last todo and first done items.
8728 (todo-mark-category): Don't try to mark the empty line between the
8729 todo and done items sections.
8730
8731 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8734 proper Lisp quoting (bug#17934).
8735
8736 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8737 require-final-newline since prog-mode already took care of it (bug#17947).
8738
8739 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8740
8741 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8742 refer to the Todo mode Info manual. Update the comment on
8743 requiring cl-lib.
8744 (todo-find-filtered-items-file): Add todo-prefix overlays.
8745 (todo-filter-items): Reorder a let-bound variable to avoid a
8746 wrong-type-argument error on canceling the file choice dialog.
8747
8748 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * progmodes/octave.el (inferior-octave-mode):
8751 Set comint-input-ring-size to a number (bug#17912).
8752
8753 2014-07-09 Juri Linkov <juri@jurta.org>
8754
8755 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8756 and `isearch-mode' associated with nil. (Bug#17849)
8757
8758 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * linum.el (linum--face-height): New function (bug#17813).
8761 (linum-update-window): Use it to adjust margin to linum's width.
8762
8763 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8764 * eshell/em-smart.el (eshell-smart-scroll-window):
8765 Use with-selected-window.
8766
8767 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8768 Remove also pointless window&mark manipulation.
8769
8770 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8771 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8772 (perl-continuation-line-p): Don't skip over anything else than labels.
8773 Return the previous char.
8774 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8775 and update callers accordingly. For continuation lines, check the
8776 the case of array hashes.
8777 (perl-backward-to-noncomment): Make it non-interactive.
8778 (perl-backward-to-start-of-continued-exp): Rewrite.
8779
8780 2014-07-08 Sam Steingold <sds@gnu.org>
8781
8782 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8783 New user commands.
8784
8785 2014-07-08 Juri Linkov <juri@jurta.org>
8786
8787 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8788 (vc-annotate-color-map): Use less saturated colors (20%) for
8789 background-mode.
8790 (vc-annotate-very-old-color): Add default value for background-mode.
8791 (vc-annotate-background): Set default value to nil since now text on
8792 the default backgrounds should be legible in light and dark modes.
8793 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8794 (Bug#17808)
8795
8796 2014-07-08 Juri Linkov <juri@jurta.org>
8797
8798 * simple.el (transpose-chars): Don't move point into read-only area.
8799 (Bug#17829)
8800
8801 2014-07-08 Juri Linkov <juri@jurta.org>
8802
8803 * window.el (with-displayed-buffer-window): New macro.
8804 (with-temp-buffer-window, with-current-buffer-window):
8805 Use `macroexp-let2' to evaluate and bind variables
8806 in the same order as macro arguments.
8807 (display-buffer--action-function-custom-type):
8808 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8809
8810 * minibuffer.el (minibuffer-completion-help): Replace
8811 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8812 with actions that display *Completions* at-bottom when called
8813 from the minibuffer, or below-selected in a normal buffer.
8814 Associate `window-height' with `fit-window-to-buffer'.
8815 Let-bind `pop-up-windows' to nil.
8816
8817 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8818 instead of `with-current-buffer-window'. (Bug#17809)
8819
8820 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8821
8822 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8823 (hide-ifdef-env-backup): New variable.
8824 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8825 New customizable variables.
8826 (hif-clear-all-ifdef-defined): New defun.
8827 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8828 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8829 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8830 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8831 Fix bug to hide the correct #elif region(s).
8832 (hif-range-elif): New defun.
8833 (hif-recurse-level): New var.
8834 (hif-evaluate-region, hif-evaluate-macro): New defun.
8835 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8836 fully hidden.
8837 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8838 Better interaction.
8839
8840 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8841
8842 * net/dbus.el (dbus-peer-handler): New defun.
8843 (dbus-register-service): Register it. (Bug#17858)
8844 (dbus-managed-objects-handler): Fix docstring.
8845
8846 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8847
8848 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8849 (narrow-to-defun): New arg include-comments, defaulting to it
8850 (bug#16328).
8851
8852 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8855 different calling convention to rectangle--unhighlight-for-redisplay.
8856
8857 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8858
8859 * net/tramp.el (tramp-call-process): Handle error strings.
8860
8861 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8862
8863 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8864 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8865
8866 * net/trampver.el: Update release number.
8867
8868 2014-07-03 Juri Linkov <juri@jurta.org>
8869
8870 * desktop.el (desktop-save): Rename arg `auto-save' to
8871 `only-if-changed'. Doc fix. (Bug#17873)
8872
8873 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8876 Use insert-for-yank (bug#17271).
8877
8878 2014-07-03 Leo Liu <sdl.web@gmail.com>
8879
8880 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8881 Support lexical-binding.
8882
8883 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * vc/log-edit.el (log-edit-goto-eoh): New function.
8886 (log-edit--match-first-line): Use it (bug#17861).
8887
8888 2014-07-03 Glenn Morris <rgm@gnu.org>
8889
8890 * vc/log-edit.el (log-edit-hook): Add missing :version.
8891
8892 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8893
8894 * progmodes/python.el (python-indent-post-self-insert-function):
8895 Enhancements to electric indentation behavior inside
8896 parens. (Bug#17658)
8897
8898 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8901 buffer-invisibility-spec (bug#17867).
8902
8903 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8904
8905 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8906 pass "-a".
8907
8908 2014-07-03 Glenn Morris <rgm@gnu.org>
8909
8910 * cus-edit.el (help):
8911 * finder.el (finder-known-keywords):
8912 * help.el (help-for-help-internal):
8913 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8914 (ediff-redraw-registry-buffer):
8915 * vc/ediff-ptch.el (ediff-patch-file-internal):
8916 Doc fixes re "online" help. (Bug#17803)
8917
8918 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8919 (idlwave-mode): Doc URL update.
8920
8921 2014-07-01 Juri Linkov <juri@jurta.org>
8922
8923 * man.el: Display man pages immediately and use process-filter
8924 to format them asynchronously.
8925 (Man-width): Doc fix.
8926 (man): Doc fix.
8927 (Man-start-calling): Use `with-selected-window' to get
8928 `frame-width' and `window-width'.
8929 (Man-getpage-in-background): Call `Man-notify-when-ready'
8930 immediately after creating a new buffer. Call `Man-mode' and set
8931 `mode-line-process' in the created buffer. Set process-filter to
8932 `Man-bgproc-filter' in start-process branch. In call-process branch
8933 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8934 Use `Man-start-calling' inside `with-current-buffer'.
8935 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8936 (Man-cleanup-manpage): Don't print messages.
8937 (Man-bgproc-filter): New function.
8938 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8939 user moved it during asynchronous formatting. Move calls of
8940 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8941 `Man-bgproc-filter'. Move the call of `Man-mode' to
8942 `Man-getpage-in-background'. Use `quit-restore-window'
8943 instead of `kill-buffer'. Use `message' instead of `error'
8944 because errors are caught by process sentinel.
8945 (Man-mode): Move calls of `Man-build-page-list',
8946 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8947 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8948
8949 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8950 for the message about the man page cleaned up.
8951
8952 2014-07-01 Mario Lang <mlang@delysid.org>
8953
8954 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8955 cosutomization option `gnutls-verify-error'.
8956
8957 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8960 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8961
8962 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8963 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8964 is suspended (bug#17857).
8965
8966 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8967
8968 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8969 Prefer utf-8 coding. (Bug#17859)
8970
8971 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8972
8973 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8974 for `reverse'.
8975
8976 2014-06-30 Glenn Morris <rgm@gnu.org>
8977
8978 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8979 (autoload-ensure-default-file): Maybe make existing output writable.
8980 * Makefile.in (AUTOGEN_VCS): Remove.
8981 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8982
8983 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8984
8985 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8986
8987 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8988
8989 New if-let, when-let, thread-first and thread-last macros.
8990
8991 * emacs-lisp/subr-x.el
8992 (internal--listify, internal--check-binding)
8993 (internal--build-binding-value-form, internal--build-binding)
8994 (internal--build-bindings): New functions.
8995 (internal--thread-argument, thread-first, thread-last)
8996 (if-let, when-let): New macros.
8997
8998 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8999
9000 * net/rcirc.el (rcirc-buffer-process): Restore previous
9001 behaviour. (Bug#17772)
9002
9003 2014-06-29 Alan Mackenzie <acm@muc.de>
9004
9005 Don't call c-parse-state when c++-template-syntax-table is active.
9006 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
9007 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
9008 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
9009
9010 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
9011
9012 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
9013 account for file-wide setting of todo-top-priorities-overrides.
9014 Make code a bit cleaner.
9015
9016 2014-06-28 Glenn Morris <rgm@gnu.org>
9017
9018 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
9019
9020 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
9021
9022 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
9023 category-wide setting of todo-top-priorities-overrides, check for
9024 a file-wide setting and fontify accordingly.
9025
9026 2014-06-28 Glenn Morris <rgm@gnu.org>
9027
9028 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
9029
9030 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
9033
9034 2014-06-28 K. Handa <handa@gnu.org>
9035
9036 Fix Bug#17739.
9037
9038 * composite.el: Setup composition-function-table for dotted circle.
9039 (compose-gstring-for-dotted-circle): New function.
9040
9041 * international/characters.el: Add category "^" to all
9042 non-spacing characters.
9043
9044 2014-06-28 Glenn Morris <rgm@gnu.org>
9045
9046 * Makefile.in (doit): Remove force rule.
9047 (custom-deps, finder-data, autoloads, update-subdirs)
9048 (compile-one-process): PHONY targets do not need force rules.
9049
9050 * Makefile.in (compile-main, compile, compile-always):
9051 No need to explicitly pass variables to ourself in recursive calls.
9052
9053 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
9056
9057 2014-06-26 Glenn Morris <rgm@gnu.org>
9058
9059 * Makefile.in (update-authors): Update for moved authors.el.
9060
9061 2014-06-26 Leo Liu <sdl.web@gmail.com>
9062
9063 * skeleton.el (skeleton-end-hook): Default to nil and move the
9064 work to skeleton-insert. (Bug#17850)
9065
9066 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
9067
9068 * calc/calc-alg.el (math-beforep):
9069 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
9070 Simplify because string-lessp can accept symbols as args.
9071
9072 2014-06-26 Daiki Ueno <ueno@gnu.org>
9073
9074 * emacs-lisp/package.el (package--check-signature):
9075 If package-check-signature is allow-unsigned, don't signal error when
9076 we can't verify signature because of missing public key
9077 (bug#17625).
9078
9079 2014-06-26 Glenn Morris <rgm@gnu.org>
9080
9081 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
9082 Remove outdated declaration.
9083
9084 * emacs-lisp/authors.el (authors-valid-file-names)
9085 (authors-renamed-files-alist): Additions.
9086
9087 2014-06-26 Leo Liu <sdl.web@gmail.com>
9088
9089 * textmodes/picture.el (picture-set-tab-stops):
9090 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
9091 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
9092
9093 * progmodes/asm-mode.el (asm-calculate-indentation):
9094 Use indent-next-tab-stop.
9095
9096 * indent.el (indent-accumulate-tab-stops): New function.
9097
9098 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
9101 (package-desc-status): Obey it.
9102
9103 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
9104
9105 * calendar/todo-mode.el: Fix two bugs.
9106 (todo-insert-item--basic): If user cancels item insertion to
9107 another category before setting priority, show original category
9108 whether it is in the same or a different file.
9109 (todo-set-item-priority): After selecting category, instead of
9110 moving point to top, which extends an active region, restore it.
9111
9112 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * help-fns.el (describe-function-1): Check file-name is a string before
9115 calling help-fns--autoloaded-p (bug#17564).
9116
9117 2014-06-26 Juri Linkov <juri@jurta.org>
9118
9119 * desktop.el (desktop-auto-save-enable)
9120 (desktop-auto-save-disable): New functions.
9121 (desktop-save-mode, desktop-auto-save-timeout): Use them.
9122 (desktop-read): Disable the autosave before loading the desktop,
9123 and enable afterwards. (Bug#17351)
9124
9125 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 Fix some indentation problem with \; and pipes (bug#17842).
9128 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
9129 (sh-smie--default-forward-token, sh-smie--default-backward-token):
9130 New functions.
9131 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
9132 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
9133 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
9134
9135 2014-06-26 Glenn Morris <rgm@gnu.org>
9136
9137 * emacs-lisp/find-func.el (find-function-C-source-directory):
9138 Use file-accessible-directory-p.
9139
9140 * ps-samp.el: Make it slightly less awful.
9141 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
9142 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
9143 Only set local values.
9144 (ps-article-subject, ps-article-author): Use standard functions
9145 like mail-fetch-field.
9146 (ps-info-file, ps-info-node): Use match-string.
9147 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
9148 (ps-samp-ps-setup): ... new function.
9149
9150 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
9151 Optimize away code unneeded on any modern Emacs.
9152
9153 * emacs-lisp/authors.el: Move to ../admin.
9154
9155 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
9156
9157 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
9158
9159 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
9160 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
9161 performance enhancements.
9162 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
9163 expansion.
9164 (hif-factor, hif-string-concatenation, intern-safe): Support string
9165 concatenation and argumented macro expansion.
9166 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
9167 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
9168 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
9169 (hif-canonicalize-tokens, hif-place-macro-invocation)
9170 (hif-parse-macro-arglist): Mostly new functions for supporting
9171 argumented macro expansion.
9172 (hif-string-concatenation, hif-stringify, hif-token-concat)
9173 (hif-token-stringification, hif-token-concatenation):
9174 Stringification and concatenation.
9175 (hif-find-next-relevant): Fix comments.
9176 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
9177 some cases involving #elif.
9178 (hif-find-define, hif-add-new-defines): New functions for automatically
9179 scanning of defined symbols.
9180 (hide-ifdef-guts): Fix for defined symbol auto scanning.
9181 (hide-ifdef-undef): Fix behavior to match CPP.
9182
9183 2014-06-25 Glenn Morris <rgm@gnu.org>
9184
9185 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
9186 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
9187 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
9188 files. They are not relevant to the original issue (bug#1004),
9189 and cause unnecessary recompilation (bug#2151).
9190
9191 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * play/landmark.el: Use lexical-binding and avoid `intangible'.
9194 (landmark--last-pos): New var.
9195 (landmark--intangible-chars): New const.
9196 (landmark--intangible): New function.
9197 (landmark-mode, landmark-move): Use it.
9198 (landmark-mode): Remove properties.
9199 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
9200 (landmark-cross-qtuple):
9201 Don't worry about `intangible' any more.
9202 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
9203 (landmark-init-display): Don't set `intangible' and `point-entered'.
9204 (square): Remove. Inline it instead.
9205 (landmark--distance): Rename from `distance'.
9206 (landmark-calc-distance-of-robot-from): Rename from
9207 calc-distance-of-robot-from.
9208 (landmark-calc-smell-internal): Rename from calc-smell-internal.
9209
9210 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
9211
9212 * files.el (dir-locals-find-file, file-relative-name):
9213 * info.el (Info-complete-menu-item):
9214 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
9215 to compare-strings to avoid out-of-range errors.
9216 * subr.el (string-prefix-p): Adjust to match strict range
9217 checking in compare-strings.
9218
9219 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
9220
9221 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
9222 for comment lines non-greedy and stopping at newlines to fix stack
9223 overflows with large files.
9224
9225 2014-06-24 Eli Barzilay <eli@barzilay.org>
9226
9227 * calculator.el (calculator-last-input): Drop 'ascii-character property
9228 lookup.
9229
9230 2014-06-24 Leo Liu <sdl.web@gmail.com>
9231
9232 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
9233 tab-stop-list to nil. (Bug#16381)
9234
9235 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
9236 (indent-rigidly-left-to-tab-stop)
9237 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
9238 (move-to-tab-stop): Change callers.
9239
9240 2014-06-24 Eli Zaretskii <eliz@gnu.org>
9241
9242 * skeleton.el (skeleton-insert): Yet another fix of the doc string
9243 wrt behavior of \n as the first/last element of a skeleton.
9244
9245 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
9246
9247 * net/tramp-adb.el (tramp-adb-handle-process-file):
9248 * net/tramp-sh.el (tramp-sh-handle-process-file):
9249 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
9250 the output buffer when DISPLAY is non-nil. (Bug#17815)
9251
9252 2014-06-24 Glenn Morris <rgm@gnu.org>
9253
9254 * play/landmark.el (landmark-move-down, landmark-move-up):
9255 Fix 2007-10-20 change - preserve horizontal position.
9256
9257 2014-06-23 Sam Steingold <sds@gnu.org>
9258
9259 * simple.el (kill-append): Remove undo boundary depending on ...
9260 (kill-append-merge-undo): New user option.
9261
9262 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9263
9264 * simple.el (handle-shift-selection, exchange-point-and-mark)
9265 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9266 (transient-mark-mode): Use&set the global value.
9267 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9268 * emulation/edt.el (edt-emulation-off): Save&restore the global
9269 transient-mark-mode setting.
9270 * obsolete/pc-select.el (pc-selection-mode): Use the
9271 transient-mark-mode function.
9272
9273 2014-06-23 Eli Zaretskii <eliz@gnu.org>
9274
9275 * international/fontset.el (script-representative-chars):
9276 Add representative characters for scripts added in Unicode 7.0.
9277 (otf-script-alist): Synchronize with the latest registry of OTF
9278 script tags.
9279
9280 * international/characters.el (char-script-table): Update for
9281 scripts added and codepoint ranges changed in Unicode 7.0.
9282
9283 2014-06-23 Eli Barzilay <eli@barzilay.org>
9284
9285 * calculator.el (calculator-standard-displayer): Fix bug in use of
9286 `calculator-groupize-number'.
9287 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9288 `eval' code, so it works in v24.3.1 too.
9289 (calculator-last-input): Comment to clarify purpose.
9290
9291 2014-06-22 Mario Lang <mlang@delysid.org>
9292
9293 * textmodes/rst.el (rst-comment-region): From from -> from.
9294
9295 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9296
9297 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
9298
9299 * electric.el (electric-layout-post-self-insert-function):
9300 * emacs-lisp/ert.el (ert--insert-infos):
9301 * obsolete/vi.el (vi-set-mark):
9302 * term.el (term-handle-scroll):
9303 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9304 * wid-edit.el (widget-editable-list-value-create):
9305 Prefer point-marker to copy-marker of point.
9306
9307 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9308
9309 Fix completion retrieval parsing (bug#17209).
9310 * progmodes/python.el (python-mode):
9311 (python-util-strip-string): New function.
9312 (python-shell-completion-get-completions): Use it.
9313
9314 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9315
9316 * skeleton.el (skeleton-insert): Fix last change.
9317
9318 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9319
9320 Enhancements for outline integration (bug#17796).
9321 * progmodes/python.el (python-mode): Properly set
9322 outline-heading-end-regexp so that comments after colons for
9323 defuns are supported.
9324
9325 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9326
9327 * skeleton.el (skeleton-insert): Doc fix.
9328
9329 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9332 (smie-config-guess): Use smie-config-local so the rules are obeyed
9333 (bug#17818).
9334
9335 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9336 since it's already done inside the loop (bug#17819).
9337
9338 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9339
9340 * mouse.el (mouse-drag-line): Re-remove code initially removed
9341 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9342 (Bug#17819).
9343
9344 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9345
9346 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9347 align with the surrounding parent (bug#17721).
9348
9349 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9350
9351 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9352 locally to nil.
9353 (texinfo-insert-block, texinfo-insert-@end)
9354 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9355 local setting of skeleton-end-newline by adding an explicit \n to
9356 the skeletons where appropriate. (Bug#17801)
9357
9358 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9361 (smie-indent--hanging-p): Use it.
9362 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9363
9364 2014-06-21 Leo Liu <sdl.web@gmail.com>
9365
9366 * simple.el (read-quoted-char): Don't let help chars pop up help
9367 buffer. (Bug#16617)
9368
9369 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9372 for | (bug#17621).
9373
9374 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9375 Drop unknown events instead of burping.
9376
9377 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9378
9379 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9380 and later. (Bug#17790)
9381
9382 2014-06-21 Juri Linkov <juri@jurta.org>
9383
9384 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9385 to `soft'. (Bug#17554)
9386
9387 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9390 (bug#17737).
9391
9392 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9393
9394 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9395 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9396
9397 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9398
9399 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9400 `unread-command-events'.
9401
9402 2014-06-19 William Xu <william.xwl@gmail.com>
9403
9404 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9405 hex integer constants (bug#17807).
9406
9407 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * international/mule-util.el (truncate-string-ellipsis): New var.
9410 (truncate-string-to-width): Use it.
9411
9412 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9413
9414 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9415 (lisp-string-in-doc-position-p): New function, extracted from
9416 lisp-font-lock-syntactic-face-function.
9417 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9418
9419 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9420
9421 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9422
9423 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9426 (bubbles--game-over): Don't add `intangible' properties since they
9427 didn't work anyway.
9428
9429 2014-06-18 Juri Linkov <juri@jurta.org>
9430
9431 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9432 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9433 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9434 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9435 Add `min-colors 88' version with removed black/white foregrounds.
9436 (Bug#10181)
9437
9438 2014-06-18 Juri Linkov <juri@jurta.org>
9439
9440 * vc/diff-mode.el (diff-changed): Empty face definition to use
9441 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9442 (diff-context): Use darker color on light background and
9443 lighter color on dark background.
9444
9445 2014-06-18 Juri Linkov <juri@jurta.org>
9446
9447 * vc/diff-mode.el (diff-refine-changed): Rename from
9448 `diff-refine-change' for consistency with `diff-changed'.
9449 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9450
9451 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9452 `smerge-refined-change'.
9453 (smerge-refined-change): Add obsolete face alias.
9454
9455 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * rect.el (rectangle-preview): New custom.
9458 (rectangle): New group.
9459 (rectangle--pos-cols): Add `window' argument.
9460 (rectangle--string-preview-state, rectangle--string-preview-window):
9461 New vars.
9462 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9463 (rectangle--space-to, rectangle--string-preview): New functions.
9464 (string-rectangle): Use them.
9465 (rectangle--inhibit-region-highlight): New var.
9466 (rectangle--highlight-for-redisplay): Obey it. Make sure
9467 `apply-on-region' uses the point-crutches of the right window.
9468 Use :align-to rather than multiple spaces.
9469
9470 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9471
9472 * ruler-mode.el (ruler-mode-window-col)
9473 (ruler-mode-mouse-set-left-margin)
9474 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9475 from mouse position (Bug#17768).
9476
9477 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9478
9479 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9480 without varname or rhs causes crash.
9481 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9482 impossible to win endgame.
9483 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9484 rlogin is anymore.
9485 (dun-help): Bump version number; update contact info.
9486
9487 2014-06-15 Eli Barzilay <eli@barzilay.org>
9488
9489 * calculator.el (calculator-prompt, calculator-remove-zeros)
9490 (calculator-mode-hook, calculator-operators, calculator-stack)
9491 (calculator-mode): Tweak docstring.
9492 (calculator-user-operators): Tweak docstring, fix a bug in the last
9493 example.
9494 (calculator-displayer): `std' case has an optional boolean.
9495 (calculator-displayers): Use the new boolean to group in decimal mode.
9496 (calculator-mode-map, calculator, calculator-message)
9497 (calculator-op-arity, calculator-add-operators)
9498 (calculator-string-to-number, calculator-displayer-prev)
9499 (calculator-displayer-next, calculator-remove-zeros)
9500 (calculator-eng-display, calculator-number-to-string)
9501 (calculator-update-display, calculator-last-input)
9502 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9503 (calculator-exp, calculator-saved-move, calculator-clear)
9504 (calculator-copy, calculator-put-value, calculator-help)
9505 (calculator-expt, calculator-truncate): Minor code improvements.
9506 (calculator-need-3-lines): New function pulling out code from
9507 `calculator'.
9508 (calculator-get-display): Rename from `calculator-get-prompt', and
9509 improved.
9510 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9511 extended for all uses of it. All callers changed.
9512 (calculator-groupize-number): New utility for splitting a number into
9513 groups.
9514 (calculator-standard-displayer): Improve code, new optional argument to
9515 use comma-split groups, make second argument optional too to use with
9516 'left/'right inputs. All callers changed.
9517 (calculator-reduce-stack-once): New utility, doing the meat of what
9518 `calculator-reduce-stack' used to do, much improved (mostly using
9519 `pcase' for conciseness and clarity).
9520 (calculator-reduce-stack): Now doing just the reduction loop using
9521 `calculator-reduce-stack-once'.
9522 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9523 (calculator-last-input): Improve code, remove some old cruft.
9524 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9525 (calculator-integer-p): Remove.
9526 (calculator-fact): Improve code, make it work on non-integer values
9527 too (using truncated numbers).
9528
9529 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9530
9531 Sync with Tramp 2.2.10.
9532
9533 * net/tramp.el (tramp-methods): Tweak docstring.
9534 (tramp-handle-file-accessible-directory-p): Check for
9535 `file-readable-p' instead of `file-executable-p'.
9536 (tramp-check-cached-permissions):
9537 Use `tramp-compat-file-attributes'.
9538 (tramp-call-process): Add new argument VEC. Adapt callees in all
9539 tramp*.el files.
9540
9541 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9542 (tramp-adb-maybe-open-connection): Don't set
9543 `tramp-current-*' variables.
9544
9545 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9546 file properties of temporary buffers.
9547
9548 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9549
9550 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9551 (tramp-gvfs-handle-delete-file): Flush file
9552 properties, not directory properties.
9553 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9554 reading "unix::mode".
9555 (tramp-gvfs-handle-file-name-all-completions):
9556 Use "-h" option for "gvfs-ls".
9557 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9558 (tramp-gvfs-send-command): Simplify traces.
9559
9560 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9561 (vc-git-program, vc-hg-program): Declare.
9562 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9563 (tramp-methods) <nc>: Add new method.
9564 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9565 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9566 `tramp-login-args'.
9567 (tramp-default-user-alist): Add "nc".
9568 (top): Remove completion function for "sftp". Add completion
9569 functions for "nc" and "psftp".
9570 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9571 Implement support for "nc" method.
9572 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9573 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9574 Tweak docstring.
9575 (tramp-sh-handle-write-region): Tweak error message.
9576 (tramp-sh-handle-vc-registered): Remove backends when the remote
9577 binary does not exist.
9578 (tramp-find-inline-encoding): Do not raise an error.
9579 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9580 the "nc" case. Quote result also locally.
9581
9582 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9583 (tramp-smb-handle-set-file-acl): Use `start-process'.
9584 (tramp-smb-handle-insert-directory): Use progress reporter.
9585 (tramp-smb-handle-rename-file): Flush also file properties of
9586 FILENAME.
9587
9588 * net/trampver.el: Update release number.
9589
9590 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9593 add-to-list.
9594 (ses-localvars): Remove ses--local-printer-list, unused.
9595 (ses--metaprogramming): New macro. Use it to defvar variables.
9596 (ses-set-localvars): Simplify.
9597 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9598 property-list into an alist.
9599 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9600 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9601 Remove; use defstruct accessors/setters instead.
9602 (ses-cell-formula-aset, ses-cell-printer-aset)
9603 (ses-cell-references-aset): Remove, use setf instead.
9604 (ses--alist-get): New function.
9605 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9606 Use an alist instead of a plist and don't do move-to-front since the
9607 list is always short.
9608 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9609 (ses-cell-property-set-fun, ses-cell-property-set)
9610 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9611 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9612 (ses--letref): New macro.
9613 (ses-cell-property-pop): Rewrite.
9614 (ses--cell): Rename from ses-cell and make it into a function.
9615 Make `formula' fallback on `value' if nil.
9616 (ses--local-printer): Rename from ses-local-printer and make it into
9617 a function.
9618 (ses-set-cell): Turn it into a macro so finding the accessor from the
9619 field name is done at compile time.
9620 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9621 `ref' before adding `sym' to :ses-repair-reference.
9622 (ses-calculate-cell): Use ses--letref rather than
9623 ses-cell-property-get-handle.
9624 (ses-write-cells): Use a single prin1-to-string.
9625 (ses-setter-with-undo): New function.
9626 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9627 (ses-unset-with-undo): Remove.
9628 (ses-load): Prefer apply' over `eval'.
9629 (ses-read-printer, ses-set-column-width): Use standard "(default
9630 foo)" format.
9631
9632 2014-06-15 Glenn Morris <rgm@gnu.org>
9633
9634 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9635
9636 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9637 Replace delete-duplicates and mapcan by cl- versions throughout.
9638 And cl-macroexpand-all by macroexpand-all.
9639 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9640
9641 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9642
9643 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9644
9645 2014-06-15 Juri Linkov <juri@jurta.org>
9646
9647 * bindings.el: Put `ascii-character' property on keypad keys
9648 mapped to characters. (Bug#17759)
9649
9650 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9653 bumping forward into a closing paren (bug#17761).
9654
9655 * term/xterm.el (xterm--version-handler): Work around for OSX
9656 Terminal.app (bug#17607).
9657
9658 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9659
9660 * play/dunnet.el (dun-describe-room, dun-mode):
9661 If a lamp is in the room, you won't be eaten by a grue.
9662
9663 2014-06-13 Glenn Morris <rgm@gnu.org>
9664
9665 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9666 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9667 (compile-always): GNU make automatically passes
9668 command-line arguments to sub-makes.
9669
9670 * calendar/calendar.el (calendar-generate-window):
9671 Remove pointless call to font-lock-fontify-buffer.
9672
9673 2014-06-13 Matthias Meulien <orontee@gmail.com>
9674
9675 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9676 (bug#17767).
9677
9678 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * simple.el (set-mark-command): Simplify a bit.
9681
9682 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9683
9684 * help.el (help--key-binding-keymap): New function.
9685 (help--binding-locus): New function.
9686 (describe-key): Mention the keymap in which the binding was
9687 found. (bug#13948)
9688
9689 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * hippie-exp.el (he--all-buffers): New function.
9692 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9693 (try-expand-dabbrev-all-buffers): Use it.
9694
9695 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9696
9697 * hippie-exp.el (try-expand-line-all-buffers)
9698 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9699 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9700 original buffer, in case they're buffer-local.
9701
9702 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9703
9704 * ses.el (ses-initial-global-parameters-re): New defconst, a
9705 specific regexp is needed now that ses.el can handle both
9706 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9707 local printers.
9708 (ses-localvars): Add local variables needed for local printer handling.
9709 (ses-set-localvars): Handle hashmap initialization.
9710 (ses-paramlines-plist): Add param-line for number of local printers.
9711 (ses-paramfmt-plist): New defconst, needed for code factorization
9712 between functions `ses-set-parameter' and
9713 `ses-file-format-extend-paramter-list'
9714 (ses-make-local-printer-info): New defsubst.
9715 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9716 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9717 (ses-cell-printer-aset): New defmacro.
9718 (ses-local-printer-compile): New defun.
9719 (ses-local-printer): New defmacro.
9720 (ses-printer-validate, ses-call-printer): Add support for local
9721 printer functions.
9722 (ses-file-format-extend-paramter-list): New defun.
9723 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9724 factorization.
9725 (ses-load): Add support for local printer functions.
9726 (ses-read-printer): Update docstring and add support for local printer
9727 functions.
9728 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9729 (ses-safe-printer): Add support for local printer functions.
9730
9731 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9732
9733 * ffap.el (ffap-lax-url): New var (bug#17723).
9734 (ffap-url-at-point): Use it.
9735 (ffap-file-at-point): Avoid returning just "/".
9736
9737 2014-06-12 Matthias Meulien <orontee@gmail.com>
9738
9739 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9740 (python-mode-map): Bind it.
9741
9742 * progmodes/python.el (class skeleton): Don't erase last char of class
9743 name (bug#17683).
9744
9745 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9746
9747 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9748
9749 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9750
9751 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9752 (bug#17745).
9753
9754 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * international/mule-cmds.el: Use lexical-binding.
9757 (ucs-names): Simplify.
9758
9759 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9760
9761 * progmodes/python.el (run-python): Use read-shell-command.
9762
9763 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * rect.el: Make it possible to move bounds past EOL or into TABs.
9766 (operate-on-rectangle): Use apply-on-rectangle.
9767 (rectangle--mark-crutches): New var.
9768 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9769 (rectangle--crutches, rectangle--reset-crutches): New functions.
9770 (apply-on-rectangle): Obey crutches. Avoid setq.
9771 Fix missing final iteration if end is at EOB&BOL.
9772 (rectangle-mark-mode-map): Add remap bindings for
9773 exchange-point-and-mark and char/line movements.
9774 (rectangle--*-char): New function.
9775 (rectangle-exchange-point-and-mark, rectangle-right-char)
9776 (rectangle-left-char, rectangle-forward-char)
9777 (rectangle-backward-char, rectangle-next-line)
9778 (rectangle-previous-line): New commands.
9779 (rectangle--place-cursor): New function.
9780 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9781
9782 2014-06-08 Glenn Morris <rgm@gnu.org>
9783
9784 * startup.el (initial-buffer-choice): Doc fix.
9785 Reset :version (adding an option does not merit a :version bump).
9786
9787 * bookmark.el (bookmark-load):
9788 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9789
9790 2014-06-08 Juri Linkov <juri@jurta.org>
9791
9792 * desktop.el: Activate auto-saving on window configuration changes.
9793 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9794 `desktop-auto-save-set-timer' to/from
9795 `window-configuration-change-hook'.
9796 (desktop-auto-save-set-timer): Change REPEAT arg of
9797 `run-with-idle-timer' from t to nil.
9798 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9799
9800 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9801
9802 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9803 vc-hg-command (bug#17570).
9804
9805 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9808 (bug#17702).
9809
9810 2014-06-08 Glenn Morris <rgm@gnu.org>
9811
9812 * startup.el (window-setup-hook): Doc fix.
9813
9814 * emacs-lisp/package.el (package-check-signature)
9815 (package-unsigned-archives): Doc fixes.
9816
9817 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9818
9819 * window.el (display-buffer-use-some-window): Don't make window
9820 used smaller than it was before (Bug#17671).
9821
9822 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9823
9824 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9825 'redisplay' instead of '(sit-for 0)'.
9826
9827 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9828
9829 * net/tramp.el (tramp-ssh-controlmaster-options):
9830 Improve search regexp. (Bug#17653)
9831
9832 2014-06-08 Glenn Morris <rgm@gnu.org>
9833
9834 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9835
9836 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9837
9838 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9839
9840 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9841
9842 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9843 (bug#17586).
9844
9845 * vc/vc-hg.el (vc-hg-log-graph): New var.
9846 (vc-hg-print-log): Use it.
9847 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9848 graph output (bug#17515).
9849
9850 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9853 even happened elsewhere.
9854
9855 2014-06-06 Mario Lang <mlang@delysid.org>
9856
9857 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9858 `recenter' if `current-buffer' is equal to `window-buffer'.
9859
9860 2014-06-05 Leo Liu <sdl.web@gmail.com>
9861
9862 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9863
9864 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9865
9866 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9867 New function which calls a callback on portions of the buffer that are
9868 outside of ignored environments.
9869 (tildify-build-regexp): Remove function since it is now
9870 incorporated in `tildify-foreach-region-outside-env' where it is
9871 optimized and simplified by the use of `mapconcat'.
9872 (tildify-tildify): Return number of substitutions made so that…
9873 (tildify-count): …can be removed.
9874 (tildify-find-env): Accept a new PAIRS argument which was
9875 previously looked up in `tildify-ignored-environments-alist' each
9876 time the function was called. With this change, the lookup is
9877 performed only once in `tildify-foreach-region-outside-env'.
9878 (tildify-region): Greatly simplify the function since now most of
9879 the work is done by `tildify-foreach-region-outside-env'.
9880 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9881 and instead using or.
9882
9883 * textmodes/tildify.el (tildify-ignored-environments-alist):
9884 Optimize environments regexes
9885
9886 Each time beginning of an environment to ignore is found,
9887 `tildify-find-env' needs to identify regexp for the ending
9888 of the environment. This is done by trying all the opening
9889 regexes on matched text in a loop, so to speed that up, this
9890 loop should have fewer things to match, which can be done by
9891 using alternatives in the opening regexes.
9892
9893 Coincidentally, this should make matching of the opening
9894 regexp faster as well thanks to the use of `regexp-opt' and
9895 having common prefix pulled from many regexes.
9896
9897 * textmodes/tildify.el (tildify-string-alist)
9898 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9899 of supported modes since `xml-mode' is no longer a thing but just
9900 an alias to the former. Also include comments and insides of tags
9901 in `tildify-ignored-environments-alist' for XML modes. Finally,
9902 since XML does not define “&nbsp;”[1], use a numeric reference for
9903 a no-break space (namely “&#160;”)
9904
9905 [1] XML specification defines only a handful of predefined entities.
9906 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9907 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9908 >, &, ' and " respectively). This is in contrast to HTML and even
9909 XHTML which defined a whole bunch of entities including “&nbsp;”.
9910
9911 * textmodes/tildify.el (tildify-pattern-alist)
9912 (tildify-string-alist, tildify-ignored-environments-alist):
9913 Improve defcustom's types by adding more tags explaining what each
9914 value means and replace “sexp” used in
9915 `tildify-ignored-environments-alist' with a full type declaration.
9916
9917 * textmodes/tildify.el (tildify-find-env): Fix matched group
9918 indexes in end-regex building
9919
9920 When looking for a start of an ignore-environment, the regex is built
9921 by concatenating regexes of all the environments configured in
9922 `tildify-ignored-environments-alist'. So for example, the following
9923 list could be used to match TeX's \verb and \verb* commands:
9924
9925 (("\\\\verb\\(.\\)" . (1))
9926 ("\\\\verb\\*\\(.\\)" . (1)))
9927
9928 This would result in the following regex being used to find the start
9929 of any of the variants of the \verb command:
9930
9931 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9932
9933 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9934 won't match anything, and thus (match-string 1) will be nil, which
9935 will cause building of the end-matching regex to fail.
9936
9937 Fix this by using capture groups from the time when the opening
9938 regexes are matched individually.
9939
9940 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9941 in `tildify-find-env'
9942
9943 The `tildify-ignored-environments-alist' allows the end-regex to
9944 be provided not as a static string but mix of strings and indexes
9945 of groups matched the begin-regex. For example, the “\verb!…!”
9946 TeX-command (where “!” is an arbitrary character) is handled
9947 using:
9948
9949 ("\\\\verb\\*?\\(.\\)" . (1))
9950
9951 In the same way, the following should be supported as well:
9952
9953 ("open-\\(.\\)" . ("end-" 1))
9954
9955 However the tildify-find-env function fails at
9956
9957 (concat result
9958 (if (stringp (setq aux (car expression)))
9959 expression ; BUG: expression is a list
9960 (regexp-quote (match-string aux))))
9961
9962 where the string part is handled incorrectly.
9963
9964 The most trivial fix would be to replace `expression' in the
9965 true-part of the if-statement with `aux', but instead, this commit
9966 optimizes `tildify-find-env' by changing it to use `mapconcat'
9967 rather than open-coded while-loop.
9968
9969 2014-06-05 Mario Lang <mlang@delysid.org>
9970
9971 * woman.el (woman-mapcan): Remove.
9972 (woman-parse-colon-path): Use cl-mapcan instead.
9973
9974 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9975
9976 * register.el: Add link to Emacs manual in Commentary.
9977
9978 2014-06-02 Sam Steingold <sds@gnu.org>
9979
9980 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9981 (popup-menu): ...here.
9982 (menu-bar-open): Use it to avoid an error when `lookup-key'
9983 returns a number.
9984
9985 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9986
9987 * net/tramp.el (tramp-call-process): Add traces.
9988 (tramp-handle-unhandled-file-name-directory): Return "/".
9989
9990 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9991
9992 Sync with upstream verilog-mode revision 3cd8144.
9993 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9994 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9995 (verilog-type-font-keywords): Add nor.
9996 (verilog-batch-execute-func): Force reading of Local Variables.
9997 Fix printing "no changes to be saved" with verilog-batch.
9998 (verilog-auto-arg-ports): Doc fix.
9999 Add verilog-auto-arg-format to support newlines in AUTOARG.
10000 (verilog-auto-arg): Doc fix.
10001
10002 2014-06-02 Glenn Morris <rgm@gnu.org>
10003
10004 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
10005 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
10006 * emulation/ws-mode.el: Move to obsolete/.
10007 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
10008
10009 2014-06-02 Eli Zaretskii <eliz@gnu.org>
10010
10011 * simple.el (keyboard-quit): Force update of mode lines, to remove
10012 the "Def" indicator, if we were defining a macro. (Bug#17615)
10013
10014 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * minibuffer.el (minibuffer-force-complete-and-exit):
10017 Obey minibuffer-default (bug#17545).
10018
10019 * progmodes/js.el (js-indent-line): Don't mix columns and chars
10020 (bug#17619).
10021
10022 * subr.el (set-transient-map): Don't wait for some "nested"
10023 transient-map to finish if we're only supposed to be active for
10024 the next command (bug#17642).
10025
10026 2014-06-02 Leo Liu <sdl.web@gmail.com>
10027
10028 * emacs-lisp/gv.el (window-buffer, window-display-table)
10029 (window-dedicated-p, window-hscroll, window-point, window-start):
10030 Fix gv-expander. (Bug#17630)
10031
10032 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
10035 clicks (bug#17633).
10036
10037 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
10038 for the single comma, since ", " is *very* common in normal French text
10039 (bug#17643).
10040
10041 2014-06-02 Glenn Morris <rgm@gnu.org>
10042
10043 * emacs-lisp/package.el (package-check-signature)
10044 (package-unsigned-archives): Fix :version.
10045
10046 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * subr.el (sit-for): Don't run input-methods (bug#15614).
10049
10050 2014-06-02 Glenn Morris <rgm@gnu.org>
10051
10052 * cus-start.el: Fix some :version numbers.
10053
10054 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * simple.el (deactivate-mark): Set mark-active to nil even if
10057 deactivation is done via setting transient-mark-mode to nil,
10058 since one is buffer-local and the other is global.
10059
10060 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
10061 there can't be more than 2 arguments (bug#17584).
10062
10063 2014-06-02 Glenn Morris <rgm@gnu.org>
10064
10065 * simple.el (filter-buffer-substring-functions)
10066 (filter-buffer-substring-function, buffer-substring-filters)
10067 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
10068
10069 * minibuffer.el (completion-in-region-functions, completion-in-region)
10070 (completion--in-region): Doc fixes.
10071
10072 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
10073 (expand-abbrev, abbrev--default-expand): Doc fixes.
10074
10075 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
10076
10077 Include sources used to create macuvs.h.
10078 * international/README: Refer to the Unicode Terms of Use rather
10079 than copying it bodily here, as that simplifies maintenance.
10080
10081 2014-06-01 Glenn Morris <rgm@gnu.org>
10082
10083 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
10084
10085 2014-05-31 Glenn Morris <rgm@gnu.org>
10086
10087 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
10088
10089 2014-05-30 Glenn Morris <rgm@gnu.org>
10090
10091 * loadup.el: Treat `command-line-args' more flexibly.
10092
10093 2014-05-30 Alan Mackenzie <acm@muc.de>
10094
10095 Guard (looking-at "\\s!") from XEmacs.
10096 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
10097
10098 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
10099
10100 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
10101 The argument COUNT is now optional, to be more backward-compatible.
10102 Doc fix. (Bug#17560)
10103
10104 2014-05-29 Reuben Thomas <rrt@sc3d.org>
10105
10106 * whitespace.el (whitespace-report-region):
10107 Simplify documentation.
10108 (whitespace-report-region): Allow report-if-bogus to take the
10109 value `never', for non-interactive use.
10110 (whitespace-report): Refer to whitespace-report-region's
10111 documentation.
10112
10113 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * whitespace.el: Use font-lock-flush. Minimize refontifications.
10116 Side benefit: it works without jit-lock.
10117 (whitespace-point--used): New buffer-local var.
10118 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
10119 (whitespace-color-off): Use font-lock-flush.
10120 (whitespace-point--used, whitespace-point--flush-used): New functions.
10121 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
10122 (whitespace-empty-at-eob-regexp): Use them.
10123 (whitespace-post-command-hook): Rewrite.
10124
10125 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
10126 (font-lock-fontify-buffer): Mark interactive-only.
10127 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
10128 Make buffer-local.
10129 (font-lock-specified-p): Remove redundant boundp check.
10130 (font-lock-flush-function, font-lock-ensure-function): New vars.
10131 (font-lock-turn-on-thing-lock): Set them.
10132 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
10133 (font-lock-after-change-function): Make `old-len' optional.
10134 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
10135 Call font-lock-flush, just in case.
10136 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
10137 recent Emacsen.
10138 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
10139 (vera-mode-map, vera-mode-menu): Remove bindings to it.
10140 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
10141 and with-syntax-table.
10142 * textmodes/conf-mode.el (conf-quote-normal):
10143 * progmodes/sh-script.el (sh-set-shell):
10144 * progmodes/prog-mode.el (prettify-symbols-mode):
10145 * progmodes/f90.el (f90-font-lock-n):
10146 * progmodes/cwarn.el (cwarn-mode):
10147 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
10148 * progmodes/compile.el (compilation-setup, compilation--unsetup):
10149 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
10150 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
10151 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
10152 font-lock-fontify-buffer-function and
10153 font-lock-unfontify-buffer-function.
10154 (rmail-unfontify-buffer-function, rmail-fontify-message):
10155 Use with-silent-modifications.
10156 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
10157 and font-lock-ensure.
10158 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
10159
10160 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
10161
10162 * emacs-lisp/package.el (package-generate-autoloads):
10163 Inhibit backup files.
10164
10165 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
10168 (bug#17608).
10169
10170 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
10171
10172 * textmodes/tildify.el (tildify-buffer, tildify-region):
10173 Add dont-ask option.
10174
10175 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
10178 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10179
10180 * subr.el (internal--funcall-interactively): New.
10181 (internal--call-interactively): Remove.
10182 (called-interactively-p): Detect funcall-interactively instead of
10183 call-interactively.
10184 * simple.el (repeat-complex-command): Use funcall-interactively.
10185 (repeat-complex-command--called-interactively-skip): Remove.
10186
10187 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * register.el (register-read-with-preview): Don't burp on
10190 frame switches (e.g. due to the frame we just popped).
10191
10192 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
10193 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
10194
10195 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
10196
10197 * cus-face.el (custom-face-attributes): Add :distant-foreground.
10198
10199 2014-05-26 Martin Rudalics <rudalics@gmx.at>
10200
10201 * window.el (window--dump-frame): Remove interactive specification.
10202
10203 2014-05-26 Glenn Morris <rgm@gnu.org>
10204
10205 * hippie-exp.el (he-line-search-regexp):
10206 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
10207
10208 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10209
10210 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
10211 to avoid errors when trying to create or visit a file foo.todo
10212 located outside to todo-directory, and to allow having such files
10213 without them being tied to Todo mode (bug#17482).
10214 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
10215 (todo-archive-done-item, todo-find-filtered-items-file)
10216 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
10217 (todo-category-completions, todo-read-category): When visiting a
10218 Todo file, make sure we're in the right mode and the buffer local
10219 variables are set.
10220 (todo-make-categories-list, todo-reset-nondiary-marker)
10221 (todo-reset-done-string, todo-reset-comment-string):
10222 After processing all Todo files, kill the buffers of those files that
10223 weren't being visited before the processing.
10224 (todo-display-as-todo-file, todo-add-to-buffer-list)
10225 (todo-visit-files-commands): Comment out.
10226 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
10227 (auto-mode-alist): Remove add-to-list calls making Todo file
10228 extensions unrestrictedly tied to Todo modes.
10229
10230 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
10233 (advice-function-member-p): Tell it to check both names and functions
10234 (bug#17531).
10235 (advice--add-function): Adjust call accordingly.
10236
10237 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10238
10239 * calendar/todo-mode.el: Miscellaneous bug fixes.
10240 (todo-delete-file): When deleting an archive but not its todo
10241 file, make sure to update the todo file's category sexp.
10242 (todo-move-category): Keep the moved category's name unless the
10243 file moved to already has a category with that name. If the
10244 numerically last category of the source file was moved, make the
10245 first category current to avoid selecting a nonexisting category.
10246 (todo-merge-category): Fix implementation to make merging to a
10247 category in another file work as documented. Eliminate now
10248 insufficient and unnecessary renaming of archive category, correct
10249 document string accordingly, and clarify it. If the numerically
10250 last category of the source file was merged, make the first
10251 category current to avoid selecting a nonexisting category.
10252 (todo-archive-done-item): When there are marked items and point
10253 happens to be on an unmarked item, ignore the latter. Don't leave
10254 point below last item after archiving marked items.
10255 (todo-unarchive-items): Fix logic to ensure unarchiving an item
10256 from an archive with only one category deletes the archive only
10257 when the category is empty after unarchiving. Make sure the todo
10258 file's category sexp is updated.
10259 (todo-read-file-name): Allow an existing file name even when it is
10260 not required (todo-move-category needs this to work as documented).
10261 (todo-add-file): Call todo-validate-name to reject the name of an
10262 existing todo file (needed due to fix in todo-read-file-name).
10263 (todo-reset-nondiary-marker): Also reset in filtered items files.
10264 (todo-reset-done-string, todo-reset-comment-string): Also reset in
10265 regexp filtered items files.
10266 (todo-reset-highlight-item): Also reset in filtered items files.
10267 Fix incorrect variable reference in document string.
10268
10269 2014-05-26 Glenn Morris <rgm@gnu.org>
10270
10271 * window.el (window--dump-frame): Avoid error in --without-x builds.
10272
10273 2014-05-26 Glenn Morris <rgm@gnu.org>
10274
10275 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10276
10277 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10278
10279 * frame.el (set-frame-font): Doc fix.
10280
10281 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
10282
10283 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
10284
10285 * emacs-lisp/package.el (package--download-one-archive):
10286 Use `write-region' instead of `save-buffer' to avoid running various
10287 hooks. (Bug#17155)
10288 (describe-package-1): Same. Insert newline at the end of the
10289 buffer if appropriate.
10290
10291 2014-05-26 Juri Linkov <juri@jurta.org>
10292
10293 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10294 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10295 Add more modifiers: meta, control, shift, hyper, super, alt.
10296 (Bug#17439)
10297
10298 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10299 to allow changing its value with `set-variable'.
10300
10301 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10304 #; comments.
10305 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10306 New functions.
10307 (scheme-mode-variables): Set syntax-propertize-function instead of
10308 font-lock-syntactic-face-function.
10309 (scheme-font-lock-syntactic-face-function): Delete.
10310
10311 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10312
10313 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10314 (bug#17392).
10315
10316 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10317
10318 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10319 for a temporary file name.
10320
10321 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10322
10323 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
10324
10325 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10326
10327 * net/dbus.el (dbus-init-bus, dbus-call-method)
10328 (dbus-call-method-asynchronously, dbus-send-signal)
10329 (dbus-method-return-internal, dbus-method-error-internal):
10330 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10331
10332 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10333
10334 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10335 methods which do not have a doc string. (Bug#17490)
10336
10337 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10338
10339 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10340 also for AMS Math's \eqref macro.
10341
10342 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10343
10344 Arrange to never byte-compile the generated -pkg.el file.
10345
10346 * emacs-lisp/package.el (package-generate-description-file):
10347 Output first-line comment to set buffer-local var `no-byte-compile'.
10348 Suggested by Dmitry Gutov:
10349 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10350
10351 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10352
10353 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10354
10355 * emacs-lisp/package.el (package-generate-description-file):
10356 Inline `package--alist-to-plist'; rewrite to selectively
10357 quote alist values that are not self-quoting.
10358 (package--alist-to-plist): Delete func.
10359
10360 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10361
10362 * term/xterm.el (xterm-function-map): Add mapping for shifted
10363 keypad keys.
10364
10365 2014-05-24 Daniel Colascione <dancol@dancol.org>
10366
10367 * progmodes/subword.el (subword-find-word-boundary): Move point to
10368 correct spot before search. (Bug#17580)
10369
10370 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10371 breaking the build.
10372
10373 2014-05-24 Leo Liu <sdl.web@gmail.com>
10374
10375 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10376
10377 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * minibuffer.el (completion--sreverse): Remove.
10380 (completion--common-suffix): Use `reverse' instead.
10381 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10382
10383 2014-05-22 Glenn Morris <rgm@gnu.org>
10384
10385 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10386
10387 2014-05-21 Daniel Colascione <dancol@dancol.org>
10388
10389 * files.el (interpreter-mode-alist): Add mksh.
10390
10391 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10392 derivative.
10393 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10394 mksh. Improve custom spec; allow regular expressions.
10395 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10396 (sh-after-hack-local-variables): New function.
10397 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10398 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10399 the normalization.
10400 (sh-canonicalize-shell): Rewrite to support regexes.
10401
10402 2014-05-21 Leo Liu <sdl.web@gmail.com>
10403
10404 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10405
10406 2014-05-19 Leo Liu <sdl.web@gmail.com>
10407
10408 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10409
10410 2014-05-18 Glenn Morris <rgm@gnu.org>
10411
10412 * loadup.el:
10413 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10414
10415 2014-05-14 Sam Steingold <sds@gnu.org>
10416
10417 * progmodes/python.el (python-shell-get-or-create-process):
10418 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10419 back unless requested.
10420
10421 2014-05-14 Glenn Morris <rgm@gnu.org>
10422
10423 * subr.el (with-file-modes): New macro.
10424 * printing.el (pr-save-file-modes): Make obsolete.
10425 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10426 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10427 Add with-file-modes.
10428 * doc-view.el (doc-view-make-safe-dir):
10429 * epg.el (epg--start):
10430 * files.el (locate-user-emacs-file, make-temp-file)
10431 (backup-buffer-copy, move-file-to-trash):
10432 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10433 * eshell/esh-util.el (eshell-with-private-file-modes)
10434 (eshell-make-private-directory):
10435 * net/browse-url.el (browse-url-mosaic):
10436 * obsolete/mailpost.el (post-mail-send-it):
10437 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10438 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10439 Use with-file-modes.
10440
10441 * vc/emerge.el (emerge-make-temp-file): Simplify.
10442
10443 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10444 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10447 suffix (bug#15419).
10448
10449 2014-05-14 Glenn Morris <rgm@gnu.org>
10450
10451 * vc/emerge.el (emerge-temp-file-prefix):
10452 Make pointless option obsolete.
10453 (emerge-temp-file-mode): Make non-functional option obsolete.
10454
10455 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10456
10457 * net/browse-url.el (browse-url):
10458 Use `unhandled-file-name-directory' when setting `default-directory',
10459 in order to circumvent stalled remote connections. (Bug#17425)
10460
10461 2014-05-14 Glenn Morris <rgm@gnu.org>
10462
10463 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10464 Optimize on Emacs, which has the relevant functions for ages.
10465
10466 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10469
10470 2014-05-12 Sam Steingold <sds@gnu.org>
10471
10472 * calendar/time-date.el (seconds-to-string): New function to
10473 pretty print time delay in seconds.
10474
10475 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * mpc.el (mpc-format): Trim Date to the year.
10478 (mpc-songs-hashcons): Shorten the Date field.
10479
10480 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10481 into autoloading just because of a silly indirection.
10482
10483 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10484
10485 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10486
10487 2014-05-12 Glenn Morris <rgm@gnu.org>
10488
10489 * emacs-lisp/find-gc.el: Move to ../admin.
10490
10491 * printing.el (pr-version):
10492 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10493
10494 * net/browse-url.el (browse-url-mosaic):
10495 Create /tmp/Mosaic.PID as a private file.
10496
10497 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10500 (advice--member-p): If name is given, only compare the name.
10501 (advice--remove-function): Don't stop at the first match.
10502 (advice--normalize-place): New function.
10503 (add-function, remove-function): Use it.
10504 (advice--add-function): Pass the name, if any, to
10505 advice--remove-function.
10506
10507 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10508
10509 * electric.el (electric-indent-post-self-insert-function): Don't use
10510 `pos' after modifying the buffer (bug#17449).
10511
10512 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10513
10514 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10515 Correct argument list to conform to todo-insert-item--basic.
10516
10517 2014-05-12 Glenn Morris <rgm@gnu.org>
10518
10519 * files.el (cd-absolute): Test if directory is accessible
10520 rather than executable. (Bug#17330)
10521
10522 * progmodes/compile.el (recompile):
10523 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10524
10525 * net/browse-url.el (browse-url-mosaic):
10526 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10527 This is CVE-2014-3423.
10528
10529 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * mouse.el: Use the normal toplevel loop while dragging.
10532 (mouse-set-point): Handle multi-clicks.
10533 (mouse-set-region): Handle multi-clicks for drags.
10534 (mouse-drag-region): Update call accordingly.
10535 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10536 Use the normal event loop instead of a local while/read-event loop.
10537 (global-map): Remove redundant bindings for double/triple-mouse-1.
10538 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10539 Generate synthetic down events when the protocol only sends up events.
10540 (xterm-mouse-last): Remove.
10541 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10542 terminal parameter instead.
10543 (xterm-mouse--set-click-count): New function.
10544 (xterm-mouse-event): Detect/generate double/triple clicks.
10545 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10546
10547 * info.el (Info-quoted): New face.
10548 (Info-mode-font-lock-keywords): New var.
10549 (Info-mode): Use it.
10550
10551 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10552 are a hindrance for C-x C-e.
10553
10554 2014-05-11 Leo Liu <sdl.web@gmail.com>
10555
10556 * net/rcirc.el (rcirc-sentinel): Fix last change.
10557
10558 2014-05-08 Sam Steingold <sds@gnu.org>
10559
10560 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10561 (rcirc-sentinel): Auto-reconnect to the server if
10562 `rcirc-reconnect-delay' is non-0 (but not more often than its
10563 value in case the host is off-line).
10564
10565 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10566
10567 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10568
10569 2014-05-09 Glenn Morris <rgm@gnu.org>
10570
10571 * files.el (file-expand-wildcards):
10572 * man.el (Man-support-local-filenames):
10573 * printing.el (pr-i-directory, pr-interface-directory):
10574 * progmodes/grep.el (lgrep, rgrep):
10575 * textmodes/ispell.el (ispell-call-process)
10576 (ispell-call-process-region, ispell-start-process)
10577 (ispell-init-process): Use file-accessible-directory-p.
10578
10579 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10582 (xterm-mouse--read-event-sequence-1000): Return nil if something
10583 looks fishy.
10584 (xterm-mouse-event): Propagate it.
10585 (xterm-mouse-translate-1): Handle it.
10586
10587 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10588
10589 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10590 four slots of the parameter list are filled, make sure to pass it
10591 to the argument list of todo-insert-item--basic.
10592
10593 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10596 Add optional `seen' argument to detect and break infinite loops.
10597
10598 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10599
10600 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10601 (trace-unsafe, trace-use-tree): Make parentheses style be
10602 according to Emacs style.
10603
10604 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10605
10606 * net/tramp-sh.el (tramp-remote-process-environment):
10607 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10608 Add :version entry.
10609 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10610 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10611 extra "PSx=..." commands.
10612 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10613 (Bug#17295)
10614
10615 (tramp-uudecode): Replace the hard-coded temporary file name by a
10616 format specifier.
10617 (tramp-remote-coding-commands): Enhance docstring.
10618 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10619 name. (Bug#17415)
10620 This is CVE-2014-3424.
10621
10622 2014-05-08 Glenn Morris <rgm@gnu.org>
10623
10624 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10625 (find-gc-source-files): Update some names.
10626 (trace-call-tree): Simplify and update.
10627 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10628 This is CVE-2014-3422.
10629
10630 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * minibuffer.el (completion--try-word-completion): Revert fix for
10633 Bug#15980 (bug#17375).
10634
10635 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10636 Always store button numbers in the same way in xterm-mouse-last;
10637 Don't burp is xterm-mouse-last is not set as expected.
10638 Never return negative indices.
10639
10640 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10641
10642 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10643 Backtrack one char if the global/char-literal var matcher hits
10644 inside a string. The next char could be the beginning of an
10645 expression expansion.
10646
10647 2014-05-08 Glenn Morris <rgm@gnu.org>
10648
10649 * help-fns.el (describe-function-1): Test for an autoload before a
10650 macro, since `macrop' works on autoloads. (Bug#17410)
10651
10652 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10655
10656 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10657 Make sure the new point we return is within the new string (bug#17239).
10658
10659 2014-05-05 Daniel Colascione <dancol@dancol.org>
10660
10661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10662 Port `gnu' pattern to rx.
10663
10664 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10665
10666 Remove unneeded prompt when closing a buffer with active
10667 emacsclient ("Buffer ... still has clients"), #16548.
10668 * server.el (server-start): Remove the only call to:
10669 (server-kill-buffer-query-function): Remove.
10670
10671 2014-05-04 Leo Liu <sdl.web@gmail.com>
10672
10673 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10674 Defvar to pacify compiler.
10675
10676 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10677
10678 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10679
10680 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10683 Use nil rather than `default' for the "default" appearance (bug#17388).
10684 * vc/ediff-util.el (ediff-inferior-compare-regions)
10685 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10686 a misleading `default' value when it's really a boolean.
10687 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10688 overlay is not visible.
10689
10690 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10691
10692 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10693 (todo-menu): Uncomment and update.
10694
10695 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10696
10697 * calendar/todo-mode.el: Reimplement item editing to have the same
10698 basic user interface as item insertion, and make small UI and
10699 larger internal improvements to the latter.
10700 (todo-insert-item): Add reference to the Todo mode user manual to
10701 the documentation string.
10702 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10703 adjust all callers. Change signature to combine diary and
10704 nonmarking arguments. Incorporate functionality of deleted item
10705 copying command and add error checking. Remove detailed
10706 descriptions of the arguments from the documentation string, since
10707 this is treated in the Todo mode user manual.
10708 (todo-copy-item, todo-edit-multiline-item)
10709 (todo-edit-done-item-comment, todo-edit-item-header)
10710 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10711 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10712 (todo-edit-item-date-year, todo-edit-item-date-month)
10713 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10714 Remove.
10715 (todo-edit-item): Reimplement as wrapper command for
10716 todo-edit-item--next-key and make it distinguish done and not done
10717 todo items.
10718 (todo-edit-item--text): New function, replacing old command
10719 todo-edit-item and incorporating deleted commands
10720 todo-edit-multiline-item and todo-edit-done-item-comment.
10721 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10722 Use only numeric value of prefix argument. Remove detailed
10723 descriptions of the arguments from the documentation string, since
10724 this is treated in the Todo mode user manual.
10725 (todo-edit-item--diary-inclusion): New function, replacing old
10726 command todo-edit-item-diary-inclusion and incorporating and fixing
10727 functionality of deleted command todo-edit-item-diary-nonmarking,
10728 making sure to remove todo-nondiary-marker when adding
10729 diary-nonmarking-symbol.
10730 (todo-edit-category-diary-inclusion): Make sure to delete
10731 diary-nonmarking-symbol when adding todo-nondiary-marker.
10732 (todo-edit-category-diary-nonmarking): Fix indentation.
10733 (todo-insert-item--parameters): Group diary and nonmarking
10734 parameters together.
10735 (todo-insert-item--apply-args): Adjust to signature of
10736 todo-insert-item--basic and incorporate copy parameter.
10737 Make small code improvements.
10738 (todo-insert-item--next-param): Improve prompt and adjust it to
10739 new parameter grouping. Remove obsolete code.
10740 (todo-edit-item--param-key-alist)
10741 (todo-edit-item--date-param-key-alist)
10742 (todo-edit-done-item--param-key-alist): New defconsts.
10743 (todo-edit-item--prompt): New variable.
10744 (todo-edit-item--next-key): New function.
10745 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10746 Remove bindings of deleted commands.
10747
10748 2014-05-04 Leo Liu <sdl.web@gmail.com>
10749
10750 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10751
10752 2014-05-04 Glenn Morris <rgm@gnu.org>
10753
10754 * allout-widgets.el (allout-widgets-tally)
10755 (allout-decorate-item-guides):
10756 * menu-bar.el (menu-bar-positive-p):
10757 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10758 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10759 * progmodes/js.el (js--inside-param-list-p)
10760 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10761 * progmodes/prolog.el (region-exists-p):
10762 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10763 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10764 Doc fixes (replace `iff').
10765
10766 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10767
10768 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10769
10770 2014-05-04 Leo Liu <sdl.web@gmail.com>
10771
10772 Support Chinese diary entries in calendar and diary. (Bug#17393)
10773 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10774 (calendar-chinese-from-absolute-for-diary)
10775 (calendar-chinese-to-absolute-for-diary)
10776 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10777 (diary-chinese-list-entries): New functions to list and mark
10778 Chinese diary entries in the calendar window.
10779 (diary-chinese-anniversary)
10780 (diary-chinese-insert-anniversary-entry)
10781 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10782 (diary-chinese-insert-yearly-entry): New commands to insert
10783 Chinese diary entries.
10784
10785 * calendar/diary-lib.el (diary-font-lock-keywords):
10786 Support font-locking Chinese dates.
10787
10788 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10789 inserting Chinese diary entries.
10790
10791 * calendar/calendar.el (diary-chinese-entry-symbol):
10792 New customizable variable.
10793 (calendar-mode-map): Add bindings for inserting Chinese diary
10794 entries.
10795
10796 2014-05-03 Juri Linkov <juri@jurta.org>
10797
10798 * dired.el (dired-check-switches, dired-switches-recursive-p):
10799 New functions. (Bug#17218)
10800 (dired-switches-escape-p, dired-move-to-end-of-filename):
10801 Use `dired-check-switches'.
10802 (dired-insert-old-subdirs, dired-build-subdir-alist)
10803 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10804
10805 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10806
10807 * simple.el (undo-make-selective-list): New algorithm fixes
10808 incorrectness of position adjustments when undoing in region.
10809 (Bug#17235)
10810 (undo-elt-crosses-region): Make obsolete.
10811 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10812 New functions to adjust positions using undo-deltas.
10813
10814 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10817 the last consecutive closing paren (bug#17345).
10818
10819 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10820
10821 * dired.el (dired-mode): make terminology for eXpunge command
10822 consistent. (Bug#17276)
10823
10824 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10825
10826 * dired.el (dired-initial-position-hook, dired-initial-position):
10827 Doc string fixes.
10828
10829 2014-04-30 Glenn Morris <rgm@gnu.org>
10830
10831 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10832
10833 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10834
10835 * faces.el (face-spec-recalc): Apply X resources only after the
10836 defface spec has been applied. Thus, X resources are no longer
10837 overriden by the defface spec which also fixes issues on win32 where
10838 the toolbar coloring was wrong because it is set through X resources
10839 and was (wrongfully) overriden. (Bug#16694)
10840
10841 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * textmodes/rst.el (electric-pair-pairs): Declare.
10844 (rst-mode): Set it (bug#17131).
10845
10846 2014-04-30 Juri Linkov <juri@jurta.org>
10847
10848 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10849 and `print-level' to nil. (Bug#17351)
10850
10851 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10852
10853 * battery.el (battery-update): Handle the case where battery
10854 status is "N/A" (bug#17319).
10855
10856 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10859 to syntax-propertize.
10860 (ps-mode-auto-indent): Mark as obsolete.
10861 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10862 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10863 word regexp operators.
10864 (ps-mode-map): Move initialization into declaration. Remove binding
10865 for TAB, RET, >, ], and }.
10866 (ps-mode-syntax-table): Move initialization into declaration.
10867 Don't give word syntax to non-word chars.
10868 (ps-run-mode-map): Move initialization into declaration.
10869 (ps-mode-menu-main): Remove auto-indent entry.
10870 (ps-mode-smie-rules): New function.
10871 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10872 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10873 (ps-mode--string-syntax-table): New const.
10874 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10875 New functions.
10876 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10877 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10878
10879 2014-04-27 Daniel Colascione <dancol@dancol.org>
10880
10881 * term/xterm.el (xterm-paste): Use large finite timeout when
10882 reading event to avoid putting keys in this-command-keys.
10883
10884 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10887 (perl-syntax-propertize-function): Use it. Extend handling of
10888 here-docs to the unquoted case.
10889
10890 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10891
10892 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10893 Use equal-including-properties to compare help-echo strings (bug#17331).
10894
10895 2014-04-25 Leo Liu <sdl.web@gmail.com>
10896
10897 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10898 Fix syntax for @. (Bug#17325)
10899
10900 2014-04-25 Daniel Colascione <dancol@dancol.org>
10901
10902 * emacs-lisp/cl.el (gv): Require gv early to break eager
10903 macro-expansion cycles.
10904
10905 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * simple.el (region-active-p): Check there's a mark (bug#17324).
10908
10909 * simple.el (completion-list-mode-map): Use choose-completion for the
10910 mouse binding as well (bug#17302).
10911 (completion-list-mode, completion-setup-function): Adjust docstring and
10912 echo area message accordingly.
10913 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10914 calling convention of choose-completion.
10915 * comint.el (comint-dynamic-list-completions):
10916 * term.el (term-dynamic-list-completions): Accept choose-completion.
10917
10918 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10919 &, |, +, - and * can't be a division (bug#17317).
10920
10921 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10922 features on gnome-terminal (bug#16988).
10923
10924 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10925
10926 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10927
10928 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10929 the declared object, ignore zero or more parens, not zero or one.
10930
10931 2014-04-24 Leo Liu <sdl.web@gmail.com>
10932
10933 * progmodes/xscheme.el (xscheme-expressions-ring)
10934 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10935 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10936 (xscheme-allow-output-p, xscheme-prompt)
10937 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10938
10939 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10940 Comment out unused functions.
10941
10942 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 * info.el: Use lexical-binding and cl-lib.
10945 Use defvar-local and setq-local instead of make-local-variable.
10946 (Info-apropos-matches): Avoid add-to-list.
10947 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10948
10949 2014-04-24 Daniel Colascione <dancol@dancol.org>
10950
10951 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10952
10953 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10956
10957 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10958
10959 * dired.el (dired-insert-set-properties): Do not consider
10960 subdirectory headings and empty lines to be information that
10961 `dired-hide-details-mode' should hide. (Bug#17228)
10962
10963 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10964
10965 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10966 Remove test messages.
10967 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10968 and `target' twice.
10969
10970 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10973 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10974
10975 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10976
10977 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10978
10979 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10980 Set "IFS=" when using read builtin, in order to preserve spaces in
10981 the file name. Add test messages for hunting a bug on hydra.
10982 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10983
10984 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10987 Don't prettify a word within a symbol.
10988
10989 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10990
10991 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10992 possible.
10993
10994 2014-04-22 Daniel Colascione <dancol@dancol.org>
10995
10996 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10997 use defun to define `function-put'.
10998
10999 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
11002 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
11003 (lisp-mode-variables): Set font-lock-extra-managed-props.
11004
11005 * emacs-lisp/byte-run.el (function-put): New function.
11006 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
11007 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
11008 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
11009 Use them.
11010
11011 2014-04-22 Daniel Colascione <dancol@dancol.org>
11012
11013 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
11014 Add `full-p' parameter; when nil, call `macroexpand' instead of
11015 `macroexpand-all'.
11016
11017 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
11018 Improve docstrings.
11019
11020 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
11021 Use lambda function values, not quoted lambdas.
11022 (byte-compile-recurse-toplevel): Remove extraneous &optional.
11023
11024 * emacs-lisp/cl-macs.el
11025 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
11026 (cl-struct-slot-value): Conditionally use aref or nth so that the
11027 compiler produces optimal code.
11028
11029 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
11032 (inline): Don't inline cl--set-elt.
11033 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
11034 Define as inlinable instead.
11035 (cl-struct-set-slot-value): Remove.
11036
11037 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
11038 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
11039 Use setf instead.
11040
11041 2014-04-21 Daniel Colascione <dancol@dancol.org>
11042
11043 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
11044 last two parameters after all.
11045 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
11046 (cl--compiler-macro-assoc,cl-struct-slot-value)
11047 (cl-struct-set-slot-value): Stop using them.
11048
11049 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
11052 entry in image-mode-winprops-alist.
11053
11054 2014-04-21 Daniel Colascione <dancol@dancol.org>
11055
11056 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
11057 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
11058 (byte-compile-toplevel-file-form): Use it.
11059
11060 * emacs-lisp/cl-macs.el:
11061 (cl--loop-let): Properly destructure `while' clauses.
11062
11063 2014-04-20 Daniel Colascione <dancol@dancol.org>
11064
11065 * vc/vc.el (vc-root-dir): New public autoloaded function for
11066 generically finding the current VC root.
11067 * vc/vc-hooks.el (vc-not-supported): New error.
11068 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
11069
11070 2014-04-20 Daniel Colascione <dancol@dancol.org>
11071
11072 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
11073 argument.
11074 (cl--const-expr-val): cl--const-expr-val should macroexpand its
11075 argument in case we're inside a symbol-macrolet.
11076 (cl--do-arglist, cl--compiler-macro-typep)
11077 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
11078 environment to `cl--const-expr-val'.
11079 (cl-struct-sequence-type,cl-struct-slot-info)
11080 (cl-struct-slot-offset, cl-struct-slot-value)
11081 (cl-struct-set-slot-value): New functions.
11082
11083 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
11086 assignments such as "case=hello" (bug#17297).
11087
11088 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
11089
11090 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
11091 Do not autoload.
11092 (tramp-file-name-handler, tramp-completion-file-name-handler):
11093 Revert patch from 2014-04-10, it isn't necessary anymore.
11094 (tramp-autoload-file-name-handler)
11095 (tramp-register-autoload-file-name-handlers): New defuns.
11096 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
11097 (tramp-register-file-name-handlers): Remove also
11098 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
11099 Do not autoload its invocation, but eval it after loading of 'tramp.
11100
11101 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
11102
11103 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
11104
11105 2014-04-17 Daniel Colascione <dancol@dancol.org>
11106
11107 Add support for bracketed paste mode; add infrastructure for
11108 managing terminal mode enabling and disabling automatically.
11109
11110 * xt-mouse.el:
11111 (xterm-mouse-mode): Simplify.
11112 (xterm-mouse-tracking-enable-sequence)
11113 (xterm-mouse-tracking-disable-sequence): New constants.
11114 (turn-on-xterm-mouse-tracking-on-terminal)
11115 (turn-off-xterm-mouse-tracking-on-terminal):
11116 Use tty-mode-set-strings and tty-mode-reset-strings terminal
11117 parameters instead of random hooks.
11118 (turn-on-xterm-mouse-tracking)
11119 (turn-off-xterm-mouse-tracking): Delete.
11120
11121 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
11122 (xterm-paste-ending-sequence): New constant.
11123 (xterm-paste): New command used for bracketed paste support.
11124
11125 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
11126 (terminal-init-xterm-bracketed-paste-mode): New function.
11127 (terminal-init-xterm): Call it.
11128 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
11129 and tty-mode-reset-strings instead of random hooks.
11130 (xterm-turn-on-modify-other-keys)
11131 (xterm-turn-off-modify-other-keys)
11132 (xterm-remove-modify-other-keys): Delete obsolete functions.
11133
11134 * term/screen.el: Rewrite to just use the xterm code.
11135 Add copyright notice. Mention tmux.
11136
11137 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
11138
11139 * image-mode.el (image-mode-window-put): Also update the property of
11140 the "default window".
11141 * doc-view.el (doc-view-new-window-function): If no window
11142 exists, move to the last known page.
11143
11144 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
11147 here-documents (bug#17262).
11148
11149 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11150
11151 * term/pc-win.el (x-list-fonts, x-get-selection-value):
11152 Provide doc strings, as required by snarf-documentation.
11153
11154 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
11157 arg of overlays-at. Use `invisible-p'.
11158
11159 * obsolete/lucid.el (extent-at):
11160 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
11161 overlays-at.
11162 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
11163
11164 2014-04-16 João Távora <joaotavora@gmail.com>
11165
11166 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
11167 links. (Bug#17217).
11168
11169 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11170
11171 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
11172 Use mapc to loop over a vector. (Bug#17257).
11173
11174 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
11175
11176 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
11177 patch, there are new problems with file names containing spaces.
11178 Get rid of backticks. (Bug#17238)
11179
11180 2014-04-16 João Távora <joaotavora@gmail.com>
11181
11182 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
11183 possible bug.
11184
11185 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11186
11187 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
11188 (blink-cursor-mode): Mention customization variables and the
11189 effect of 'blink-cursor-blinks'.
11190
11191 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
11192
11193 * simple.el (undo): Prevent insertion of identity mapping into
11194 undo-equiv-table so as undo-only does not inf loop in the presence
11195 of consecutive nils in undo list.
11196
11197 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
11198
11199 * faces.el (make-face): Deprecate optional argument as it is no
11200 longer needed/used since the conditional X resources handling
11201 has been pushed down to make-face-x-resource-internal itself.
11202 (make-empty-face): Don't pass optional argument to make-face.
11203
11204 2014-04-16 Karl Fogel <kfogel@red-bean.com>
11205
11206 * savehist.el (savehist-save): Remove workaround for a read-passwd
11207 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
11208 noticing that the shim was still present.
11209
11210 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
11213
11214 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
11215
11216 * faces.el (face-set-after-frame-default): Remove unused local variable.
11217
11218 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * progmodes/grep.el: Use lexical-binding.
11221 (grep-expand-template): Pass explicit lexical env to `eval'.
11222 (zrgrep): Let-bind grep-find-template explicitly.
11223
11224 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
11225 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
11226
11227 2014-04-12 Eli Zaretskii <eliz@gnu.org>
11228
11229 * international/characters.el <standard-case-table>: Add entries
11230 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
11231 Set category of Coptic characters be 'g' (Greek).
11232
11233 2014-04-12 Leo Liu <sdl.web@gmail.com>
11234
11235 * progmodes/octave.el (completion-table-with-cache):
11236 Define if not available.
11237 (octave-goto-function-definition, octave-sync-function-file-names)
11238 (octave-find-definition-default-filename):
11239 Backquote upattern for compatibility.
11240
11241 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
11242
11243 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
11244 name twice due to backticks. (Bug#17238)
11245
11246 2014-04-12 Glenn Morris <rgm@gnu.org>
11247
11248 * term/w32-win.el (x-win-suspend-error):
11249 * term/x-win.el (x-win-suspend-error): Sync docs.
11250
11251 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
11252
11253 * faces.el (make-face): Remove deprecated optional argument.
11254 The conditional application of X resources is handled directly by
11255 make-face-x-resource-internal since Emacs 24.4.
11256 (make-empty-face): Don't pass optional argument to make-face.
11257
11258 2014-04-11 Glenn Morris <rgm@gnu.org>
11259
11260 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
11261
11262 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 Ediff's overlay priorities cause more trouble than they solve.
11265 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11266 (ediff-highest-priority): Remove function (bug#17234).
11267 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11268 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11269 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11270 overlay priorities.
11271
11272 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
11273
11274 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11275 entry; use symbol boundaries to avoid mis-matches.
11276
11277 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
11278
11279 * net/tramp.el (tramp-file-name-handler)
11280 (tramp-completion-file-name-handler): Avoid recursive loading.
11281
11282 * net/tramp-sh.el (tramp-make-copy-program-file-name):
11283 Quote result also locally.
11284
11285 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11288 Remove left-over code.
11289
11290 * newcomment.el (comment-indent-new-line): Sink code where it's used.
11291 Reuse the previous comment's indentation unconditionally if it's on its
11292 own line.
11293
11294 2014-04-09 Daniel Colascione <dancol@dancol.org>
11295
11296 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11297 `no-syntax-crossing' arguments. Forward to `up-list'.
11298 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11299 Implement logic for escaping from strings. Use narrowing to deal
11300 with corner cases.
11301
11302 2014-04-09 Leo Liu <sdl.web@gmail.com>
11303
11304 * net/rcirc.el (rcirc-connection-info): New variable.
11305 (rcirc-connect): Use it to store connection info.
11306 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11307 for killed process.
11308 (rcirc-cmd-reconnect): New command. (Bug#17045)
11309 (rcirc-mode, set-rcirc-encode-coding-system)
11310 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11311
11312 2014-04-09 Daniel Colascione <dancol@dancol.org>
11313
11314 * emacs-lisp/cl-indent.el: Add comment claiming
11315 facility is also good for elisp.
11316 (lisp-indent-find-method): New function.
11317 (common-lisp-indent-function): Recognize cl-loop.
11318 (common-lisp-indent-function-1): Recognize cl constructs; use
11319 `lisp-indent-find-method' instead of `get' directly.
11320 (if): Use else-body style for elisp.
11321
11322 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
11323
11324 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11325 Module methods. (Bug#17216)
11326
11327 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11330 (describe-bindings-internal): Mark obsolete.
11331
11332 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11335 buffer-file-name, and buffer-file-truename any more.
11336
11337 2014-04-08 Leo Liu <sdl.web@gmail.com>
11338
11339 Use lexical-binding and require cl-lib.
11340 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11341 (rcirc-handler-generic, rcirc-fill-paragraph)
11342 (rcirc-format-response-string, rcirc-target-buffer)
11343 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11344 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11345 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11346 (rcirc-markup-timestamp, rcirc-markup-attributes)
11347 (rcirc-markup-my-nick, rcirc-markup-urls)
11348 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11349 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11350 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11351 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11352 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11353 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11354 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11355 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11356 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11357 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11358 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11359 use cl-lib.
11360
11361 2014-04-07 João Távora <joaotavora@gmail.com>
11362
11363 * elec-pair.el (electric-pair--syntax-ppss):
11364 When inside comments parse from comment beginning.
11365 (electric-pair--balance-info): Fix typo in comment.
11366 (electric-pair--in-unterminated-string-p): Delete.
11367 (electric-pair--unbalanced-strings-p): New function.
11368 (electric-pair-string-bound-function): New var.
11369 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11370 according to `electric-pair--in-unterminated-string-p'
11371
11372 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11373 Inhibit quote pairing if point-max is inside an unterminated string.
11374 (electric-pair--looking-at-unterminated-string-p): Delete.
11375 (electric-pair--in-unterminated-string-p): New function.
11376
11377 2014-04-07 Glenn Morris <rgm@gnu.org>
11378
11379 * shell.el (shell-directory-tracker):
11380 Go back to just ignoring failures. (Bug#17159)
11381
11382 2014-04-07 João Távora <joaotavora@gmail.com>
11383
11384 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11385 backspace. (Bug#16981)
11386 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11387 (electric-pair-backward-delete-char-untabify): Delete.
11388 (electric-pair-mode-map): Bind backspace to a menu item filtering
11389 a new `electric-pair-delete-pair' command.
11390 (electric-pair-delete-pair): New command.
11391
11392 * progmodes/python.el (python-electric-pair-string-delimiter):
11393 Fix triple-quoting electricity. (Bug#17192)
11394
11395 * elec-pair.el (electric-pair-post-self-insert-function):
11396 Don't skip whitespace when `electric-pair-text-pairs' and
11397 `electric-pair-pairs' were used. syntax to
11398 electric-pair--skip-whitespace. (Bug#17183)
11399
11400 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11401
11402 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11403 "<F>". (Bug#17199)
11404
11405 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11408 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11409
11410 2014-04-07 Glenn Morris <rgm@gnu.org>
11411
11412 * help.el (view-lossage): Doc tweak.
11413
11414 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11415
11416 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11417 only when inhibit-x-resources is nil, and do that earlier in the
11418 function. Doc fix. (Bug#16694)
11419 (face-spec-choose): Accept additional optional argument, whose
11420 value is returned if no matching attributes are found.
11421 (face-spec-recalc): Use the new optional argument when calling
11422 face-spec-choose. (Bug#16378)
11423 (make-face-x-resource-internal): Do nothing when
11424 inhibit-x-resources is non-nil. Don't touch the default face if
11425 reversed video is given--as was done in previous versions of Emacs.
11426 (face-set-after-frame-default): Don't call
11427 make-face-x-resource-internal here. (Bug#16434)
11428
11429 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11430
11431 * doc-view.el (doc-view-bookmark-jump):
11432 Use `bookmark-after-jump-hook' to jump to the right page after the
11433 buffer is shown in a window. (bug#16090)
11434
11435 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11436
11437 * international/characters.el (mirroring): Fix last change:
11438 instead of loading uni-mirrored.el explicitly, do that implicitly
11439 by creating the 'mirroring' uniprop table. This avoids announcing
11440 the loading of uni-mirrored.el.
11441
11442 2014-04-07 Glenn Morris <rgm@gnu.org>
11443
11444 * files.el (buffer-stale--default-function)
11445 (buffer-stale-function, revert-buffer--default):
11446 * autorevert.el (auto-revert-buffers): Doc tweaks.
11447
11448 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11449
11450 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11451
11452 2014-04-07 Glenn Morris <rgm@gnu.org>
11453
11454 * files.el (make-backup-file-name-function)
11455 (make-backup-file-name, make-backup-file-name--default-function)
11456 (make-backup-file-name-1, find-backup-file-name)
11457 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11458 (buffer-stale--default-function, buffer-stale-function)
11459 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11460 (revert-buffer, revert-buffer--default)
11461 (revert-buffer-insert-file-contents--default-function):
11462 Doc fixes related to defaults no longer being nil.
11463 (make-backup-file-name-function): Bump :version.
11464 Restore nil as a valid but deprecated custom type.
11465
11466 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11469 Handle $' used as a variable (bug#17174).
11470
11471 * progmodes/perl-mode.el (perl-indent-new-calculate):
11472 Handle forward-sexp failure (bug#16985).
11473 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11474 modifiers introducing expressions (bug#17116).
11475
11476 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11477
11478 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11479
11480 2014-04-05 Leo Liu <sdl.web@gmail.com>
11481
11482 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11483 Add define-compilation-mode.
11484
11485 2014-04-04 João Távora <joaotavora@gmail.com>
11486
11487 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11488 parse from comment beginning.
11489 (electric-pair--balance-info): Fix typo in comment.
11490 (electric-pair--in-unterminated-string-p): Delete.
11491 (electric-pair--unbalanced-strings-p): New function.
11492 (electric-pair-string-bound-function): New var.
11493 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11494 according to `electric-pair--in-unterminated-string-p'.
11495
11496 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11499 Move declaration before first use.
11500 (reftex-move-to-next-arg): Silence compiler warning.
11501
11502 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11503
11504 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11505 Use `window-total-width' instead of `window-width'.
11506
11507 2014-04-03 Daniel Colascione <dancol@dancol.org>
11508
11509 * subr.el (set-transient-map): Remove rms's workaround entirely;
11510 use new `suspicious-object' subr to mark our lambda for closer
11511 scrutiny during gc.
11512
11513 2014-04-02 Richard Stallman <rms@gnu.org>
11514
11515 * subr.el (set-transient-map): Comment out previous change.
11516
11517 2014-04-02 Glenn Morris <rgm@gnu.org>
11518
11519 * menu-bar.el (menu-bar-file-menu):
11520 * vc/ediff.el (ediff-current-file):
11521 Update for revert-buffer-function no longer being nil by default.
11522
11523 * simple.el (command-execute): Respect nil disabled-command-function.
11524
11525 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11526
11527 * simple.el (command-execute): Do not execute the command when it
11528 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11529
11530 2014-04-02 Juri Linkov <juri@jurta.org>
11531
11532 * dired-aux.el (dired-compress-file): Don't use string-match-p
11533 because its match data is used afterwards.
11534
11535 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11538 0 like nil.
11539
11540 2014-04-02 João Távora <joaotavora@gmail.com>
11541
11542 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11543 Inhibit quote pairing if point-max is inside an unterminated string.
11544 (electric-pair--looking-at-unterminated-string-p):
11545 Delete.
11546 (electric-pair--in-unterminated-string-p): New function.
11547
11548 2014-04-01 Daniel Colascione <dancol@dancol.org>
11549
11550 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11551 when trying to complete the prompt.
11552
11553 2014-03-31 Leo Liu <sdl.web@gmail.com>
11554
11555 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11556 Refactor out eldoc-documentation-function-default.
11557 (eldoc-documentation-function-default): New function.
11558 (eldoc-documentation-function): Change value.
11559
11560 2014-03-31 Glenn Morris <rgm@gnu.org>
11561
11562 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11563
11564 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11565 (vhdl-compose-components-package, vhdl-compose-configuration):
11566 Abbreviate default-directory (missing from some previous upstream sync).
11567
11568 2014-03-31 Reto Zimmermann <reto@gnu.org>
11569
11570 Sync with upstream vhdl mode v3.35.2.
11571 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11572 (top-level): No longer require assoc.
11573 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11574 New functions. Use throughout to replace aget etc.
11575 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11576 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11577 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11578 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11579 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11580 except `vhdl-compiler'.
11581 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11582 when appropriate.
11583
11584 2014-03-31 Glenn Morris <rgm@gnu.org>
11585
11586 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11587 Revert 2014-03-26 merge goof; go back to using defalias.
11588
11589 2014-03-30 Daniel Colascione <dancol@dancol.org>
11590
11591 * comint.el (comint-send-input):
11592 Deactivate completion-in-region-mode before we send comint input.
11593 (Bug#17139).
11594
11595 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11596 on keyboard-quit.
11597
11598 2014-03-29 Glenn Morris <rgm@gnu.org>
11599
11600 * textmodes/reftex.el: Manage most autoloads automatically.
11601 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11602 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11603 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11604 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11605 * textmodes/reftex-toc.el: Set generated-autoload-file,
11606 and add autoload cookies for reftex.el.
11607 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11608
11609 2014-03-28 Glenn Morris <rgm@gnu.org>
11610
11611 * cus-start.el (report-emacs-bug-address): Set custom properties.
11612 * mail/emacsbug.el (report-emacs-bug-address):
11613 Variable is now defined in emacs.c.
11614
11615 * mail/emacsbug.el (report-emacs-bug):
11616 Include system-configuration-features.
11617
11618 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11619
11620 * simple.el (cycle-spacing): Never delete spaces on first run by
11621 default, but do so in a new 'fast mode and if there are already
11622 N spaces (the previous behavior).
11623 Compare N with its value in previous invocation so that changing
11624 prefix argument restarts `cycle-spacing' sequence.
11625 The idea is that with this change, binding M-SPC to
11626 `cycle-spacing' should not introduce any changes in behavior of
11627 the binding so long as users do not type M-SPC twice in a raw with
11628 the same prefix argument or lack thereof.
11629
11630 2014-03-28 Glenn Morris <rgm@gnu.org>
11631
11632 * faces.el (term-file-aliases): New variable.
11633 (tty-run-terminal-initialization): Respect term-file-aliases.
11634 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11635 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11636 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11637
11638 2014-03-27 Glenn Morris <rgm@gnu.org>
11639
11640 * startup.el (inhibit-startup-hooks): Doc tweak.
11641 (normal-top-level): Simplify running of hooks.
11642 For window-setup-hook, respect inhibit-startup-hooks.
11643 (command-line-1): Don't set window-setup-hook to nil.
11644
11645 Allow selective autoloading from obsolete/ directory.
11646 * Makefile.in (obsolete-autoloads): New rule.
11647 (autoloads): Run obsolete-autoloads.
11648 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11649 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11650
11651 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11652
11653 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11654 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11655
11656 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11657 Don't propertize `?' or `!' as symbol constituent when after
11658 colon. (Bug#17097)
11659
11660 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11661
11662 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11663 which is no longer needed and causes trouble in GTK builds (bug#17046).
11664
11665 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11666 Use url-insert-file-contents; package-handle-response no longer exists.
11667
11668 2014-03-26 Daniel Colascione <dancol@dancol.org>
11669
11670 * simple.el (process-menu-mode-map): New variable.
11671 (process-menu-delete-process): New command.
11672
11673 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * emacs-lisp/package.el: Fix bug#16733 (again).
11676 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11677 (url-http-target-url): Remove unused declarations.
11678 (package-handle-response): Remove.
11679 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11680 (package--download-one-archive): Use current-buffer instead of
11681 dynamic binding of `buffer'.
11682 (describe-package-1): Do not decode readme-string.
11683
11684 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11685
11686 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11687
11688 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11689 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11690 `remote-file-name-inhibit-cache' to nil in the second pass.
11691 (tramp-find-executable): Do not call "which" on SunOS.
11692 (tramp-send-command-and-check): Fix docstring.
11693 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11694 check whether source directory has set the sticky bit.
11695
11696 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11697
11698 * simple.el (primitive-undo): Only process marker adjustments
11699 validated against their corresponding (TEXT . POS). Issue warning
11700 for lone marker adjustments in undo history. (Bug#16818)
11701 (undo-make-selective-list): Add marker adjustments to selective
11702 undo list based on whether their corresponding (TEXT . POS) is in
11703 the region. Remove variable adjusted-markers, which was unused
11704 and only non nil during undo-make-selective-list.
11705 (undo-elt-in-region): Return nil when passed a marker adjustment
11706 and explain in function doc.
11707
11708 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11709
11710 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11711
11712 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11713
11714 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11715 Match special global variables without curlies, too.
11716 (ruby-font-lock-keywords): Simplify the matcher for special global
11717 variables. Don't require a non-word character after the variable.
11718 (Bug#17057)
11719
11720 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11721
11722 * simple.el (redisplay-highlight-region-function): Increase priority of
11723 overlay to make sure boundaries are visible (bug#15899).
11724
11725 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11726
11727 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11728 (frameset-restore): Compare display strings with equal.
11729
11730 * frame.el (make-frame): Don't quote display name in error message,
11731 it is already a string.
11732
11733 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11734
11735 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11736 the password.
11737
11738 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11739
11740 * emacs-lisp/package.el (package--add-to-archive-contents):
11741 Include already installed and built-in packages in
11742 `package-archive-contents'.
11743 (package-install): Don't include already installed packages in the
11744 options during interactive invocation. (Bug#16762)
11745 (package-show-package-list): If the buffer is already displayed in
11746 another window, switch to that window.
11747
11748 2014-03-26 Reto Zimmermann <reto@gnu.org>
11749
11750 Sync with upstream vhdl mode v3.35.1.
11751 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11752 (vhdl-compiler-alist): Doc fix.
11753 (vhdl-goto-line): Remove.
11754 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11755 (vhdl-mode) <paragraph-start>: Fix value.
11756 (vhdl-fix-statement-region): Not `for' in wait-statement.
11757 (vhdl-beautify-region): Also (un)tabify.
11758 (vhdl-get-visible-signals):
11759 Scan declarative part of generate statements.
11760 (vhdl-template-record): Fix indentation for record type declaration.
11761 (vhdl-expand-abbrev, vhdl-expand-paren):
11762 Revert to using fset again rather than defalias.
11763 (vhdl-scan-directory-contents): Tweak.
11764 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11765 (vhdl-compose-components-package):
11766 Replace vhdl-goto-line with forward-line.
11767 (top-level): Tweak speedbar frame selection.
11768 (vhdl-generate-makefile-1): Support for compilers with no
11769 unit-to-file name mapping (create directory with dummy files).
11770
11771 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11772
11773 Sync with upstream verilog-mode revision 702457d.
11774 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11775 (create-lockfiles): Declare.
11776 (verilog-read-decls): Fix module header imports, bug709.
11777 Reported by Victor Lau.
11778 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11779 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11780 interface-only modules, bug721. Reported by Dean Hoyt.
11781
11782 2014-03-26 Glenn Morris <rgm@gnu.org>
11783
11784 * obsolete/gulp.el: Move here from emacs-lisp/.
11785
11786 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11787 Remove fallback aliases, since they are always defined now.
11788
11789 2014-03-24 Daniel Colascione <dancol@dancol.org>
11790
11791 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11792 instead of cl-loop search function.
11793
11794 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11795
11796 * calendar/parse-time.el (parse-time-iso8601-regexp)
11797 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11798 it more generally.
11799
11800 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11801
11802 * net/dns.el (network-interface-list): Define for XEmacs.
11803
11804 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11805
11806 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11807 the network interfaces changed.
11808 (dns-query): Use it to flush the data.
11809
11810 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11811
11812 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11813
11814 2014-03-23 Daniel Colascione <dancol@dancol.org>
11815
11816 Change subword-mode to use `find-word-boundary-function-table' and
11817 replace `capitalized-words-mode'. Also, convert to lexical binding.
11818 * progmodes/cap-words.el: Delete now-obsolete file.
11819 * progmodes/subword.el: Reimplement using
11820 `find-word-boundary-function-table'.
11821 (subword-mode-map): Hollow out.
11822 (capitalized-words-mode): Define as obsolete alias for
11823 `subword-mode'.
11824 (subword-mode, superword-mode): Tweak documentation to reflect new
11825 implementation; call `subword-setup-buffer'.
11826 (subword-forward, subword-capitalize): Add underscore to indicate
11827 unused variable.
11828 (subword-find-word-boundary-function-table): New constant.
11829 (subword-empty-char-table): New constant.
11830 (subword-setup-buffer): New function.
11831 (subword-find-word-boundary): New function.
11832
11833 2014-03-23 Daniel Colascione <dancol@dancol.org>
11834
11835 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11836 list to look for keyword arguments instead of `memq', fixing
11837 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11838 Please make bootstrap.
11839
11840 2014-03-22 Glenn Morris <rgm@gnu.org>
11841
11842 * dired.el (dired-read-regexp): Make obsolete.
11843 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11844 (dired-flag-files-regexp):
11845 * dired-aux.el (dired-mark-read-regexp):
11846 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11847
11848 * startup.el (fancy-startup-text):
11849 * help.el (describe-gnu-project): Visit online info about GNU project.
11850
11851 * help-fns.el (help-fns--interactive-only): New function.
11852 (help-fns-describe-function-functions): Add the above function.
11853 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11854 (next-line, previous-line): Remove hand-written interactive-only
11855 information from doc strings, it is auto-generated now.
11856 * bookmark.el (bookmark-write):
11857 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11858 (epa-mail-import-keys): Mark interactive-only,
11859 and remove hand-written interactive-only information from doc strings.
11860 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11861 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11862 * files.el (not-modified):
11863 * simple.el (mark-whole-buffer): Mark interactive-only.
11864
11865 * emacs-lisp/byte-run.el (defun-declarations-alist):
11866 Add interactive-only. Doc tweak.
11867 (macro-declarations-alist): Doc tweak.
11868 * subr.el (declare): Doc tweak (add xref to manual).
11869 * comint.el (comint-run):
11870 * files.el (insert-file-literally, insert-file):
11871 * replace.el (replace-string, replace-regexp):
11872 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11873 (delete-forward-char, goto-line, insert-buffer, next-line)
11874 (previous-line): Set interactive-only via declare.
11875
11876 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11877
11878 * emacs-lisp/package.el (package-desc): Use the contents of the
11879 quoted form, not its cdr. (Bug#16873)
11880
11881 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11882
11883 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11884 benefit of doc.c; change parameter profile to match the X function.
11885
11886 2014-03-22 Leo Liu <sdl.web@gmail.com>
11887
11888 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11889 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11890
11891 2014-03-21 Richard Stallman <rms@gnu.org>
11892
11893 * battery.el (battery-linux-sysfs): Search for each field
11894 from the beginning of the buffer.
11895
11896 * subr.el (set-transient-map): Clear out function and value
11897 of the temporary symbol when we're done with it.
11898
11899 * mail/rmailsum.el (rmail-summary-delete-forward):
11900 Optimize case of reaching end and handling count.
11901 (rmail-summary-mark-deleted): Optimize when N is current msg.
11902 Don't create new summary line.
11903 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11904 (rmail-summary-undelete-many): Rewrite for speed.
11905 (rmail-summary-msg-number): New function.
11906
11907 * mail/rmail.el (rmail-delete-message): Update summary.
11908 (rmail-undelete-previous-message): Handle repeat count arg.
11909 (rmail-delete-backward, rmail-delete-forward): Likewise.
11910
11911 2014-03-21 Daniel Colascione <dancol@dancol.org>
11912
11913 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11914 information in bug reports.
11915
11916 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11917
11918 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11919 and `tramp-copy-env'.
11920
11921 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11922 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11923
11924 2014-03-21 Glenn Morris <rgm@gnu.org>
11925
11926 * electric.el (electric-indent-post-self-insert-function): Add doc.
11927
11928 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11929
11930 * emacs-lisp/package.el (package-compute-transaction):
11931 Use `version-list-<=' to compare the requirement version against
11932 the version of package already to be installed. Update the error
11933 message. (Bug#16826)
11934
11935 * progmodes/ruby-mode.el (ruby-smie-rules):
11936 Add indentation rule for ` @ '. (Bug#17050)
11937
11938 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11939
11940 * align.el (align-regexp): Remove superfluous backslash.
11941
11942 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11943 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11944 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11945 Fix docstring typos.
11946 (ffap-next): Use C-u in docstring.
11947 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11948 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11949 Remove superfluous backslashes.
11950 (ffap-string-at-point): Reflow docstring.
11951
11952 * server.el (server-host): Reflow docstring.
11953 (server-unload-function): Fix docstring typo.
11954 (server-eval-at): Remove superfluous backslash.
11955
11956 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11957 (skeleton-insert): Doc fix.
11958 (skeleton-insert): Reflow docstring.
11959
11960 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11961 (tty-color-approximate, tty-color-by-index, tty-color-values)
11962 (tty-color-desc): Remove superfluous backslashes.
11963
11964 2014-03-21 Glenn Morris <rgm@gnu.org>
11965
11966 * cus-start.el (history-length): Bump :version.
11967
11968 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11969 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11970 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11971 Don't set `make-backup-files'.
11972
11973 * info.el (info--prettify-description): New function,
11974 to give info-finder descriptions consistent case, punctuation.
11975 (Info-finder-find-node): Use it. Sort packages.
11976 Refer to "description" rather than "commentary".
11977
11978 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11979
11980 * frameset.el (frameset--print-register): New function.
11981 (frameset-to-register): Use it.
11982
11983 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * progmodes/hideif.el (hif-string-to-number): New function.
11986 (hif-tokenize): Use it to understand non-decimal floats.
11987
11988 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11989
11990 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11991
11992 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * electric.el (electric-newline-and-maybe-indent): New command.
11995 Bind it globally to C-j.
11996 (electric-indent-mode): Don't mess with the global map any more.
11997 Don't drop the post-self-insert-hook is some buffer is still using it
11998 (bug#16770).
11999
12000 * bindings.el (global-map): Remove C-j binding.
12001
12002 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
12003 the docstring of functions advised before dumping (bug#16993).
12004
12005 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
12006
12007 * ps-print.el (ps-generate-postscript-with-faces):
12008 Explicitly deactivate the mark (bug#16866).
12009 * simple.el (deactivate-mark): Update region highlight.
12010
12011 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
12012
12013 * emacs-lisp/package.el (describe-package-1):
12014 Decode commentary (bug#16733).
12015
12016 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * custom.el (defcustom): Doc fix: recommend avoiding destructive
12019 modification of the value argument of :set (bug#16755).
12020
12021 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * simple.el (newline-and-indent): Do autofill (bug#17031).
12024
12025 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
12026
12027 * newcomment.el (comment-normalize-vars): Only add escaping check
12028 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
12029 (comment-beginning): Use `narrow-to-region' instead of moving back
12030 one character.
12031 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
12032 (comment-start-skip): Update the docstring.
12033
12034 2014-03-18 Richard Stallman <rms@gnu.org>
12035
12036 * dired.el (dired-display-file): Force use of other window.
12037
12038 2014-03-18 Daniel Colascione <dancol@dancol.org>
12039
12040 * startup.el (tty-handle-args): Remove debug message from 2007.
12041
12042 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
12045 (advice--make-interactive-form): Use it to avoid (auto)loading function.
12046 (advice--make-1, advice-add, advice-remove):
12047 Remove braindead :advice-pending hack.
12048
12049 2014-03-17 Glenn Morris <rgm@gnu.org>
12050
12051 * calendar/calendar.el (calendar-generate-month): Apply weekend
12052 face to the right days; fixes 2013-08-06 change. (Bug#17028)
12053
12054 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/tramp.el (tramp-action-out-of-band): Read pending output.
12057 (tramp-call-process): Trace also DESTINATION.
12058
12059 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12060 Quote file names when they are local. Remove superfluous trace.
12061
12062 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
12063
12064 * newcomment.el (comment-beginning): If `comment-start-skip'
12065 doesn't match, move back one char and try again. (Bug#16971)
12066
12067 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12068 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
12069 Set `comment-start-skip' to a simpler value that doesn't try to
12070 check if the semicolon is escaped (this is handled by
12071 `syntax-ppss' now). (Bug#16971)
12072
12073 * progmodes/scheme.el (scheme-mode-variables): Same.
12074
12075 2014-03-16 Martin Rudalics <rudalics@gmx.at>
12076
12077 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
12078 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
12079 current (Bug#16816, Bug#17007).
12080 (with-current-buffer-window): New macro doing the same as
12081 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
12082 * help.el (help-print-return-message): Warn in doc-string to not
12083 use this in `with-help-window'.
12084 (describe-bindings-internal): Call `describe-buffer-bindings'
12085 from within help buffer. See Juanma's scenario in (Bug#16816).
12086 (with-help-window): Update doc-string.
12087 * dired.el (dired-mark-pop-up):
12088 * files.el (save-buffers-kill-emacs):
12089 * register.el (register-preview): Use `with-current-buffer-window'
12090 instead of `with-temp-buffer-window'.
12091
12092 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
12093
12094 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
12095 Implement inserting into current buffer, documented in their docstrings.
12096 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
12097 (rst-section-tree-point, rst-forward-section, rst-indent)
12098 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
12099 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
12100 (rst-font-lock-handle-adornment-pre-match-form)
12101 (rst-repeat-last-character): Reflow docstrings.
12102 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
12103 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
12104 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
12105 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
12106 Fix docstring typos.
12107 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
12108 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
12109 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
12110
12111 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
12112
12113 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
12114 for compatibility with other ports.
12115 (ns-initialize-window-system): Use it. It is set in term/common-win.el
12116 from the -xrm command line argument, but in the Nextstep port its value
12117 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
12118
12119 * progmodes/python.el (defconst, python-syntax-count-quotes)
12120 (python-indent-region, python-indent-shift-right)
12121 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
12122 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
12123 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
12124 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
12125 (inferior-python-mode, python-shell-make-comint, run-python-internal)
12126 (python-shell-buffer-substring, python-shell-send-buffer)
12127 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
12128 (python-completion-complete-at-point, python-fill-docstring-style)
12129 (python-eldoc-function, python-imenu-format-item-label)
12130 (python-imenu-format-parent-item-label)
12131 (python-imenu-format-parent-item-jump-label)
12132 (python-imenu--build-tree, python-imenu-create-index)
12133 (python-imenu-create-flat-index): Fix docstring typos.
12134 (python-indent-context, python-shell-prompt-regexp, run-python):
12135 Remove superfluous backslashes.
12136 (python-indent-line, python-nav-beginning-of-defun)
12137 (python-shell-get-buffer, python-shell-get-process)
12138 (python-info-current-defun, python-info-current-line-comment-p)
12139 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
12140 (python-indent-post-self-insert-function, python-shell-send-file)
12141 (python-shell-completion-get-completions)
12142 (python-shell-completion-complete-or-indent)
12143 (python-eldoc--get-doc-at-point): Reflow docstrings.
12144
12145 2014-03-14 Glenn Morris <rgm@gnu.org>
12146
12147 * emacs-lisp/package.el (package-menu-mode-map):
12148 Replace use of obsolete function alias. Tweak menu item text.
12149
12150 * info.el (Info-finder-find-node):
12151 Ignore the `emacs' metapackage. (Bug#10813)
12152
12153 * finder.el (finder-list-matches): Include unversioned packages
12154 in the result of a keyword search.
12155
12156 * finder.el (finder--builtins-descriptions): New constant.
12157 (finder-compile-keywords): Use finder--builtins-descriptions.
12158
12159 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
12160
12161 * simple.el (blink-matching-paren): Describe the new value,
12162 `jump', enabling the old behavior.
12163 (blink-matching-open): Use that value. (Bug#17008)
12164
12165 2014-03-14 Glenn Morris <rgm@gnu.org>
12166
12167 * finder.el (finder-no-scan-regexp): Add leim-list.
12168 (finder-compile-keywords):
12169 Don't skip files with same basename. (Bug#14010)
12170 * Makefile.in (setwins_finder): New, excluding leim.
12171 (finder-data): Use setwins_finder.
12172
12173 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
12174 (help-function-arglist, help-make-usage): Move from here...
12175 * help.el (help-split-fundoc, help-add-fundoc-usage)
12176 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
12177 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
12178
12179 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
12180
12181 * net/socks.el (socks, socks-override-functions)
12182 (socks-find-services-entry):
12183 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
12184 (hif-find-ifdef-block):
12185 * progmodes/modula2.el (m2-indent): Fix docstring typos.
12186
12187 * net/tls.el (tls-program): Reflow docstring.
12188
12189 * progmodes/pascal.el (pascal-mode-abbrev-table)
12190 (pascal-imenu-generic-expression, pascal-auto-endcomments)
12191 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
12192 (pascal-outline-mode): Fix docstring typos.
12193 (pascal-mode): Let define-derived-mode document mode hook.
12194 (pascal-uncomment-area): Reflow.
12195 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
12196
12197 * progmodes/opascal.el (opascal-compound-block-indent)
12198 (opascal-case-label-indent): Fix docstring typos.
12199 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
12200
12201 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
12202
12203 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12204 Fontify multiple adjacent negation chars. (Bug#17004)
12205
12206 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
12207
12208 * emacs-lisp/package.el (package--prepare-dependencies):
12209 Accept requirements without explicit version (bug#14941).
12210
12211 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * register.el (register-separator, copy-to-register): Doc fixes.
12214 (register-preview-default): Remove unnecessary call to concat.
12215
12216 * frameset.el (frameset-restore): When checking for a visible frame,
12217 use the action map instead of calling visible-frame-list.
12218
12219 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
12220
12221 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
12222
12223 2014-03-12 Martin Rudalics <rudalics@gmx.at>
12224
12225 * window.el (fit-frame-to-buffer): Get maximum width from
12226 display's width instead of height.
12227
12228 2014-03-12 Glenn Morris <rgm@gnu.org>
12229
12230 * desktop.el (desktop-restore-frames)
12231 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
12232 (desktop-restore-reuses-frames): Doc tweaks.
12233
12234 * electric.el (electric-indent-mode): Doc fix.
12235
12236 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
12239 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
12240 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
12241 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
12242 (cvs-dired-use-hook): Fix docstring typos.
12243 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
12244 Doc fixes.
12245
12246 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12247 (cvs-auto-remove-directories, cvs-default-ignore-marks)
12248 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
12249 (cvs-execute-single-dir): Fix docstring typos.
12250
12251 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
12252 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
12253
12254 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
12255
12256 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
12257 Fix docstring typos.
12258
12259 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * frameset.el (frameset--jump-to-register): Add autoload; it could be
12262 called from jump-to-register after unloading the frameset package.
12263
12264 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12267 (bug#16975). Deactivate the mark before setting it to nil.
12268 (activate-mark): Do nothing if region is already active.
12269
12270 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12271
12272 * frameset.el (frameset--target-display): Remove definition; declare.
12273 (frameset-save, frameset-restore): Let-bind frameset--target-display.
12274
12275 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12278 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12279 when the advice is pending.
12280 (advice-remove): Remove this marker when not needed any more.
12281
12282 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12283
12284 * frameset.el: Separate options for reusing frames and cleaning up.
12285 (frameset--reuse-list): Remove definition; declare.
12286 (frameset--action-map): Declare.
12287 (frameset--find-frame-if): Doc fix.
12288 (frameset--restore-frame): Cache frame action.
12289 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12290 how to clean up the frame list after restoring. Remove cleaning
12291 options from REUSE-FRAMES. Change all keyword values to symbols.
12292 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12293
12294 * desktop.el (desktop-restore-forces-onscreen)
12295 (desktop-restore-reuses-frames): Use non-keyword values.
12296 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12297
12298 2014-03-10 Glenn Morris <rgm@gnu.org>
12299
12300 * files.el (find-file): Doc fix: update info node name.
12301
12302 * emacs-lisp/advice.el (ad-add-advice, defadvice):
12303 Doc fix: remove references to deleted info nodes.
12304
12305 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
12306
12307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12308 Do not add nil to the environment, when there's no remote `locale'.
12309 (tramp-find-inline-encoding): Check, that the remote host has
12310 installed perl, before sending scripts.
12311
12312 2014-03-10 Leo Liu <sdl.web@gmail.com>
12313
12314 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12315 Clear eldoc-last-message. (Bug#16920)
12316
12317 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12320 (bug#14430).
12321
12322 2014-03-09 Juri Linkov <juri@jurta.org>
12323
12324 * ansi-color.el (ansi-color-names-vector): Copy default colors
12325 from `xterm-standard-colors' that look well on the default white
12326 background (and also on the black background) to avoid illegible
12327 color combinations like yellow-on-white and white-on-white.
12328 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12329
12330 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12331
12332 * frameset.el (frameset-restore): When no frame is visible, do not
12333 generate a list of frames, just make visible the selected one.
12334
12335 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12336
12337 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12338 it only contains the repository root. (Bug#16897)
12339
12340 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12341
12342 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12343 only when `remote-file-name-inhibit-cache' is nil.
12344 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12345
12346 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12347
12348 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12349 Fix doc-strings.
12350 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12351 fit-frame-to-buffer variable. Fix doc-string.
12352 (fit-window-to-buffer): Set ONLY argument in call of
12353 fit-frame-to-buffer. Fix doc-string.
12354
12355 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12356
12357 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12358 (tramp-action-password): Clear password cache if needed.
12359 (tramp-read-passwd): Do not clear password cache.
12360
12361 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12362 cache unless it is the first password request.
12363
12364 2014-03-06 Glenn Morris <rgm@gnu.org>
12365
12366 * simple.el (newline): Doc tweak.
12367
12368 * emacs-lisp/shadow.el (load-path-shadows-find):
12369 Ignore dir-locals. (Bug#12357)
12370
12371 2014-03-05 Glenn Morris <rgm@gnu.org>
12372
12373 * files.el (interpreter-mode-alist):
12374 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12375
12376 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12377
12378 * frameset.el (frameset--initial-params): Filter out null entries.
12379
12380 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12381
12382 * window.el (window-min-height, window-min-width):
12383 Rewrite doc-strings.
12384 (window-body-size): Add PIXELWISE argument to make it consistent
12385 with its callees.
12386
12387 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * finder.el (finder-mode-map, finder-mode-syntax-table):
12390 Revert part of 2014-02-28 change.
12391
12392 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12393
12394 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12395 (eww-setup-buffer): Clear next/prev/etc more reliably.
12396 (eww-textarea-map): [tab] doesn't work on tty.
12397 Reported by Mario Lang.
12398
12399 * net/shr.el (shr-map): Ditto.
12400
12401 2014-03-04 Glenn Morris <rgm@gnu.org>
12402
12403 * minibuffer.el (completion-hilit-commonality):
12404 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12405
12406 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12407
12408 * hilit-chg.el (hilit-chg-unload-function): New function.
12409 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12410 (hilit-chg-map-changes): Prefer cardinal number to digit.
12411 (hilit-chg-display-changes): Reflow docstring.
12412 (highlight-changes-rotate-faces): Remove superfluous backslash.
12413
12414 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12417 `tramp-send-command-and-check'.
12418
12419 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12420
12421 * hexl.el (hexl-address-region, hexl-ascii-region)
12422 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12423 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12424 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12425 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12426 (hexl-mode): Doc fix.
12427 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12428 (hexl-mode-ruler): Fix typos in docstrings.
12429
12430 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12431 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12432 Remove superfluous backslashes.
12433 (strokes-last-stroke, strokes-global-map, strokes-mode):
12434 Reflow docstrings.
12435 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12436 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12437 (strokes-distance-squared, strokes-global-set-stroke)
12438 (strokes-global-set-stroke-string): Doc fixes.
12439 (strokes-help): Fix typos; reflow docstring.
12440
12441 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12442
12443 * window.el (window-in-direction): Fix doc-string.
12444
12445 2014-03-04 Glenn Morris <rgm@gnu.org>
12446
12447 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12448 Explicit error if no grammar.
12449 (smie-config-save): Doc fix. Fix quote typo.
12450
12451 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12454 electric-indent-mode-hook if we obey electric-indent-mode.
12455 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12456 decide whether we obey electric-indent-mode.
12457 (c-change-set-fl-decl-start, c-extend-after-change-region):
12458 Silence warnings.
12459 (c-electric-indent-mode-hook): Assume we do want to obey
12460 electric-indent-mode.
12461
12462 * electric.el (electric-indent-mode-has-been-called): Remove.
12463 (electric-indent-mode): Fix accordingly.
12464
12465 * files.el (hack-local-variables): Mention file name in warning.
12466
12467 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12468
12469 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12470
12471 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12472 * simple.el (delete-forward-char): Mark as interactive-only.
12473
12474 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12475
12476 * icomplete.el (icomplete-completions):
12477 Follow-up to 2014-03-01 change.
12478
12479 * icomplete.el: Miscellaneous doc fixes.
12480 Use Icomplete everywhere instead of icomplete for consistency.
12481 (icomplete-max-delay-chars): Fix typo.
12482 (icomplete-mode): Use \[].
12483 (icomplete-tidy, icomplete-exhibit): Reflow.
12484 (icomplete-minibuffer-setup-hook, icomplete-completions):
12485 Remove superfluous backlashes.
12486
12487 * ido.el: Miscellaneous doc fixes.
12488 Use Ido everywhere instead of ido or `ido' for consistency.
12489 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12490 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12491 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12492 (ido-separator): Extract obsolescence info from docstring and declare
12493 with make-obsolete-variable.
12494 (ido-minibuffer-setup-hook): Simplify example.
12495 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12496 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12497 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12498 (ido-everywhere): Reflow docstring.
12499 (ido-toggle-vc): Doc fix.
12500 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12501 of long list of keybindings.
12502
12503 2014-03-03 Glenn Morris <rgm@gnu.org>
12504
12505 * frame.el (display-pixel-height, display-pixel-width)
12506 (display-mm-dimensions-alist, display-mm-height)
12507 (display-mm-width): Doc tweaks.
12508
12509 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12510
12511 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12512 case of undo in region.
12513
12514 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12515
12516 * window.el (fit-window-to-buffer): Fix argument in window-size
12517 call when window is horizontally combined.
12518
12519 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12520
12521 * icomplete.el (icomplete-completions): Use string-width.
12522 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12523
12524 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12525
12526 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12527 Highlight regexp options. (Bug#16914)
12528
12529 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12530
12531 * window.el (window--max-delta-1): Round down when calculating
12532 how many lines/columns we can get from a window.
12533
12534 2014-03-01 Glenn Morris <rgm@gnu.org>
12535
12536 * isearch.el (search-invisible): Doc fix.
12537
12538 * minibuffer.el (completion-hilit-commonality):
12539 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12540 * comint.el (comint-dynamic-list-completions): Doc fix.
12541 * comint.el (comint-dynamic-list-completions):
12542 * filecache.el (file-cache-minibuffer-complete):
12543 * tempo.el (tempo-display-completions):
12544 * eshell/em-hist.el (eshell-list-history):
12545 Replace use of obsolete argument of display-completion-list.
12546
12547 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12548
12549 * icomplete.el (icomplete-completions):
12550 Revert back to using "..." when ?… cannot be displayed.
12551
12552 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * finder.el (finder-unload-function): New function.
12555
12556 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12557
12558 * dframe.el (dframe-detach):
12559 * find-dired.el (find-dired, find-name-dired):
12560 * finder.el (finder-mode-map, finder-mode-syntax-table)
12561 (finder-headmark, finder-select, finder-mouse-select):
12562 Fix docstring typos.
12563
12564 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12565
12566 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12567 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12568 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12569 Fix doc-string based on a suggestion by Nicolas Richard
12570 <theonewiththeevillook@yahoo.fr>.
12571 * help.el (with-help-window): Fix doc-string.
12572
12573 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12574
12575 * net/shr.el (shr-image-animate): New option.
12576 (shr-put-image): Respect shr-image-animate.
12577
12578 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12579
12580 * net/tramp-adb.el (tramp-adb-parse-device-names):
12581 Use `accept-process-output'.
12582 (tramp-adb-handle-file-truename): Cache the localname only.
12583 (tramp-adb-handle-make-directory)
12584 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12585 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12586 modes cannot be changed.
12587
12588 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12589 file properties of symlinks.
12590
12591 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12592
12593 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12594 required/optional fields to match development biblatex. (Bug#16781)
12595
12596 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12597
12598 * saveplace.el (toggle-save-place):
12599 Fix argument handling. (Bug#16673)
12600
12601 2014-02-28 Glenn Morris <rgm@gnu.org>
12602
12603 * minibuffer.el (completions-first-difference)
12604 (completions-common-part, completion-hilit-commonality): Doc fixes.
12605
12606 2014-02-28 Karl Berry <karl@gnu.org>
12607
12608 * info.el (Info-mode-map): Add H for describe-mode,
12609 to synchronize with standalone Info.
12610
12611 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12612
12613 * progmodes/sql.el (sql-interactive-mode):
12614 Avoid setting global comint-input-ring-separator. (Bug#16814)
12615
12616 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12617
12618 * net/dbus.el (dbus--init-bus): Declare function.
12619 (dbus-path-local, dbus-interface-local): New defconst.
12620 (dbus-init-bus): Use them.
12621 (dbus-return-values-table): Extend doc.
12622 (dbus-handle-bus-disconnect): Extend error message.
12623
12624 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12625
12626 * subr.el (y-or-n-p): Fix double space issue in message.
12627
12628 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12629
12630 * net/tramp.el (tramp-call-process): Improve trace message.
12631 (tramp-handle-insert-file-contents): Trace error case.
12632
12633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12634 <insert-directory>: Use `tramp-handle-insert-directory'.
12635 (tramp-adb-handle-insert-directory): Remove function.
12636 (tramp-adb-send-command-and-check): New defun, replacing
12637 `tramp-adb-command-exit-status'. Change all callees.
12638 (tramp-adb-handle-file-attributes)
12639 (tramp-adb-handle-directory-files-and-attributes): Use it.
12640 (tramp-adb-ls-output-name-less-p):
12641 Use `directory-listing-before-filename-regexp'.
12642 (tramp-adb-handle-delete-directory): Flush also file properties of
12643 the truename of directory.
12644 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12645 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12646 (tramp-adb-handle-write-region): Implement APPEND.
12647 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12648 properties correctly.
12649 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12650 variables. Check for connected devices only when needed.
12651
12652 2014-02-27 Glenn Morris <rgm@gnu.org>
12653
12654 * minibuffer.el (completion-table-dynamic)
12655 (completion-table-with-cache): Doc fixes.
12656
12657 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12658 (completing-read-multiple): Doc fixes.
12659
12660 2014-02-27 Daniel Colascione <dancol@dancol.org>
12661
12662 * minibuffer.el (completion--nth-completion): Fix indentation.
12663
12664 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12665 explicit tramp path is empty.
12666
12667 2014-02-27 Glenn Morris <rgm@gnu.org>
12668
12669 * emacs-lisp/crm.el (completing-read-multiple):
12670 Empower help-enable-auto-load.
12671
12672 2014-02-26 Glenn Morris <rgm@gnu.org>
12673
12674 * startup.el (command-line): Don't init the tty in daemon mode.
12675
12676 Avoid calling tty-setup-hook twice, eg if a term file
12677 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12678 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12679 (tty-create-frame-with-faces): Use it.
12680 * startup.el (command-line): Pass run-hook argument
12681 to tty-run-terminal-initialization.
12682
12683 * dired.el (dired-restore-desktop-buffer): Demote errors;
12684 eg in case a glob match fails. (Bug#16884)
12685
12686 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12687
12688 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12689 error from `read-from-string'. (Bug#16850)
12690
12691 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12692 result of `completing-read' in the interactive form. (Bug#16854)
12693
12694 2014-02-25 Glenn Morris <rgm@gnu.org>
12695
12696 * image.el (image-animate, image-animate-timeout):
12697 Stop animating images in dead buffers. (Bug#16878)
12698
12699 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12700
12701 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12702 Doc fixes.
12703 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12704 * term/sun.el (sun-raw-prefix-hooks):
12705 Use tty-setup-hook instead of term-setup-hook.
12706 (terminal-init-sun): Construct message from bytecomp plist.
12707 * term/wyse50.el (enable-arrow-keys): Doc fix.
12708
12709 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12710
12711 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12712 Fix docstring typos.
12713
12714 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12717
12718 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12719
12720 * minibuffer.el (completion--try-word-completion):
12721 Fix error when completing M-x commands (bug#16808).
12722
12723 2014-02-24 Leo Liu <sdl.web@gmail.com>
12724
12725 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12726
12727 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12728
12729 * apropos.el (apropos-print): Avoid formatting error when
12730 apropos-do-all and apropos-compact-layout are both t.
12731
12732 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12733
12734 * apropos.el (apropos-property, apropos-all-words-regexp)
12735 (apropos-true-hit, apropos-variable, apropos-print):
12736 Fix docstring typos, and remove obsolete comment.
12737
12738 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12741 Preserve trailing "/". (Bug#16851)
12742
12743 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12744
12745 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12746 after `=>' (bug#16811).
12747 (ruby-smie-rules): Handle the inconsistent second element of the
12748 list returned by `smie-indent--parent'.
12749 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12750 method call.
12751
12752 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12753
12754 * elec-pair.el (electric-pair-text-syntax-table)
12755 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12756 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12757 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12758 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12759
12760 2014-02-22 Glenn Morris <rgm@gnu.org>
12761
12762 * imenu.el (imenu--generic-function): Doc fix.
12763
12764 * register.el (frame-configuration-to-register): Make obsolete.
12765
12766 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12767
12768 * desktop.el (desktop-save-buffer-p): Do not fail when
12769 desktop-files-not-to-save is nil. Return t for true result
12770 as the doc says.
12771
12772 2014-02-22 Daniel Colascione <dancol@dancol.org>
12773
12774 * net/secrets.el (secrets-create-item, secrets-search-items):
12775 Check that attribute values are strings, avoiding the construction
12776 of invalid dbus messages.
12777
12778 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12781 defun-declarations-alist.
12782
12783 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12784
12785 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12786 (bug#16829).
12787
12788 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12791 (whitespace-newline, whitespace-trailing, whitespace-line)
12792 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12793 (whitespace-space-after-tab): Fix typo in docstrings.
12794
12795 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12796
12797 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12798
12799 * electric.el (electric-indent-functions-without-reindent):
12800 Add `yaml-indent-line'.
12801
12802 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12803
12804 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12805 It has done nothing for years; should be removed after the release.
12806
12807 * simple.el (choose-completion): Fix docstring typo.
12808 (read-quoted-char-radix): Remove unneeded * in docstring.
12809 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12810 Don't escape parentheses unnecessarily in docstrings.
12811
12812 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12813
12814 Fix handling of window-min-height/-width (Bug#16738).
12815 * window.el (window--dump-window, window--dump-frame):
12816 New functions.
12817 (window--min-size-1): Account for window dividers.
12818 When window-resize-pixelwise is nil, delay rounding till after the
12819 sum of the window components has been calculated.
12820 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12821 nil make sure at least one text line and two text columns remain
12822 fully visible.
12823 (window-resize): Signal an error when window-resize-apply fails.
12824 (window--resize-child-windows): Fix calculation of by how many
12825 pixels a window can still be shrunk via window-new-normal.
12826 (adjust-window-trailing-edge): Call window--resizable with
12827 correct TRAIL argument.
12828
12829 (with-temp-buffer-window): Don't evaluate BODY within
12830 with-current-buffer (Bug#16816).
12831
12832 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12833
12834 * net/tramp.el (tramp-check-cached-permissions):
12835 Call `file-attributes' with `suffix' being a symbol but a string.
12836
12837 2014-02-21 Daniel Colascione <dancol@dancol.org>
12838
12839 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12840 (dbus-init-bus): New function: call into dbus-init-bus-1
12841 and installs a handler for the disconnect signal.
12842 (dbus-call-method): Rewrite to look for result in cons.
12843 (dbus-call-method-handler): Store result in cons.
12844 (dbus-check-event): Recognize events with nil sender as valid.
12845 (dbus-handle-bus-disconnect): New function. React to bus
12846 disconnection signal by synthesizing dbus error for each
12847 pending synchronous or asynchronous call.
12848 (dbus-notice-synchronous-call-errors): New function.
12849 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12850 is true, not all the time.
12851
12852 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12853
12854 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12855 Remove obsolescence declarations, these variables do not exist anymore.
12856
12857 * savehist.el (savehist-save-minibuffer-history)
12858 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12859 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12860 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12861 mostly, refer to "Savehist mode" when talking about the mode,
12862 and not the function.
12863
12864 * saveplace.el (save-place): Remove redundant info in docstring.
12865 (save-place-forget-unreadable-files, toggle-save-place)
12866 (save-place-forget-unreadable-files, save-place-dired-hook):
12867 Fix typos and remove unneeded backslashes.
12868
12869 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12870
12871 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12872 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12873
12874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12875 <insert-directory>: Use `tramp-handle-insert-directory'.
12876 (tramp-gvfs-handle-insert-directory): Remove function.
12877
12878 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12879 Call `tramp-handle-insert-directory'.
12880
12881 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12882
12883 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12884 before the start of buffer/region (bug#16799).
12885
12886 2014-02-20 Glenn Morris <rgm@gnu.org>
12887
12888 * isearch.el (search-invisible): Doc fix.
12889
12890 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12891
12892 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12893 (bug#16657).
12894
12895 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12896
12897 * frameset.el (frameset-restore): Delay removing an old frame's
12898 duplicate id until the new frame has been correctly created.
12899
12900 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12901
12902 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12903 (tramp-check-cached-permissions): Call `file-attributes' if the
12904 cache is empty.
12905
12906 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12907 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12908
12909 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12910 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12911 (tramp-gvfs-maybe-open-connection): Set always connection
12912 properties, even if target is mounted already.
12913
12914 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12915 Set tramp-autoload cookie.
12916 (tramp-get-remote-touch): New defun.
12917 (tramp-sh-handle-set-file-times): Use it.
12918 (tramp-sh-handle-directory-files-and-attributes):
12919 Use `tramp-handle-directory-files-and-attributes' if neither stat
12920 nor perl are available on the remote host.
12921
12922 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12923 "/". Write long listing only when "l" belongs to the switches.
12924
12925 * net/trampver.el: Update release number.
12926
12927 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12928
12929 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12930
12931 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12932
12933 * window.el (window-state-put): Allow WINDOW to refer to an
12934 internal window (Bug#16793).
12935
12936 2014-02-19 Glenn Morris <rgm@gnu.org>
12937
12938 * textmodes/remember.el: Move provide statement to end.
12939 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12940 (remember-notes): Doc fixes.
12941
12942 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * delsel.el (delete-char): Restore incorrectly erased property
12945 (bug#16795).
12946
12947 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * frameset.el (frameset--restore-frame): When a frame is being reused
12950 and its root window is not alive, delete all the frame's windows before
12951 restoring the window state. This works around the issue in bug#16793.
12952
12953 2014-02-18 Glenn Morris <rgm@gnu.org>
12954
12955 * textmodes/remember.el (remember-data-directory)
12956 (remember-directory-file-name-format, remember-store-in-files)
12957 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12958 (remember-notes-save-and-bury-buffer)
12959 (remember-notes--kill-buffer-query): Doc fixes.
12960
12961 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12962
12963 2014-02-17 Alan Mackenzie <acm@muc.de>
12964
12965 Connect electric-indent-mode up with CC Mode. Bug #15478.
12966 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12967 to electric-indent-{,local-}-mode.
12968 (c-basic-common-init): Set electric-indent-inhibit.
12969 Initialize c-electric-flag from electric-indent-mode.
12970 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12971 New hook functions which propagate electric-indent-mode to CC mode.
12972
12973 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12974 hit, toggle electric-indent-local-mode.
12975
12976 * electric.el (electric-indent-mode-has-been-called):
12977 New variable.
12978
12979 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12980
12981 * frameset.el (frameset-cfg-id): New function.
12982 (frameset--reuse-frame, frameset-restore): Use it.
12983 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12984
12985 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * ido.el (ido-file-internal): Remove unused var `d'.
12988 Use \` for to match BoS. Fit within 80n columns.
12989
12990 2014-02-17 Daniel Colascione <dancol@dancol.org>
12991
12992 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12993 dbus-call-method check for completion using a busy-wait loop with
12994 gradual backoff.
12995
12996 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12997
12998 Sync with Tramp 2.2.9.
12999
13000 * net/trampver.el: Update release number.
13001
13002 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
13003
13004 * ido.el (ido-file-internal): Don't add the name of an existing
13005 directory twice. (Bug#16747)
13006
13007 2014-02-16 Glenn Morris <rgm@gnu.org>
13008
13009 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
13010 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
13011
13012 2014-02-15 Michael R. Mauger <michael@mauger.com>
13013
13014 * progmodes/sql.el: Version 3.4
13015 (sql-oracle-options): New default value ("-L").
13016 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
13017 (sql-placeholders-filter): Correct placeholder pattern.
13018 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
13019 (sql-login-delay): New variable.
13020 (sql-product-interactive): Use it.
13021
13022 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * frameset.el (frameset--jump-to-register): Check that buffer is live
13025 (bug#16749).
13026
13027 2014-02-15 Glenn Morris <rgm@gnu.org>
13028
13029 * info.el (info-initialize): Revert 2014-01-10 change.
13030
13031 2014-02-14 Glenn Morris <rgm@gnu.org>
13032
13033 * replace.el (map-query-replace-regexp)
13034 (read-regexp-defaults-function, read-regexp): Doc fixes.
13035
13036 * dired.el (dired-read-regexp):
13037 * faces.el (list-faces-display):
13038 * misearch.el (multi-isearch-read-matching-buffers)
13039 (multi-isearch-read-matching-files):
13040 * play/cookie1.el (cookie-apropos):
13041 * progmodes/grep.el (grep-read-regexp): Doc fixes.
13042
13043 * textmodes/remember.el (remember): Use frameset-to-register
13044 rather than frame-configuration-to-register.
13045
13046 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
13047
13048 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
13049 incorrect keybinding.
13050
13051 2014-02-13 Daniel Colascione <dancol@dancol.org>
13052
13053 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
13054 when adding overlays so that line numbers from compiler match line
13055 numbers we use.
13056
13057 2014-02-13 Glenn Morris <rgm@gnu.org>
13058
13059 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
13060
13061 * jit-lock.el (jit-lock-mode): Doc fix.
13062
13063 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
13064
13065 * apropos.el (apropos-read-pattern): When the user passes an empty
13066 string, give a more helpful error message than "Wrong type
13067 argument: stringp, nil".
13068
13069 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
13070
13071 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
13072
13073 2014-02-13 Glenn Morris <rgm@gnu.org>
13074
13075 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
13076
13077 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
13080 shift-select commands.
13081
13082 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
13083
13084 * progmodes/js.el (js-indent-line): Don't widen.
13085 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
13086
13087 2014-02-12 Glenn Morris <rgm@gnu.org>
13088
13089 * icomplete.el (icomplete): Add info-link to defgroup.
13090 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
13091 (icomplete-minibuffer-map, icomplete-mode)
13092 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
13093
13094 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
13095 (package-menu-filter): Rename from package-menu-filter-interactive.
13096 Doc fix.
13097
13098 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
13099
13100 * frameset.el (frameset--jump-to-register): Select the required
13101 window and buffer before restoring position (bug#16696).
13102
13103 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
13104
13105 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
13106
13107 2014-02-10 Glenn Morris <rgm@gnu.org>
13108
13109 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
13110
13111 2014-02-10 Eli Zaretskii <eliz@gnu.org>
13112
13113 * w32-common-fns.el (x-get-selection): Doc fix.
13114 * select.el (x-get-selection): Doc fix. (Bug#15109)
13115
13116 * face-remap.el (face-remap-add-relative)
13117 (face-remap-remove-relative, face-remap-reset-base)
13118 (face-remap-set-base): Call force-mode-line-update to redisplay
13119 the current buffer due to potential change in faces. (Bug#16709)
13120
13121 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
13122
13123 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
13124 script more robustly.
13125
13126 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13127
13128 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
13129
13130 * simple.el (choose-completion): Doc fix (bug#14160).
13131
13132 * subr.el (event-start): Say what a nil EVENT value means.
13133
13134 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
13135 (bug#14197).
13136
13137 * progmodes/grep.el (find-program): Doc fix (bug#14289).
13138
13139 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
13140
13141 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
13142
13143 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13144 predicate function (bug#15455).
13145
13146 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
13147
13148 * ielm.el (inferior-emacs-lisp-mode): Instead of
13149 `comment-use-global-state', set `comment-use-syntax'.
13150
13151 2014-02-10 Glenn Morris <rgm@gnu.org>
13152
13153 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
13154
13155 2014-02-09 Alan Mackenzie <acm@muc.de>
13156
13157 Fix c-invalidate-state-cache on narrowed buffers.
13158 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
13159 Widen when setting and clearing the CPP delimiter properties.
13160
13161 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
13162
13163 * help.el (describe-bindings): Doc fix (bug#9888).
13164
13165 * files.el (save-buffer): Use ARG as the parameter name for
13166 consistency (bug#10346).
13167 (save-buffer): Clarify the 0 argument (bug#10346).
13168
13169 * cus-edit.el (customize-apropos): Fix error string.
13170 (custom-buffer-create): Doc fix (bug#11122).
13171 (custom-sort-items): Doc fix (bug#11121).
13172
13173 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
13174
13175 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
13176 (icomplete-simple-completing-p): Mention the previous variable.
13177
13178 * font-lock.el (font-lock-value-in-major-mode): Clarify the
13179 meaning of the parameter (bug#12282).
13180
13181 * files.el (find-file-noselect): Clarify prompt when changing
13182 readedness (bug#13261).
13183 (locate-file): Suffixes aren't returned, so don't say that they
13184 are (bug#12674).
13185 (backup-inhibited): Doc clarification (bug#12525).
13186
13187 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
13188 before we actually start to delete things (bug#16331).
13189
13190 * subr.el (event-start): Doc fix (bug#14228).
13191 (event-end): Ditto.
13192
13193 2014-02-09 Glenn Morris <rgm@gnu.org>
13194
13195 * emacs-lisp/warnings.el (lwarn):
13196 Empower help-enable-auto-load. (Bug#15940)
13197
13198 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13199
13200 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
13201 (Bug#16690)
13202
13203 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
13204
13205 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13206 Insert output at end of buffer. (Bug#16120)
13207
13208 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13209
13210 * simple.el (choose-completion-string-functions): Document new
13211 calling convention (bug#14153).
13212 (execute-extended-command): Clarify doc string (bug#13373).
13213
13214 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
13215
13216 * find-dired.el (find-name-dired): Doc fix (bug#14290).
13217 (find-grep-dired): Doc fix (bug#14288).
13218
13219 2014-02-08 Juri Linkov <juri@jurta.org>
13220
13221 * isearch.el (isearch-quote-char): Check character validity
13222 like in `quoted-insert' (bug#16677).
13223
13224 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13225
13226 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
13227
13228 * isearch.el (isearch-hide-immediately): Doc clarification
13229 (bug#14723).
13230
13231 * simple.el (line-move): Document utility function used many
13232 places in the Emacs sources (bug#14843).
13233
13234 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
13235 (dired-prev-marked-file): Doc fix (bug#14855).
13236 (dired-up-directory): Doc fix (bug#14848).
13237
13238 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
13239
13240 * files.el (file-relative-name): Doc fix (bug#15159).
13241
13242 * fringe.el (fringe-styles): Doc fix (bug#15239).
13243
13244 * isearch.el (isearch-filter-predicate): Documentation typo fix
13245 (bug#15474).
13246
13247 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
13248
13249 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13250
13251 * replace.el (replace-match-maybe-edit): Doc clarification
13252 (bug#15632).
13253
13254 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
13255
13256 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13257
13258 2014-02-08 Glenn Morris <rgm@gnu.org>
13259
13260 * help-fns.el (describe-variable):
13261 Check {file,dir}-local-variables-alist, and buffer-file-name,
13262 in the correct buffer.
13263
13264 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
13265
13266 * help-fns.el (describe-variable): Fix the case where
13267 a value is directory-local with no dir-locals file. (Bug#16635)
13268
13269 2014-02-08 Glenn Morris <rgm@gnu.org>
13270
13271 * abbrev.el (edit-abbrevs-mode):
13272 Derive from fundamental-mode. (Bug#16682)
13273
13274 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
13275
13276 * simple.el (quoted-insert): Check character validity (bug#16677).
13277
13278 2014-02-07 Juri Linkov <juri@jurta.org>
13279
13280 * desktop.el (desktop-read): Claim the lock when the owner is not
13281 the current process. (Bug#16157)
13282
13283 2014-02-07 Juri Linkov <juri@jurta.org>
13284
13285 * desktop.el (desktop-buffers-not-to-save): Change default from nil
13286 to "\\` ". (Bug#16651)
13287
13288 2014-02-07 Juri Linkov <juri@jurta.org>
13289
13290 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13291 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13292 (desktop-auto-save-cancel-timer): New function with some code from
13293 `desktop-auto-save-set-timer'.
13294 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13295 Instead of setting `desktop-save-mode' to nil, call
13296 `desktop-save-mode' with arg 0. (Bug#16630)
13297
13298 2014-02-07 Glenn Morris <rgm@gnu.org>
13299
13300 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13301 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13302 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13303
13304 * obsolete/iswitchb.el: Move to obsolete/.
13305 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13306 since obsolete/ is not scanned for autoloads.
13307 * emacs-lisp/authors.el (authors-valid-file-names):
13308 Add iswitchb.el.
13309
13310 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13311 Disable now non-functional find-file-hook.
13312
13313 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
13314
13315 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13316 instead of ";" in order to avoid additional prompts. Let heredoc
13317 scripts read from tty. (Bug#16582)
13318 (tramp-send-command): No special handling of heredocs, it isn't
13319 necessary anymore.
13320
13321 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
13322
13323 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13324 with a space (bug#16664). Limit the symbols considered to the ones
13325 that are bound or fbound (bug#16646).
13326
13327 2014-02-06 Glenn Morris <rgm@gnu.org>
13328
13329 * epa.el (epa-mail-aliases): Doc fix.
13330
13331 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13332
13333 * emacs-lisp/lisp.el (lisp-completion-at-point):
13334 Use `completion-table-merge' instead of `completion-table-in-turn'
13335 (bug#16604).
13336
13337 * minibuffer.el (completion-table-merge): New function.
13338
13339 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13340
13341 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13342 (tramp-sh-handle-set-file-acl)
13343 (tramp-sh-handle-start-file-process)
13344 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13345 (tramp-find-executable, tramp-send-command): Use it.
13346
13347 2014-02-05 Glenn Morris <rgm@gnu.org>
13348
13349 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13350
13351 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13352
13353 * progmodes/python.el (python-shell-send-string)
13354 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13355
13356 2014-02-04 Anders Lindgren <andlind@gmail.com>
13357
13358 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13359 the names (bug#16620).
13360
13361 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13362
13363 * faces.el (window-divider): New default value. Rewrite doc-string.
13364 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13365
13366 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13367
13368 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13369 `protected' and `public' can also be called without arguments.
13370
13371 2014-02-03 Glenn Morris <rgm@gnu.org>
13372
13373 * register.el (window-configuration-to-register)
13374 (frame-configuration-to-register): Unadvertise unused argument.
13375 * frameset.el (frameset-to-register): Remove unused argument.
13376
13377 * frameset.el (frameset-to-register):
13378 * kmacro.el (kmacro-to-register):
13379 * register.el (increment-register):
13380 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13381 (calc-append-to-register, calc-prepend-to-register):
13382 * play/gametree.el (gametree-layout-to-register)
13383 (gametree-apply-register-layout):
13384 * textmodes/picture.el (picture-clear-rectangle-to-register)
13385 (picture-yank-rectangle-from-register):
13386 * vc/emerge.el (emerge-combine-versions-register):
13387 Use register-read-with-preview to read registers.
13388
13389 2014-02-03 João Távora <joaotavora@gmail.com>
13390
13391 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13392 when at beginning of (possibly narrowed) buffer.
13393
13394 2014-02-02 Daniel Colascione <dancol@dancol.org>
13395
13396 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13397 Also try to display local help from just before point.
13398
13399 2014-02-02 Alan Mackenzie <acm@muc.de>
13400
13401 c-parse-state. Don't "append-lower-brace-pair" in certain
13402 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13403 recognised as a comment.
13404
13405 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13406 as well as normal comment starter.
13407 (c-parse-state-get-strategy): Extra return possibility
13408 'back-and-forward.
13409 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13410 return value list to indicate replacement of a brace-pair cons
13411 with its car.
13412 (c-parse-state-1): With 'back-and-forward, only call
13413 c-append-lower-brace-pair-to state-cache when cons-separated.
13414
13415 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13416
13417 * term/ns-win.el (ns-suspend-error): New function.
13418 (ns-initialize-window-system): Add ns-suspend-error to
13419 suspend-hook (Bug#16612).
13420
13421 2014-02-02 Daniel Colascione <dancol@dancol.org>
13422
13423 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13424 Make loading cc-mode silent.
13425
13426 2014-02-02 Daniel Colascione <dancol@dancol.org>
13427
13428 * comint.el (comint-prompt-read-only): Change doc to suggest
13429 remap keybinding.
13430
13431 2014-02-02 Glenn Morris <rgm@gnu.org>
13432
13433 * register.el (register-read-with-preview, point-to-register)
13434 (window-configuration-to-register, frame-configuration-to-register)
13435 (jump-to-register, number-to-register, view-register, insert-register)
13436 (copy-to-register, append-to-register, prepend-to-register)
13437 (copy-rectangle-to-register): Doc fixes.
13438
13439 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13442 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13443 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13444 * help-fns.el (describe-function-1): Use it.
13445
13446 2014-02-02 Glenn Morris <rgm@gnu.org>
13447
13448 * register.el (register-preview-default): New function,
13449 split from register-preview.
13450 (register-preview-function): Rename from register-preview-functions,
13451 make it not a hook.
13452 (register-preview): Use register-preview-function.
13453 (register-read-with-preview): Error on non-character event. (Bug#16595)
13454
13455 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13456
13457 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13458 `:' before binary operators (bug#16609). Don't check for `:'
13459 before `[' and `(', or their syntax status. A percent literal
13460 can't end with either.
13461 (ruby-font-lock-keywords): For built-ins that require arguments,
13462 check that they're followed by something that looks like argument
13463 (bug#16610).
13464
13465 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13466
13467 * subr.el (butlast): Document what an omitted N means (bug#13437).
13468 (nbutlast): Ditto.
13469
13470 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13471
13472 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13473 depth shallower (bug#16587).
13474 (shr-tag-svg): Respect `shr-inhibit-images'.
13475 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13476
13477 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13478
13479 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13480 (ruby-smie-grammar): Make "." right-associative. Make its priority
13481 lower than the ternary and all binary operators.
13482 (ruby-smie-rules): Indent "(" relative to the first non-"."
13483 parent, or the first "." parent at indentation.
13484 Use `ruby-align-chained-calls' for indentation of "." tokens.
13485 (Bug#16593)
13486
13487 2014-01-31 Juri Linkov <juri@jurta.org>
13488
13489 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13490 from `make-hash-table'.
13491
13492 * textmodes/ispell.el (ispell-init-process): Change message format
13493 to be consistent with other messages.
13494
13495 2014-01-31 Glenn Morris <rgm@gnu.org>
13496
13497 * delsel.el (delete-selection-mode): Doc fix.
13498
13499 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13500 (trace-function-background): Doc fixes.
13501
13502 * ido.el (ido-use-virtual-buffers): Doc fix.
13503 Reset :version, since the default value has not changed.
13504
13505 * register.el (register-preview-delay, register-read-with-preview):
13506 Doc fixes.
13507
13508 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13509 do not mess with mail-buffer position (fixes 2009-11-03 change).
13510 * progmodes/cc-mode.el (c-submit-bug-report):
13511 Check auto-fill-mode is bound. (Bug#16592)
13512
13513 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13514
13515 * startup.el (fancy-splash-image-file): New function,
13516 split from fancy-splash-head.
13517 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13518 so that we are both using the same image. (Bug#16574)
13519
13520 2014-01-30 Glenn Morris <rgm@gnu.org>
13521
13522 * simple.el (eval-expression): Doc fix.
13523
13524 * hexl.el (hexl-mode-hook):
13525 * ielm.el (ielm-mode-hook):
13526 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13527 (lisp-interaction-mode-hook):
13528 * progmodes/cfengine.el (cfengine3-documentation-function):
13529 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13530
13531 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13534 is a symbol (bug#16584).
13535
13536 2014-01-30 Glenn Morris <rgm@gnu.org>
13537
13538 * help.el (help-for-help-internal): Add "P" to text.
13539
13540 2014-01-29 Glenn Morris <rgm@gnu.org>
13541
13542 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13543
13544 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13545
13546 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13547 height constraints.
13548
13549 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13550
13551 * progmodes/hideif.el: Extend to full CPP expression syntax.
13552 (hif-token-alist): Add missing tokens.
13553 (hif-token-regexp): Add support for float/octal/hex immediates.
13554 (hif-string-literal-regexp): New const.
13555 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13556 (hif-exprlist): New function.
13557 (hif-parse-if-exp): Use it.
13558 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13559 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13560 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13561 (hif-logxor, hif-comma): New functions.
13562
13563 2014-01-28 Glenn Morris <rgm@gnu.org>
13564
13565 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13566
13567 * indent.el (tab-stop-list): Doc fix. Add :version.
13568
13569 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13570 (cvs-append-to-ignore): Add compatibility alias.
13571
13572 2014-01-27 Glenn Morris <rgm@gnu.org>
13573
13574 * dired.el (dired-hide-details-mode): Don't autoload it,
13575 since it cannot be used outside Dired buffers anyway.
13576
13577 * emulation/cua-base.el (cua-mode): Doc fix.
13578
13579 * dired.el (dired-hide-details-hide-symlink-targets)
13580 (dired-hide-details-hide-information-lines)
13581 (dired-hide-details-mode): Doc fixes.
13582
13583 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13584 * strokes.el (strokes-file): Doc fix. Bump :version.
13585 (strokes-help): Doc fix.
13586 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13587 * emulation/viper.el (viper): Doc fix for custom group.
13588 (top-level): Remove oh-so-no-longer-relevant text about vip.
13589 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13590
13591 * ido.el (ido-save-directory-list-file):
13592 * saveplace.el (save-place-file):
13593 * calendar/timeclock.el (timeclock-file):
13594 * net/quickurl.el (quickurl-url-file):
13595 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13596 * progmodes/idlwave.el (idlwave-config-directory):
13597 * textmodes/remember.el (remember-data-file):
13598 Bump :version.
13599
13600 2014-01-26 Glenn Morris <rgm@gnu.org>
13601
13602 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13603 Doc fix. Make obsolete.
13604 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13605
13606 * sort.el (delete-duplicate-lines): Doc fix.
13607
13608 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13609
13610 * progmodes/ada-mode.el (ada):
13611 * woman.el (woman): Link to info manual and Commentary section.
13612
13613 * progmodes/flymake.el (flymake):
13614 * nxml/nxml-mode.el (nxml):
13615 * net/eww.el (eww):
13616 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13617 * htmlfontify.el (htmlfontify):
13618 * ses.el (ses):
13619 * epa.el (epa):
13620 * ido.el (ido): Link to info manual.
13621
13622 2014-01-25 Leo Liu <sdl.web@gmail.com>
13623
13624 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13625
13626 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13627
13628 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13629 (bug#16537).
13630
13631 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13632
13633 * net/eww.el (eww-download-callback):
13634 Fix reference to eww-download-directory.
13635
13636 * emacs-lisp/bytecomp.el (byte-compile-file):
13637 Remove unused local variable `file-name'.
13638
13639 2014-01-24 Glenn Morris <rgm@gnu.org>
13640
13641 * woman.el (woman-default-faces, woman-monochrome-faces):
13642 Fix obsolescence specification.
13643
13644 * subr.el (with-demoted-errors): Doc fix.
13645
13646 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13649 (cl--macroexp-fboundp): New function.
13650 (cl--make-type-test): Use it.
13651
13652 2014-01-23 Glenn Morris <rgm@gnu.org>
13653
13654 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13655 * simple.el (eval-expression): Doc fixes.
13656
13657 2014-01-22 Glenn Morris <rgm@gnu.org>
13658
13659 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13660
13661 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * emacs-lisp/package.el: Write files silently.
13664 (package-autoload-ensure-default-file, package--write-file-no-coding)
13665 (package-generate-description-file, package--download-one-archive)
13666 (package-install-from-archive): Tell `write-region' to stay quiet.
13667 (package-menu-mode, package-menu--print-info): Omit the Archive column
13668 if there's only one archive.
13669 (package-all-keywords, package--has-keyword-p): Remove dead code.
13670
13671 2014-01-22 Glenn Morris <rgm@gnu.org>
13672
13673 * version.el (emacs-bzr-version-bzr): Fix typo.
13674
13675 * version.el (emacs-repository-get-version):
13676 Check either .bzr or .git, but not both.
13677 Make the git case actually use the DIR argument, and return nil
13678 rather than the empty string.
13679 Avoid error if .git exists but the git executable is not found.
13680
13681 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13682
13683 Fixes in window size functions around Bug#16430 and Bug#16470.
13684 * window.el (window-total-size, window-size): New argument ROUND.
13685 (window--min-delta-1, window-min-delta, window--max-delta-1):
13686 Be more conservative when calculating the numbers of lines or
13687 columns a window can shrink (Bug#16430).
13688 (fit-window-to-buffer): Simplify code.
13689 * term.el (term-window-width): Call window-body-width again.
13690
13691 2014-01-22 Glenn Morris <rgm@gnu.org>
13692
13693 * image.el (image-format-suffixes): Doc fix.
13694
13695 * international/quail.el (quail-define-package): Doc fix.
13696
13697 * emacs-lisp/authors.el (authors-valid-file-names)
13698 (authors-renamed-files-alist): Additions.
13699
13700 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13701 reverts 2014-01-09 change. (Bug#16422)
13702
13703 * calc/calc-embed.el (thing-at-point-looking-at):
13704 * emacs-lisp/map-ynp.el (x-popup-dialog):
13705 * obsolete/lmenu.el (x-popup-dialog):
13706 * emacs-lisp/package.el (url-recreate-url):
13707 * mail/mailclient.el (clipboard-kill-ring-save):
13708 * subr.el (x-popup-dialog): Update declaration.
13709 * mail/rmail.el (rmail-mime-message-p):
13710 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13711
13712 2014-01-21 Daniel Colascione <dancol@dancol.org>
13713
13714 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13715 Correctly detect when we're inside an arithmetic expansion form
13716 containing nested parenthesis.
13717 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13718 to detect cases where we shouldn't expand "<<" to a heredoc
13719 skeleton.
13720
13721 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13722
13723 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13724 (eldoc--message-command-p): New function.
13725 (eldoc-display-message-p): Use it.
13726 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13727 message is not automatically erased for us.
13728 (eldoc-print-current-symbol-info): Erase previous message, if any.
13729
13730 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13731
13732 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13733 specify it's an interactive function.
13734
13735 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13736 Fix regex used for scanning for citation keys which failed for
13737 citations with optional arguments.
13738
13739 2014-01-21 Leo Liu <sdl.web@gmail.com>
13740
13741 * simple.el (read--expression): Don't enable eldoc-mode.
13742
13743 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * simple.el (move-beginning-of-line): Make sure we don't move forward
13746 (bug#16497).
13747
13748 2014-01-20 Juri Linkov <juri@jurta.org>
13749
13750 * saveplace.el (toggle-save-place, save-place-to-alist)
13751 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13752 'dired-mode) before checking for dired-directory. (Bug#16477)
13753
13754 2014-01-20 Juri Linkov <juri@jurta.org>
13755
13756 * indent.el (indent-line-to): Use backward-to-indentation
13757 instead of back-to-indentation. (Bug#16461)
13758
13759 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13760
13761 Revert some of the CANNOT_DUMP fix (Bug#16494).
13762 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13763 but fixing this can wait until after the next release.
13764 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13765
13766 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13767
13768 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13769 Use `password-word-equivalents'.
13770 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13771 to t. (Bug#5664, Bug#13124)
13772
13773 2014-01-19 Alan Mackenzie <acm@muc.de>
13774
13775 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13776 points.
13777 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13778 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13779 * progmodes/cc-mode.el (c-before-change, c-after-change)
13780 (c-font-lock-fontify-region): Bind it here.
13781
13782 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13783
13784 * term.el (term-window-width): Call window-text-width instead of
13785 window-width (Bug#16470).
13786
13787 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13788
13789 * simple.el (password-word-equivalents): Remove duplicates.
13790 Sort, to make this easier next time.
13791 Downcase. Omit ": " after "jelszó".
13792
13793 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13794
13795 * term/common-win.el (saved-region-selection): Defvar it.
13796 (x-select-text): Set saved-region-selection (Bug#16382).
13797
13798 2014-01-18 Glenn Morris <rgm@gnu.org>
13799
13800 * emacs-lisp/authors.el (authors-aliases)
13801 (authors-renamed-files-alist): Add some entries.
13802
13803 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13804
13805 * net/tramp.el (tramp-password-prompt-regexp):
13806 Use `password-word-equivalents' if available.
13807 (tramp-action-password, tramp-process-one-action)
13808 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13809
13810 2014-01-17 Chong Yidong <cyd@gnu.org>
13811
13812 * simple.el (password-word-equivalents): New defcustom.
13813 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13814 to 24.4.
13815 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13816 to t. (Bug#13124)
13817
13818 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13819
13820 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13821 (ruby-align-to-stmt-keywords): Change the default value.
13822 Use `ruby-alignable-keywords' to generate the possible customization
13823 choices.
13824 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13825 keywords, check against the value of `ruby-alignable-keywords'
13826 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13827
13828 2014-01-17 Glenn Morris <rgm@gnu.org>
13829
13830 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13831
13832 Make M-x authors return zero *Authors Errors* from current logs.
13833 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13834 (authors-ignored-files): Add some entries, remove others.
13835 (authors-ambiguous-files, authors-valid-file-names):
13836 Add some entries.
13837 (authors-renamed-files-alist): Add, remove, and adjust entries.
13838 (authors-renamed-files-regexps): Add some entries.
13839 Remove some very broad ones. Make some entries `lax'.
13840 (authors-lax-changelogs): New constant.
13841 (authors-disambiguate-file-name): Treat top-level specially.
13842 (authors-lax-changelog-p): New function.
13843 (authors-canonical-file-name): Check file as written against
13844 authors-valid-file-names. Do not special-case etc/.
13845 Handle `lax' logs and authors-renamed-files-regexps elements.
13846
13847 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13848
13849 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13850 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13851 callers.
13852
13853 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13854
13855 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13856 Assume we're already in the proper buffer.
13857 Inspired by Anders Lindgren <andlind@gmail.com>.
13858 (follow-post-command-hook): Call it from the right buffer.
13859 (follow-comint-scroll-to-bottom): Adjust call.
13860 (follow-all-followers): Use get-buffer-window-list.
13861
13862 2014-01-15 Daniel Colascione <dancol@dancol.org>
13863
13864 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13865 `buffer-file-name' in interactive-form so that we don't leave
13866 pathless file names in `file-name-history'.
13867
13868 2014-01-15 Juri Linkov <juri@jurta.org>
13869
13870 * indent.el (indent-rigidly): Set deactivate-mark to nil
13871 in transient indentation mode. (Bug#16438)
13872
13873 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13874
13875 * emacs-lisp/package.el (package-desc-keywords): New function
13876 (Bug#16222).
13877 (describe-package-1, package-all-keywords)
13878 (package--has-keyword-p): Use it.
13879
13880 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13881
13882 * simple.el (define-alternatives): When creating the
13883 COMMAND-alternatives variable, assign COMMAND as its definition
13884 name so that `describe-variable' can relocate it.
13885
13886 2014-01-14 Matthew Leach <matthew@mattleach.net>
13887
13888 * font-lock.el (font-lock-keywords): Fix typo in docstring
13889 (bug#16307).
13890
13891 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13892
13893 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13894 line instead of wrongly reset `add-coment' (bug#13577).
13895
13896 2014-01-14 Daiki Ueno <ueno@gnu.org>
13897
13898 * epa-file.el (epa-file-write-region): Encode the region according
13899 to `buffer-file-format'. Problem reported at:
13900 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13901
13902 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13905 so it applies in the right buffer (bug#16410).
13906
13907 2014-01-13 Daniel Colascione <dancol@dancol.org>
13908
13909 * textmodes/rst.el (rst-define-key): Provide deprecated
13910 keybindings through named functions instead of anonymous ones so
13911 that "??" doesn't appear in describe-mode output.
13912
13913 2014-01-13 Bastien Guerry <bzg@gnu.org>
13914
13915 * simple.el (define-alternatives): Call the selected command
13916 interactively. When setting `COMMAND--implementation' for the
13917 first time, tell the user how to chose another implementation.
13918 Enhance the docstring.
13919
13920 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13923 (log-edit--match-first-line): New function.
13924 (log-edit-font-lock-keywords): Use it.
13925 (log-edit-mode): Make jit-lock-defer-multiline work.
13926
13927 2014-01-13 Bastien Guerry <bzg@gnu.org>
13928
13929 * rect.el (rectangle-mark-mode): When the region is not active,
13930 display a message saying that the mark as been set and that
13931 rectangle mode is in use.
13932 (rectangle--highlight-for-redisplay): Only put an overlay with a
13933 visible vertical bar when (display-graphic-p) is non-nil.
13934 This partially fixes Bug#16403.
13935
13936 2014-01-13 Juri Linkov <juri@jurta.org>
13937
13938 * info.el (Info-find-file): Go to DIR before displaying the error
13939 about a nonexistent file if no previous Info file is visited.
13940 Use `user-error' instead of `error' for "Info file %s does not exist".
13941 (Info-find-node-2): In case of a nonexistent node in unwind forms
13942 go to the Top node if there is no previous node to revert to.
13943 (Bug#16405)
13944
13945 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13946
13947 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13948 * window.el (fit-frame-to-buffer): Fix doc-string.
13949 Respect window-min-height/-width. Fit pixelwise when
13950 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13951 when avoiding that frame goes partially off-screen.
13952 (fit-window-to-buffer): Respect window-min-height/-width
13953 (Bug#14096).
13954
13955 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13958 after an empty line.
13959
13960 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * net/shr.el (shr-render-region): Autoload.
13963
13964 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13965
13966 * net/eww.el (eww-download-directory): Rename from
13967 `eww-download-path' (Bug#16419).
13968
13969 2014-01-12 Leo Liu <sdl.web@gmail.com>
13970
13971 * dired-x.el (dired-mode-map): Fix last change.
13972
13973 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13974
13975 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13976
13977 Spelling fixes.
13978 * emacs-lisp/generic.el (generic--normalize-comments):
13979 Rename from generic--normalise-comments. All uses changed.
13980 * play/bubbles.el (bubbles--neighborhood-score)
13981 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13982 (bubbles--neighborhood-available)
13983 (bubbles--update-neighborhood-score):
13984 Rename from names with 'neighbourhood'. All uses changed.
13985
13986 2014-01-12 Leo Liu <sdl.web@gmail.com>
13987
13988 Re-implement the feature of showing eldoc info after editing.
13989 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13990 (eldoc-edit-message-commands): New function.
13991 (eldoc-print-after-edit): New variable.
13992 (eldoc-pre-command-refresh-echo-area): Emit message only by
13993 eldoc-message-commands.
13994 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13995 if eldoc-print-after-edit is set. (Bug#16346)
13996 * simple.el (read--expression): Enable eldoc-mode.
13997 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13998
13999 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
14000 Eric S. Raymond <esr@thyrsus.com>
14001
14002 * version.el (emacs-repository-get-version): Enhance so the
14003 function works correctly in either a Bazaar or Git repo.
14004
14005 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
14006
14007 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
14008 Goes with removal of the joke manpages from /etc.
14009
14010 2014-01-10 Kenichi Handa <handa@gnu.org>
14011
14012 * mail/rmail.el (rmail-get-coding-system):
14013 Check rmail-get-coding-function before "funcall"ing it.
14014
14015 2014-01-10 Glenn Morris <rgm@gnu.org>
14016
14017 * emacs-lisp/authors.el (authors-fixed-entries):
14018 Update for files that no longer exist.
14019
14020 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
14021
14022 * version.el (emacs-bzr-get-version): Restore compatibilty with
14023 24.3 (Tested).
14024
14025 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
14026
14027 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
14028 and Podfile.
14029
14030 2014-01-10 Eli Zaretskii <eliz@gnu.org>
14031
14032 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
14033
14034 2014-01-10 Chong Yidong <cyd@gnu.org>
14035
14036 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
14037
14038 2014-01-10 Anders Lindgren <andlind@gmail.com>
14039
14040 * follow.el (follow-cache-command-list): Include right-char and
14041 left-char.
14042
14043 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
14044
14045 Spelling fixes.
14046 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
14047 * woman.el (woman-mark-horizontal-position):
14048 Rename from woman-mark-horizonal-position. Use changed.
14049
14050 2014-01-10 Glenn Morris <rgm@gnu.org>
14051
14052 * info.el (info-initialize): If running uninstalled, ensure our
14053 own info files are always found first, even if INFOPATH is set.
14054
14055 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
14056
14057 2014-01-09 David Engster <deng@randomsample.de>
14058
14059 * emacs-lisp/eieio-custom.el:
14060 * emacs-lisp/eieio-opt.el: Set generated autoload file to
14061 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
14062 * emacs-lisp/eieio.el: Regenerate autoloads.
14063
14064 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
14065
14066 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
14067 following renames. (Bug#8756)
14068
14069 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
14070
14071 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
14072 (bug#16382).
14073 (activate-mark): Add `no-tmm' argument.
14074 (set-mark, push-mark-command): Use it instead of running
14075 activate-mark-hook by hand.
14076
14077 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
14078
14079 In preparation for the move to git, sanitize out some
14080 Bazaar-specific names.
14081
14082 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
14083
14084 * version.el (emacs-bzr-version): Name changed to
14085 emacs-repository-version. Obsolete-variable alias made.
14086 * loadup.el: Follow through on this name change.
14087 * mail/emacsbug.el (report-emacs-bug): Factor out any
14088 assumption about the version control system in use.
14089
14090 2014-01-08 David Engster <deng@randomsample.de>
14091
14092 * help-fns.el (help-fns-describe-function-functions):
14093 New variable to call functions for augmenting help buffers.
14094 (describe-function-1): Remove explicit calls to
14095 `help-fns--compiler-macro', `help-fns--parent-mode' and
14096 `help-fns--obsolete'. Put them in above new variable instead, and
14097 call them through `run-hook-with-args'.
14098 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
14099 `eieio-describe-class'. Not meant for interactive use anymore,
14100 but to augment existing help buffers. Remove optional second
14101 argument. Create proper button for file location.
14102 Rewrite function to use `insert' instead of `princ' and `prin1' where
14103 possible.
14104 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
14105 (eieio-method-def, eieio-class-def): Move further up.
14106 (describe-method, describe-generic, eieio-describe-method):
14107 Remove aliases.
14108 (eieio-help-constructor, eieio-help-generic): Rename from
14109 `eieio-describe-constructor' and `eieio-describe-generic', resp.
14110 Rewrite to use `insert' in the current buffer and use proper help
14111 buttons.
14112 (eieio-help-find-method-definition)
14113 (eieio-help-find-class-definition): Also accept symbols as
14114 arguments.
14115 (eieio-help-mode-augmentation-maybee): Remove.
14116 (eieio-describe-class-sb): Use `describe-function'.
14117 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
14118 Add `eieio-help-generic' and `eieio-help-constructor'.
14119
14120 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
14121
14122 Spelling fixes.
14123 * language/china-util.el (hz-ascii-designation):
14124 Rename from hz-ascii-designnation.
14125 (hz-ascii-designation): Rename from hz-ascii-designnation.
14126 All uses changed.
14127
14128 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
14131 package-alist.
14132
14133 2014-01-08 Bastien Guerry <bzg@gnu.org>
14134
14135 * emacs-lisp/package.el (package-delete):
14136 Correctly delete the package from package-alist.
14137
14138 2014-01-08 Daiki Ueno <ueno@gnu.org>
14139
14140 * emacs-lisp/package.el (url-recreate-url): Declare.
14141 (url-http-target-url): Declare.
14142 (package-handle-response): Include requested URL in the error message.
14143 (package--check-signature): Don't re-signal errors from
14144 package--with-work-buffer. Suggested by Stefan Monnier.
14145
14146 2014-01-07 Bastien Guerry <bzg@gnu.org>
14147
14148 * minibuffer.el (completion--try-word-completion): When both a
14149 hyphen and a space are possible candidates for the character
14150 following a word, display both candidates. (Bug#15980)
14151
14152 2014-01-07 Martin Rudalics <rudalics@gmx.at>
14153
14154 * window.el (balance-windows-2): While rounding don't give a
14155 window more than the remainder. Bug#16351, bug#16383.
14156
14157 2014-01-07 Glenn Morris <rgm@gnu.org>
14158
14159 * menu-bar.el (menu-bar-help-extra-packages): Remove.
14160 (menu-bar-help-menu): Use view-external-packages instead.
14161
14162 2014-01-07 Bastien Guerry <bzg@gnu.org>
14163
14164 * emacs-lisp/package.el (package-delete): Also delete the package
14165 name from `package-alist', not its description only.
14166
14167 2014-01-07 Glenn Morris <rgm@gnu.org>
14168
14169 * help.el (view-external-packages):
14170 * menu-bar.el (menu-bar-help-extra-packages):
14171 Visit efaq.info rather than etc/MORE.STUFF.
14172
14173 2014-01-07 Juri Linkov <juri@jurta.org>
14174
14175 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
14176 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
14177
14178 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
14179 that shadows RET. (Bug#16342)
14180
14181 2014-01-07 Chong Yidong <cyd@gnu.org>
14182
14183 * isearch.el (isearch-yank-char, isearch-yank-word)
14184 (isearch-yank-line): Doc fix.
14185
14186 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
14189 * emacs-lisp/elint.el (elint-find-builtins):
14190 * emacs-lisp/eldoc.el (eldoc-symbol-function):
14191 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
14192 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
14193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14194 * apropos.el (apropos-safe-documentation):
14195 * subr.el (symbol-file): Remove redundant fboundp.
14196 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
14197
14198 2014-01-06 Bastien Guerry <bzg@gnu.org>
14199
14200 * hl-line.el (global-hl-line-overlay): Make a local variable.
14201 (global-hl-line-overlays): New variable to store all overlays.
14202 (global-hl-line-mode): Don't delete overlays from the current
14203 buffer when `global-hl-line-sticky-flag' is non-nil.
14204 (global-hl-line-highlight): Add new overlays to
14205 `global-hl-line-overlays'.
14206 (global-hl-line-unhighlight-all): New function to delete all
14207 overlays when turning off `global-hl-line-mode'.
14208 This fixes Bug#16183.
14209
14210 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * subr.el (set-transient-map): Fix nested case and docstring.
14213
14214 2014-01-06 Tassilo Horn <tsdh@gnu.org>
14215
14216 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
14217 `Texinfo' entry.
14218
14219 2014-01-06 Daniel Colascione <dancol@dancol.org>
14220
14221 Fix defun navigation in vc log view.
14222
14223 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
14224 like `beginning-of-defun'.
14225 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
14226 log-view-end-of-defun to log-view-end-of-defun-1. Replace
14227 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
14228 (log-view-extract-comment): Call `log-view-current-entry' directly
14229 instead of relying on broken `log-view-beginning-of-defun' behavior.
14230
14231 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
14232
14233 Spelling fixes.
14234 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
14235 * emacs-lisp/debug.el (cancel-debug-on-entry):
14236 * epg.el (epg-error-to-string):
14237 * files.el (recover-file):
14238 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
14239 * mail/emacsbug.el (report-emacs-bug-hook):
14240 * mail/sendmail.el (mail-recover):
14241 * ses.el (ses-yank-resize):
14242 * term/ns-win.el (ns-print-buffer):
14243 Spelling fixes in diagnostics, mostly for "canceled" with one L.
14244 * epg.el (epg-key-capability-alist): Rename from misspelled version.
14245 All uses changed.
14246 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
14247
14248 2014-01-06 Leo Liu <sdl.web@gmail.com>
14249
14250 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
14251 to avoid shadowing global key. (Bug#16354)
14252
14253 2014-01-06 Daniel Colascione <dancol@dancol.org>
14254
14255 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
14256 rst-mode.
14257
14258 2014-01-05 Martin Rudalics <rudalics@gmx.at>
14259
14260 * window.el (balance-windows): Add mising t to fix Bug#16351.
14261
14262 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14263
14264 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14265 (bug#16285).
14266 (shr-insert): If we have a word that's longer than `shr-width',
14267 break after it anyway. Otherwise we'll do no breaking once we get
14268 such a long word.
14269
14270 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14271
14272 * net/eww.el (eww): Support single/double quote for search.
14273 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14274 (eww-history-quit): Delete and use quit-window.
14275 (eww-history-kill): Delete, because it doesn't work well and
14276 not necessary.
14277 (eww-history-mode-map): Delete some keys and add easy-menu.
14278
14279 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
14280
14281 Fix misspelling of 'chinese' in rx (Bug#16237).
14282 * emacs-lisp/rx.el (rx-categories): Correct spelling of
14283 chinese-two-byte.
14284
14285 Change subword regexps back to vars (Bug#16296).
14286 * progmodes/subword.el (subword-forward-regexp)
14287 (subword-backward-regexp): Change these back to variables.
14288
14289 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14292 syntax-begin-function (bug#16247).
14293
14294 2014-01-03 Chong Yidong <cyd@gnu.org>
14295
14296 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14297 (advice--docstring): Delete variable.
14298 (advice--make-1): Leave the docstring empty.
14299 (advice-add): Use function-documentation for advised docstring.
14300
14301 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14302 Ignore function-documentation property when getting documentation.
14303 (ad-activate-advised-definition): Use function-documentation
14304 generate the docstring.
14305 (ad-make-advised-definition): Don't call
14306 ad-make-advised-definition-docstring.
14307 (ad-make-advised-definition-docstring, ad-advised-definition-p):
14308 Delete functions.
14309
14310 * progmodes/sql.el (sql-help): Use function-documentation instead
14311 of dynamic-docstring-function property. No need to autoload now.
14312 (sql--help-docstring): New variable.
14313 (sql--make-help-docstring): Use it.
14314
14315 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * ielm.el (ielm-tab): Retarget.
14318 (ielm-map): Use ielm-tab for tab.
14319 (ielm-complete-filename): Use comint-filename-completion.
14320 (ielm-complete-symbol): Remove.
14321 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14322 remove ielm-tab from completion-at-point-functions (bug#16224).
14323
14324 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14325 Beware signals raised by predicates (bug#16201).
14326
14327 2014-01-02 Richard Stallman <rms@gnu.org>
14328
14329 * dired-aux.el (dired-do-print): Handle printer-name.
14330
14331 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14332 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14333 (rmail-epa-decrypt): Turn off mime processing.
14334
14335 * mail/rmail.el (rmail-make-in-reply-to-field):
14336 Add parens in message-id.
14337
14338 * mail/rmail.el (rmail-get-coding-function): Variable.
14339 (rmail-get-coding-system): Use it.
14340
14341 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14342
14343 * international/mule-conf.el: Unify the charset indian-is13194.
14344 (indian-is13194): Specify unify-map.
14345
14346 2013-12-31 Leo Liu <sdl.web@gmail.com>
14347
14348 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14349
14350 2013-12-30 Daniel Colascione <dancol@dancol.org>
14351
14352 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14353 of printing a useless when we resume from sleep.
14354
14355 * progmodes/sh-script.el
14356 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14357 in indentation code. (Bug#16233)
14358
14359 2013-12-28 João Távora <joaotavora@gmail.com>
14360
14361 * elec-pair.el (electric-pair-post-self-insert-function):
14362 Don't open extra newlines at beginning of buffer. (Bug#16272)
14363
14364 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14365
14366 * frame.el (window-system-for-display): Don't allow to create a
14367 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14368
14369 2013-12-28 Glenn Morris <rgm@gnu.org>
14370
14371 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14372 Update callers.
14373
14374 * apropos.el (apropos-match-face):
14375 * calculator.el (calculator-displayer):
14376 * dabbrev.el (dabbrev-search-these-buffers-only):
14377 * face-remap.el (buffer-face-mode-face):
14378 * simple.el (yank-handled-properties):
14379 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14380 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14381 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14382 (hashcash-double-spend-database):
14383 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14384 (ruby-deep-indent-paren-style):
14385 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14386 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14387 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14388 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14389 Specify custom types.
14390
14391 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14392 * bookmark.el (bookmark-bmenu-use-header-line):
14393 * doc-view.el (doc-view-scale-internally):
14394 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14395 * register.el (register-preview-delay):
14396 * net/shr.el (shr-bullet):
14397 * progmodes/cfengine.el (cfengine-cf-promises)
14398 (cfengine-parameters-indent):
14399 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14400 * textmodes/reftex-vars.el (reftex-label-regexps):
14401 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14402
14403 * net/tls.el (tls-certtool-program): Fix default value.
14404
14405 * desktop.el (desktop-restore-in-current-display):
14406 * newcomment.el (comment-empty-lines):
14407 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14408 (idlwave-pad-keyword):
14409 * progmodes/tcl.el (tcl-tab-always-indent):
14410 * textmodes/reftex-vars.el (reftex-index-default-tag):
14411 * elec-pair.el (electric-pair-skip-whitespace):
14412 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14413
14414 * emacs-lisp/authors.el (authors-ignored-files)
14415 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14416
14417 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14418
14419 * shell.el (shell-dynamic-complete-command): Doc fix.
14420 (shell--command-completion-data): Shell completion now matches
14421 executable filenames from the current buffer's directory, on
14422 systems in which this behavior is the default (windows-nt, ms-dos).
14423
14424 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14425
14426 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14427
14428 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14431 (bug#16251).
14432
14433 * electric.el: Move all electric-pair-* to elec-pair.el.
14434 * elec-pair.el: New file, split from electric.el.
14435
14436 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14437
14438 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14439 indentation level is larger than the width, because that will
14440 infloop.
14441 (shr-insert): Fill repeatedly long texts, so that Japanese is
14442 formatted correctly (bug#16263).
14443 (shr-find-fill-point): Off by one error in comparison with the
14444 indentation.
14445
14446 2013-12-26 João Távora <joaotavora@gmail.com>
14447
14448 * electric.el (electric-pair-mode): More flexible engine for skip-
14449 and inhibit predicates, new options for pairing-related functionality.
14450 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14451 if that keeps or improves their balance in buffers.
14452 (electric-pair-delete-adjacent-pairs): Delete the pair when
14453 backspacing over adjacent matched delimiters.
14454 (electric-pair-open-extra-newline): Open extra newline when
14455 inserting newlines between adjacent matched delimiters.
14456 (electric--sort-post-self-insertion-hook):
14457 Sort post-self-insert-hook according to priority values when
14458 minor-modes are activated.
14459 * simple.el (newline-and-indent): Call newline with interactive
14460 set to t.
14461 (blink-paren-post-self-insert-function): Set priority to 100.
14462 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14463 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14464 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14465 electric-pair-open-newline-between-pairs to nil.
14466
14467 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14468
14469 * progmodes/python.el: Use lexical-binding.
14470 (python-nav-beginning-of-defun): Stop searching ASAP.
14471
14472 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14473
14474 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14475 Fix interactive spec. Doc fix. (Bug#15754)
14476
14477 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14478
14479 * emacs-lisp/byte-run.el (eval-when-compile):
14480 * progmodes/cc-defs.el (cc-eval-when-compile):
14481 Fix edebug spec (bug#16184).
14482
14483 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14484
14485 * net/shr.el (shr-visit-file): Remove debugging function.
14486 (shr-insert): Don't infloop if we can't find a good place to break
14487 the line (bug#16256).
14488
14489 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14490
14491 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14492 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14493 python-nav-lisp-forward-sexp-safe.
14494 (python-nav--forward-sexp): New argument SAFE allows switching
14495 forward sexp movement behavior for parens.
14496 (python-nav-forward-sexp): Throw errors on unterminated parens
14497 (Bug#16191).
14498 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14499 (python-nav-backward-sexp-safe): New functions.
14500 (python-shell-buffer-substring):
14501 Use `python-nav-forward-sexp-safe'.
14502
14503 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14504
14505 * net/shr.el (shr-find-fill-point): Don't break lines before a
14506 quotation mark.
14507 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14508 (shr-find-fill-point): Remove the special checks for the quotation
14509 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14510
14511 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14512
14513 * net/eww.el (eww-form-textarea): Use a different face for
14514 textareas than text input since they have different keymaps
14515 (bug#16142).
14516
14517 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14518
14519 * progmodes/python.el (python-nav-beginning-of-statement):
14520 Speed up (Bug#15295).
14521
14522 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14523
14524 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14525 the window configuration.
14526
14527 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14528
14529 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14530 we run on MS-Windows or MS-DOS.
14531
14532 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14533
14534 * window.el (balance-windows-area): Call window-size instead of
14535 window-height and window-width. Bug#16241.
14536
14537 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14538
14539 * net/eww.el (eww-bookmark-quit): Remove.
14540 (eww-bookmark-browse): Restore the window configuration when you
14541 choose a bookmark (bug#16144).
14542
14543 2013-12-24 Daniel Colascione <dancol@dancol.org>
14544
14545 * icomplete.el: Remove redundant :group arguments to `defcustom'
14546 throughout.
14547 (icomplete-show-matches-on-no-input): New customizable variable.
14548 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14549 we have something to show.
14550 (icomplete-exhibit): Compute completions even if we have no user input.
14551
14552 2013-12-23 Daniel Colascione <dancol@dancol.org>
14553
14554 * icomplete.el: Move `provide' to end of file.
14555
14556 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14557
14558 * net/gnutls.el (gnutls-verify-error): Add version tag.
14559
14560 2013-12-23 Chong Yidong <cyd@gnu.org>
14561
14562 * subr.el (set-transient-map): Rename from
14563 set-temporary-overlay-map. Doc fix.
14564
14565 * face-remap.el (text-scale-adjust):
14566 * indent.el (indent-rigidly):
14567 * kmacro.el (kmacro-call-macro):
14568 * minibuffer.el (minibuffer-force-complete):
14569 * repeat.el (repeat):
14570 * simple.el (universal-argument--mode):
14571 * calendar/todo-mode.el (todo-insert-item--next-param):
14572 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14573
14574 * indent.el (indent-rigidly): Use substitute-command-keys.
14575
14576 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14577
14578 * net/eww.el (eww-tag-select): Add text-property to jump to next
14579 select field.
14580 (eww): Add non-supported ftp error.
14581
14582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14583
14584 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14585 comments. Handle electric indent after typing `?' and `!'.
14586
14587 2013-12-22 Chong Yidong <cyd@gnu.org>
14588
14589 * faces.el (face-spec-recalc): If the theme specs are not
14590 applicable to a frame, fall back on the defface spec.
14591 This prevents themes from obliterating faces on low-color terminals.
14592
14593 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14594
14595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14596 after `{'. We need it after block openers, and it doesn't seem
14597 to hurt after hash openers.
14598
14599 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14600
14601 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14602 extracted from `ruby-smie-rules'.
14603 (ruby--electric-indent-chars): New variable.
14604 (ruby--electric-indent-p): New function.
14605 (ruby-mode): Use `electric-indent-functions' instead of
14606 `electric-indent-chars'.
14607
14608 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14609
14610 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14611 docstring.
14612 (ruby-smie-rules): Indent plus one level after `=>'.
14613
14614 2013-12-21 Richard Stallman <rms@gnu.org>
14615
14616 * simple.el (newline): Doc fix.
14617
14618 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14619
14620 * net/eww.el (eww-list-histories, eww-list-histories)
14621 (eww-history-browse, eww-history-quit, eww-history-kill)
14622 (eww-history-mode-map, eww-history-mode): New command and
14623 functions to list browser histories.
14624 (eww-form-text): Support text form with disabled
14625 and readonly attributes.
14626 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14627
14628 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14629
14630 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14631 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14632 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14633 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14634 Use `user-error'.
14635 (eww-bookmark-mode-map): Add menu.
14636 (eww-render, eww-mode): Use `setq-local'.
14637 (eww-tool-bar-map): New variable.
14638 (eww-mode): Set `tool-bar-map'.
14639 (eww-view-source): Check for `html-mode' with `fboundp'.
14640
14641 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14642
14643 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14644 elements with text inside. Also remove debugging.
14645
14646 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14647
14648 * cus-start.el (all): Add ns-use-srgb-colorspace.
14649
14650 2013-12-21 Chong Yidong <cyd@gnu.org>
14651
14652 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14653 undefined. Thus, theme settings for undefined faces do not take
14654 effect until the faces are defined with defface, the same as with
14655 theme variables.
14656
14657 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14658 (face-spec-reset-face): Don't assign extra properties in temacs.
14659 (face-spec-recalc): Apply X resources too.
14660
14661 2013-12-21 Chong Yidong <cyd@gnu.org>
14662
14663 * faces.el (face-spec-set):
14664 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14665 * custom.el (defface): Doc fixes (Bug#16203).
14666
14667 * indent.el (indent-rigidly-map): Add docstring, and move commands
14668 into named functions.
14669 (indent-rigidly-left, indent-rigidly-right)
14670 (indent-rigidly-left-to-tab-stop)
14671 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14672 indentation direction based on bidi direction, and accumulate
14673 sequential commands in a single undo boundary.
14674 (indent-rigidly--pop-undo): New utility function.
14675
14676 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14677
14678 * faces.el (read-face-name): Require crm.el when using crm-separator.
14679
14680 2013-12-20 Daniel Colascione <dancol@dancol.org>
14681
14682 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14683 so that we don't reflow comments into the shebang line.
14684
14685 2013-12-20 Juri Linkov <juri@jurta.org>
14686
14687 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14688 a position when `dired-directory' is non-nil. Check integer
14689 positions with `integerp'.
14690 (toggle-save-place, save-places-to-alist): Add check for
14691 `dired-directory'.
14692 (save-place-find-file-hook): Check integer positions with
14693 `integerp'.
14694 (save-place-dired-hook): Use `dired-goto-file' when
14695 `dired-filename' is found in the assoc list. Check integer
14696 positions with `integerp'.
14697 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14698
14699 * dired.el (dired-initial-position-hook): Rename back from
14700 `dired-initial-point-hook'.
14701 (dired-initial-position): Rename `dired-initial-point-hook' to
14702 `dired-initial-position-hook'.
14703 (dired-file-name-at-point): Doc fix. (Bug#15329)
14704
14705 2013-12-20 Juri Linkov <juri@jurta.org>
14706
14707 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14708 (read-regexp-suggestions): New function.
14709 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14710 Use `read-regexp-suggestions'. Add non-empty default to history
14711 for empty input.
14712 (occur-read-regexp-defaults-function): Remove function.
14713 (occur-read-primary-args): Use `regexp-history-last' instead of
14714 `occur-read-regexp-defaults-function'.
14715
14716 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14717 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14718 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14719 `hi-lock-read-regexp-defaults-function'. Doc fix.
14720 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14721 with `find-tag-default-as-symbol-regexp'. Doc fix.
14722 (hi-lock-read-regexp-defaults): Remove function.
14723 (hi-lock-regexp-okay): Add check for null.
14724
14725 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14726 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14727
14728 * subr.el (find-tag-default-as-symbol-regexp): New function.
14729 (find-tag-default-as-regexp): Move symbol regexp formatting to
14730 `find-tag-default-as-symbol-regexp'.
14731
14732 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14733
14734 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14735 (Bug#14179)
14736
14737 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14738
14739 * calendar/todo-mode.el: New implementation of item insertion
14740 commands and key bindings.
14741 (todo-key-prompt): New face.
14742 (todo-insert-item): New command.
14743 (todo-insert-item--parameters): New defconst, replacing defvar
14744 todo-insertion-commands-args-genlist.
14745 (todo-insert-item--param-key-alist): New defconst, replacing
14746 defvar todo-insertion-commands-arg-key-list.
14747 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14748 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14749 (todo-insert-item--next-param): New functions.
14750 (todo-insert-item--args, todo-insert-item--argleft)
14751 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14752 New variables.
14753 (todo-key-bindings-t): Change binding of "i" from
14754 todo-insertion-map to todo-insert-item.
14755 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14756 (todo-insertion-command-name, todo-insertion-commands-names)
14757 (todo-define-insertion-command, todo-insertion-commands)
14758 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14759
14760 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14761
14762 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14763 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14764 eval-when-compile.
14765 (todo-move-category): Allow choosing a non-existing todo file to
14766 move the category to, and create that file.
14767 (todo-default-priority): New user option.
14768 (todo-set-item-priority): Use it.
14769 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14770 (desktop-restore-file-buffer): Declare.
14771 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14772 (todo-modes-set-2): Locally set desktop-save-buffer to
14773 todo-desktop-save-buffer.
14774 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14775 (auto-mode-alist): Add autoload cookie.
14776
14777 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14778
14779 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14780 helpers.el was a poor choice of name.
14781 (string-remove-prefix): New function.
14782 (string-remove-suffix): New function.
14783
14784 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14785
14786 Fix assignment for new window total sizes.
14787 * window.el (window--pixel-to-size): Remove function.
14788 (window--pixel-to-total-1, window--pixel-to-total):
14789 Fix calculation of new total sizes.
14790
14791 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14792
14793 * comint.el (comint-output-filter): Fix rear-nonsticky property
14794 placement (Bug#16010).
14795
14796 2013-12-20 Chong Yidong <cyd@gnu.org>
14797
14798 * faces.el (read-color): Minor fix for completion function.
14799
14800 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14801
14802 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14803 New option. (Bug#16182)
14804 (ruby-smie--indent-to-stmt-p): Use it.
14805 (ruby-smie-rules): Revert the logic in the handling of `when'.
14806 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14807 (ruby-deep-arglist, ruby-deep-indent-paren)
14808 (ruby-deep-indent-paren-style): Update docstrings to note that the
14809 vars don't have any effect with SMIE.
14810
14811 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14812
14813 * calc/calc.el (calc-enter, calc-pop): Use the variable
14814 `calc-context-sensitive-enter'.
14815
14816 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14817
14818 * net/shr.el (shr-insert): Protect against infloops in degenerate
14819 tables.
14820
14821 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14822
14823 * progmodes/octave.el (octave): Add link to manual and octave
14824 homepage.
14825 (octave-mode-menu): Link to octave-mode manual.
14826
14827 2013-12-20 Leo Liu <sdl.web@gmail.com>
14828
14829 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14830 insertion using skeleton-end-newline. (Bug#16138)
14831
14832 2013-12-20 Juri Linkov <juri@jurta.org>
14833
14834 * replace.el (occur-engine): Use `add-face-text-property'
14835 to add the face property to matches and titles. (Bug#14645)
14836
14837 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14838 the palette of other hi-lock colors.
14839 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14840
14841 2013-12-19 Juri Linkov <juri@jurta.org>
14842
14843 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14844 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14845 (minibuffer-history-symbol): Move variable declaration closer to
14846 its usage.
14847
14848 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14849 (Bug#14785)
14850
14851 2013-12-19 Juri Linkov <juri@jurta.org>
14852
14853 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14854 New function.
14855 (log-edit-hook): Add it to :options. (Bug#16170)
14856
14857 2013-12-19 Juri Linkov <juri@jurta.org>
14858
14859 * simple.el (eval-expression-print-format): Don't check for
14860 command names and the last command. Always display additional
14861 formats of the integer result in the echo area, and insert them
14862 to the current buffer only with a zero prefix arg.
14863 Display character when char-displayable-p is non-nil.
14864 (eval-expression): With a zero prefix arg, set `print-length' and
14865 `print-level' to nil, and insert the integer values from
14866 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14867
14868 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14869 `eval-last-sexp-arg-internal'. Doc fix.
14870 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14871 `eval-last-sexp-print-value'. Doc fix.
14872 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14873 Set `print-length' and `print-level' to nil when arg is zero.
14874 (eval-last-sexp): Doc fix.
14875 (eval-defun-2): Print the integer values from
14876 `eval-expression-print-format' at the end.
14877
14878 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14879 values from `eval-expression-print-format' at the end.
14880
14881 * ielm.el (ielm-eval-input): Print the integer
14882 values from `eval-expression-print-format' at the end.
14883
14884 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14885
14886 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14887 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14888
14889 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14892 (hl-line-highlight, global-hl-line-highlight): Use it.
14893 (hl-line-overlay): Use defvar-local.
14894
14895 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14896
14897 * term/ns-win.el: Require dnd.
14898 (global-map): Remove drag items.
14899 (ns-insert-text, ns-set-foreground-at-mouse)
14900 (ns-set-background-at-mouse):
14901 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14902 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14903 New functions.
14904
14905 2013-12-19 Glenn Morris <rgm@gnu.org>
14906
14907 * emacs-lisp/ert.el (ert-select-tests):
14908 Fix string/symbol mixup. (Bug#16121)
14909
14910 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14911
14912 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14913 keywords to their parent.
14914
14915 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14916
14917 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14918 first arg to be a string (fixed dead code), or an operator symbol.
14919 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14920 operator symbols.
14921 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14922 did nothing. Don't respond to `(:after ".")', it will be called
14923 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14924 change anything. Only return indentation for binary operators
14925 when they are hanging. De-dent opening paren when its parent is
14926 `.', otherwise it looks bad when the dot is not at bol or eol
14927 (bug#16182).
14928
14929 2013-12-19 Juri Linkov <juri@jurta.org>
14930
14931 * replace.el (query-replace-read-args): Split a non-negative arg
14932 and a negative arg into separate elements.
14933 (query-replace, query-replace-regexp, replace-string)
14934 (replace-regexp): Add arg `backward'. Doc fix.
14935 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14936 move point to the beginning of the match.
14937 (replace-search, replace-highlight): Use new arg `backward'
14938 to set the value of `isearch-forward'.
14939 (perform-replace): Add arg `backward' and use it to perform
14940 replacement backward. (Bug#14979)
14941
14942 * isearch.el (isearch-query-replace): Use a negative prefix arg
14943 to call `perform-replace' with a non-nil arg `backward'.
14944
14945 2013-12-18 Juri Linkov <juri@jurta.org>
14946
14947 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14948 to the default list. Move `log-edit-show-files' to the end.
14949 Add more available functions to options.
14950 (log-edit): Move default specific settings to
14951 `log-edit-insert-message-template'. Don't move point.
14952 (log-edit-insert-message-template): New function.
14953 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14954 (Bug#16170)
14955
14956 2013-12-18 Juri Linkov <juri@jurta.org>
14957
14958 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14959 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14960
14961 2013-12-18 Leo Liu <sdl.web@gmail.com>
14962
14963 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14964 (Bug#16186)
14965
14966 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14967
14968 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14969 formats for displaying file sizes when the -s switch is given.
14970 Instead, compute a separate format for displaying the size in
14971 blocks, which is displayed in addition to the "regular" size.
14972 When -h is given in addition to -s, produce size in blocks in
14973 human-readable form as well. (Bug#16179)
14974
14975 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14976
14977 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14978 Reference tables with ~\ref{...} instead of only \ref{...}.
14979
14980 2013-12-18 Chong Yidong <cyd@gnu.org>
14981
14982 * cus-edit.el (custom-magic-alist): Fix "themed" description
14983 (Bug#14348).
14984
14985 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14986 is non-nil, do not create a new entry in the symbol's theme-value
14987 or theme-face property; update theme-settings only (Bug#14664).
14988 (custom-available-themes): Doc fix.
14989
14990 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14991 (Bug#15674).
14992
14993 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14994
14995 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14996
14997 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14998 (Bug#13914).
14999
15000 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15001
15002 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
15003
15004 2013-12-18 Glenn Morris <rgm@gnu.org>
15005
15006 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
15007 * cus-start.el (load-prefer-newer): New option.
15008
15009 2013-12-18 Le Wang <l26wang@gmail.com>
15010
15011 * comint.el (comint-previous-matching-input-from-input):
15012 Retain point (Bug#13404).
15013
15014 2013-12-18 Chong Yidong <cyd@gnu.org>
15015
15016 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
15017
15018 2013-12-18 Glenn Morris <rgm@gnu.org>
15019
15020 * mail/emacsbug.el (report-emacs-bug):
15021 Only mention enable-multibyte-characters if non-standard.
15022
15023 2013-12-17 Juri Linkov <juri@jurta.org>
15024
15025 * arc-mode.el (archive-extract-by-file): Check if directory exists
15026 before deletion to not show irrelevant errors if it doesn't exist.
15027
15028 2013-12-17 Juri Linkov <juri@jurta.org>
15029
15030 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
15031 (Bug#14751)
15032
15033 * net/eww.el (browse-web): Add alias to `eww'.
15034 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
15035 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
15036
15037 * net/browse-url.el (browse-url-browser-function): Move `eww'
15038 closer to similar functions.
15039
15040 * startup.el (fancy-startup-screen, fancy-about-screen):
15041 Set browse-url-browser-function to eww-browse-url locally.
15042 (Bug#14751)
15043
15044 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * window.el (window--pixel-to-total): Remove unused `mini' var.
15047 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
15048 (split-window): Remove unused `new' var.
15049 (window--display-buffer): Remove unused `frame' and `delta' vars.
15050 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
15051 and display-width'.
15052
15053 2013-12-17 Martin Rudalics <rudalics@gmx.at>
15054
15055 * dired.el (dired-mark-pop-up):
15056 * register.el (register-preview): Don't bind
15057 split-height-threshold here since it's now done in
15058 display-buffer-below-selected.
15059
15060 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
15061
15062 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
15063 xterm-rgb-convert-to-16bit.
15064 (rxvt-register-default-colors): Standardize with
15065 xterm-register-default-colors (Bug#14078).
15066
15067 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
15068
15069 * simple.el (kill-region): Pass mark first, then point, so that
15070 kill-append works right (Bug#12819).
15071 (copy-region-as-kill, kill-ring-save): Likewise.
15072
15073 2013-12-17 Leo Liu <sdl.web@gmail.com>
15074
15075 * net/rcirc.el (rcirc-add-face):
15076 * eshell/em-prompt.el (eshell-emit-prompt):
15077 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
15078 (Bug#16167)
15079
15080 2013-12-17 Chong Yidong <cyd@gnu.org>
15081
15082 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
15083 Suggested by Xue Fuqiao.
15084
15085 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15086
15087 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
15088
15089 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15090
15091 * net/shr.el (shr-insert-document): Remove unused var
15092 `shr-preliminary-table-render'.
15093 (shr-rescale-image): Remove unused arg `force'.
15094 (shr-put-image): Update calls accordingly.
15095 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
15096
15097 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15098
15099 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
15100 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
15101 :close-all, to see which indentation method to use (Bug#16116).
15102 (smie-rules-function): Document the method :close-all.
15103
15104 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
15106 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
15107
15108 * net/eww.el (eww-display-html): If we can't find the anchor we're
15109 looking for, then go to point-min.
15110
15111 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
15112
15113 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
15114 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
15115 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
15116 Expand dir too, in case it's relative.
15117
15118 2013-12-16 Juri Linkov <juri@jurta.org>
15119
15120 * desktop.el (desktop-auto-save-timeout): Change default to
15121 `auto-save-timeout'. Doc fix.
15122 (desktop-save): Skip the timestamp in desktop-saved-frameset
15123 when checking for auto-save changes.
15124 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
15125 `desktop-auto-save' is called repeatedly by the idle timer.
15126 (desktop-auto-save-set-timer): Replace `run-with-timer' with
15127 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
15128 (Bug#15331)
15129
15130 2013-12-16 Juri Linkov <juri@jurta.org>
15131
15132 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
15133 (Bug#16035)
15134 (isearch-pre-command-hook): Check `this-command' for symbolp.
15135
15136 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
15139
15140 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
15141
15142 * progmodes/cfengine.el (cfengine3--current-word): Remove.
15143 (cfengine3--current-function): Bring in the current-function
15144 functionality from `cfengine3--current-word'.
15145 (cfengine3-completion-function): Bring in the
15146 bounds-of-current-word functionality from
15147 `cfengine3--current-word'.
15148
15149 2013-12-16 Martin Rudalics <rudalics@gmx.at>
15150
15151 * window.el (display-buffer-below-selected):
15152 Bind split-height-threshold to 0 as suggested by Juri Linkov.
15153
15154 2013-12-16 Leo Liu <sdl.web@gmail.com>
15155
15156 * progmodes/compile.el (compile-goto-error): Do not push-mark.
15157 Remove NOMSG arg and all uses changed.
15158
15159 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
15162 (cua--deactivate-rectangle): Don't deactivate the mark.
15163 (cua-set-rectangle-mark): Don't set mark-active since
15164 cua--activate-rectangle already does it for us.
15165 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
15166 non-rectangular region.
15167
15168 * emulation/cua-base.el (cua-repeat-replace-region):
15169 Use with-current-buffer.
15170
15171 * net/gnutls.el: Use cl-lib.
15172 (gnutls-negotiate): `mapcan' -> cl-mapcan.
15173
15174 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15175
15176 * emacs-lisp/package.el (package-built-in-p): Support both
15177 built-in and the package.el converted package descriptions.
15178 (package-show-package-list): Allow keywords.
15179 (package-keyword-button-action): Use it instead of
15180 `finder-list-matches'.
15181 (package-menu-filter-interactive): Interactive filtering (by
15182 keyword) function.
15183 (package-menu--generate): Support keywords and change keymappings
15184 and headers when they are given.
15185 (package--has-keyword-p): Helper function.
15186 (package-menu--refresh): Use it.
15187 (package--mapc): Helper function.
15188 (package-all-keywords): Use it.
15189 (package-menu-mode-map): Set up menu items and keybindings to
15190 provide a filtering UI.
15191
15192 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15193
15194 * net/gnutls.el (gnutls-verify-error): New defcustom to control
15195 the behavior when a certificate fails validation. Defaults to
15196 old behavior: never abort, just warn.
15197 (gnutls-negotiate): Use it.
15198
15199 2013-12-14 Martin Rudalics <rudalics@gmx.at>
15200
15201 * window.el (display-buffer-below-selected): Never split window
15202 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
15203
15204 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
15205
15206 * emacs-lisp/package.el (package--prepare-dependencies): New function.
15207 (package-buffer-info): Use it (bug#15108).
15208
15209 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 * icomplete.el (icomplete-completions): Make sure the prefix is already
15212 displayed elsewhere before hiding it (bug#16219).
15213
15214 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
15215
15216 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
15217 open-paren tokens when preceded by a open-paren, too.
15218 (ruby-smie-rules): Handle virtual indentation after open-paren
15219 tokens specially. If there is code between it and eol, return the
15220 column where is starts (Bug#16118).
15221
15222 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15223
15224 * progmodes/cfengine.el: Fix `add-hook' doc.
15225 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
15226 (cfengine3--current-word): Fix parameters.
15227 (cfengine3-make-syntax-cache): Simplify further.
15228 (cfengine3-completion-function, cfengine3--current-function):
15229 Use `assq' for symbols.
15230 (cfengine3--current-function): Fix `cfengine3--current-word' call.
15231
15232 2013-12-13 Glenn Morris <rgm@gnu.org>
15233
15234 * loadup.el (load-path): Warn if site-load or site-init changes it.
15235 No more need to reset it when bootstrapping.
15236
15237 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15238
15239 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
15240 locations for cf-promises.
15241 (cfengine-mode-syntax-functions-regex): New caching variable.
15242 (cfengine3-fallback-syntax): Fallback syntax for cases where
15243 cf-promises doesn't run.
15244 (cfengine3--current-word): Reimplement using
15245 `cfengine-mode-syntax-functions-regex'.
15246 (cfengine3-completion-function, cfengine3--current-function):
15247 Use `cfengine3-make-syntax-cache' directly.
15248 (cfengine3-clear-syntax-cache): New function.
15249 (cfengine3-make-syntax-cache): Simplify and create
15250 `cfengine-mode-syntax-functions-regex' on demand.
15251 (cfengine3-format-function-docstring): Don't call
15252 `cfengine3-make-syntax-cache' explicitly.
15253
15254 2013-12-13 Martin Rudalics <rudalics@gmx.at>
15255
15256 Fix windmove-find-other-window broken after pixelwise resizing
15257 (Bug#16017).
15258 * windmove.el (windmove-other-window-loc): Revert change from
15259 2013-12-04.
15260 (windmove-find-other-window): Call window-in-direction.
15261 * window.el (window-in-direction): New arguments SIGN, WRAP and
15262 MINI to emulate original windmove-find-other-window behavior.
15263
15264 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
15265
15266 * simple.el (blink-matching--overlay): New variable.
15267 (blink-matching-open): Instead of moving point, highlight the
15268 matching paren with an overlay
15269 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15270
15271 * faces.el (paren-showing-faces, show-paren-match)
15272 (show-paren-mismatch): Move from paren.el.
15273
15274 2013-12-13 Leo Liu <sdl.web@gmail.com>
15275
15276 * indent.el (indent-region): Disable progress reporter in
15277 minibuffer. (Bug#16108)
15278
15279 * bindings.el (visual-order-cursor-movement): Fix version.
15280
15281 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
15282
15283 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15284 Also match after beginning of line.
15285 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15286 files. Thanks to Russell Sim. (Bug#15378)
15287
15288 2013-12-13 Juri Linkov <juri@jurta.org>
15289
15290 * simple.el <Keypad support>: Remove key bindings duplicated
15291 with bindings.el. (Bug#14397)
15292
15293 2013-12-13 Juri Linkov <juri@jurta.org>
15294
15295 * comint.el (comint-mode-map): Replace `delete-char' with
15296 `delete-forward-char'. (Bug#16109)
15297
15298 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15299
15300 * progmodes/python.el (python-indent-calculate-indentation):
15301 Fix de-denters cornercase. (Bug#15731)
15302
15303 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15306 (advice--make): Pay attention to `depth'.
15307 (advice--make-1): Don't autoload commands eagerly.
15308 * emacs-lisp/elp.el (elp-instrument-function):
15309 * emacs-lisp/trace.el (trace-function-internal):
15310 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15311
15312 * iswitchb.el (iswitchb-mode): Don't belittle ido.
15313
15314 2013-12-12 Eli Zaretskii <eliz@gnu.org>
15315
15316 * term/w32-win.el (w32-handle-dropped-file):
15317 * startup.el (normal-top-level):
15318 * net/browse-url.el (browse-url-file-url):
15319 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15320 decode file names using 'utf-8' rather than
15321 file-name-coding-system.
15322
15323 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15324
15325 * progmodes/python.el (python-indent-context)
15326 (python-indent-calculate-indentation): Fix auto-identation
15327 behavior for comment blocks. (Bug#15916)
15328
15329 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15330
15331 * progmodes/python.el (python-indent-calculate-indentation):
15332 When determining indentation, don't treat "return", "pass", etc., as
15333 operators when they are just string constituents. (Bug#15812)
15334
15335 2013-12-12 Juri Linkov <juri@jurta.org>
15336
15337 * uniquify.el (uniquify-buffer-name-style): Change default to
15338 `post-forward-angle-brackets'.
15339
15340 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15341 `uniquify'. Change default to `post-forward-angle-brackets'.
15342
15343 2013-12-11 Glenn Morris <rgm@gnu.org>
15344
15345 * emacs-lisp/package.el (finder-list-matches):
15346 Autoload rather than falsely declaring.
15347
15348 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15349
15350 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15351 (eww-mode-map): Use them.
15352
15353 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15354
15355 * window.el (display-buffer-in-side-window): Fix doc-string
15356 (Bug#16115).
15357
15358 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15359
15360 * vc/vc-git.el: Silence byte-compiler warnings.
15361 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15362 (log-edit-set-header): Declare.
15363
15364 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15365
15366 * Makefile.in (custom-deps, finder-data): Run output file names
15367 through unmsys--file-name. (Bug#16099)
15368
15369 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15372 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15373
15374 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15375 instead of deleting the selection "by hand" (bug#16098).
15376 Rely on insert-for-yank to yank rectangles.
15377 (cua-highlight-region-shift-only): Mark obsolete.
15378 (cua-mode): Don't enable/disable transient-mark-mode,
15379 shift-select-mode (cua-mode works both with and without them), and
15380 pc-selection-mode (obsolete).
15381 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15382 (cua--deactivate-rectangle): Deactivate it.
15383
15384 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15385 (delete-selection-helper): Make sure yank starts at the top of the
15386 deleted region.
15387 (minibuffer-keyboard-quit): Use region-active-p.
15388
15389 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15390
15391 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15392 to `delete' (bug#16109).
15393
15394 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15395
15396 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15397 info manual and show keybindings and set `:group' keyword.
15398
15399 2013-12-11 Juri Linkov <juri@jurta.org>
15400
15401 * delsel.el (delete-active-region): Let-bind `this-command'
15402 to prevent `kill-region' from changing its original value.
15403 (delete-selection-helper): Handle `overwrite-mode' for the type
15404 `kill' exactly the same way as for the type `t'.
15405 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15406 Support more commands. (Bug#13312)
15407
15408 2013-12-11 Juri Linkov <juri@jurta.org>
15409
15410 * bindings.el: Map kp keys to non-kp keys systematically
15411 with basic modifiers control, meta and shift. (Bug#14397)
15412
15413 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15414
15415 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15416 "Close browser" menu items. Fix wrong function of "List
15417 bookmarks".
15418
15419 2013-12-11 Juri Linkov <juri@jurta.org>
15420
15421 * misearch.el (multi-isearch-buffers): Set the value of
15422 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15423 arg of isearch-forward to t.
15424 (multi-isearch-buffers-regexp): Set the value of
15425 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15426 arg of isearch-forward-regexp to t.
15427 (multi-isearch-files): Set the value of
15428 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15429 arg of isearch-forward to t.
15430 (multi-isearch-files-regexp): Set the value of
15431 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15432 arg of isearch-forward-regexp to t. (Bug#16035)
15433
15434 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15435 arg of isearch-forward to t.
15436 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15437 arg of isearch-forward-regexp to t.
15438 (dired-isearch-filter-filenames): Remove unnecessary check for
15439 `dired-isearch-filenames'.
15440
15441 * comint.el (comint-history-isearch-backward):
15442 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15443 (comint-history-isearch-backward-regexp):
15444 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15445
15446 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15447
15448 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15449 unmsys--file-name. (Bug#16099)
15450
15451 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15452
15453 * emacs-lisp/package.el (package-keyword-button-action):
15454 Remove finder.el require dependency.
15455
15456 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15457
15458 * emacs-lisp/package.el: Require finder.el.
15459 (describe-package-1): Add keyword buttons.
15460 (package-make-button): New convenience function.
15461 (package-keyword-button-action): Keyword button action using
15462 `finder-list-matches'.
15463
15464 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15465
15466 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15467 last commit.
15468
15469 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15470
15471 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15472 symlinked files.
15473
15474 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15475
15476 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15477 after the end of a percent literal.
15478
15479 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15480
15481 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15482 Handle caret-delimited strings (Bug#16079).
15483
15484 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15485
15486 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15487 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15488 `ruby-parse-partial' (Bug#16078).
15489
15490 2013-12-09 Leo Liu <sdl.web@gmail.com>
15491
15492 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15493
15494 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15495
15496 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15497 (js-switch-indent-offset): New option.
15498 (js--proper-indentation): Use it. And handle the case when
15499 "default" is actually a key in an object literal.
15500 (js--same-line): New function.
15501 (js--multi-line-declaration-indentation): Use it.
15502 (js--indent-in-array-comp, js--array-comp-indentation):
15503 New functions.
15504 (js--proper-indentation): Use them, to handle array comprehension
15505 continuations.
15506
15507 2013-12-08 Leo Liu <sdl.web@gmail.com>
15508
15509 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15510 (flymake-make-overlay): Remove arg MOUSE-FACE.
15511 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15512
15513 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15514
15515 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15516 New function.
15517 (redisplay-highlight-region-function): Use it.
15518
15519 * emulation/cua-base.el (cua--explicit-region-start)
15520 (cua--last-region-shifted): Remove.
15521 (cua--deactivate): Use deactivate-mark.
15522 (cua--pre-command-handler-1): Don't handle shift-selection.
15523 (cua--post-command-handler-1): Don't change transient-mark-mode.
15524 (cua--select-keymaps): Use region-active-p rather than
15525 cua--explicit-region-start or cua--last-region-shifted.
15526 (cua-mode): Enable shift-select-mode.
15527
15528 2013-12-08 Leo Liu <sdl.web@gmail.com>
15529
15530 * progmodes/flymake.el (flymake-popup-current-error-menu):
15531 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15532 (flymake-posn-at-point-as-event, flymake-popup-menu)
15533 (flymake-make-emacs-menu): Remove. (Bug#16077)
15534
15535 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * rect.el (rectangle-mark-mode): Activate mark even if
15538 transient-mark-mode is off (bug#16066).
15539 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15540 is > mark and at bolp.
15541
15542 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15543 (region-extract-function): Use it.
15544 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15545 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15546 Delete functions.
15547 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15548 kill-ring-save, kill-region, delete-char, delete-forward-char.
15549 Ignore self-insert-iso.
15550
15551 * emulation/cua-gmrk.el (cua--init-global-mark):
15552 Ignore `self-insert-iso'.
15553
15554 * emulation/cua-base.el (cua--prefix-copy-handler)
15555 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15556 checking cua--rectangle.
15557 (cua-delete-region): Use region-extract-function.
15558 (cua-replace-region): Delete function.
15559 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15560 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15561 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15562 (cua--init-keymaps): Don't remap delete-selection commands.
15563 (cua-mode): Use delete-selection-mode instead of rolling our own
15564 (bug#16085).
15565
15566 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15567 Obey region-extract-function.
15568
15569 Make registers and delete-selection-mode work on rectangles.
15570 * register.el (describe-register-1): Don't modify the register's value.
15571 (copy-to-register): Obey region-extract-function.
15572 * delsel.el (delete-active-region): Obey region-extract-function.
15573
15574 2013-12-08 Leo Liu <sdl.web@gmail.com>
15575
15576 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15577 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15578 (flymake-compilation-prevents-syntax-check)
15579 (flymake-start-syntax-check-on-newline)
15580 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15581 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15582 (flymake-xml-program, flymake-master-file-dirs)
15583 (flymake-master-file-count-limit)
15584 (flymake-allowed-file-name-masks): Relocate.
15585 (flymake-makehash, flymake-float-time)
15586 (flymake-replace-regexp-in-string, flymake-split-string)
15587 (flymake-get-temp-dir): Remove.
15588 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15589 (flymake-current-row, flymake-selected-frame)
15590 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15591 related functions. (Bug#16077)
15592
15593 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15594
15595 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15596
15597 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15598
15599 * help-fns.el (describe-function-1): Use new advice-* functions
15600 rather than old ad-* functions. Fix function type description and
15601 source links for advised functions and subrs.
15602
15603 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15604
15605 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15606
15607 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15608
15609 * progmodes/compile.el (compilation-start):
15610 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15611
15612 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15613 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15614
15615 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15616
15617 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15618 Touch up the last change.
15619
15620 2013-12-06 Leo Liu <sdl.web@gmail.com>
15621
15622 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15623 (inferior-octave-startup): Always use "octave> " for prompt.
15624 (octave-goto-function-definition)
15625 (octave-sync-function-file-names)
15626 (octave-find-definition-default-filename): Remove redundant backquotes.
15627
15628 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15629
15630 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15631 syntax for `?'.
15632 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15633 where appropriate already.
15634 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15635 end of method names (Bug#15874).
15636
15637 2013-12-06 Juri Linkov <juri@jurta.org>
15638
15639 * isearch.el (isearch--saved-overriding-local-map):
15640 New internal variable.
15641 (isearch-mode): Set it to the initial value of
15642 `overriding-terminal-local-map'.
15643 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15644 with `isearch--saved-overriding-local-map'. (Bug#16035)
15645
15646 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15647
15648 * progmodes/octave.el (inferior-octave-completion-table):
15649 Turn back into function, use `completion-table-with-cache'
15650 (Bug#11906). Update all references.
15651
15652 * minibuffer.el (completion-table-with-cache): New function.
15653
15654 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15655
15656 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15657
15658 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15659
15660 * net/eww.el (eww-current-source): New variable to store page
15661 source.
15662 (eww-display-html, eww-mode, eww-save-history)
15663 (eww-restore-history): Use it.
15664 (eww-view-source): New command to view page source.
15665 Opportunistically uses `html-mode' to highlight the buffer.
15666 (eww-mode-map): Install it.
15667
15668 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15669
15670 * net/dbus.el (dbus-unregister-service)
15671 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15672 Fix docstring.
15673 (dbus-unregister-service): Skip :serial entries in
15674 `dbus-registered-objects-table'.
15675 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15676
15677 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15678
15679 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15680 around keywords with extra `split-string' argument.
15681
15682 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15683
15684 * windmove.el (windmove-other-window-loc): Handle navigation
15685 between windows (excluding the minibuffer window - Bug#16017).
15686
15687 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15688
15689 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15690 in D-Bus type syntax.
15691 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15692 preserve unibyte strings. (Bug#16048)
15693
15694 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15695
15696 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15697 Call force-mode-line-update is the proper buffer (bug#16042).
15698
15699 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15700
15701 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15702 `log-edit-remember-comment', make argument optional. Adjust all
15703 callers.
15704 (log-edit-mode): Add `log-edit-remember-comment' to
15705 `kill-buffer-hook' locally.
15706 (log-edit-kill-buffer): Don't remember comment explicitly since
15707 the buffer is killed anyway.
15708
15709 2013-12-04 Juri Linkov <juri@jurta.org>
15710
15711 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15712 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15713
15714 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15715
15716 * notifications.el (notifications-close-notification): Call the
15717 D-Bus method with ID being a `:uint32'. (Bug#16030)
15718
15719 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15720
15721 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15722
15723 2013-12-03 Juri Linkov <juri@jurta.org>
15724
15725 * progmodes/compile.el (compilation-start): Rename window alist
15726 entry `no-display-ok' to `allow-no-window'.
15727
15728 * simple.el (shell-command): Add window alist entry
15729 `allow-no-window' to `display-buffer'.
15730 (async-shell-command): Doc fix.
15731
15732 * window.el (display-buffer-no-window): New action function.
15733 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15734
15735 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15736
15737 * vc/log-edit.el (log-edit-set-header): Extract from
15738 `log-edit-toggle-header'.
15739 (log-edit-extract-headers): Separate the summary, when extracted
15740 from header, from the rest of the message with an empty line.
15741
15742 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15743 line, if present, to the Summary header.
15744
15745 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15746
15747 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15748 in current-buffer (bug#16029).
15749
15750 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15751
15752 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15753 (debugger-mode-map): Bind it.
15754 (debugger--backtrace-base): New function.
15755 (debugger-eval-expression): Use it.
15756 (debugger-frame-number): Skip local vars when present.
15757 (debugger--locals-visible-p, debugger--insert-locals)
15758 (debugger--show-locals, debugger--hide-locals): New functions.
15759
15760 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15761
15762 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15763 "LC_ALL".
15764 (tramp-get-remote-locale): New defun.
15765 (tramp-open-connection-setup-interactive-shell): Use it.
15766
15767 2013-12-02 Leo Liu <sdl.web@gmail.com>
15768
15769 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15770
15771 * progmodes/sh-script.el (sh-shell-process):
15772 * progmodes/octave.el (inferior-octave-process-live-p):
15773 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15774 (gdb-inferior-io-sentinel):
15775 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15776
15777 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15778
15779 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15780 `save-selected-window' to `log-edit-hide-buf'. This makes
15781 `log-edit-show-files' idempotent.
15782 (log-edit-show-files): Mark the new window as dedicated.
15783
15784 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15785
15786 * vc/log-edit.el (log-edit-mode-map): Add binding for
15787 `log-edit-kill-biffer'.
15788 (log-edit-hide-buf): Add a FIXME comment.
15789 (log-edit-add-new-comment): New function, extracted from
15790 `log-edit-done'.
15791 (log-edit-done, log-edit-add-to-changelog): Use it.
15792 (log-edit-kill-buffer): New command.
15793
15794 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15795
15796 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15797 instead of killing the buffer.
15798
15799 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15802
15803 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15804
15805 * net/eww.el (eww-form-checkbox-selected-symbol)
15806 (eww-form-checkbox-symbol): New customizable variable.
15807 (eww-form-checkbox, eww-toggle-checkbox):
15808 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15809
15810 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15811 (shr--get-media-pref, shr--extract-best-source): New function.
15812 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15813 no :src tag was specified.
15814
15815 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15816 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15817 Use \\` to match beginning of string instead of ^.
15818 (eww-browse-with-external-browser): Provide optional URL parameter.
15819 (eww-render): Set `eww-current-title' back to "".
15820
15821 * net/shr.el (shr-tag-video): Display content for video if no
15822 poster is available.
15823 (shr-tag-audio): Add support for <audio> tag.
15824
15825 * net/eww.el (eww-text-input-types): New const.
15826 (eww-process-text-input): Treat input types in
15827 `eww-text-input-types' as text.
15828
15829 * net/shr.el (shr-tag-table): Fix comment typo.
15830
15831 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15832
15833 * net/eww.el (eww-follow-link): New command to avoid reloading
15834 pages when we follow #target links (bug#15243).
15835 (eww-quit): Special mode buffers shouldn't query before exiting.
15836
15837 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15838
15839 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15840 forms.
15841
15842 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15843
15844 * net/eww.el (eww-restore-history): Update the window title after
15845 moving in the history.
15846 (eww-current-dom): New variable used to save the current DOM.
15847
15848 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15849
15850 * vc/log-edit.el (log-edit-mode-map): Add binding for
15851 `log-edit-beginning-of-line'.
15852 (log-edit-setup-add-author): New user option.
15853 (log-edit-beginning-of-line): New command.
15854 (log-edit): Move major mode call above the contents setup so that
15855 the local variable values are already applied.
15856 (log-edit): Only insert "Author: " when
15857 `log-edit-setup-add-author' is non-nil.
15858 (log-edit): When SETUP is non-nil, position point after ": "
15859 instead of point-min.
15860
15861 2013-12-01 Glenn Morris <rgm@gnu.org>
15862
15863 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15864
15865 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15866
15867 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15868 redisplay to make sure the initial frame gets a chance to become
15869 visible. (Bug#16014)
15870
15871 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15872
15873 Support resizing frames and windows pixelwise.
15874 * cus-start.el (frame-resize-pixelwise)
15875 (window-resize-pixelwise): New entries.
15876 * emacs-lisp/debug.el (debug): Use window-total-height instead
15877 of window-total-size.
15878 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15879 * help.el (describe-bindings-internal): Use help-buffer as
15880 argument for with-help-window.
15881 (temp-buffer-max-width): New option.
15882 (resize-temp-buffer-window, help-window-setup)
15883 (with-help-window): Rewrite.
15884 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15885 dragging dividers.
15886 * window.el (frame-char-size, window-min-pixel-height)
15887 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15888 (window-min-pixel-width, window-safe-min-pixel-size)
15889 (window-combination-p, window-safe-min-size)
15890 (window-resizable-p, window--size-to-pixel)
15891 (window--pixel-to-size, window--resize-apply-p): New functions.
15892 (window-safe-min-height): Fix doc-string.
15893 (window-size, window-min-size, window--min-size-1)
15894 (window-sizable, window-sizable-p, window--min-delta-1)
15895 (window-min-delta, window--max-delta-1, window-max-delta)
15896 (window--resizable, window--resizable-p, window-resizable)
15897 (window-full-height-p, window-full-width-p, window-at-side-p)
15898 (window--in-direction-2, window-in-direction)
15899 (window--resize-reset-1, window--resize-mini-window)
15900 (window-resize, window-resize-no-error)
15901 (window--resize-child-windows-normal)
15902 (window--resize-child-windows, window--resize-siblings)
15903 (window--resize-this-window, window--resize-root-window)
15904 (window--resize-root-window-vertically)
15905 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15906 (maximize-window, minimize-window, delete-window)
15907 (quit-restore-window, window-split-min-size, split-window)
15908 (balance-windows-2, balance-windows)
15909 (balance-windows-area-adjust, balance-windows-area)
15910 (window--state-get-1, window-state-get, window--state-put-1)
15911 (window--state-put-2, window-state-put)
15912 (display-buffer-record-window, window--display-buffer):
15913 Make functions handle pixelwise sizing of windows.
15914 (display-buffer--action-function-custom-type)
15915 (display-buffer-fallback-action):
15916 Add display-buffer-in-previous-window.
15917 (display-buffer-use-some-window): Resize window to height it had
15918 before.
15919 (fit-window-to-buffer-horizontally): New option.
15920 (fit-frame-to-buffer): Describe new values.
15921 (fit-frame-to-buffer-bottom-margin): Replace with
15922 fit-frame-to-buffer-margins.
15923 (window--sanitize-margin): New function.
15924 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15925 using window-text-pixel-size.
15926
15927 2013-11-30 Glenn Morris <rgm@gnu.org>
15928
15929 * emacs-lisp/bytecomp.el (byte-compile-form):
15930 Make the `interactive-only' warning like the `obsolete' one.
15931 * comint.el (comint-run):
15932 * files.el (insert-file-literally, insert-file):
15933 * replace.el (replace-string, replace-regexp):
15934 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15935 (goto-line, insert-buffer, next-line, previous-line):
15936 Tweak `interactive-only' spec.
15937
15938 Stop keeping (most) generated cedet grammar files in the repository.
15939 * Makefile.in (semantic): New.
15940 (compile-main): Depend on semantic.
15941
15942 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15943
15944 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15945 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15946
15947 * uniquify.el (uniquify-buffer-name-style): Change default.
15948
15949 * loadup.el: Preload "uniquify".
15950
15951 * time.el (display-time-update): Update all mode lines (bug#15999).
15952
15953 * electric.el (electric-indent-mode): Enable by default.
15954 * loadup.el: Preload "electric".
15955
15956 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15957
15958 * emacs-lisp/helpers.el (string-empty-p): New function.
15959 (string-blank-p): New function.
15960
15961 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15962
15963 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15964 (Bug#14029).
15965
15966 2013-11-29 Andreas Politz <politza@fh-trier.de>
15967 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15968 allow non-lambda lists as functions.
15969 (imenu--in-alist): Don't recurse into non-subalists.
15970 (imenu): Don't pass function itself as an argument (Bug#14029).
15971
15972 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15973
15974 * progmodes/python.el (python-mode-map): Remove binding for ":".
15975 (python-indent-electric-colon): Remove command.
15976 (python-indent-post-self-insert-function): Integrate the previous code
15977 of python-indent-electric-colon. Make it conditional on
15978 electric-indent-mode.
15979 (python-mode): Add ?: to electric-indent-chars.
15980 Move python-indent-post-self-insert-function to the end of
15981 post-self-insert-hook.
15982
15983 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * doc-view.el (doc-view-goto-page): Update mode-line.
15986
15987 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15988
15989 2013-11-27 Glenn Morris <rgm@gnu.org>
15990
15991 * international/charprop.el, international/uni-bidi.el:
15992 * international/uni-category.el, international/uni-combining.el:
15993 * international/uni-comment.el, international/uni-decimal.el:
15994 * international/uni-decomposition.el, international/uni-digit.el:
15995 * international/uni-lowercase.el, international/uni-mirrored.el:
15996 * international/uni-name.el, international/uni-numeric.el:
15997 * international/uni-old-name.el, international/uni-titlecase.el:
15998 * international/uni-uppercase.el:
15999 Remove generated files from VCS repository.
16000
16001 2013-11-27 Eli Zaretskii <eliz@gnu.org>
16002
16003 * filenotify.el (file-notify-add-watch): Don't special-case
16004 w32notify when computing the directory to watch.
16005
16006 2013-11-27 Glenn Morris <rgm@gnu.org>
16007
16008 Make bootstrap without generated uni-*.el files possible again.
16009 * loadup.el: Update command-line-args checking for unidata-gen.
16010 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
16011 * composite.el, international/characters.el:
16012 Handle unicode tables being undefined.
16013
16014 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
16015 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
16016 (compile-main): Depend on leim rule.
16017 (leim): New rule.
16018 * loadup.el: Move leim-list.el to leim/ subdirectory.
16019 * startup.el (normal-top-level): No more leim directory.
16020 * international/ja-dic-cnv.el (skkdic-convert):
16021 Disable version-control and autoloads in output files.
16022 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
16023 Disable version-control and autoloads in output files.
16024 * leim/quail: Move here from ../leim.
16025 * leim/quail/hangul.el (hangul-input-method-activate):
16026 Add autoload cookie.
16027 (generated-autoload-load-name): Set file-local value.
16028 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
16029 (generated-autoload-load-name): Set file-local value.
16030
16031 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
16032
16033 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
16034 (eww-add-bookmark): Ask confirmation when add to bookmarks.
16035 (eww-quit): Ask confirmation before quitting eww.
16036
16037 2013-11-26 Eli Zaretskii <eliz@gnu.org>
16038
16039 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
16040 reading output from Diff on MS-Windows and MS-DOS.
16041
16042 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
16043
16044 * emacs-lisp/helpers.el (string-reverse): New function.
16045
16046 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
16047
16048 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
16049 names on MS Windows, like "/[::1]:".
16050
16051 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
16052 SWITCHES.
16053
16054 2013-11-26 Glenn Morris <rgm@gnu.org>
16055
16056 * progmodes/python.el (python-indent-guess-indent-offset):
16057 Avoid corner-case error. (Bug#15975)
16058
16059 Preload leim-list.el. (Bug#4789)
16060 * loadup.el: Load leim-list.el when found.
16061 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
16062
16063 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
16064
16065 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
16066
16067 * emacs-lisp/helpers.el (string-join): New function.
16068
16069 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
16070
16071 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16072 Mark as obsolete and replace it with a symbol property.
16073 (byte-compile-form): Use new 'interactive-only property.
16074 * comint.el, files.el, replace.el, simple.el:
16075 Apply new 'interactive-only properly.
16076
16077 2013-11-25 Martin Rudalics <rudalics@gmx.at>
16078
16079 * window.el (display-buffer-at-bottom): Make sure that
16080 split-window-sensibly creates the new window on bottom
16081 (Bug#15961).
16082
16083 2013-11-23 David Kastrup <dak@gnu.org>
16084
16085 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
16086 on the conflict markers when available.
16087 (smerge--get-marker): New function.
16088 (smerge-end-re, smerge-base-re): Add subgroup.
16089
16090 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16091
16092 * frame.el (handle-focus-in, handle-focus-out): Add missing
16093 interactive spec.
16094
16095 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
16096
16097 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16098 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
16099
16100 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
16103 (gomoku--last-pos): New var.
16104 (gomoku--intangible-chars): New const.
16105 (gomoku--intangible): New function.
16106 (gomoku-mode): Use it. Derive from special-mode.
16107 (gomoku-move-up): Adjust line count.
16108 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
16109 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
16110 Simplify accordingly.
16111
16112 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
16113 Remove blink-cursor code.
16114 (blink-cursor-timer-function, blink-cursor-suspend):
16115 Don't special-case GUIs.
16116 (blink-cursor-mode): Use focus-in/out-hook.
16117
16118 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
16119
16120 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
16121 work when annotation is invisible (Bug#13886).
16122
16123 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
16124
16125 * json.el (json-alist-p): Only return non-nil if the alist has
16126 simple keys (Bug#13518).
16127
16128 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
16129
16130 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
16131 when control-statement is the first statement in a buffer (Bug#15956).
16132
16133 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
16134
16135 * imenu.el (imenu-generic-skip-comments-and-strings):
16136 New option (Bug#15560).
16137 (imenu--generic-function): Use it.
16138
16139 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
16140
16141 * minibuffer.el (completion--in-region-1): Scroll the correct window.
16142 (Bug#13898)
16143
16144 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
16145
16146 * emacs-lisp/helpers.el: Add some string helpers.
16147 (string-trim-left): Removes leading whitespace.
16148 (string-trim-right): Removes trailing whitespace.
16149 (string-trim): Removes leading and trailing whitespace.
16150
16151 * subr.el (string-suffix-p): New function.
16152
16153 2013-11-23 Glenn Morris <rgm@gnu.org>
16154
16155 * progmodes/python.el (python-shell-send-file):
16156 Add option to delete file when done. (Bug#15647)
16157 (python-shell-send-string, python-shell-send-region): Use it.
16158
16159 2013-11-23 Ivan Shmakov <ivan@siamics.net>
16160
16161 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
16162 to set buffer-read-only to t, never to nil. (Bug#15938)
16163
16164 * textmodes/tex-mode.el (latex-noindent-environments):
16165 Add safe-local-variable property. (Bug#15936)
16166
16167 2013-11-23 Glenn Morris <rgm@gnu.org>
16168
16169 * textmodes/enriched.el (enriched-mode): Doc fix.
16170 * emacs-lisp/authors.el (authors-renamed-files-alist):
16171 Add enriched.doc -> enriched.txt.
16172
16173 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
16174
16175 2013-11-22 Leo Liu <sdl.web@gmail.com>
16176
16177 * progmodes/octave.el (inferior-octave-startup): Spit out error
16178 message.
16179
16180 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
16181
16182 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16183 Improve docstring.
16184 Add :version.
16185 (ruby-encoding-magic-comment-style): Add :version.
16186
16187 2013-11-22 Leo Liu <sdl.web@gmail.com>
16188
16189 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16190 (Bug#15076)
16191 (octave-help-mode): Adapt to change to help-mode-finish to use
16192 derived-mode-p on 2013-09-17.
16193 (inferior-octave-prompt): Also match octave-gui.
16194 (octave-kill-process): Don't ask twice. (Bug#10564)
16195
16196 2013-11-22 Leo Liu <sdl.web@gmail.com>
16197
16198 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
16199 (inferior-octave-startup, inferior-octave-check-process)
16200 (inferior-octave-track-window-width-change)
16201 (octave-completion-at-point, octave-eldoc-function): Use it.
16202 (octave-kill-process): Provide confirmation. (Bug#10564)
16203
16204 2013-11-21 Leo Liu <sdl.web@gmail.com>
16205
16206 * progmodes/octave.el (octave-mode, inferior-octave-mode):
16207 Fix obsolete variable comment-use-global-state.
16208
16209 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16210
16211 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
16212 Add `octave-source-file'.
16213 (octave-source-file): New function. (Bug#15935)
16214
16215 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
16216
16217 * net/eww.el (eww-local-regex): New variable.
16218 (eww): Use it to detect localhost and similar.
16219
16220 2013-11-21 Leo Liu <sdl.web@gmail.com>
16221
16222 Add completion for command `ag'.
16223 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
16224 (pcomplete/ag): New function.
16225 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
16226
16227 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16228
16229 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
16230 (bug#14646).
16231 (make-obsolete): Remove interactive spec.
16232
16233 2013-11-21 Glenn Morris <rgm@gnu.org>
16234
16235 * startup.el (command-line-1): Use path-separator with -L.
16236
16237 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
16238
16239 * emacs-lisp/package.el (describe-package-1): Add package archive
16240 to shown fields.
16241
16242 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
16243
16244 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16245 Change default to "# encoding: %s" to differentiate it from the
16246 default Ruby encoding comment template.
16247
16248 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
16249
16250 * ses.el (ses-mode): Doc fix. (Bug#14748)
16251
16252 2013-11-20 Leo Liu <sdl.web@gmail.com>
16253
16254 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
16255
16256 2013-11-19 Dan Nicolaescu <dann@gnu.org>
16257
16258 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
16259 when rebase or bisect are in progress.
16260
16261 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
16262
16263 * filenotify.el (file-notify-add-watch): Doc fix.
16264
16265 2013-11-19 Leo Liu <sdl.web@gmail.com>
16266
16267 * obsolete/rcompile.el: Mark obsolete.
16268
16269 * progmodes/compile.el (compilation-start)
16270 (compilation-goto-locus, compilation-find-file):
16271 Pass no-display-ok and handle nil value from display-buffer.
16272 (Bug#13594)
16273
16274 * window.el (display-buffer-alist, display-buffer): Document the
16275 new parameter no-display-ok. Return either a window or nil
16276 but never a non-window value.
16277
16278 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * electric.el (electric-indent-mode-map): Remove.
16281 (electric-indent-mode): Change the global-map instead (bug#15915).
16282
16283 * textmodes/text-mode.el (paragraph-indent-minor-mode):
16284 Use add-function.
16285
16286 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * emacs-lisp/nadvice.el (remove-function): Align with
16289 add-function's behavior.
16290
16291 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16292 (gdb--string-regexp): New constant.
16293 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16294 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16295 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16296 submatch 1.
16297 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16298 Adjust use accordingly.
16299 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16300
16301 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
16302
16303 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16304 interpolation curlies (Bug#15914).
16305
16306 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
16307
16308 * calc/calc.el (calc-context-sensitive-enter): New variable.
16309 (calc-enter): Use `calc-context-sensitive-enter'.
16310
16311 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
16312
16313 * progmodes/cfengine.el: Version bump.
16314 (cfengine-cf-promises): New defcustom to locate cf-promises.
16315 (cfengine3-vartypes): Add new "data" type.
16316 (cfengine3--current-word): New function to get current name-like
16317 word or its bounds.
16318 (cfengine3--current-function): New function to look up a CFEngine
16319 function's definition.
16320 (cfengine3-format-function-docstring): New function.
16321 (cfengine3-make-syntax-cache): New function.
16322 (cfengine3-documentation-function): New function: ElDoc glue.
16323 (cfengine3-completion-function): New function: completion glue.
16324 (cfengine3-mode): Set `compile-command',
16325 `eldoc-documentation-function', and add to
16326 `completion-at-point-functions'.
16327
16328 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16329
16330 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16331 `tramp-current-connection'.
16332
16333 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16334
16335 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16336 nil/self/true/false with "end of symbol".
16337
16338 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16339
16340 * subr.el (version-regexp-alist): Fix a typo.
16341
16342 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16343
16344 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16345 "en_US.utf8" and "LC_CTYPE" to "".
16346 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16347 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16348
16349 2013-11-15 Leo Liu <sdl.web@gmail.com>
16350
16351 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16352
16353 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * progmodes/gud.el (ctl-x-map):
16356 Remove C-x SPC binding. (Bug#12342)
16357 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16358
16359 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16360
16361 * subr.el (version-regexp-alist):
16362 Recognize hg, svn and darcs versions as snapshot versions.
16363
16364 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16365 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16366 (ruby--encoding-comment-required-p): Extract from
16367 `ruby-mode-set-encoding'.
16368 (ruby-mode-set-encoding): Add the ability to always insert an
16369 utf-8 encoding comment. Fix and simplify coding comment update
16370 logic.
16371
16372 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16373
16374 * net/tramp-gvfs.el (top): Run init code only when
16375 `tramp-gvfs-enabled' is not nil.
16376 (tramp-gvfs-enabled): Check also :system bus.
16377
16378 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16379
16380 Sync with upstream verilog-mode revision 78e66ba.
16381 * progmodes/verilog-mode.el (verilog-end-of-defun)
16382 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16383 (verilog-get-end-of-defun): Remove unused argument.
16384 (verilog-comment-depth): Remove unused local `e'.
16385 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16386 Don't pass arg to verilog-get-end-of-defun.
16387
16388 2013-11-14 Glenn Morris <rgm@gnu.org>
16389
16390 * obsolete/assoc.el (aget): Prefix dynamic variable.
16391
16392 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16393
16394 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16395
16396 * widget.el, hfy-cmap.el: Remove bogus package version number.
16397
16398 2013-11-13 Glenn Morris <rgm@gnu.org>
16399
16400 * replace.el (replace-eval-replacement):
16401 Try to give more helpful error message. (Bug#15836)
16402
16403 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16404 (archive-7z-update): Avoid custom type mismatches.
16405
16406 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16407
16408 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16409
16410 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16411 address can be empty.
16412
16413 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16414 Accept nil SWITCHES.
16415 (tramp-gvfs-handle-write-region): Implement APPEND.
16416
16417 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16418
16419 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16420 binary "|" operator and closing block args delimiter.
16421 Remove FIXME comment referring to Ruby 1.8-only syntax.
16422 (ruby-smie--implicit-semi-p): Not after "|" operator.
16423 (ruby-smie--closing-pipe-p): New function.
16424 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16425 (ruby-smie-rules): Indent after "|".
16426
16427 2013-11-12 Glenn Morris <rgm@gnu.org>
16428
16429 * ps-print.el (ps-face-attribute-list):
16430 Handle anonymous faces. (Bug#15827)
16431
16432 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16433
16434 * window.el (display-buffer-other-frame): Fix doc-string.
16435 (Bug#15868)
16436
16437 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16438
16439 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16440
16441 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16442
16443 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16444 (tramp-sh-handle-file-local-copy): Don't write a message when
16445 saving temporary files.
16446
16447 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16448 both directories are remote.
16449 (tramp-smb-handle-directory-files): Do not return double entries.
16450 Do not expand full file names.
16451 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16452 (tramp-smb-handle-write-region): Implement APPEND.
16453 (tramp-smb-get-stat-capability): Fix a stupid bug.
16454
16455 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16456
16457 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16458
16459 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16460
16461 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16462 throwing error over malformed let/let* (bug#15814).
16463
16464 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * iswitchb.el (iswitchb-mode): Mark obsolete.
16467
16468 2013-11-11 Glenn Morris <rgm@gnu.org>
16469
16470 * international/uni-bidi.el, international/uni-category.el:
16471 * international/uni-name.el, international/uni-numeric.el:
16472 Regenerate for Unicode 6.3.0.
16473
16474 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16475
16476 * net/tramp.el (tramp-methods):
16477 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16478 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16479
16480 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16481
16482 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16483 Force highlighting text after Summary keyword in doc face for rpm.
16484
16485 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16486
16487 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16488 available and the word has no wildcards, append one to the grep pattern.
16489 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16490 (ispell-complete-word): Call `ispell-lookup-words' with the value
16491 independent of `ispell-look-p'.
16492
16493 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16494
16495 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16496 Not after "||".
16497 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16498 their parent.
16499
16500 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16501
16502 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16503 (ruby-font-lock-keywords): Use backquote.
16504
16505 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16506
16507 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16508 (ruby-smie--backward-token): Only consider full-string matches.
16509
16510 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16511
16512 * faces.el (describe-face): Add distant-foreground.
16513
16514 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16515
16516 * progmodes/ruby-mode.el: Improve encoding comment handling.
16517 (ruby-encoding-magic-comment-style): New option.
16518 (ruby-custom-encoding-magic-comment-template): New option.
16519 (ruby--insert-coding-comment, ruby--detect-encoding):
16520 New functions extracted from `ruby-mode-set-encoding'.
16521 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16522 to control the style of the auto-inserted encoding comment.
16523
16524 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16525
16526 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16527 Use `smie-backward-sexp' with token argument.
16528
16529 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16530
16531 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16532 Remove instrumentation code.
16533
16534 2013-11-08 Glenn Morris <rgm@gnu.org>
16535
16536 * progmodes/autoconf.el (autoconf-mode):
16537 Tweak comment-start-skip. (Bug#15822)
16538
16539 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16540
16541 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16542 at bobp (bug#15826).
16543 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16544
16545 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16546
16547 * man.el (Man-start-calling): New macro, extracted from
16548 Man-getpage-in-background.
16549 (Man-getpage-in-background): Use it.
16550 (Man-update-manpage): New command.
16551 (Man-mode-map): Bind it.
16552
16553 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16554
16555 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16556 of "and", "or", "&&" and "||".
16557 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16558 argument. Prohibit opening curly brace because it could only be a
16559 block opener in that position.
16560 (ruby-smie--forward-token, ruby-smie--backward-token):
16561 Separate "|" from "&" or "*" going after it. That can happen in block
16562 arguments.
16563 (ruby-smie--indent-to-stmt): New function, seeks the end of
16564 previous statement or beginning of buffer.
16565 (ruby-smie-rules): Use it.
16566 (ruby-smie-rules): Check if there's a ":" before a curly block
16567 opener candidate; if there is, it's a hash.
16568
16569 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16572 (cl--block-wrapper): Fix last accidental change.
16573
16574 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16575
16576 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16577 Instrument, in order to hunt failure on hydra.
16578
16579 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16580
16581 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16582 malformed bindings form (bug#15814).
16583
16584 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16585
16586 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16587 "." compared to " @ ". This incidentally fixes some indentation
16588 examples with "do".
16589 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16590 (ruby-smie-grammar): New tokens: "and" and "or".
16591 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16592 Exclude "and" and "or". Remove "do" in order to work around token
16593 priorities.
16594 (ruby-smie-rules): Add all infix tokens. Handle the case of
16595 beginning-of-buffer.
16596
16597 2013-11-06 Glenn Morris <rgm@gnu.org>
16598
16599 * Makefile.in (setwins_almost, setwins_for_subdirs):
16600 Avoid accidental matches.
16601
16602 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16603
16604 * menu-bar.el (popup-menu): Use key-binding.
16605
16606 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16607
16608 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16609 menus, support also the menus produced by minor modes.
16610 (Bug#15817)
16611
16612 2013-11-06 Leo Liu <sdl.web@gmail.com>
16613
16614 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16615 DISTANCE to bound the search. All uses changed. (Bug#15808)
16616
16617 2013-11-06 Glenn Morris <rgm@gnu.org>
16618
16619 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16620 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16621 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16622
16623 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * electric.el (electric-indent-just-newline): New command.
16626 (electric-indent-mode-map): New keymap.
16627 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16628 Re-add :group which weren't redundant.
16629
16630 * electric.el (electric-indent-local-mode): New minor mode.
16631 (electric-indent-functions-without-reindent): New var.
16632 (electric-indent-post-self-insert-function): Use it.
16633 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16634
16635 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16636
16637 * international/quail.el (quail-help): Be more explicit about the
16638 meaning of the labels shown on the keys. (Bug#15800)
16639
16640 * startup.el (normal-top-level): Load the subdirs.el files before
16641 setting the locale environment. (Bug#15805)
16642
16643 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16646 via arguments so as to get the right ones (bug#15418).
16647
16648 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16649
16650 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16651
16652 Fix problems found while writing a test suite.
16653
16654 * net/tramp-compat.el (tramp-compat-load): New defun.
16655 * net/tramp.el (tramp-handle-load): Use it.
16656
16657 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16658 "(numberp ok-if-already-exists)" correctly.
16659
16660 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16661
16662 * international/characters.el (glyphless-char-display-control):
16663 Add usage note.
16664
16665 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16666
16667 * progmodes/python.el (python-mode):
16668 * progmodes/scheme.el (scheme-mode):
16669 * progmodes/prolog.el (prolog-mode):
16670 * progmodes/ruby-mode.el (ruby-mode):
16671 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16672 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16673
16674 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * rect.el (rectangle--highlight-for-redisplay):
16677 * emacs-lisp/smie.el (smie--next-indent-change):
16678 Use buffer-chars-modified-tick.
16679
16680 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16681
16682 * electric.el (electric-indent-post-self-insert-function):
16683 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16684
16685 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16686
16687 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16688
16689 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16690
16691 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16692 (bug#15786).
16693
16694 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16695
16696 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16697
16698 * progmodes/python.el: Fix up last change.
16699 (python-shell--save-temp-file): New function.
16700 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16701 `string' comes from the current buffer.
16702 (python-shell-send-string-no-output): Remove `msg' arg.
16703 (python--use-fake-loc): New var.
16704 (python-shell-buffer-substring): Obey it. Try to compensate for the
16705 extra coding line added by python-shell--save-temp-file.
16706 (python-shell-send-region): Use python-shell--save-temp-file and
16707 python-shell-send-file directly. Add `nomain' argument.
16708 (python-shell-send-buffer): Use python-shell-send-region.
16709 (python-electric-pair-string-delimiter): New function.
16710 (python-mode): Use it.
16711
16712 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16713
16714 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16715 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16716 environment and decoding all of the default-directory's to here
16717 from command-line.
16718 (command-line): Decode also argv[0].
16719
16720 * loadup.el: Error out if default-directory is a multibyte string
16721 when we are dumping.
16722
16723 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16724
16725 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16726
16727 * emacs-lisp/package.el (package-menu-mode)
16728 (package-menu--print-info, package-menu--archive-predicate):
16729 Add Archive column to package list.
16730
16731 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16732
16733 Fix problems found while writing a test suite.
16734
16735 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16736 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16737 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16738 to nil when running original file name handler. Otherwise,
16739 there are problems with constructs like "$$FOO".
16740
16741 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16742 for `localname'.
16743
16744 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16745
16746 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16747
16748 * subr.el (version<, version<=, version=):
16749 Update docstrings with information for snapshot versions.
16750
16751 * helpers.el: New library for misc helper functions.
16752 (hash-table-keys): New function returning a list of hash keys.
16753 (hash-table-values): New function returning a list of hash values.
16754
16755 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16756
16757 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16758 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16759
16760 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16761
16762 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16763 checking whether point is after a 1-letter word.
16764
16765 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16766
16767 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16768 Don't infloop when expanding region over `multiline' syntax-type that
16769 begins a line (bug#15778).
16770
16771 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16774 Make it into a proper minor mode.
16775 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16776 (rectangle-mark-mode-map): New keymap.
16777 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16778
16779 2013-11-04 Glenn Morris <rgm@gnu.org>
16780
16781 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16782
16783 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16784
16785 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16786 (ruby-smie-rules): Use smie-rule-parent instead.
16787
16788 * emacs-lisp/smie.el (smie-rule-parent): Always call
16789 smie-indent-virtual rather than only for hanging tokens.
16790 (smie--next-indent-change): New helper command.
16791
16792 2013-11-03 Glenn Morris <rgm@gnu.org>
16793
16794 * Makefile.in (abs_srcdir): Remove.
16795 (emacs): Unset EMACSLOADPATH.
16796
16797 2013-11-02 Glenn Morris <rgm@gnu.org>
16798
16799 * Makefile.in (EMACS): Use a relative filename.
16800 (abs_top_builddir): Remove.
16801 (custom-deps, finder-data, autoloads): Use --chdir.
16802
16803 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16804
16805 Use relative filenames in TAGS files.
16806 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16807 (lisptagsfiles4, TAGS): Use relative file names.
16808 (TAGS-LISP): Remove.
16809 (maintainer-clean): No more TAGS-LISP file.
16810
16811 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16812 (lisptagsfiles4): Use absolute filenames again.
16813 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16814 Remove all *loaddefs files, not just the first. Remove esh-groups.
16815 (maintainer-clean): Delete TAGS, TAGS-LISP.
16816
16817 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16818
16819 * emacs-lisp/package.el (package-version-join):
16820 Recognize snapshot versions.
16821
16822 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16823
16824 * subr.el (version-regexp-alist): Add support for snapshot versions.
16825
16826 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16827
16828 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16829 New function, replacement for `smie-rule-parent' for when we want to
16830 skip over our direct parent if it's an assignment token..
16831 (ruby-smie-rules): Use it.
16832
16833 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16834
16835 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16836 unconditionally. Remove now unnecessary forward declarations.
16837 Remove XEmacs-specific setup.
16838 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16839 (ruby-font-lock-syntactic-keywords)
16840 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16841 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16842 (ruby-here-doc-end-syntax): Remove.
16843 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16844 defined as function.
16845
16846 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16847
16848 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16849
16850 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16851
16852 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16853 table and abbrev table, `define-derived-mode' does that for us
16854 anyway.
16855
16856 2013-11-01 Glenn Morris <rgm@gnu.org>
16857
16858 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16859 files is atomic for some time, so no parallel compilation issues).
16860
16861 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16862
16863 * faces.el (face-x-resources): Add :distant-foreground.
16864 (region): Use :distant-foreground for gtk and ns.
16865
16866 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16867
16868 Allow multiple bibliographies when BibLaTeX is used rather than
16869 BibTeX.
16870 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16871 (reftex-locate-bibliography-files): Us it.
16872
16873 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16874
16875 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16876 allow comments in pbm files.
16877
16878 * term/w32-win.el (dynamic-library-alist): Support newer versions
16879 of libjpeg starting with v7: look only for the DLL from the
16880 version against which Emacs was built.
16881 Support versions of libpng beyond 1.4.x.
16882 Support libtiff v4.x.
16883
16884 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16885
16886 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16887 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16888 Add property :safe.
16889 (ruby-deep-arglist): Add property :type.
16890
16891 2013-10-31 Glenn Morris <rgm@gnu.org>
16892
16893 * Makefile.in (custom-deps, finder-data): No need to setq the target
16894 variables, we are in the right directory and the defaults work fine.
16895
16896 2013-10-30 Glenn Morris <rgm@gnu.org>
16897
16898 * Makefile.in (autoloads): Do not use abs_lisp.
16899
16900 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16901 `newline' does not respect `standard-output', so use `princ'.
16902
16903 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16904
16905 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16906 * buff-menu.el (Buffer-menu--unmark): New function.
16907 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16908
16909 2013-10-30 Glenn Morris <rgm@gnu.org>
16910
16911 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16912
16913 * emacs-lisp/package.el (lm-homepage): Declare.
16914
16915 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16916 Fix doc typos.
16917
16918 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16919
16920 * Makefile.in (finder-data, autoloads, update-subdirs)
16921 (compile-main, compile-clean, compile-always, bootstrap-clean):
16922 Check return value of cd.
16923 (compile-calc): Remove.
16924
16925 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16926
16927 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16928
16929 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16930 (byte-compile-and-folded): New function.
16931 (=, <, >, <=, >=): Use it.
16932
16933 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16934 (path-separator, null-device, buffer-file-coding-system)
16935 (lpr-headers-switches): Check system-type before modifying them.
16936 (find-buffer-file-type-coding-system): Mark obsolete.
16937 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16938 find-file-not-found-set-buffer-file-coding-system.
16939 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16940 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16941 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16942 (w32-direct-print-region-helper, w32-direct-print-region-function)
16943 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16944 * startup.el (normal-top-level-add-subdirs-to-load-path):
16945 * ps-print.el (ps-print-region-function):
16946 * lpr.el (print-region-function): Use new name.
16947
16948 * subr.el (custom-declare-variable-early): Remove function.
16949 (custom-declare-variable-list): Remove var.
16950 (error, user-error): Remove `while' loop.
16951 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16952 (user-emacs-directory-warning, locate-user-emacs-file):
16953 Move to files.el.
16954 * simple.el (read-quoted-char-radix, read-quoted-char):
16955 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16956 Move from subr.el.
16957 * custom.el (custom-declare-variable-list): Don't process
16958 custom-declare-variable-list.
16959
16960 * progmodes/python.el (python-shell-get-buffer): New function.
16961 (python-shell-get-process): Use it.
16962 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16963 Python which encoding was used. Don't split-string since we only care
16964 about the first line. Return the temp-file, if applicable.
16965 (python-shell-send-region): Tell compile.el how to turn locations in
16966 the temp-file into locations in the source buffer.
16967
16968 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * subr.el (undefined): Add missing behavior from the C code for
16971 unbound keys.
16972
16973 * rect.el: Use lexical-binding. Add new rectangular region support.
16974 (rectangle-mark): New command.
16975 (rectangle--region): New var.
16976 (deactivate-mark-hook): Reset rectangle--region.
16977 (rectangle--extract-region, rectangle--insert-for-yank)
16978 (rectangle--highlight-for-redisplay)
16979 (rectangle--unhighlight-for-redisplay): New functions.
16980 (region-extract-function, redisplay-unhighlight-region-function)
16981 (redisplay-highlight-region-function): Use them to handle
16982 rectangular region.
16983 * simple.el (region-extract-function): New var.
16984 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16985 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16986 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16987 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16988 (redisplay-unhighlight-region-function)
16989 (redisplay-highlight-region-function): New vars.
16990 (redisplay--update-region-highlight): New function.
16991 (pre-redisplay-function): Use it.
16992 (exchange-point-and-mark): Don't deactivate the mark before
16993 reactivate-it anyway.
16994 * comint.el (comint-kill-region): Remove yank-handler argument.
16995 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16996 (delete-char): Remove property, since it's now part of their
16997 default behavior.
16998 (self-insert-iso): Remove property since this command doesn't exist.
16999
17000 * emacs-lisp/package.el (package--download-one-archive)
17001 (describe-package-1): Don't query the user about final newline.
17002
17003 2013-10-29 Daniel Colascione <dancol@dancol.org>
17004
17005 * net/tramp.el (tramp-methods): Document new functionality.
17006 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
17007 tramp-hostname-checker if method provides one instead of scanning
17008 argument list for "%h" to decide hostname acceptability.
17009
17010 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
17011
17012 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17013 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17014 Handle COPY-CONTENTS. (Bug#15737)
17015
17016 2013-10-28 Daiki Ueno <ueno@gnu.org>
17017
17018 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17019 Document that this option has no effect with GnuPG 2.0 (bug#15552).
17020
17021 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
17022
17023 * image.el (defimage, image-load-path): Doc fixes.
17024
17025 2013-10-27 Alan Mackenzie <acm@muc.de>
17026
17027 Indent statements in macros following "##" correctly.
17028 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17029 Modify the "#" arm of a cond form to handle "#" and "##" operators.
17030
17031 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
17032
17033 * linum.el (linum-update-window): Fix boundary test (bug#13446).
17034
17035 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
17036
17037 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
17038 after `=' is probably a new expression.
17039
17040 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17041
17042 * man.el (man-imenu-title): New option.
17043 (Man-mode-map): Add menu. (Bug#15722)
17044 (Man-mode): Add imenu to menu.
17045
17046 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
17047
17048 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
17049 specific in what the first arg can be: a non-keyword word,
17050 string/regexp/percent literal opener, opening paren, or unary
17051 operator followed directly by word.
17052
17053 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17054
17055 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
17056 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
17057 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
17058 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
17059 Remove vars, they do not apply any more.
17060 (prolog-mode-abbrev-table): Remove redundant declaration.
17061 (prolog-upper-case-string, prolog-lower-case-string): Remove.
17062 (prolog-use-smie): Remove.
17063 (prolog-smie-rules): Add indentation rule for the if-then-else layout
17064 supported by prolog-electric-if-then-else-flag.
17065 (prolog-mode-variables, prolog-menu): Use setq-local.
17066 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
17067 Remove binding to `Backspace' since this key doesn't exist anyway.
17068 Remove bindings for electric self-inserting keys.
17069 (prog-mode): Assume it's defined.
17070 (prolog-post-self-insert): New function.
17071 (prolog-mode): Use it.
17072 (prolog-indent-line, prolog-indent-level)
17073 (prolog-find-indent-of-matching-paren)
17074 (prolog-indentation-level-of-line, prolog-goto-comment-column)
17075 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
17076 (prolog-goto-next-paren, prolog-in-string-or-comment)
17077 (prolog-tokenize, prolog-inside-mline-comment)
17078 (prolog-find-start-of-mline-comment): Remove functions.
17079 (prolog-find-unmatched-paren, prolog-clause-end)
17080 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
17081 (prolog-electric--if-then-else): Rename from
17082 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
17083 (prolog-tokenize-searchkey): Remove const.
17084 (prolog-clause-info): Use forward-sexp.
17085 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
17086 (prolog-electric-if-then-else): Remove commands.
17087 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
17088 for use in post-self-insert-hook.
17089 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
17090 for use in post-self-insert-hook.
17091 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
17092 for use in post-self-insert-hook.
17093 (prolog-electric--underscore): Rename from prolog-electric--underscore;
17094 adapt it for use in post-self-insert-hook.
17095
17096 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
17097
17098 * emacs-lisp/ert.el (ert-run-tests-interactively):
17099 Use `completing-read'. (Bug#9756)
17100
17101 2013-10-25 Eli Zaretskii <eliz@gnu.org>
17102
17103 * simple.el (line-move): Call line-move-1 instead of
17104 line-move-visual when the current window hscroll is zero, but
17105 temporary-goal-column indicates we will need to hscroll as result
17106 of the movement. (Bug#15712)
17107
17108 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
17109
17110 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
17111 capitalization. Use :visible instead of :active.
17112 Fix `ruby-indent-exp' reference. Add menu items for the generic
17113 commands that are used with SMIE.
17114 (ruby-do-end-to-brace): Insert space after `{'.
17115
17116 2013-10-25 John Anthony <john@jo.hnanthony.com>
17117
17118 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
17119
17120 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
17121
17122 2013-10-25 Glenn Morris <rgm@gnu.org>
17123
17124 * vc/vc.el (vc-print-log): Don't use a working revision unless
17125 one was explicitly specified. (Bug#15322)
17126
17127 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17128
17129 * subr.el (add-to-list): Preserve return value in compiler-macro
17130 (bug#15692).
17131
17132 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17133
17134 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
17135 result. Ask user to retry using '-all' flag. (Bug#15701)
17136
17137 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17138
17139 * emacs-lisp/smie.el: New smie-config system.
17140 (smie-config): New defcustom.
17141 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
17142 (smie-config-guess, smie-config-save): New commands.
17143 (smie-config--mode-local, smie-config--buffer-local)
17144 (smie-config--trace, smie-config--modefuns): New vars.
17145 (smie-config--advice, smie-config--mode-hook)
17146 (smie-config--setter, smie-config-local, smie-config--get-trace)
17147 (smie-config--guess-value, smie-config--guess): New functions.
17148 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
17149 text properties. Treat "string fence" syntax like string syntax.
17150
17151 * progmodes/sh-script.el (sh-use-smie): Change default.
17152 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17153 (sh-var-value): Simplify by CSE.
17154 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
17155 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
17156 is used.
17157 (sh-guess-basic-offset): Use cl-incf.
17158 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
17159
17160 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
17161
17162 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
17163 (bug#15699).
17164
17165 2013-10-24 Glenn Morris <rgm@gnu.org>
17166
17167 * Makefile.in (abs_top_srcdir): Remove.
17168 (update-subdirs): Use relative path to update-subdirs.
17169
17170 2013-10-24 Eli Zaretskii <eliz@gnu.org>
17171
17172 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
17173 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
17174 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
17175 Call unmsys--file-name before expand-file-name, not after it.
17176
17177 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
17178
17179 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
17180 (ert-test-skipped): New error.
17181 (ert-skip, ert-stats-skipped): New defuns.
17182 (ert--skip-unless): New macro.
17183 (ert-test-skipped): New struct.
17184 (ert--run-test-debugger, ert-test-result-type-p)
17185 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
17186 (ert--stats-set-test-and-result, ert-char-for-test-result)
17187 (ert-string-for-test-result, ert-run-tests-batch)
17188 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
17189 Handle skipped tests. (Bug#9803)
17190
17191 2013-10-24 Glenn Morris <rgm@gnu.org>
17192
17193 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
17194
17195 * Makefile.in (abs_top_srcdir): New, set by configure.
17196 (update-subdirs): Correct build-aux location.
17197
17198 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
17199
17200 * vc/vc.el (vc-print-root-log): Always set `default-directory'
17201 value, whether we could auto-deduce `backend', or not.
17202
17203 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
17204 with parameters" example. Simplify the "is it block or is it
17205 hash" check, but also make it more thorough.
17206
17207 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
17208
17209 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
17210
17211 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17214 { if it is hanging.
17215
17216 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
17217 :before ";".
17218
17219 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
17220
17221 * progmodes/compile.el (compilation-directory-matcher)
17222 (compilation-page-delimiter):
17223 Support GNU Make-4.0 directory quoting. (Bug#15678)
17224
17225 2013-10-23 Leo Liu <sdl.web@gmail.com>
17226
17227 * ido.el (ido-tidy): Handle read-only text.
17228
17229 2013-10-23 Glenn Morris <rgm@gnu.org>
17230
17231 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
17232 (emacs, compile, compile-always):
17233 Quote entities that might contain whitespace.
17234 (custom-deps, finder-data, autoloads): Use abs_lisp.
17235 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17236 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17237 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
17238
17239 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
17240
17241 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
17242 Use `following-char'.
17243
17244 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
17247 * progmodes/ruby-mode.el (ruby-smie-rules):
17248 Remove corresponding workaround. Fix indentation rule of ";" so it
17249 also applies when ";" is the parent.
17250
17251 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
17252
17253 * frame.el (display-screens, display-pixel-height)
17254 (display-pixel-width, display-mm-width, display-backing-store)
17255 (display-save-under, display-planes, display-color-cells)
17256 (display-visual-class, display-monitor-attributes-list):
17257 Mention the optional ‘display’ argument in doc strings.
17258
17259 2013-10-22 Michael Gauland <mikelygee@amuri.net>
17260
17261 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17262 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
17263
17264 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17265
17266 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17267 TODO. Add "." after " @ ".
17268 (ruby-smie--at-dot-call): New function. Checks if point at method
17269 call with explicit target.
17270 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17271 to the method name tokens when it precedes them.
17272 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17273 (ruby-smie-rules): Add rule for indentation before and after "."
17274 token.
17275
17276 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17277
17278 * textmodes/remember.el (remember-diary-extract-entries):
17279 Avoid add-to-list.
17280
17281 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17282 an instruction.
17283
17284 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17285
17286 * progmodes/ruby-mode.el (ruby-smie-grammar):
17287 Add (almost) all infix operators.
17288 (ruby-smie--implicit-semi-p): Add new operator chars.
17289
17290 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17291 `smie-down-list'.
17292 (ruby-smie--args-separator-p): Check that there's no newline
17293 between method call and its arguments.
17294
17295 2013-10-20 Alan Mackenzie <acm@muc.de>
17296
17297 Allow comma separated lists after Java "implements".
17298
17299 * progmodes/cc-engine.el (c-backward-over-enum-header):
17300 Parse commas.
17301 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17302 from a "disallowed" list in enum fontification.
17303
17304 2013-10-20 Johan Bockgård <bojohan@gnu.org>
17305
17306 * startup.el (default-frame-background-mode): Remove unused defvar.
17307
17308 * progmodes/verilog-mode.el (verilog-mode): Don't set
17309 comment-indent-function globally.
17310
17311 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
17312
17313 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17314 Move Info menu item creation to ns-win.el.
17315
17316 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17317 in menu bar.
17318
17319 * menu-bar.el: Move GNUstep specific menus...
17320
17321 * term/ns-win.el (ns-initialize-window-system): ... to here.
17322
17323 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17324
17325 * simple.el (newline): Only run post-self-insert-hook when
17326 called interactively.
17327
17328 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17329
17330 * icomplete.el (icomplete-with-completion-tables): Add :version.
17331
17332 2013-10-19 Alan Mackenzie <acm@muc.de>
17333
17334 Fix fontification bugs with constructors and const.
17335
17336 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17337 CASE 2) Remove the check for the absence of a suffix construct
17338 after a function declaration with only types (no identifiers) in
17339 the parentheses. Also, accept a function declaration with just a
17340 type inside the parentheses, if this type can be positively
17341 recognised as such, or if a prefix keyword like "explicit" nails
17342 down the construct as a declaration.
17343
17344 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17345
17346 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17347 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17348 the problem whereby selecting a menu item that leads to a
17349 minibuffer prompt moves the cursor out of the minibuffer window,
17350 making it hard to type at the prompt. Suggested by Stefan Monnier
17351 <monnier@iro.umontreal.ca>.
17352
17353 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17354
17355 * menu-bar.el: Don't make Services menu.
17356
17357 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17358
17359 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17360 (ffap-alist): Use ffap-c++-mode for c++-mode.
17361 (ffap-c++-path): New variable.
17362 (ffap-c++-mode): New function.
17363
17364 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17365
17366 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17367
17368 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17369
17370 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17371 introduced on 2013-09-08, which results in an infinite loop
17372 requesting a password.
17373
17374 2013-10-18 Glenn Morris <rgm@gnu.org>
17375
17376 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17377
17378 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17379
17380 Sync with upstream verilog-mode revision 1a6ecec7.
17381 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17382 (verilog-mode-release-date): Remove.
17383 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17384 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17385 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17386 (verilog-auto-tieoff-ignore-regexp)
17387 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17388 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17389 (verilog-signals-with, verilog-dir-cache-preserving)
17390 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17391 Doc fixes.
17392 (verilog-case-fold): New option, to control case folding in
17393 regexp searches, bug597.
17394 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17395 (verilog-string-match-fold, verilog-in-paren-count)
17396 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17397 (verilog-at-close-struct-p): New functions.
17398 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17399 (verilog-forward-sexp, verilog-set-auto-endcomments)
17400 (verilog-leap-to-case-head): Handle "unique0" case.
17401 (verilog-in-constraint-re): New constant.
17402 (verilog-keywords, verilog-type-font-keywords):
17403 Add some SystemVerilog 1800-2012 keywords.
17404 (verilog-label-be): Remove unimplemented argument, bug669.
17405 (verilog-batch-execute-func): When batch expanding clear
17406 create-lockfiles to prevent spurious user locks when a file ends
17407 up not changing.
17408 (verilog-calculate-indent, verilog-calc-1)
17409 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17410 (verilog-do-indent): Fix indentation of nested constraints
17411 and structures.
17412 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17413 (verilog-auto-inst-param): Use verilog-string-match-fold.
17414 (verilog-read-inst-module-matcher):
17415 Fix AUTOINST on gate primitives with #1.
17416 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17417 Reads all user-defined typed variables.
17418 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17419 (verilog-signals-matching-regexp)
17420 (verilog-signals-not-matching-regexp, verilog-auto):
17421 Respect verilog-case-fold.
17422 (verilog-diff-report): Fix line count.
17423 (verilog-auto-assign-modport): Remove unused local `modi'.
17424 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17425 better handle multidimensional arrays.
17426 Fix packed array ports misadding bit index in AUTOINST, bug637.
17427 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17428 to not double-declare existing outputs and inputs, respectively.
17429 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17430 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17431 (verilog-sk-uvm-component): New skeleton.
17432 (verilog-submit-bug-report): Add verilog-case-fold,
17433 remove verilog-mode-release-date.
17434
17435 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17436
17437 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17438 as before.
17439
17440 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17441
17442 * textmodes/remember.el (remember): Set buffer-offer-save in
17443 remember buffers (bug#13566).
17444
17445 2013-10-18 Daniel Colascione <dancol@dancol.org>
17446
17447 When evaluating forms in ielm, direct standard output to ielm
17448 buffer. Add new ielm-return-for-effect command. Remove trailing
17449 whitespace throughout.
17450
17451 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17452 (ielm-return-for-effect): New command.
17453 (ielm-send-input): Accept optional `for-effect' parameter.
17454 (ielm-eval-input): Accept optional `for-effect' parameter.
17455 Bind `standard-output' to stream we create using
17456 `ielm-standard-output-impl'. Suppress printing result when
17457 `for-effect'.
17458 (ielm-standard-output-impl): New function.
17459 (inferior-emacs-lisp-mode): Explain new features in documentation.
17460
17461 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17462
17463 Code cleanup.
17464
17465 * net/tramp.el (tramp-debug-message): Do not check for connection
17466 buffer.
17467 (tramp-message): Use "vector" connection property.
17468
17469 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17470 (tramp-equal-remote, tramp-eshell-directory-change)
17471 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17472 (tramp-adb-handle-rename-file)
17473 * net/tramp-cmds.el (tramp-list-remote-buffers)
17474 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17475 * net/tramp-compat.el (tramp-compat-process-running-p)
17476 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17477 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17478 (tramp-gvfs-handle-rename-file)
17479 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17480 (tramp-set-file-uid-gid)
17481 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17482 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17483 of `file-remote-p'.
17484
17485 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17486 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17487 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17488 (tramp-gw-open-network-stream): Suppress unrelated traces.
17489
17490 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17491 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17492 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17493 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17494 connection property.
17495
17496 * net/tramp-cache.el (top): Suppress traces when reading
17497 persistency file.
17498
17499 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17500 Refactor common code. Improve debug message.
17501 (tramp-maybe-open-connection)
17502 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17503 connection buffer too early.
17504
17505 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17506 from `tramp-smb-actions-with-acl'.
17507 (tramp-smb-actions-set-acl): New defconst.
17508 (tramp-smb-handle-copy-directory)
17509 (tramp-smb-action-get-acl): New defun, renamed from
17510 `tramp-smb-action-with-acl'.
17511 (tramp-smb-action-set-acl): New defun.
17512 (tramp-smb-handle-set-file-acl): Rewrite.
17513
17514 2013-10-17 Glenn Morris <rgm@gnu.org>
17515
17516 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17517
17518 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17519
17520 * skeleton.el (skeleton-newline): Remove.
17521 (skeleton-internal-1): Use (insert "\n") instead.
17522
17523 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17524 let-bindings.
17525
17526 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17527 forward-sexp-function while we redo its job (bug#15613).
17528
17529 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17530
17531 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17532 represented by lists.
17533
17534 2013-10-16 Glenn Morris <rgm@gnu.org>
17535
17536 * tmm.el (tmm--history): New dynamic variable.
17537 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17538
17539 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17540
17541 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17542 (tramp-smb-errors): Add error messages.
17543 (tramp-smb-actions-with-acl): New defconst.
17544 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17545 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17546 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17547 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17548 (tramp-smb-get-stat-capability): Fix tests.
17549
17550 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17551
17552 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17553 (bug#15580).
17554
17555 2013-10-16 Glenn Morris <rgm@gnu.org>
17556
17557 * ansi-color.el (ansi-color-drop-regexp):
17558 Add 1J, 1K, 2K. (Bug#15617)
17559
17560 * files.el (hack-local-variables--warned-lexical): New.
17561 (hack-local-variables):
17562 Warn about misplaced lexical-binding. (Bug#15616)
17563
17564 * net/eww.el (eww-render): Always set eww-current-url,
17565 and update header line. (Bug#15622)
17566 (eww-display-html): ... Rather than just doing it here.
17567
17568 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17569
17570 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17571 menu navigations commands.
17572
17573 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17574
17575 * progmodes/subword.el (subword-capitalize): Be careful when
17576 the search for [[:alpha:]] fails (bug#15580).
17577
17578 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17579
17580 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17581 to commands that scroll the menu.
17582
17583 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17584
17585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17586 Handle methods ending with `?' and `!'.
17587
17588 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17589
17590 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17591 `japanese-cp932' to `cp932' to fix the problem where saving a
17592 source file written in Shift_JIS twice would end up having
17593 `coding: japanese-cp932' which Ruby could not recognize.
17594 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17595 in `ruby-encoding-map'.
17596 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17597 doesn't need to be explicitly declared in magic comment.
17598 (ruby-encoding-map): Add type declaration for better customize UI.
17599
17600 2013-10-13 Glenn Morris <rgm@gnu.org>
17601
17602 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17603 Occur buffers are read-only. http://bugs.debian.org/720775
17604
17605 * emacs-lisp/authors.el (authors-fixed-entries):
17606 Comment out old alpha stuff.
17607
17608 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17609
17610 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17611 to `after-save-hook' instead of `before-save-hook'.
17612 (ruby-mode-set-encoding): Use the value of coding system used to
17613 write the file. Call `basic-save-buffer-1' after modifying the
17614 buffer.
17615
17616 2013-10-13 Alan Mackenzie <acm@muc.de>
17617
17618 Fix indentation/fontification of Java enum with
17619 "implements"/generic.
17620
17621 * progmodes/cc-engine.el (c-backward-over-enum-header):
17622 Extracted from the three other places and enhanced to handle generics.
17623 (c-inside-bracelist-p): Uses new function above.
17624 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17625 function above.
17626 (c-font-lock-enum-tail): Uses new function above.
17627
17628 2013-10-13 Kenichi Handa <handa@gnu.org>
17629
17630 * international/mule-cmds.el (select-safe-coding-system): Remove a
17631 superfluous condition in chekcing whether a coding system is safe
17632 or not.
17633
17634 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17635
17636 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17637
17638 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17639
17640 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17641
17642 2013-10-13 Glenn Morris <rgm@gnu.org>
17643
17644 * menu-bar.el (menu-bar-update-buffers):
17645 Unify Buffers menu prompt string. (Bug#15576)
17646
17647 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17648
17649 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17650 Add some entries.
17651 (authors-fixed-entries): Use accented form of name.
17652
17653 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17654
17655 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17656 method calls (bug#15594).
17657 (ruby-smie--args-separator-p): New function.
17658 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17659 recognize paren-free method calls.
17660
17661 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17662 internals of universal-argument.
17663
17664 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17665
17666 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17667 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17668 dropped menu on second mouse click on the menu bar.
17669
17670 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17673 (explicit-shell-file-name): Declare.
17674 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17675 (sh-completion-at-point-function): New function.
17676 (sh-mode): Use it.
17677 (sh-smie--keyword-p): Remove unused argument.
17678 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17679 vars.
17680 (sh-set-shell): Always setup SMIE, even if we use the
17681 old indentation code.
17682
17683 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17684
17685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17686 cases of ? and =.
17687 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17688 predicate would return nil are almost non-existent.
17689 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17690
17691 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17692 cache also after commands that modify the buffer but don't move
17693 point.
17694
17695 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 * env.el (substitute-env-in-file-name): New function.
17698 (substitute-env-vars): Extend the meaning of the optional arg.
17699
17700 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17701
17702 * term/w32-win.el (dynamic-library-alist): Define separate lists
17703 of GIF DLLs for versions before and after 5.0.0 of giflib.
17704 (Bug#15531)
17705
17706 2013-10-10 João Távora <joaotavora@gmail.com>
17707
17708 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17709 not locked, use last revision and current source as
17710 defaults. (Bug#15569)
17711
17712 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17713
17714 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17715 menu-bar is hidden.
17716
17717 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17718
17719 * window.el (pop-to-buffer-same-window): Fix doc-string.
17720 (Bug#15492)
17721
17722 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17723
17724 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17725
17726 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17727
17728 * calendar/icalendar.el (icalendar-import-file):
17729 Fix interactive spec. (Bug#15482)
17730
17731 2013-10-10 Glenn Morris <rgm@gnu.org>
17732
17733 * desktop.el (desktop-save): Default to saving in .emacs.d,
17734 since PWD is no longer in desktop-path by default. (Bug#15319)
17735
17736 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17737 now that text mode has a menu with the same entry.
17738 (menu-bar-text-mode-auto-fill): Remove now unused func.
17739 * textmodes/text-mode.el (text-mode-map):
17740 Use auto-fill help text from menu-bar.el.
17741
17742 2013-10-10 John Anthony <john@jo.hnanthony.com>
17743
17744 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17745
17746 2013-10-09 Juri Linkov <juri@jurta.org>
17747
17748 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17749 instead of this-command-keys. Add universal-argument-more and
17750 universal-argument-minus to the list of prefix commands. (Bug#15568)
17751
17752 2013-10-09 Glenn Morris <rgm@gnu.org>
17753
17754 * vc/vc-svn.el (vc-svn-create-repo):
17755 Expand paths in file://... url. (Bug#15446)
17756
17757 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17758 Add some entries.
17759 (authors): Remove unused local variables.
17760
17761 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17762
17763 * profiler.el: Create a more coherent calltree from partial backtraces.
17764 (profiler-format): Hide the tail with `invisible' so that C-s can still
17765 find the hidden elements.
17766 (profiler-calltree-depth): Don't recurse so enthusiastically.
17767 (profiler-function-equal): New hash-table-test.
17768 (profiler-calltree-build-unified): New function.
17769 (profiler-calltree-build): Use it.
17770 (profiler-report-make-name-part): Indent the calltree less.
17771 (profiler-report-mode): Add visibility specs for profiler-format.
17772 (profiler-report-expand-entry, profiler-report-toggle-entry):
17773 Expand the whole subtree when provided with a prefix arg.
17774
17775 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17776
17777 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17778 iuwu-mod token.
17779 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17780 hanging iuwu-mod token.
17781 (ruby-smie--forward-token): Do not include a dot after a token in
17782 that token.
17783 (ruby-smie--backward-token): Likewise.
17784
17785 2013-10-08 Juri Linkov <juri@jurta.org>
17786
17787 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17788 to isearch-other-control-char.
17789 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17790 and isearch-post-command-hook to post-command-hook.
17791 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17792 and isearch-post-command-hook from post-command-hook.
17793 (isearch-unread-key-sequence)
17794 (isearch-reread-key-sequence-naturally)
17795 (isearch-lookup-scroll-key, isearch-other-control-char)
17796 (isearch-other-meta-char): Remove functions.
17797 (isearch-pre-command-hook, isearch-post-command-hook):
17798 New functions based on isearch-other-meta-char rewritten
17799 relying on the new behavior of overriding-terminal-local-map
17800 that does not replace the local keymaps any more. (Bug#15200)
17801
17802 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17803
17804 Support menus on text-mode terminals.
17805 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17806 functionality.
17807
17808 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17809
17810 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17811 Move here from mouse.el.
17812 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17813 and arrow keys.
17814 (tty-menu-navigation-map): New map for TTY menu navigation.
17815
17816 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17817
17818 * frame.el (display-mouse-p): Report text-mode mouse as available
17819 on w32.
17820 (display-popup-menus-p): Report availability if mouse is
17821 available; don't condition on window-system.
17822
17823 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17824 (tty-menu-selected-face): New faces.
17825
17826 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17829 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17830 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17831 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17832 New constants.
17833 (lisp-mode-variables): New `elisp' argument.
17834 (emacs-lisp-mode): Use it.
17835 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17836 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17837
17838 * indent.el: Use lexical-binding.
17839 (indent-region): Add progress reporter.
17840 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17841 last step.
17842 (indent--next-tab-stop): New function to implement this behavior.
17843 (tab-to-tab-stop, move-to-tab-stop): Use it.
17844
17845 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17846
17847 * indent.el (indent-rigidly--current-indentation): New function.
17848 (indent-rigidly-map): New var.
17849 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17850
17851 2013-10-08 Bastien Guerry <bzg@gnu.org>
17852
17853 * register.el (insert-register): Fix 2013-10-07 change.
17854
17855 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17856
17857 * progmodes/perl-mode.el: Use lexical-binding.
17858 Remove redundant :group args.
17859 (perl-nochange): Change default to be closer to other major modes's
17860 standard behavior.
17861 (perl-indent-line): Don't consider text on current line as a
17862 valid beginning of function from which to indent.
17863
17864 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17865 with more than one argument (bug#15538).
17866
17867 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17868
17869 * vc/pcvs.el: Use lexical-binding.
17870 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17871 environment of `eval'.
17872 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17873 than a list of expressions. Adjust callers.
17874 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17875
17876 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17877
17878 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17879 case of the dot in a chained method call being on the following line.
17880
17881 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * electric.el (electric-indent-inhibit): New var.
17884 (electric-indent-post-self-insert-function): Use it.
17885 * progmodes/python.el (python-mode): Set it.
17886
17887 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17888 open braces.
17889
17890 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17891
17892 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17893 (css-mode): Use electric-indent-chars.
17894
17895 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17896 (font-lock-beg, font-lock-end): Move before first use.
17897 (nxml-mode): Use syntax-propertize-function.
17898 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17899 (nxml-extend-after-change-region): Remove.
17900 * nxml/xmltok.el: Use lexical-binding.
17901 (xmltok-save): Use `declare'.
17902 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17903 * nxml/nxml-util.el: Use lexical-binding.
17904 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17905 Use `declare'.
17906 * nxml/nxml-ns.el: Use lexical-binding.
17907 (nxml-ns-save): Use `declare'.
17908 (nxml-ns-prefixes-for): Avoid add-to-list.
17909 * nxml/rng-match.el: Use lexical-binding.
17910 (rng--ipattern): Use cl-defstruct.
17911 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17912 (rng-cons-group-after, rng-subst-group-after)
17913 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17914 Use closures instead of `(lambda...).
17915
17916 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17917
17918 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17919 of BEG and END.
17920
17921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17922 Use `tramp-handle-insert-file-contents'.
17923 (tramp-gvfs-handle-insert-file-contents): Remove function.
17924
17925 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17926 Use `save-restriction' in order to keep markers.
17927
17928 * net/trampver.el: Update release number.
17929
17930 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17931
17932 * progmodes/compile.el (compilation-parse-errors):
17933 Use compilation--put-prop.
17934 (compilation--ensure-parse): Check compilation-multiline.
17935
17936 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17937
17938 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17939 lexical-binding.
17940
17941 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17942
17943 * progmodes/ruby-mode.el: Fix recently added tests.
17944 (ruby-smie-grammar): Add - and +.
17945 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17946 (ruby-smie--backward-id): New functions.
17947 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17948 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17949 any more.
17950
17951 2013-10-07 Leo Liu <sdl.web@gmail.com>
17952
17953 * register.el (register-preview-delay)
17954 (register-preview-functions): New variables.
17955 (register-read-with-preview, register-preview)
17956 (register-describe-oneline): New functions.
17957 (point-to-register, window-configuration-to-register)
17958 (frame-configuration-to-register, jump-to-register)
17959 (number-to-register, view-register, insert-register)
17960 (copy-to-register, append-to-register, prepend-to-register)
17961 (copy-rectangle-to-register): Use register-read-with-preview to
17962 read register. (Bug#15525)
17963
17964 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17965
17966 * net/network-stream.el (network-stream-open-starttls): Don't add
17967 --insecure if it's already present, because that gnutls-cli
17968 rejects getting that parameter twice.
17969
17970 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17971
17972 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17973 keyword, too.
17974
17975 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17976
17977 * newcomment.el (comment-use-global-state): Change default value
17978 to t, mark obsolete (Bug#15251).
17979 (comment-beginning): In addition to `comment-to-syntax', check the
17980 value of `comment-use-global-state'.
17981
17982 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17983
17984 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17985 (ruby-comment-column): Follow the global default, by default.
17986 (ruby-smie-grammar): Add assignment syntax.
17987 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17988 open-paren, a comma, or a \.
17989 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17990 and line continuations.
17991 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17992 followed by implicit semi-colons. Add rule for string concatenation
17993 and for indentation at BOB.
17994 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17995
17996 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17997 calling next-sexp, since next-token may have skipped chars which
17998 next-sexp doesn't know should be skipped!
17999
18000 2013-10-05 Leo Liu <sdl.web@gmail.com>
18001
18002 * progmodes/octave.el (octave-send-region):
18003 Call compilation-forget-errors.
18004
18005 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
18006
18007 * vc/vc-svn.el (vc-svn-find-admin-dir):
18008 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
18009 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
18010 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
18011 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
18012
18013 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
18014
18015 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
18016
18017 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
18018
18019 * subr.el (read-passwd): Hide chars even when called within a context
18020 where after-change-functions is disabled (bug#15501).
18021 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
18022 until we removed ourself from overriding-terminal-local-map.
18023
18024 2013-10-04 Leo Liu <sdl.web@gmail.com>
18025
18026 * progmodes/octave.el (inferior-octave-mode):
18027 Call compilation-forget-errors.
18028
18029 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
18030
18031 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
18032
18033 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
18034
18035 * net/secrets.el (secrets-create-collection): Add optional
18036 argument ALIAS. Use proper Label keyword. Append ALIAS as
18037 dbus-call-method argument. (Bug#15516)
18038
18039 2013-10-04 Leo Liu <sdl.web@gmail.com>
18040
18041 * progmodes/octave.el (inferior-octave-error-regexp-alist)
18042 (inferior-octave-compilation-font-lock-keywords): New variables.
18043 (compilation-error-regexp-alist)
18044 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
18045 (inferior-octave-mode): Use compilation-shell-minor-mode.
18046
18047 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
18048
18049 * minibuffer.el (completion--replace): Be careful that `end' might be
18050 a marker.
18051
18052 2013-10-03 Daiki Ueno <ueno@gnu.org>
18053
18054 Add support for package signature checking.
18055 * emacs-lisp/package.el (url-http-file-exists-p)
18056 (epg-make-context, epg-context-set-home-directory)
18057 (epg-verify-string, epg-context-result-for)
18058 (epg-signature-status, epg-signature-to-string)
18059 (epg-check-configuration, epg-configuration)
18060 (epg-import-keys-from-file): Declare.
18061 (package-check-signature): New user option.
18062 (package-unsigned-archives): New user option.
18063 (package-desc): Add `signed' field.
18064 (package-load-descriptor): Set `signed' field if .signed file exists.
18065 (package--archive-file-exists-p): New function.
18066 (package--check-signature): New function.
18067 (package-install-from-archive): Check package signature.
18068 (package--download-one-archive): Check archive signature.
18069 (package-delete): Remove .signed file.
18070 (package-import-keyring): New command.
18071 (package-refresh-contents): Import default keyring.
18072 (package-desc-status): Add "unsigned" status.
18073 (describe-package-1, package-menu--print-info)
18074 (package-menu-mark-delete, package-menu--find-upgrades)
18075 (package-menu--status-predicate): Support "unsigned" status.
18076
18077 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18078
18079 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
18080 the new compilation scheme using the new byte-codes.
18081
18082 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
18083 (byte-pophandler): New byte codes.
18084 (byte-goto-ops): Adjust accordingly.
18085 (byte-compile--use-old-handlers): New var.
18086 (byte-compile-catch): Use new byte codes depending on
18087 byte-compile--use-old-handlers.
18088 (byte-compile-condition-case--old): Rename from
18089 byte-compile-condition-case.
18090 (byte-compile-condition-case--new): New function.
18091 (byte-compile-condition-case): New function that dispatches depending
18092 on byte-compile--use-old-handlers.
18093 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
18094 when we can.
18095
18096 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
18097 Optimize under `condition-case' and `catch' if
18098 byte-compile--use-old-handlers is nil.
18099 (disassemble-offset): Handle new bytecodes.
18100
18101 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18102
18103 * subr.el (error): Use `declare'.
18104 (decode-char, encode-char): Use advertised-calling-convention instead
18105 of the docstring to discourage use of the `restriction' arg.
18106
18107 2013-10-03 Daiki Ueno <ueno@gnu.org>
18108
18109 * epg.el (epg-verify-file): Add a comment saying that it does not
18110 notify verification error as a return value nor a signal.
18111 (epg-verify-string): Ditto.
18112
18113 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18114
18115 * progmodes/compile.el (compilation-start): Try globbing the arg to
18116 `cd' (bug#15417).
18117
18118 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
18119
18120 Sync with Tramp 2.2.8.
18121
18122 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
18123 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
18124 * net/trampver.el: Update release number.
18125
18126 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
18127
18128 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18129 and default-process-coding-system for darwin only.
18130
18131 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18132
18133 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
18134
18135 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
18136
18137 * vc/vc-git.el (vc-git-grep): Disable pager.
18138
18139 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
18140
18141 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
18142 Use :url instead of :homepage, as per
18143 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
18144
18145 * newcomment.el (comment-beginning): When `comment-use-syntax' is
18146 non-nil, use `syntax-ppss' (Bug#15251).
18147
18148 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18149
18150 * progmodes/octave.el (inferior-octave-startup-file):
18151 Prefer ~/.emacs.d/init_octave.m.
18152
18153 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
18154
18155 * emacs-lisp/package.el (package-desc-from-define):
18156 Accept additional arguments as plist, convert them to an alist and store
18157 them in the `extras' slot.
18158 (package-generate-description-file): Convert extras alist back to
18159 plist and append to the `define-package' form arguments.
18160 (package--alist-to-plist): New function.
18161 (package--ac-desc): Add `extras' slot.
18162 (package--add-to-archive-contents): Check if the archive-contents
18163 vector is long enough, and if it is, pass its `extras' slot value
18164 to `package-desc-create'.
18165 (package-buffer-info): Call `lm-homepage', pass the returned value
18166 to `package-desc-from-define'.
18167 (describe-package-1): Render the homepage button (Bug#13291).
18168
18169 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18170 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
18171
18172 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
18173
18174 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18175 and default-process-coding-system to utf-8-unix (Bug#15402).
18176
18177 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
18178
18179 * subr.el (looking-back): Do not recommend using looking-back.
18180
18181 2013-09-28 Alan Mackenzie <acm@muc.de>
18182
18183 Fix indentation/fontification of Java enum with "implements".
18184
18185 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
18186 regexp which matches "implements", etc., in Java.
18187 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
18188 specifier clauses coming after "enum".
18189 * progmodes/cc-fonts.el (c-font-lock-declarations)
18190 (c-font-lock-enum-tail): Check for extra specifier clauses coming
18191 after "enum".
18192
18193 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
18194
18195 * faces.el (region): Change ns_selection_color to
18196 ns_selection_fg_color, add ns_selection_bg_color.
18197
18198 2013-09-28 Leo Liu <sdl.web@gmail.com>
18199
18200 * progmodes/octave.el (inferior-octave-completion-table)
18201 (inferior-octave-completion-at-point): Minor tweaks.
18202
18203 * textmodes/ispell.el (ispell-lookup-words): Rename from
18204 lookup-words. (Bug#15460)
18205 (lookup-words): Obsolete.
18206 (ispell-complete-word, ispell-command-loop): All uses changed.
18207
18208 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18209
18210 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
18211 (octave-mode-menu): Add octave-send-buffer.
18212 (octave-send-buffer): New function.
18213
18214 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18215
18216 * progmodes/octave.el (octave-mode-map): Add key binding for
18217 octave-lookfor.
18218 (octave-mode-menu): Add octave-lookfor.
18219 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
18220 octave-lookfor.
18221 (octave-lookfor): New function.
18222
18223 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
18226 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
18227 its convention.
18228 (cl--loop-set-iterator-function): New function.
18229 (cl-loop): Adjust accordingly, so as not to use cl-subst.
18230 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
18231 Bind `it' with `let' instead of substituting it with `cl-subst'.
18232 (cl--unused-var-p): New function.
18233 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
18234 Eliminate some unused variable warnings (bug#15326).
18235
18236 2013-09-27 Tassilo Horn <tsdh@gnu.org>
18237
18238 * doc-view.el (doc-view-scale-reset): Rename from
18239 `doc-view-reset-zoom-level'.
18240 (doc-view-scale-adjust): New command.
18241 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
18242 `doc-view-scale-adjust'.
18243
18244 2013-09-26 Tassilo Horn <tsdh@gnu.org>
18245
18246 * doc-view.el (doc-view-reset-zoom-level): New command.
18247 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
18248 zoom commands (bug#15466).
18249
18250 2013-09-26 Kenichi Handa <handa@gnu.org>
18251
18252 * international/quail.el (quail-help): Make it not a command.
18253
18254 2013-09-26 Leo Liu <sdl.web@gmail.com>
18255
18256 * minibuffer.el (completion-all-sorted-completions): Make args
18257 optional as they are.
18258
18259 2013-09-25 Daniel Colascione <dancol@dancol.org>
18260
18261 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18262 specs are and that they're not evaluated.
18263
18264 2013-09-24 Sam Steingold <sds@gnu.org>
18265
18266 * midnight.el (clean-buffer-list-kill-regexps)
18267 (clean-buffer-list-kill-buffer-names): Update for the new Man
18268 buffer naming which includes the object name.
18269
18270 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18271
18272 * eshell/esh-cmd.el (eshell--sep-terms): New var.
18273 (eshell-parse-command, eshell-parse-pipeline): Use it since
18274 eshell-separate-commands requires a dynamic scoped var.
18275 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18276
18277 2013-09-23 Leo Liu <sdl.web@gmail.com>
18278
18279 * autoinsert.el (auto-insert-alist): Make the value of
18280 lexical-binding match its file setting.
18281
18282 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
18283
18284 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18285
18286 * autoarg.el (autoarg-kp-digit-argument):
18287 * electric.el (Electric-command-loop):
18288 * kmacro.el (kmacro-step-edit-insert):
18289 Do not set universal-argument-num-events.
18290
18291 2013-09-22 Leo Liu <sdl.web@gmail.com>
18292
18293 * files.el (interpreter-mode-alist): Add octave.
18294
18295 2013-09-21 Alan Mackenzie <acm@muc.de>
18296
18297 C++: fontify identifier in declaration following "public:" correctly.
18298 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18299 to match "public", etc.
18300 (c-decl-prefix-re): Add ":" into the C++ value.
18301 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18302 bit. Add a check for a ":" preceded by "public", etc.
18303
18304 2013-09-21 Eli Zaretskii <eliz@gnu.org>
18305
18306 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18307 recognized by GDB 7.5 and later.
18308
18309 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
18310
18311 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18312
18313 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18314
18315 * subr.el (internal--call-interactively): New const.
18316 (called-interactively-p): Use it (bug#3984).
18317
18318 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
18319
18320 * vc/pcvs.el (cvs-mode-ignore):
18321 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18322 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18323
18324 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18325
18326 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18327 (eshell-ls-orig-insert-directory): Remove.
18328 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18329 (eshell-ls-use-in-dired): Use advice-add/remove.
18330 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18331 Add `orig-fun' arg for use in :around advice.
18332 Make it check (redundantly) eshell-ls-use-in-dired.
18333
18334 2013-09-19 Glenn Morris <rgm@gnu.org>
18335
18336 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18337
18338 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18339
18340 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18341
18342 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18343
18344 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18345 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18346 (tramp-get-remote-python): New defuns.
18347 (tramp-get-remote-uid-with-perl)
18348 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18349 contributed by yary <not.com@gmail.com> (tiny change).
18350 (tramp-get-remote-uid-with-python)
18351 (tramp-get-remote-gid-with-python): New defuns. Python code
18352 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18353 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18354
18355 2013-09-19 Glenn Morris <rgm@gnu.org>
18356
18357 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18358
18359 * eshell/em-unix.el (eshell-remove-entries):
18360 Rename argument to avoid name-clash with global `top-level'.
18361
18362 * eshell/esh-proc.el (eshell-kill-process-function):
18363 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18364 (eshell-reset-after-proc): Remove unused arg `proc'.
18365
18366 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18367 (directory-files-and-attributes): Mark unused arg.
18368
18369 * eshell/em-unix.el (eshell-remove-entries):
18370 Remove unused arg `path'. Update callers.
18371
18372 * eshell/em-hist.el (eshell-hist-parse-arguments):
18373 Remove unused arg `silent'. Update callers.
18374
18375 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18376 Fix (f)boundp mix-up.
18377
18378 * eshell/em-smart.el (eshell-smart-scroll-window)
18379 (eshell-disable-after-change):
18380 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18381
18382 2013-09-18 Alan Mackenzie <acm@muc.de>
18383
18384 Fix fontification of type when followed by "const".
18385 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18386 "known" types from fontification.
18387
18388 2013-09-18 Glenn Morris <rgm@gnu.org>
18389
18390 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18391 (chart-face-list): Drop Emacsen without display-color-p.
18392
18393 * net/eww.el (libxml-parse-html-region): Declare.
18394 (eww-display-html): Explicit error if no libxml2 support.
18395
18396 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18397
18398 * image.el (image-type-from-buffer, image-multi-frame-p):
18399 Remove --without-x warning/error.
18400
18401 * mouse.el (mouse-yank-primary):
18402 * term.el (term-mouse-paste):
18403 Reorder to silence --without-x compilation.
18404
18405 * mpc.el (doc-view-mode): Silence --without-x compilation.
18406
18407 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18408 Silence --without-x compilation.
18409
18410 * progmodes/gud.el (gud-find-file, gud-mode):
18411 Silence --without-x compilation.
18412 (tooltip-mode): Declare.
18413
18414 * wdired.el (dired-backup-overwrite): Remove declaration.
18415 (wdired-mode-map): Add doc string.
18416
18417 * custom.el (x-get-resource): Declare.
18418
18419 * eshell/em-glob.el (ange-cache):
18420 * eshell/em-unix.el (ange-cache): Declare.
18421
18422 * faces.el (x-display-list, x-open-connection, x-get-resource):
18423 Declare.
18424
18425 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18426 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18427 Declare.
18428
18429 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18430
18431 * net/gnutls.el (gnutls-log-level): Declare.
18432
18433 * net/shr.el (image-size, image-animate): Declare.
18434
18435 * simple.el (font-info): Declare.
18436
18437 * subr.el (x-popup-dialog): Declare.
18438
18439 * term/common-win.el (x-select-enable-primary)
18440 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18441 Declare.
18442
18443 * term/ns-win.el (x-handle-args): Declare.
18444
18445 * term/x-win.el (x-select-enable-clipboard): Declare.
18446
18447 * term/w32-win.el (create-default-fontset): Declare.
18448
18449 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18450 Declare.
18451
18452 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18453 (fit-frame-to-buffer): Explicit error if --without-x.
18454 (mouse-autoselect-window-select): Silence compiler.
18455
18456 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18457
18458 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18459 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18460 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18461 * eshell/esh-util.el (eshell-sublist):
18462 Remove unused local variables.
18463
18464 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18465
18466 * textmodes/two-column.el: Make 2C-split work for --without-x.
18467 (scroll-bar-columns): Autoload.
18468 (top-level): Require fringe when compiling.
18469
18470 2013-09-18 Leo Liu <sdl.web@gmail.com>
18471
18472 * subr.el (add-hook): Robustify to handle closure as well.
18473
18474 2013-09-17 Glenn Morris <rgm@gnu.org>
18475
18476 * simple.el (messages-buffer-mode-map): Unbind "g".
18477
18478 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18479
18480 * help-mode.el (help-mode-finish): Use derived-mode-p.
18481 Remove obsolete highlighting.
18482
18483 * play/life.el (life-mode): Use define-derived-mode. Derive from
18484 special-mode.
18485 (life): Let-bind inhibit-read-only.
18486 (life-setup): Avoid `setq'. Use `life-mode'.
18487
18488 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18489 which should not be needed any more.
18490 (package-menu-refresh, package-menu-describe-package): Use user-error.
18491
18492 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18493 (eshell-post-rewrite-command-hook): Make obsolete.
18494 (eshell-parse-command): Simplify.
18495 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18496 (eshell--cmd): Declare.
18497 (eshell-parse-pipeline): Remove unused var `final-p'.
18498 Pass a dynvar to eshell-post-rewrite-command-hook.
18499 Implement the new eshell-post-rewrite-command-function.
18500 (eshell-invoke-directly): Remove unused arg `input'.
18501 * eshell/esh-io.el (eshell-io-initialize):
18502 Use eshell-post-rewrite-command-function (bug#15399).
18503 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18504 adjust to new calling convention.
18505 (eshell-create-handles): Rename args to avoid clashing with dynvar
18506 `standard-output'.
18507
18508 2013-09-17 Glenn Morris <rgm@gnu.org>
18509
18510 * simple.el (messages-buffer-mode): New major mode.
18511 (messages-buffer): New function.
18512 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18513 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18514 (ert-run-test): Use `messages-buffer' function.
18515 (ert--force-message-log-buffer-truncation): Ignore read-only.
18516 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18517 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18518
18519 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18520
18521 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18522
18523 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18524
18525 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18526
18527 * icomplete.el (icomplete-in-buffer): New var.
18528 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18529 vars and replace them with functions.
18530 (icomplete-minibuffer-setup): Adjust accordingly.
18531 (icomplete--completion-table, icomplete--completion-predicate)
18532 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18533 New functions.
18534 (icomplete-forward-completions, icomplete-backward-completions)
18535 (icomplete-simple-completing-p, icomplete-exhibit)
18536 (icomplete-completions): Use them.
18537 (icomplete--in-region-buffer): New var.
18538 (icomplete--in-region-setup): New function.
18539 (icomplete-mode): Use it.
18540
18541 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18542 (bug#15379).
18543 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18544 return args and options.
18545 (eshell-eval-using-options): Use the new return value of
18546 eshell--do-opts to set the options's vars in their scope.
18547 (eshell--set-option): Rename from eshell-set-option.
18548 Add arg `opt-vals'.
18549 (eshell--process-option): Rename from eshell-process-option.
18550 Add arg `opt-vals'.
18551 (eshell--process-args): Use an `opt-vals' alist to store the options's
18552 values during their processing and return them additionally to the
18553 remaining args.
18554
18555 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18556
18557 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18558 continuation character an operator, as far as indentation is
18559 concerned (Bug#15369).
18560
18561 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18562
18563 * window.el (window--state-put-2): Don't process buffer state
18564 when buffer doesn't exist any more (Bug#15382).
18565
18566 2013-09-15 Glenn Morris <rgm@gnu.org>
18567
18568 * eshell/em-unix.el (eshell/rm):
18569 Make -f ignore missing files. (Bug#15373)
18570
18571 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18572 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18573 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18574
18575 2013-09-14 Glenn Morris <rgm@gnu.org>
18576
18577 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18578
18579 2013-09-13 Glenn Morris <rgm@gnu.org>
18580
18581 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18582 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18583
18584 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18585
18586 * frame.el (x-focus-frame): Mark as declared in frame.c.
18587
18588 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * ls-lisp.el: Use advice-add.
18591 (original-insert-directory): Remove.
18592 (ls-lisp--insert-directory): Rename from insert-directory; add
18593 `orig-fun' argument.
18594 (insert-directory): Advise.
18595
18596 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18597
18598 * term.el (term-emulate-terminal): Decode the command string
18599 before passing it to term-command-hook. (Bug#15337)
18600
18601 2013-09-13 Glenn Morris <rgm@gnu.org>
18602
18603 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18604
18605 * eshell/esh-ext.el (eshell-search-path): Declare.
18606
18607 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18608 Otherwise an error occurs if eshell-dirs module not loaded.
18609
18610 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18611
18612 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18613
18614 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18615 `tramp-check-proper-host'. Check for a valid method name.
18616
18617 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18618 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18619 * net/tramp-sh.el (tramp-maybe-open-connection):
18620 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18621
18622 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18623 also for hash values.
18624
18625 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 * term/ns-win.el (parameters): Don't declare as dynamic.
18628 (before-make-frame-hook): Don't add ineffective function.
18629
18630 * eshell/*.el: Use lexical-binding (bug#15231).
18631
18632 2013-09-12 Kenichi Handa <handa@gnu.org>
18633
18634 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18635
18636 2013-09-12 Glenn Morris <rgm@gnu.org>
18637
18638 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18639 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18640
18641 * subr.el (do-after-load-evaluation): Also give compiler warnings
18642 when obsolete files are used (except by obsolete files).
18643
18644 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18645 in the status output, assume `filename' is the first. (Bug#15322)
18646
18647 * vc/vc.el (vc-deduce-fileset): Doc fix.
18648
18649 * calc/calc-help.el (Info-goto-node):
18650 * progmodes/cperl-mode.el (Info-find-node):
18651 * vc/ediff.el (Info-goto-node): Update declarations.
18652
18653 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18654
18655 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18656 (vc-bzr-pull): Require vc-dispatcher.
18657 * vc/vc-git.el (vc-compilation-mode): Declare.
18658 (vc-git-pull): Require vc-dispatcher.
18659
18660 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18661
18662 * progmodes/octave.el (help-button-action): Declare.
18663
18664 * shell.el (shell-directory-tracker): Output error as a message
18665 rather than just returning it as a string.
18666 (shell-process-pushd): Remove useless use of message.
18667
18668 * dframe.el (dframe-timer-fn):
18669 * files.el (dir-locals-read-from-file):
18670 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18671 (mpc-format):
18672 * reveal.el (reveal-post-command):
18673 * saveplace.el (load-save-place-alist-from-file):
18674 * shell.el (shell-resync-dirs):
18675 * w32-common-fns.el (x-get-selection-value):
18676 * emacs-lisp/copyright.el (copyright-find-copyright):
18677 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18678 * emulation/tpu-edt.el (tpu-copy-keyfile):
18679 * play/bubbles.el (bubbles--mark-neighbourhood):
18680 * progmodes/executable.el
18681 (executable-make-buffer-file-executable-if-script-p):
18682 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18683
18684 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18685
18686 Cleanup Eshell to rely less on dynamic scoping.
18687 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18688 last-value, and ext-command here. Bind `args' closer to `body'.
18689 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18690 (eshell--args): Declare new dynamic var.
18691 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18692 last-value, and ext-command. Pass `args' to `body'.
18693 (eshell-process-args): Bind eshell--args.
18694 (eshell-set-option): Use eshell--args.
18695 * eshell/eshell.el (eshell): Use derived-mode-p.
18696 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18697 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18698 (eshell-glob-function): Declare.
18699 * eshell/esh-util.el: Require cl-lib.
18700 (eshell-read-hosts-file): Avoid add-to-list.
18701 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18702 `err'.
18703 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18704 Declare.
18705 (eshell/diff): Remove unused var `err'.
18706 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18707 `killflag'.
18708 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18709 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18710 first use.
18711 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18712 Move declaration before first use.
18713 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18714 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18715 rely on cl-return.
18716
18717 2013-09-12 Glenn Morris <rgm@gnu.org>
18718
18719 * term/ns-win.el (global-map): Remove binding for ispell-next,
18720 deleted 1999-05-29. (Bug#15357)
18721
18722 2013-09-11 Glenn Morris <rgm@gnu.org>
18723
18724 * echistory.el (electric-command-history): Remove call to deleted func.
18725
18726 * play/landmark.el (landmark-mode): Fix typos.
18727
18728 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18729 Check cvs-sort-ignore-file is bound.
18730
18731 * savehist.el: No need for cl when compiling on Emacs.
18732
18733 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18734
18735 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18736 (bug#15338).
18737 (eshell-self-insert-command, eshell-send-invisible):
18738 Remove unused argument.
18739 (eshell-handle-control-codes): Remove unused var `orig'.
18740 Avoid delete-backward-char.
18741
18742 * files.el (set-auto-mode): Simplify a bit further.
18743
18744 2013-09-11 Glenn Morris <rgm@gnu.org>
18745
18746 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18747 (set-auto-mode): Don't regexp-quote elements.
18748 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18749 * progmodes/cc-mode.el (interpreter-mode-alist):
18750 * progmodes/ruby-mode.el (interpreter-mode-alist):
18751 Revert previous change.
18752
18753 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18754
18755 * play/snake.el (snake-mode):
18756 * play/mpuz.el (mpuz-mode):
18757 * play/landmark.el (lm-mode):
18758 * play/blackbox.el (blackbox-mode):
18759 * play/5x5.el (5x5-mode):
18760 * obsolete/options.el (Edit-options-mode):
18761 * net/quickurl.el (quickurl-list-mode):
18762 * net/newst-treeview.el (newsticker-treeview-mode):
18763 * mail/rmailsum.el (rmail-summary-mode):
18764 * mail/mspools.el (mspools-mode):
18765 * locate.el (locate-mode):
18766 * ibuffer.el (ibuffer-mode):
18767 * emulation/ws-mode.el (wordstar-mode):
18768 * emacs-lisp/debug.el (debugger-mode):
18769 * array.el (array-mode):
18770 * net/eudc.el (eudc-mode): Use define-derived-mode.
18771 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18772 Move initialization into declaration.
18773 (mairix-searches-mode): Use define-derived-mode.
18774 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18775 (eudc-edit-hotlist): Use dolist.
18776 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18777 (Man-mode): Use define-derived-mode.
18778 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18779 (Info-edit-mode): Use define-derived-mode.
18780 (Info-cease-edit): Use Info-mode.
18781 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18782 into declaration.
18783 (eshell-mode): Use define-derived-mode.
18784 * chistory.el (command-history-mode-map): Rename from
18785 command-history-map.
18786 (command-history-mode): Use define-derived-mode.
18787 (Command-history-setup): Remove function.
18788 * calc/calc.el (calc-trail-mode-map): New var.
18789 (calc-trail-mode): Use define-derived-mode.
18790 (calc-trail-buffer): Set calc-main-buffer manually.
18791 * bookmark.el (bookmark-insert-annotation): New function.
18792 (bookmark-edit-annotation): Use it.
18793 (bookmark-edit-annotation-mode): Make it a proper major mode.
18794 (bookmark-send-edited-annotation): Use derived-mode-p.
18795 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18796 closer to its ideal place. Use \' to match EOS.
18797
18798 * profiler.el (profiler-calltree-find): Use function-equal.
18799
18800 2013-09-10 Glenn Morris <rgm@gnu.org>
18801
18802 * files.el (interpreter-mode-alist): Convert to regexps.
18803 (set-auto-mode): Adapt for this. (Bug#15306)
18804 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18805 Comment out unused variable.
18806 * progmodes/cc-mode.el (interpreter-mode-alist):
18807 * progmodes/python.el (interpreter-mode-alist):
18808 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18809 * progmodes/sh-script.el (sh-set-shell):
18810 No longer use interpreter-mode-alist to get list of shells.
18811
18812 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18813
18814 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * simple.el: Use set-temporary-overlay-map for universal-argument.
18817 (universal-argument-map): Don't use default-bindings (bug#15317).
18818 Bind switch-frame explicitly. Replace universal-argument-minus with
18819 a conditional binding.
18820 (universal-argument-num-events, saved-overriding-map): Remove.
18821 (restore-overriding-map): Remove.
18822 (universal-argument--mode): Rename from save&set-overriding-map,
18823 and rewrite.
18824 (universal-argument, universal-argument-more, negative-argument)
18825 (digit-argument): Adjust accordingly.
18826 (universal-argument-minus): Remove.
18827 (universal-argument-other-key): Remove.
18828
18829 * subr.el (with-demoted-errors): Add `format' argument.
18830
18831 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18832
18833 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18834 `tramp-cleanup-connection'.
18835
18836 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18837 parameters KEEP-DEBUG and KEEP-PASSWORD.
18838
18839 * net/tramp.el (tramp-file-name-handler):
18840 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18841 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18842 (tramp-maybe-open-connection):
18843 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18844 Use `tramp-cleanup-connection'.
18845
18846 * net/tramp-sh.el (tramp-maybe-open-connection):
18847 Catch 'uname-changed inside the progress reporter.
18848
18849 2013-09-10 Glenn Morris <rgm@gnu.org>
18850
18851 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18852
18853 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18854 returns "alternate access method" in mode (eg "-rw-r--r--.").
18855
18856 2013-09-08 Glenn Morris <rgm@gnu.org>
18857
18858 * saveplace.el (load-save-place-alist-from-file):
18859 Demote errors. (Bug#15305)
18860
18861 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18862
18863 Improve compatibility with older Emacsen, and XEmacs.
18864
18865 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18866 only if it is bound. It isn't for XEmacs.
18867 (with-tramp-progress-reporter): Do not let-bind `result'.
18868 This yields to scoping errors in XEmacs.
18869 (tramp-handle-make-auto-save-file-name): New function, moved from
18870 tramp-sh.el.
18871
18872 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18873 for `make-auto-save-file-name'.
18874 (tramp-adb--gnu-switches-to-ash):
18875 Use `tramp-compat-replace-regexp-in-string'.
18876
18877 * net/tramp-cache.el (tramp-cache-print): Call
18878 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18879
18880 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18881 bound. It isn't for XEmacs.
18882
18883 * net/tramp-compat.el (tramp-compat-copy-file):
18884 Catch `wrong-number-of-arguments' error.
18885 (tramp-compat-replace-regexp-in-string): New defun.
18886
18887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18888 for `make-auto-save-file-name'.
18889 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18890 `copy-file'.
18891 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18892 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18893 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18894
18895 * net/tramp-gw.el (tramp-gw-open-network-stream):
18896 Use `tramp-compat-replace-regexp-in-string'.
18897
18898 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18899 Call `tramp-handle-make-auto-save-file-name'.
18900 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18901 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18902 (tramp-sh-file-inotifywait-process-filter):
18903 Use `tramp-compat-replace-regexp-in-string'.
18904 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18905
18906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18907 for `make-auto-save-file-name'.
18908 (tramp-smb-handle-copy-directory):
18909 Call `tramp-compat-replace-regexp-in-string'.
18910 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18911 (tramp-smb-handle-copy-file): Improve error message.
18912 (tramp-smb-handle-rename-file): Rename directly only in case
18913 `newname' does not exist yet. This is a restriction of smbclient.
18914 (tramp-smb-maybe-open-connection): Rerun the function only when
18915 `auth-sources' is non-nil.
18916
18917 2013-09-08 Kenichi Handa <handa@gnu.org>
18918
18919 * international/characters.el: Set category "^" (Combining) for
18920 more characters.
18921
18922 2013-09-07 Alan Mackenzie <acm@muc.de>
18923
18924 Correctly fontify Java class constructors.
18925 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18926 in Java Mode.
18927 (c-recognize-typeless-decls): Set the Java value to t.
18928 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18929 While handling a "(", add a check for, effectively, Java, and handle a
18930 "typeless" declaration there.
18931
18932 2013-09-07 Roland Winkler <winkler@gnu.org>
18933
18934 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18935 field subtitle for entry type book.
18936
18937 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18938
18939 * minibuffer.el: Make minibuffer-complete call completion-in-region
18940 rather than other way around.
18941 (completion--some, completion-pcm--find-all-completions):
18942 Don't delay signals when debugging.
18943 (minibuffer-completion-contents): Beware fields within the
18944 minibuffer contents.
18945 (completion-all-sorted-completions): Use defvar-local.
18946 (completion--do-completion, completion--cache-all-sorted-completions)
18947 (completion-all-sorted-completions, minibuffer-force-complete):
18948 Add args `beg' and `end'.
18949 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18950 (minibuffer-complete): Use completion-in-region.
18951 (completion-complete-and-exit): New fun, extracted from
18952 minibuffer-complete-and-exit.
18953 (minibuffer-complete-and-exit): Use it.
18954 (completion--complete-and-exit): Rename from
18955 minibuffer--complete-and-exit.
18956 (completion-in-region--single-word): New function, extracted from
18957 minibuffer-complete-word.
18958 (minibuffer-complete-word): Use it.
18959 (display-completion-list): Make `common-substring' argument obsolete.
18960 (completion--in-region): Call completion--in-region-1 instead of
18961 minibuffer-complete.
18962 (completion-help-at-point): Pass boundaries to
18963 minibuffer-completion-help as args rather than via an overlay.
18964 (completion-pcm--string->pattern): Use `any-delim'.
18965 (completion-pcm--optimize-pattern): New function.
18966 (completion-pcm--pattern->regex): Handle `any-delim'.
18967 * icomplete.el (icomplete-forward-completions)
18968 (icomplete-backward-completions, icomplete-completions):
18969 Adjust calls to completion-all-sorted-completions and
18970 completion--cache-all-sorted-completions.
18971 (icomplete-with-completion-tables): Default to t.
18972 * emacs-lisp/crm.el (crm--current-element): Rename from
18973 crm--select-current-element. Don't put an overlay but return the
18974 boundaries instead.
18975 (crm--completion-command): Take two new args to bind to the boundaries.
18976 (crm-completion-help): Adjust accordingly.
18977 (crm-complete): Use completion-in-region.
18978 (crm-complete-word): Use completion-in-region--single-word.
18979 (crm-complete-and-exit): Use completion-complete-and-exit.
18980
18981 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18982
18983 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18984 than dynamically.
18985
18986 2013-09-06 Juri Linkov <juri@jurta.org>
18987
18988 * info.el (Info-display-images-node): When image file doesn't exist
18989 display text version of the image if it's provided in the Info file.
18990 Otherwise, display the location of missing image from SRC attribute.
18991 Add help-echo text property from ALT attribute. (Bug#15279)
18992
18993 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18994
18995 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18996 (edit-abbrevs-mode): Use define-derived-mode.
18997
18998 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18999 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
19000 that it's defined.
19001 (epa-key-list-mode, epa-key-mode, epa-info-mode):
19002 Use define-derived-mode.
19003
19004 * epg.el (epg-start-encrypt): Minor CSE simplification.
19005
19006 2013-09-06 William Xu <william.xwl@gmail.com>
19007
19008 * arc-mode.el: Add support for 7za (bug#15264).
19009 (archive-7z-program): New var.
19010 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
19011 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
19012 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
19013
19014 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
19015
19016 Remove URL syntax.
19017
19018 * net/tramp.el (tramp-syntax, tramp-prefix-format)
19019 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
19020 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
19021 (tramp-postfix-host-format, tramp-file-name-regexp)
19022 (tramp-completion-file-name-regexp)
19023 (tramp-completion-dissect-file-name)
19024 (tramp-handle-substitute-in-file-name): Remove 'url case.
19025 (tramp-file-name-regexp-url)
19026 (tramp-completion-file-name-regexp-url): Remove constants.
19027
19028 2013-09-06 Glenn Morris <rgm@gnu.org>
19029
19030 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
19031
19032 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
19033
19034 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
19035 keywords" below "here-doc beginnings" (Bug#15270).
19036
19037 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19038
19039 * subr.el (pop): Use `car-safe'.
19040 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
19041 to detect unused `pop' return value.
19042
19043 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
19044 var `block-regexp'.
19045 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
19046 (python-fill-string): Remove unused var `marker'.
19047 (python-skeleton-add-menu-items): Remove unused var `items'.
19048
19049 * international/mule-cmds.el: Require CL.
19050 (find-coding-systems-for-charsets): Avoid add-to-list.
19051 (sanitize-coding-system-list): New function, extracted from
19052 select-safe-coding-system-interactively.
19053 (select-safe-coding-system-interactively): Use it.
19054 (read-input-method-name): Accept symbols for `default'.
19055
19056 * emacs-lisp/advice.el (defadvice): Add indent rule.
19057
19058 2013-09-05 Daniel Hackney <dan@haxney.org>
19059
19060 * dired-x.el:
19061 * net/ange-ftp.el:
19062 * net/browse-url.el:
19063 * net/dbus.el:
19064 * net/eudc.el:
19065 * net/eudcb-ldap.el:
19066 * net/eww.el:
19067 * net/imap.el:
19068 * printing.el:
19069 * vc/ediff-diff.el:
19070 * vc/ediff-init.el:
19071 * vc/ediff-merg.el:
19072 * vc/ediff-mult.el:
19073 * vc/ediff-util.el:
19074 * vc/ediff-wind.el:
19075 * vc/ediff.el:
19076 * vc/emerge.el:
19077 * vc/pcvs.el:
19078 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
19079 byte compiler. Remove some unused let-bound variables.
19080
19081 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19082
19083 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
19084 a "ref-cell", since it gets better optimized (bug#14883).
19085
19086 2013-09-05 Glenn Morris <rgm@gnu.org>
19087
19088 * progmodes/cc-awk.el (c-forward-sws): Declare.
19089
19090 2013-09-04 Glenn Morris <rgm@gnu.org>
19091
19092 * generic-x.el [rul-generic-mode]: Require cc-mode.
19093 (c++-mode-syntax-table): Declare.
19094 (rul-generic-mode-syntax-table): Init in the defvar.
19095
19096 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19097
19098 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
19099 (vc-do-command, vc-set-async-update):
19100 * vc/vc-mtn.el (vc-mtn-dir-status):
19101 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
19102 (vc-hg-pull, vc-hg-merge-branch):
19103 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
19104 (vc-git-merge-branch):
19105 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
19106 (vc-cvs-dir-status-files):
19107 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
19108 (vc-bzr-dir-status-files):
19109 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
19110 * vc/vc-annotate.el: Use lexical-binding.
19111 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
19112 (vc-sentinel-movepoint): Declare.
19113 (vc-annotate): Don't use `goto-line'.
19114 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
19115 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
19116 (vc-sentinel-movepoint): Declare.
19117 * vc/vc-svn.el: Use lexical-binding.
19118 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
19119 * vc/vc-sccs.el:
19120 * vc/vc-rcs.el: Use lexical-binding.
19121
19122 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
19123 `deleted'. Don't drop errors silently.
19124
19125 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
19126
19127 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
19128
19129 * vc/vc.el (vc-ignore): Rewrite.
19130 (vc-default-ignore): New function.
19131 (vc-default-ignore-completion-table): Use find-ignore-file.
19132
19133 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
19134 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
19135 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
19136 Remove. Most code moved to vc.el.
19137
19138 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
19139
19140 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19141 * net/tramp-smb.el (tramp-smb-get-file-entries):
19142 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
19143 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
19144
19145 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
19146 Update call to it.
19147 (eww-change-select): Remove unused var `properties'.
19148 (eww-make-unique-file-name): Remove unused var `base'.
19149
19150 * finder.el (finder-compile-keywords): Don't mess with windows.
19151
19152 * calculator.el (calculator-funcall): Fix typo in last change.
19153
19154 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
19155
19156 * emacs-lisp/package.el (package-activate-1): Don't let a missing
19157 <pkg>-autoloads.el file stop us.
19158
19159 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
19160 warnings, and factor out common code.
19161
19162 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
19163
19164 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
19165 two-character operators and whether the character preceding them
19166 changes their meaning (Bug#15208).
19167
19168 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19169
19170 Format code sent to Python shell for robustness.
19171 * progmodes/python.el (python-shell-buffer-substring):
19172 New function.
19173 (python-shell-send-region, python-shell-send-buffer): Use it.
19174
19175 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
19176
19177 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
19178 * net/tramp.el (tramp-user-error): ... here.
19179 (tramp-find-method, tramp-check-proper-host)
19180 (tramp-dissect-file-name, tramp-debug-message)
19181 (tramp-handle-shell-command):
19182 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
19184
19185 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
19186
19187 2013-09-02 Martin Rudalics <rudalics@gmx.at>
19188
19189 * avoid.el (mouse-avoidance-point-position)
19190 (mouse-avoidance-too-close-p): Handle case where posn-at-point
19191 returns nil.
19192
19193 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19194
19195 * progmodes/python.el (python-shell-completion-get-completions):
19196 Drop use of deleted `comint-last-prompt-overlay'.
19197 (python-nav-if-name-main): New command.
19198
19199 2013-09-01 Glenn Morris <rgm@gnu.org>
19200
19201 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
19202 Avoid leading space in $wins. Otherwise the sed command used by
19203 eg compile-main ends up containing "/*.el". (Bug#15170)
19204
19205 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
19206
19207 2013-08-30 Glenn Morris <rgm@gnu.org>
19208
19209 * emacs-lisp/bytecomp.el (byte-recompile-directory):
19210 Fix is-this-a-directory logic. (Bug#15220)
19211
19212 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19213
19214 * textmodes/css-mode.el: Use SMIE.
19215 (css-smie-grammar): New var.
19216 (css-smie--forward-token, css-smie--backward-token)
19217 (css-smie-rules): New functions.
19218 (css-mode): Use them.
19219 (css-navigation-syntax-table): Remove var.
19220 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
19221 (css-indent-calculate, css-indent-line): Remove functions.
19222
19223 Misc changes to reduce use of `(lambda...); and other cleanups.
19224 * cus-edit.el: Use lexical-binding.
19225 (customize-push-and-save, customize-apropos)
19226 (custom-buffer-create-internal): Use closures.
19227 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
19228 * progmodes/ada-xref.el: Use setq.
19229 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
19230 * dframe.el: Use lexical-binding.
19231 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
19232 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
19233 * descr-text.el: Use lexical-binding.
19234 (describe-text-widget, describe-text-sexp, describe-property-list):
19235 Use closures.
19236 * comint.el (comint-history-isearch-push-state): Use a closure.
19237 * calculator.el: Use lexical-binding.
19238 (calculator-number-to-string): Make it work with lexical-binding.
19239 (calculator-funcall): Same and use cl-letf.
19240
19241 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
19242 (lisp--company-doc-string, lisp--company-location): New functions.
19243 (lisp-completion-at-point): Use them to improve Company support.
19244
19245 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
19246 params of lambda expressions.
19247 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
19248 (ruby-smie--opening-pipe-p): New function.
19249 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
19250 symbols and matched |...| for formal params.
19251 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
19252 from being treated as hanging. Handle "rescue".
19253
19254 2013-08-29 Glenn Morris <rgm@gnu.org>
19255
19256 * progmodes/cc-engine.el (c-pull-open-brace):
19257 Move definition before use.
19258
19259 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19260
19261 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19262 are immutable. Don't use `unsafe' any more.
19263 (cl--defsubst-expand): Don't substitute at the same time as keeping
19264 a residual unused let-binding. Don't use `unsafe' any more.
19265
19266 2013-08-29 Glenn Morris <rgm@gnu.org>
19267
19268 * calendar/cal-china.el (calendar-chinese-year-cache):
19269 Recenter on 2015.
19270
19271 * nxml/nxml-util.el (nxml-debug-clear-inside):
19272 Use cl-loop rather than loop.
19273
19274 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19275
19276 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19277
19278 2013-08-28 Glenn Morris <rgm@gnu.org>
19279
19280 * progmodes/antlr-mode.el: No need to require cc-mode twice.
19281
19282 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19283
19284 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19285
19286 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * simple.el (repeat-complex-command--called-interactively-skip):
19289 New function.
19290 (repeat-complex-command): Use it (bug#14136).
19291
19292 * progmodes/cc-mode.el: Minor cleanup of var declarations.
19293 (c-define-abbrev-table): Add `doc' argument.
19294 (c-mode-abbrev-table, c++-mode-abbrev-table)
19295 (objc-mode-abbrev-table, java-mode-abbrev-table)
19296 (idl-mode-abbrev-table, pike-mode-abbrev-table)
19297 (awk-mode-abbrev-table): Use it.
19298 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19299 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19300 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19301 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19302 Move initialization into the declaration; and remove any
19303 autoload cookie.
19304
19305 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19306 and dynamic let binding.
19307
19308 * vc/smerge-mode.el: Remove redundant :group args.
19309
19310 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19311 to load-path.
19312
19313 2013-08-28 Juri Linkov <juri@jurta.org>
19314
19315 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19316 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19317 (isearch-other-meta-char): Handle an undefined shifted printing
19318 character by downshifting it. (Bug#15200)
19319
19320 2013-08-28 Juri Linkov <juri@jurta.org>
19321
19322 * isearch.el (isearch-search): Change regexp error message for
19323 non-regexp searches. (Bug#15166)
19324
19325 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19326
19327 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19328 for portability to hosts where /bin/sh has problems.
19329
19330 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19331
19332 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19333
19334 2013-08-27 Juri Linkov <juri@jurta.org>
19335
19336 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19337 in the keyboard macro. (Bug#15126)
19338
19339 2013-08-27 Juri Linkov <juri@jurta.org>
19340
19341 * isearch.el (isearch-quote-char): Comment out converting unibyte
19342 to multibyte, thus syncing with its `quoted-insert' counterpart.
19343 (Bug#15166)
19344
19345 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19346
19347 * window.el (display-buffer-use-some-window): Add missing
19348 argument in call of get-largest-window (Bug#15185).
19349 Reported by Stephen Leake.
19350
19351 2013-08-27 Glenn Morris <rgm@gnu.org>
19352
19353 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19354
19355 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19356
19357 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19358 from a matcher-function unless there's no more matches (bug#15161).
19359
19360 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19361
19362 * minibuffer.el: Revert change from 2013-08-20.
19363
19364 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19365 with text property `tramp-default', if appropriate.
19366 (tramp-check-proper-host): New defun.
19367 (tramp-dissect-file-name): Do not check hostname. Revert change
19368 of 2013-03-18.
19369 (tramp-backtrace): Make VEC-OR-PROC optional.
19370
19371 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19372 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19373 * net/tramp-sh.el (tramp-maybe-open-connection):
19374 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19375 Apply `tramp-check-proper-host'.
19376
19377 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19378
19379 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19380 lambda expression in order to have `describe-variable' display it.
19381
19382 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19383
19384 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19385 BUF can be optional. (Bug#15186)
19386
19387 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19388
19389 * progmodes/flymake.el (flymake-get-real-file-name-function):
19390 Fix broken customization. (Bug#15184)
19391
19392 2013-08-25 Alan Mackenzie <acm@muc.de>
19393
19394 Improve indentation of bracelists defined by macros (without "=").
19395
19396 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19397 expansion begins with "{", regard it as bracelist when it doesn't
19398 contain a ";".
19399
19400 Parse C++ inher-intro when there's a template split over 2 lines.
19401
19402 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19403 rigorously the search for "class" etc. followed by ":".
19404
19405 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19406 random languages a regexp which never matches rather than nil.
19407
19408 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19409
19410 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19411 (c-awk-regexp-one-line-possibly-open-char-list-re)
19412 (c-awk-one-line-possibly-open-regexp-re)
19413 (c-awk-one-line-non-syn-ws*-re): Remove.
19414 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19415 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19416 (c-awk-space*-unclosed-regexp-/-re): New constants.
19417 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19418 aren't regexp delimiters.
19419
19420 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19421 handling for a rare situation in AWK Mode involving unterminated
19422 strings/regexps.
19423
19424 2013-08-23 Glenn Morris <rgm@gnu.org>
19425
19426 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19427
19428 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19429
19430 * files.el (create-file-buffer): If the result would begin with
19431 spaces, prepend a "|" instead of removing them. (Bug#15162)
19432
19433 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19434
19435 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19436 text-properties (bug#15155).
19437
19438 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19439 exist any more.
19440 (calc-keypad-redraw): Remove unused var `pad'.
19441 (calc-keypad-press): Remove unused var `menu'.
19442
19443 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19444
19445 * window.el (display-buffer-pop-up-frame):
19446 Call pop-up-frame-function with BUFFER current so `make-frame' will
19447 use it as the new frame's buffer (Bug#15133).
19448
19449 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * calendar/timeclock.el: Minor cleanups.
19452 (timeclock-ask-before-exiting, timeclock-use-display-time):
19453 Use `symbol'.
19454 (timeclock-modeline-display): Define as alias before the
19455 actual definition.
19456 (timeclock-mode-line-display): Use define-minor-mode.
19457 (timeclock-day-list-template): Make it a function, add an argument.
19458 (timeclock-day-list-required, timeclock-day-list-length)
19459 (timeclock-day-list-debt, timeclock-day-list-span)
19460 (timeclock-day-list-break): Adjust calls accordingly.
19461
19462 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19463
19464 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19465 Use read--expression so that completion works again.
19466
19467 2013-08-21 Sam Steingold <sds@gnu.org>
19468
19469 Add rudimentary inferior shell interaction
19470 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19471 (sh-set-shell): Reset it.
19472 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19473 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19474
19475 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19476
19477 * align.el: Use lexical-binding.
19478 (align-region): Simplify accordingly.
19479
19480 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19481
19482 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19483
19484 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19485 `non-essential' up.
19486
19487 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19488
19489 * net/tramp.el:
19490 * net/tramp-adb.el:
19491 * net/tramp-cmds.el:
19492 * net/tramp-ftp.el:
19493 * net/tramp-gvfs.el:
19494 * net/tramp-gw.el:
19495 * net/tramp-sh.el: Don't wrap external variable declarations by
19496 `eval-when-compile'.
19497
19498 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19499
19500 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19501 now that Emacs supports ImageMagick animations.
19502
19503 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19504
19505 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19506 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19507
19508 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19509
19510 * window.el (mouse-autoselect-window-select): Do autoselect when
19511 mouse pointer is on margin.
19512
19513 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19514
19515 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19516
19517 2013-08-16 Glenn Morris <rgm@gnu.org>
19518
19519 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19520 Handle "Remote Directory" response of some clients. (Bug#15058)
19521
19522 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19523 Tweak warning. (Bug#14926)
19524
19525 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19526 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19527
19528 * image-mode.el (image-mode-map): Add menu items to reverse,
19529 increase, decrease, reset animation speed.
19530 (image--set-speed, image-increase-speed, image-decrease-speed)
19531 (image-reverse-speed, image-reset-speed): New functions.
19532 (image-mode-map): Add bindings for speed commands.
19533
19534 * image.el (image-animate-get-speed, image-animate-set-speed):
19535 New functions.
19536 (image-animate-timeout): Respect image :speed property.
19537
19538 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19541 previous line (bug#15101).
19542 (debugger-eval-expression, debugger-record-expression):
19543 Use read--expression (bug#15102).
19544
19545 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19546
19547 Remove byte compiler warnings, visible when compiling with
19548 `byte-compile-force-lexical-warnings' set to t.
19549
19550 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19551 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19552 (tramp-handle-unhandled-file-name-directory)
19553 (tramp-handle-file-notify-add-watch, tramp-action-login)
19554 (tramp-action-succeed, tramp-action-permission-denied)
19555 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19556 arguments with "_".
19557
19558 * net/tramp-adb.el (tramp-adb-parse-device-names)
19559 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19560 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19561 (tramp-adb-handle-file-truename): Remove unused arguments.
19562
19563 * net/tramp-cache.el (tramp-flush-directory-property)
19564 (tramp-flush-connection-property, tramp-list-connections)
19565 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19566
19567 * net/tramp-compat.el (tramp-compat-make-temp-file):
19568 Rename FILENAME to F.
19569
19570 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19571 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19572 (tramp-zeroconf-parse-workstation-device-names)
19573 (tramp-zeroconf-parse-webdav-device-names)
19574 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19575
19576 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19577 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19578
19579 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19580 arguments.
19581 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19582 (tramp-sh-handle-insert-file-contents-literally)
19583 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19584 with "_".
19585 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19586 Remove unused variables.
19587
19588 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19589 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19590 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19591
19592 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19593 Make them a defconst.
19594 (tramp-uuencode-region): Remove unused variable.
19595
19596 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19597
19598 * frameset.el (frameset--prop-setter): New function.
19599 (frameset-prop): Add gv-setter declaration.
19600 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19601 parameter was already set in FILTERED. Doc fix.
19602 (frameset--record-minibuffer-relationships): Allow saving a
19603 minibufferless frame without its corresponding minibuffer frame.
19604 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19605 frame, if the frame id matches.
19606 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19607 frames before orphaned ones.
19608 (frameset-restore): Warn about orphaned windows, instead of error out.
19609
19610 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19611
19612 * window.el (window-make-atom): Don't overwrite parameter
19613 already present.
19614 (display-buffer-in-atom-window): Handle special case where we
19615 split an already atomic window.
19616 (window--major-non-side-window, display-buffer-in-side-window)
19617 (window--side-check): Ignore minibuffer window when walking
19618 window tree.
19619 (window-deletable-p): Return 'frame only if no other frame uses
19620 our minibuffer window.
19621 (record-window-buffer): Run buffer-list-update-hook.
19622 (split-window): Make sure window--check-frame won't destroy an
19623 existing atomic window in case the new window gets nested
19624 inside.
19625 (display-buffer-at-bottom): Ignore minibuffer window when
19626 walking window tree. Don't split a side window.
19627 (pop-to-buffer): Don't set-buffer here, the select-window call
19628 should do that.
19629 (mouse-autoselect-window-select): Autoselect only if we are in the
19630 text portion of the window.
19631
19632 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19633
19634 * net/shr.el (shr-parse-image-data): New function to grab both the
19635 data itself and the Content-Type.
19636 (shr-put-image): Use it.
19637
19638 * net/eww.el (eww-display-image): Ditto.
19639
19640 * image.el (image-content-type-suffixes): New variable.
19641
19642 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19643
19644 * progmodes/python.el (python-imenu--build-tree)
19645 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19646
19647 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19648
19649 * simple.el (backward-word): Mention the optional argument.
19650
19651 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19652
19653 * frameset.el (frameset--make): Rename constructor from make-frameset.
19654 (frameset-p, frameset-valid-p): Don't autoload.
19655 (frameset-valid-p): Use normal accessors.
19656
19657 2013-08-13 Glenn Morris <rgm@gnu.org>
19658
19659 * progmodes/compile.el (compile-command): Tweak example in doc.
19660 * obsolete/scribe.el (scribe-mode):
19661 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19662
19663 * mail/feedmail.el (feedmail-confirm-outgoing)
19664 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19665
19666 * cus-start.el (truncate-partial-width-windows): Fix type.
19667
19668 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19669
19670 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19671
19672 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19673
19674 * emacs-lisp/timer.el (timer--time-setter): New function.
19675 (timer--time): Use it as gv-setter.
19676
19677 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19678 setter is not a symbol.
19679
19680 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19681
19682 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19683 if sending fails. This makes debugging easier.
19684
19685 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19686
19687 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19688 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19689 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19690
19691 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19692
19693 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19694
19695 2013-08-12 Glenn Morris <rgm@gnu.org>
19696
19697 * format.el (format-annotate-function):
19698 Handle read-only text properties in the source. (Bug#14887)
19699
19700 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19701
19702 * net/eww.el (eww-display-html): Ignore coding system errors.
19703 One web site uses "utf-8lias" as the coding system.
19704
19705 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19706
19707 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19708
19709 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19710
19711 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19712 (tutorial--detailed-help): Remove unused local variables.
19713 (tutorial--save-tutorial-to): Use ignore-errors.
19714 (help-with-tutorial): Use looking-at-p.
19715
19716 * view.el (view-buffer-other-window, view-buffer-other-frame):
19717 Mark unused arguments.
19718
19719 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19720 (woman-select-symbol-fonts, woman, woman-find-file)
19721 (woman-insert-file-contents, woman-non-underline-faces):
19722 Use string-match-p.
19723 (woman1-unquote): Move declaration.
19724
19725 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19726 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19727 argument. Remove unused local variable.
19728 (xml-parse-elem-type): Use string-match-p.
19729 (xml-substitute-numeric-entities): Use ignore-errors.
19730
19731 * calculator.el (calculator): Mark unused argument.
19732 (calculator-paste, calculator-quit, calculator-integer-p):
19733 Use ignore-errors.
19734 (calculator-string-to-number, calculator-decimal, calculator-exp)
19735 (calculator-op-or-exp): Use string-match-p.
19736
19737 * dired.el (dired-buffer-more-recently-used-p): Declare.
19738 (dired-insert-set-properties, dired-insert-old-subdirs):
19739 Use ignore-errors.
19740
19741 * dired-aux.el (dired-compress): Use ignore-errors.
19742 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19743 (dired-do-async-shell-command, dired-do-shell-command)
19744 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19745 (dired-insert-subdir-validate): Use string-match-p.
19746 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19747 (dired-add-entry): Use string-match-p, looking-at-p.
19748 (dired-insert-subdir-newpos): Remove unused local variable.
19749
19750 * filenotify.el (file-notify-callback): Remove unused local variable.
19751
19752 * filesets.el (filesets-error): Mark unused argument.
19753 (filesets-which-command-p, filesets-filter-dir-names)
19754 (filesets-directory-files, filesets-get-external-viewer)
19755 (filesets-ingroup-get-data): Use string-match-p.
19756
19757 * find-file.el (ff-other-file-name, ff-other-file-name)
19758 (ff-find-the-other-file, ff-cc-hh-converter):
19759 Remove unused local variables.
19760 (ff-get-file-name): Use string-match-p.
19761 (ff-all-dirs-under): Use ignore-errors.
19762
19763 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19764 (follow-select-if-visible): Remove unused local variable.
19765
19766 * forms.el (read-file-filter): Move declaration.
19767 (forms--make-format, forms--make-parser, forms-insert-record):
19768 Quote function with #'.
19769 (forms--update): Use string-match-p. Quote function with #'.
19770
19771 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19772 (help-make-xrefs): Use looking-at-p.
19773 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19774
19775 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19776 (ibuffer-confirm-operation-on): Use string-match-p.
19777
19778 * msb.el (msb-item-handler, msb-dired-item-handler):
19779 Mark unused arguments.
19780
19781 * ses.el (ses-decode-cell-symbol)
19782 (ses-kill-override): Remove unused local variable.
19783 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19784 (ses-load): Use ignore-errors, looking-at-p.
19785 (ses-jump-safe): Use ignore-errors.
19786 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19787
19788 * tabify.el (untabify, tabify): Mark unused arguments.
19789
19790 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19791 Mark unused argument.
19792 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19793 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19794
19795 * emacs-lisp/timer.el (timer--time): Define setter with
19796 gv-define-setter to avoid deprecation warning.
19797
19798 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19799 (*record-cmpl-statistics-p*): Remove (was commented out).
19800 (cmpl-statistics-block): Remove (body was commented out).
19801 All callers changed.
19802 (add-completions-from-buffer, load-completions-from-file):
19803 Remove unused variables.
19804
19805 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19806
19807 * filecache.el (file-cache-delete-file-list):
19808 Print message only when told so.
19809 (file-cache-files-matching): Use #' in mapconcat argument.
19810
19811 * ffap.el (ffap-url-at-point): Fix reference to variable
19812 thing-at-point-default-mail-uri-scheme.
19813
19814 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * subr.el (define-error): New function.
19817 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19818 error-file-not-found and define with define-error.
19819 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19820 and define with define-error.
19821 * userlock.el (file-locked, file-supersession):
19822 * simple.el (mark-inactive):
19823 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19824 * progmodes/ada-mode.el (ada-mode-errors):
19825 * play/life.el (life-extinct):
19826 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19827 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19828 * nxml/rng-util.el (rng-error):
19829 * nxml/rng-uri.el (rng-uri-error):
19830 * nxml/rng-match.el (rng-compile-error):
19831 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19832 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19833 * nxml/nxml-rap.el (nxml-scan-error):
19834 * nxml/nxml-outln.el (nxml-outline-error):
19835 * net/soap-client.el (soap-error):
19836 * net/gnutls.el (gnutls-error):
19837 * net/ange-ftp.el (ftp-error):
19838 * mpc.el (mpc-proc-error):
19839 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19840 (json-number-format, json-string-escape, json-string-format)
19841 (json-key-format, json-object-format):
19842 * jka-compr.el (compression-error):
19843 * international/quail.el (quail-error):
19844 * international/kkc.el (kkc-error):
19845 * emacs-lisp/ert.el (ert-test-failed):
19846 * calc/calc.el (calc-error, inexact-result, math-overflow)
19847 (math-underflow):
19848 * bookmark.el (bookmark-error-no-filename):
19849 * epg.el (epg-error): Define with define-error.
19850
19851 * time.el (display-time-event-handler)
19852 (display-time-next-load-average): Don't call sit-for since it seems
19853 unnecessary (bug#15045).
19854
19855 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19856 Use #' instead of ' to quote functions.
19857 (checkdoc-output-mode): Use setq-local.
19858 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19859 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19860 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19861 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19862 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19863 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19864 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19865 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19866
19867 * ido.el (ido-completion-help): Fix up compiler warning.
19868
19869 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19870
19871 * frameset.el (frameset-p): Add autoload cookie.
19872 (frameset--jump-to-register): New function, based on code moved from
19873 register.el.
19874 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19875
19876 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19877 (frameset-restore, frameset-save, frameset-session-filter-alist):
19878 Remove declarations.
19879 (register-alist): Doc fix.
19880 (frameset-to-register): Move to frameset.el.
19881 (jump-to-register, describe-register-1): Remove frameset-specific code.
19882
19883 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19884
19885 * allout-widgets.el (allout-widgets-pre-command-business)
19886 (allout-widgets-post-command-business)
19887 (allout-widgets-after-change-handler)
19888 (allout-decorate-item-and-context, allout-set-boundary-marker)
19889 (allout-body-modification-handler)
19890 (allout-graphics-modification-handler): Mark ignored arguments.
19891 (allout-widgets-post-command-business)
19892 (allout-widgets-exposure-change-processor)
19893 (allout-widgets-exposure-undo-processor)
19894 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19895 (allout-parse-item-at-point, allout-decorate-item-guides)
19896 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19897 * allout.el (epa-passphrase-callback-function): Declare.
19898 (allout-overlay-insert-in-front-handler)
19899 (allout-overlay-interior-modification-handler)
19900 (allout-isearch-end-handler, allout-chart-siblings)
19901 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19902 (allout-yank-processing, allout-process-exposed)
19903 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19904 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19905 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19906 (lisp-indent-defform): Mark ignored arguments.
19907 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19908 (calculate-lisp-indent): Remove unused variables.
19909 * international/characters.el (indian-2-column, arabic-2-column)
19910 (tibetan): Mark ignored arguments.
19911 (use-cjk-char-width-table): Mark ignored arguments.
19912 Remove unused variables.
19913 * international/fontset.el (build-default-fontset-data)
19914 (x-compose-font-name, create-fontset-from-fontset-spec):
19915 Mark ignored arguments.
19916 (fontset-plain-name): Remove unused variables.
19917 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19918 (keyboard-coding-system): Mark ignored arguments.
19919 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19920 * help.el (resize-temp-buffer-window):
19921 * window.el (display-buffer-in-major-side-window)
19922 (display-buffer-in-side-window, display-buffer-in-previous-window):
19923 Remove unused variables.
19924 * isearch.el (isearch-forward-symbol):
19925 * version.el (emacs-bzr-version-bzr):
19926 * international/mule-cmds.el (current-language-environment):
19927 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19928 (x-handle-display):
19929 * term/pc-win.el (x-list-fonts, x-display-planes)
19930 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19931 (x-server-version, x-display-screens, x-display-mm-height)
19932 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19933 (x-selection-owner-p, x-own-selection-internal)
19934 (x-disown-selection-internal, x-get-selection-internal)
19935 (msdos-initialize-window-system):
19936 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19937 * term/x-win.el (x-handle-no-bitmap-icon):
19938 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19939 (vc-default-find-file-hook, vc-default-extra-menu):
19940 Mark ignored arguments.
19941
19942 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19943
19944 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19945 break-condition in the context of the debugged code (bug#12685).
19946
19947 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19948
19949 * comint.el:
19950 Do not use an overlay to highlight the last prompt. (Bug#14744)
19951 (comint-mode): Make comint-last-prompt buffer local.
19952 (comint-last-prompt): New variable.
19953 (comint-last-prompt-overlay): Remove. Superseded by
19954 comint-last-prompt.
19955 (comint-snapshot-last-prompt, comint-output-filter):
19956 Use comint-last-prompt.
19957
19958 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19959
19960 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19961 (frameset-save): Check validity of the resulting frameset.
19962
19963 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19964
19965 * ido.el (ido-record-command): Add doc string.
19966
19967 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19968
19969 * frameset.el (frameset): Do not disable creation of the default
19970 frameset-p predicate. Doc fix.
19971 (frameset-valid-p): New function, copied from the old predicate-p.
19972 Add additional checks.
19973 (frameset-restore): Check with frameset-valid-p.
19974 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19975 (frameset-name, frameset-description, frameset-properties)
19976 (frameset-states): Add docstring.
19977 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19978 (frameset-filter-alist): Doc fixes.
19979
19980 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19981
19982 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19983
19984 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19985
19986 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19987 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19988 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19989 (byte-compile-normal-call): Remove obsolescence check.
19990
19991 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19992
19993 * frameset.el (frameset-restore): Doc fix.
19994
19995 * register.el (frameset-frame-id, frameset-frame-with-id)
19996 (frameset-p, frameset-restore, frameset-save): Declare.
19997 (register-alist): Document framesets.
19998 (frameset-session-filter-alist): Declare.
19999 (frameset-to-register): New function.
20000 (jump-to-register): Implement jumping to framesets. Doc fix.
20001 (describe-register-1): Describe framesets.
20002
20003 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
20004
20005 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
20006
20007 * desktop.el (desktop-save-frameset): Use new frameset-save args.
20008 Use lexical-binding.
20009
20010 * frameset.el (frameset): Use type vector, not list (incompatible
20011 change). Do not declare a new constructor, use the default one.
20012 Upgrade suggested properties `app', `name' and `desc' to slots `app',
20013 `name' and `description', respectively, and add read-only slot
20014 `timestamp'. Doc fixes.
20015 (frameset-copy, frameset-persistent-filter-alist)
20016 (frameset-filter-alist, frameset-switch-to-gui-p)
20017 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
20018 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
20019 (frameset-filter-iconified, frameset-keep-original-display-p):
20020 Doc fixes.
20021 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
20022 Rename from frameset-filter-(save|restore)-param. All callers changed.
20023 Doc fix.
20024 (frameset-p): Adapt to change to vector and be more thorough.
20025 Change arg name to OBJECT. Doc fix.
20026 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
20027 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
20028 All callers changed.
20029 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
20030 All callers changed.
20031 (frameset--record-minibuffer-relationships): Rename from
20032 frameset--process-minibuffer-frames. All callers changed.
20033 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
20034 Use new default constructor (again). Doc fix.
20035 (frameset--find-frame-if): Rename from `frameset--find-frame'.
20036 All callers changed.
20037 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
20038 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
20039 Doc fix.
20040 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
20041 PARAMETERS and WINDOW-STATE, respectively.
20042 (frameset-restore): Add new keyword argument PREDICATE.
20043 Reset frameset--target-display to nil. Doc fix.
20044
20045 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20046
20047 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
20048 (bat-mode): Use it.
20049 (bat-mode-syntax-table): Mark \n as end-of-comment.
20050 (bat-font-lock-keywords): Remove comment rule.
20051
20052 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
20053 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
20054
20055 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
20056 (byte-compile-callargs-warn): Use `push'.
20057 (byte-compile-arglist-warn): Ignore higher-order "calls".
20058 (byte-compile-file-form-autoload): Use `pcase'.
20059 (byte-compile-function-form): If quoting a symbol, check that it exists.
20060
20061 2013-08-07 Eli Zaretskii <eliz@gnu.org>
20062
20063 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
20064 and add a few popular commands found in batch files.
20065 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
20066 (dos-mode): Doc fixes.
20067
20068 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20069
20070 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
20071 (dos-mode): Use setq-local. Add space after "rem".
20072 (dos-mode-syntax-table): Don't use "w" for symbol chars.
20073 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
20074
20075 2013-08-07 Arni Magnusson <arnima@hafro.is>
20076
20077 * progmodes/dos.el: New file.
20078 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
20079 dos-mode.
20080
20081 2013-08-06 Glenn Morris <rgm@gnu.org>
20082
20083 * calendar/calendar.el: Add new faces, and day-header-array.
20084 (calendar-weekday-header, calendar-weekend-header)
20085 (calendar-month-header): New faces.
20086 (calendar-day-header-construct): New function.
20087 (calendar-day-header-width): Also :set calendar-day-header-array.
20088 (calendar-american-month-header, calendar-european-month-header)
20089 (calendar-iso-month-header): Use calendar- faces.
20090 (calendar-generate-month):
20091 Use calendar-day-header-array for day headers; apply faces to them.
20092 (calendar-mode): Check calendar-font-lock-keywords non-nil.
20093 (calendar-abbrev-construct): Add optional maxlen argument.
20094 (calendar-day-name-array): Doc fix.
20095 (calendar-day-name-array, calendar-abbrev-length)
20096 (calendar-day-abbrev-array):
20097 Also :set calendar-day-header-array, and maybe redraw.
20098 (calendar-day-header-array): New option. (Bug#15007)
20099 (calendar-font-lock-keywords): Set to nil and make obsolete.
20100 (calendar-day-name): Add option to use header array.
20101
20102 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20103
20104 * net/shr.el (shr-render-td): Remove debugging.
20105 (shr-render-td): Make width computation consistent by defaulting
20106 all zero-width columns to 10 characters. This may not be optimal,
20107 but it's at least consistent.
20108 (shr-make-table-1): Redo last change to fix the real problem in
20109 colspan handling.
20110
20111 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20112
20113 * files.el (cache-long-line-scans):
20114 Make obsolete alias to `cache-long-scans'.
20115
20116 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20117
20118 * frameset.el (frameset, frameset-filter-alist)
20119 (frameset-filter-params, frameset-save, frameset--reuse-frame)
20120 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
20121 (frameset-compute-pos): Rename from frameset--compute-pos,
20122 and add docstring.
20123 (frameset-move-onscreen): Use frameset-compute-pos.
20124 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20125
20126 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
20127 Fix typos in docstrings.
20128
20129 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20130
20131 * frame.el (get-other-frame): Tiny cleanup.
20132
20133 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * vc/vc.el (vc-default-ignore-completion-table):
20136 Silence byte-compiler warning.
20137
20138 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
20139 slot, which can indeed be nil.
20140 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20141 Move entry for `left' from persistent to live filter alist.
20142 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
20143 Doc fixes.
20144 (frameset-filter-params): When restoring a frame, copy items added to
20145 `filtered', to avoid unwittingly modifying the original parameters.
20146 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
20147 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
20148
20149 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
20150 to use looking-at-p instead of looking-at. (Bug#15028)
20151
20152 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20153
20154 Revert introduction of isearch-filter-predicates (bug#14714).
20155 Rely on add-function instead.
20156 * isearch.el (isearch-filter-predicates): Rename it back to
20157 isearch-filter-predicate.
20158 (isearch-message-prefix): Use advice-function-mapc and advice
20159 properties to get the isearch-message-prefix.
20160 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
20161 instead of run-hook-with-args-until-failure.
20162 (isearch-filter-visible): Not obsolete any more.
20163 * loadup.el: Preload nadvice.
20164 * replace.el (perform-replace): Revert to funcall
20165 instead of run-hook-with-args-until-failure.
20166 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
20167 * dired-aux.el (dired-isearch-filenames-mode): Rename from
20168 dired-isearch-filenames-toggle; make it into a proper minor mode.
20169 Use add/remove-function.
20170 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
20171 Call the minor-mode rather than add/remove-hook.
20172 (dired-isearch-filter-filenames):
20173 Remove isearch-message-prefix property.
20174 * info.el (Info--search-loop): New function, extracted from Info-search.
20175 Funcall isearch-filter-predicate instead of
20176 run-hook-with-args-until-failure isearch-filter-predicates.
20177 (Info-search): Use it.
20178 (Info-mode): Use isearch-filter-predicate instead of
20179 isearch-filter-predicates.
20180
20181 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20182
20183 Do not call to `selected-window' where it is assumed by default.
20184 Affected functions are `window-minibuffer-p', `window-dedicated-p',
20185 `window-hscroll', `window-width', `window-height', `window-buffer',
20186 `window-frame', `window-start', `window-point', `next-window'
20187 and `window-display-table'.
20188 * abbrev.el (abbrev--default-expand):
20189 * bs.el (bs--show-with-configuration):
20190 * buff-menu.el (Buffer-menu-mouse-select):
20191 * calc/calc.el (calc):
20192 * calendar/calendar.el (calendar-generate-window):
20193 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
20194 (diary-make-entry):
20195 * comint.el (send-invisible, comint-dynamic-complete-filename)
20196 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
20197 * completion.el (complete):
20198 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
20199 * disp-table.el (describe-current-display-table):
20200 * doc-view.el (doc-view-insert-image):
20201 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
20202 * ehelp.el (with-electric-help):
20203 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
20204 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
20205 * emacs-lisp/helper.el (Helper-help-scroller):
20206 * emulation/cua-base.el (cua--post-command-handler-1):
20207 * eshell/esh-mode.el (eshell-output-filter):
20208 * ffap.el (ffap-gnus-wrapper):
20209 * help-macro.el (make-help-screen):
20210 * hilit-chg.el (highlight-compare-buffers):
20211 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
20212 * hl-line.el (global-hl-line-highlight):
20213 * icomplete.el (icomplete-simple-completing-p):
20214 * isearch.el (isearch-done):
20215 * jit-lock.el (jit-lock-stealth-fontify):
20216 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
20217 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
20218 * mpc.el (mpc-tagbrowser, mpc):
20219 * net/rcirc.el (rcirc-any-buffer):
20220 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
20221 * play/landmark.el (landmark-max-width, landmark-max-height):
20222 * play/zone.el (zone):
20223 * progmodes/compile.el (compilation-goto-locus):
20224 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
20225 * progmodes/etags.el (find-tag-other-window):
20226 * progmodes/fortran.el (fortran-column-ruler):
20227 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
20228 * progmodes/verilog-mode.el (verilog-point-text):
20229 * reposition.el (reposition-window):
20230 * rot13.el (toggle-rot13-mode):
20231 * server.el (server-switch-buffer):
20232 * shell.el (shell-dynamic-complete-command)
20233 (shell-dynamic-complete-environment-variable):
20234 * simple.el (insert-buffer, set-selective-display)
20235 (delete-completion-window):
20236 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
20237 (speedbar-recenter):
20238 * startup.el (fancy-splash-head):
20239 * textmodes/ispell.el (ispell-command-loop):
20240 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
20241 * tutorial.el (help-with-tutorial):
20242 * vc/add-log.el (add-change-log-entry):
20243 * vc/compare-w.el (compare-windows):
20244 * vc/ediff-help.el (ediff-indent-help-message):
20245 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
20246 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
20247 (ediff-setup-control-frame):
20248 * vc/emerge.el (emerge-position-region):
20249 * vc/pcvs-util.el (cvs-bury-buffer):
20250 * window.el (walk-windows, mouse-autoselect-window-select):
20251 * winner.el (winner-set-conf, winner-undo): Related users changed.
20252
20253 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20254
20255 * frameset.el (frameset--set-id): Doc fix.
20256 (frameset-frame-id, frameset-frame-id-equal-p)
20257 (frameset-locate-frame-id): New functions.
20258 (frameset--process-minibuffer-frames, frameset--reuse-frame)
20259 (frameset-restore): Use them.
20260
20261 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20262
20263 Do not call to `selected-frame' where it is assumed by default.
20264 Affected functions are `raise-frame', `redraw-frame',
20265 `frame-first-window', `frame-terminal' and `delete-frame'.
20266 * calendar/appt.el (appt-disp-window):
20267 * epg.el (epg-wait-for-completion):
20268 * follow.el (follow-delete-other-windows-and-split)
20269 (follow-avoid-tail-recenter):
20270 * international/mule.el (set-terminal-coding-system):
20271 * mail/rmail.el (rmail-mail-return):
20272 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20273 * progmodes/f90.el (f90-add-imenu-menu):
20274 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20275 * server.el (server-switch-buffer):
20276 * simple.el (delete-completion-window):
20277 * talk.el (talk):
20278 * term/xterm.el (terminal-init-xterm-modify-other-keys)
20279 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20280 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20281 * vc/ediff.el (ediff-documentation): Related users changed.
20282 * frame.el (selected-terminal): Remove the leftover.
20283
20284 2013-08-05 Glenn Morris <rgm@gnu.org>
20285
20286 * calendar/calendar.el (calendar-generate-month):
20287 Fix for calendar-column-width != 1 + calendar-day-digit-width.
20288 (calendar-generate-month, calendar-font-lock-keywords):
20289 Fix for calendar-day-header-width > length of any day name.
20290
20291 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20292
20293 * desktop.el (desktop-clear): Use new name of sort predicate.
20294
20295 * frameset.el (frameset): Add docstring. Move :version property to its
20296 own `version' slot.
20297 (frameset-copy): Rename from copy-frameset.
20298 (frameset-p): Check more thoroughly.
20299 (frameset-prop): Do not check for :version, which is no longer a prop.
20300 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20301 Use new :never value instead of t.
20302 (frameset-filter-alist): Expand and clarify docstring.
20303 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20304 (frameset-filter-minibuffer, frameset-filter-save-param)
20305 (frameset-filter-restore-param, frameset-filter-iconified):
20306 Add pointer to docstring of frameset-filter-alist.
20307 (frameset-filter-params): Rename filter values to be more meaningful:
20308 :never instead of t, and reverse the meanings of :save and :restore.
20309 (frameset--process-minibuffer-frames): Clarify error message.
20310 (frameset-save): Avoid unnecessary and confusing call to framep.
20311 Use new BOA constructor for framesets.
20312 (frameset--reuse-list): Doc fix.
20313 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
20314 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20315 (frameset-minibufferless-first-p): Doc fix.
20316 Rename from frameset-sort-frames-for-deletion.
20317 (frameset-restore): Doc fixes. Use new function names.
20318 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20319
20320 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20321
20322 * desktop.el (desktop-restore-forces-onscreen)
20323 (desktop-restore-reuses-frames): Document :keyword constant values.
20324 (desktop-filter-parameters-alist): Remove, now identical to
20325 frameset-filter-alist.
20326 (desktop--filter-tty*): Remove, moved to frameset.el.
20327 (desktop-save-frameset, desktop-restore-frameset):
20328 Do not pass :filters argument.
20329
20330 * frameset.el (frameset-live-filter-alist)
20331 (frameset-persistent-filter-alist): New variables.
20332 (frameset-filter-alist): Use them. Add autoload cookie.
20333 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20334 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20335 `frameset--id' (it's supposed to be internal to frameset.el).
20336 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20337 (frameset--initial-params): New function.
20338 (frameset--get-frame): Use it. Doc fix.
20339 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20340 Accept :all, not 'all.
20341 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20342 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20343 with fbound symbols. Fix frame id matching, and remove matching ids if
20344 the frame being restored is deleted. Obey :delete.
20345
20346 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20347
20348 * subr.el (macrop): New function.
20349 (text-clone--maintaining): New var.
20350 (text-clone--maintain): Rename from text-clone-maintain. Use it
20351 instead of inhibit-modification-hooks.
20352
20353 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20354 a proxy, so as handle autoloads and redefinitions of the target.
20355 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20356
20357 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20358 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20359 (pcase--mutually-exclusive-p): New function.
20360 (pcase--split-consp): Use it.
20361 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20362 mutually exclusive with the current predicate.
20363
20364 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20365 (edebug-macrop): Remove. Use `macrop' instead.
20366 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20367 (ad-macro-p):
20368 * eshell/esh-cmd.el (eshell-macrop):
20369 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20370
20371 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20374 (advice-mapc): New function, using it.
20375 (advice-function-member-p): New function.
20376 (advice--normalize): Store the cdr in advice--saved-rewrite since
20377 that's the part that will be changed.
20378 (advice--symbol-function): New function.
20379 (advice-remove): Handle removal before the function is defined.
20380 Adjust to new advice--saved-rewrite.
20381 (advice-member-p): Use advice-function-member-p and
20382 advice--symbol-function.
20383
20384 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20385
20386 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20387 (frameset-filter-minibuffer): Doc fix.
20388 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20389 (frameset--set-id, frameset--process-minibuffer-frames)
20390 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20391 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20392
20393 * desktop.el (desktop-clear): Only delete frames when called
20394 interactively and desktop-restore-frames is non-nil. Doc fix.
20395 (desktop-read): Set desktop-saved-frameset to nil.
20396
20397 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20398
20399 * vc/vc.el (vc-ignore): Rewrite.
20400 (vc-default-ignore-completion-table, vc--read-lines)
20401 (vc--add-line, vc--remove-regexp): New functions.
20402
20403 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20404 (vc-svn-ignore-completion-table): New function.
20405
20406 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20407 (vc-hg-ignore-completion-table)
20408 (vc-hg-find-ignore-file): New functions.
20409
20410 * vc/vc-git.el (vc-git-ignore): Rewrite.
20411 (vc-git-ignore-completion-table)
20412 (vc-git-find-ignore-file): New functions.
20413
20414 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20415
20416 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20417 (vc-bzr-ignore-completion-table)
20418 (vc-bzr-find-ignore-file): New functions.
20419
20420 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20421
20422 * frameset.el (frameset-prop): New function and setter.
20423 (frameset-save): Do not modify frame list passed by the caller.
20424
20425 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20426
20427 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20428
20429 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20430
20431 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20432 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20433
20434 * custom.el (custom-initialize-default, custom-initialize-set)
20435 (custom-initialize-reset, custom-initialize-changed): Affect the
20436 toplevel-default-value (bug#6275, bug#14586).
20437 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20438 for bug#6275.
20439
20440 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20441
20442 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20443 Add cl-def* expressions.
20444
20445 * frameset.el (frameset-filter-params): Fix order of arguments.
20446
20447 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20448
20449 Move code related to saving frames to frameset.el.
20450 * desktop.el: Require frameset.
20451 (desktop-restore-frames): Doc fix.
20452 (desktop-restore-reuses-frames): Rename from
20453 desktop-restoring-reuses-frames.
20454 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20455 (desktop-clear): Clear frames too.
20456 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20457 (desktop--filter-tty*, desktop-save, desktop-read):
20458 Use frameset functions.
20459 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20460 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20461 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20462 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20463 (desktop--process-minibuffer-frames, desktop-save-frames)
20464 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20465 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20466 (desktop--sort-states, desktop-restoring-frames-p)
20467 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20468 (desktop-restoring-frameset-p, desktop-restore-frameset)
20469 (desktop--check-dont-save, desktop-save-frameset): New functions.
20470 (desktop--app-id): New constant.
20471 (desktop-first-buffer, desktop-buffer-ok-count)
20472 (desktop-buffer-fail-count): Move before first use.
20473 * frameset.el: New file.
20474
20475 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20476
20477 * files.el: Use lexical-binding.
20478 (dir-locals-read-from-file): Remove unused `err' variable.
20479 (hack-dir-local-variables--warned-coding): New var.
20480 (hack-dir-local-variables): Use it to avoid repeated warnings.
20481 (make-backup-file-name--default-function): New function.
20482 (make-backup-file-name-function): Use it as default.
20483 (buffer-stale--default-function): New function.
20484 (buffer-stale-function): Use it as default.
20485 (revert-buffer-insert-file-contents--default-function): New function.
20486 (revert-buffer-insert-file-contents-function): Use it as default.
20487 (insert-directory): Avoid add-to-list.
20488
20489 * autorevert.el (auto-revert-handler): Simplify.
20490 Use buffer-stale--default-function.
20491
20492 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20493
20494 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20495
20496 * whitespace.el (whitespace-ensure-local-variables): New function.
20497 (whitespace-cleanup-region): Call it.
20498 (whitespace-turn-on): Call it.
20499
20500 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20501
20502 Complete file name handlers.
20503
20504 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20505 (tramp-handle-verify-visited-file-modtime)
20506 (tramp-handle-file-notify-rm-watch): New functions.
20507 (tramp-call-process): Do not bind `default-directory'.
20508
20509 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20510 Order alphabetically.
20511 <access-file, add-name-to-file, dired-call-process>:
20512 <dired-compress-file, file-acl, file-notify-rm-watch>:
20513 <file-ownership-preserved-p, file-selinux-context>:
20514 <make-directory-internal, make-symbolic-link, set-file-acl>:
20515 <set-file-selinux-context, set-visited-file-modtime>:
20516 <verify-visited-file-modtime>: Add handler.
20517 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20518
20519 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20520 <file-notify-add-watch, file-notify-rm-watch>:
20521 <set-file-times, set-visited-file-modtime>:
20522 <verify-visited-file-modtime>: Add handler.
20523 (with-tramp-gvfs-error-message)
20524 (tramp-gvfs-handle-set-visited-file-modtime)
20525 (tramp-gvfs-fuse-file-name): Remove.
20526 (tramp-gvfs-handle-file-notify-add-watch)
20527 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20528 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20529
20530 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20531 Order alphabetically.
20532 <file-notify-rm-watch>: Use default Tramp handler.
20533 <executable-find>: Remove private handler.
20534 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20535 `default-directory'.
20536 (tramp-sh-handle-executable-find)
20537 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20538 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20539 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20540 Do not use `format' in `tramp-message'.
20541
20542 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20543 <file-notify-rm-watch, set-visited-file-modtime>:
20544 <verify-visited-file-modtime>: Add handler.
20545 (tramp-smb-call-winexe): Do not bind `default-directory'.
20546
20547 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20548
20549 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20550
20551 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20552
20553 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20554 use it.
20555 (log-view-diff-changeset): Same.
20556 (log-view-diff-common): Call backend command `previous-revision'
20557 to find out the previous revision, in both cases. Swap the
20558 variables `to' and `fr', so that `fr' usually refers to the
20559 earlier revision (Bug#14989).
20560
20561 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20562
20563 * ibuf-ext.el (ibuffer-filter-by-filename):
20564 Make it work with dired buffers too.
20565
20566 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20567
20568 * emacs-lisp/re-builder.el (reb-color-display-p):
20569 * files.el (save-buffers-kill-terminal):
20570 * net/browse-url.el (browse-url):
20571 * server.el (server-save-buffers-kill-terminal):
20572 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20573 Prefer nil to selected-frame for the first arg of frame-parameter.
20574
20575 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20576
20577 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20578
20579 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20580
20581 * minibuffer.el (completion--twq-all): Try and preserve each
20582 completion's case choice (bug#14907).
20583
20584 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20585
20586 * net/network-stream.el (open-network-stream): Mention the new
20587 :nogreeting parameter.
20588 (network-stream-open-starttls): Use the :nogreeting parameter
20589 (bug#14938).
20590
20591 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20592
20593 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20594 more natural than popping.
20595
20596 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20597 (shr-urlify): Highlight under mouse.
20598
20599 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20600
20601 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20602
20603 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20604
20605 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20606 buffer for output.
20607
20608 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20609 point-min==1. Fix search string. Fix parentheses missing.
20610
20611 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20612 assume point-min==1. Fix search string. Fix parentheses missing.
20613
20614 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20615
20616 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20617 buffer for output.
20618
20619 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20620
20621 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20622 initial frame is minibuffer-less. (Bug#14841)
20623
20624 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20625
20626 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20627 option.
20628
20629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20630 (tramp-maybe-open-connection): Use it.
20631
20632 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20633
20634 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20635 minimal set of parameters passed when creating a frame, because
20636 the minibuffer status of a frame cannot be changed later.
20637
20638 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20639
20640 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20641 replace-regexp-in-string and inadvertent omissions in previous change.
20642 (todo-filter-items): Ensure only file names are comma-separated in
20643 name of filtered items buffer.
20644
20645 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20646
20647 * desktop.el: Optionally force offscreen frames back onscreen.
20648 (desktop-restoring-reuses-frames): New option.
20649 (desktop--compute-pos, desktop--move-onscreen): New functions.
20650 (desktop--make-frame): Use desktop--move-onscreen.
20651
20652 2013-07-27 Alan Mackenzie <acm@muc.de>
20653
20654 Fontify a Java generic method as a function.
20655 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20656 value to t.
20657
20658 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20659
20660 * calendar/todo-mode.el: Add command to rename todo files.
20661 (todo-rename-file): New command.
20662 (todo-key-bindings-t): Add key binding for it. Change the
20663 bindings of todo-filter-regexp-items(-multifile) to use `x'
20664 instead of `r', since the latter is better suited to the new
20665 renaming command.
20666
20667 2013-07-27 Alan Mackenzie <acm@muc.de>
20668
20669 Make Java try-with-resources statement parse properly.
20670 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20671 (c-block-stmt-1-2-key): New language constants/variables.
20672 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20673 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20674 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20675 with c-block-stmt-1-2-key.
20676
20677 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20678
20679 * desktop.el (desktop--make-frame): Apply most frame parameters after
20680 creating the frame to force (partially or totally) offscreen frames to
20681 be restored as such.
20682
20683 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20684
20685 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20686 (Bug#14948)
20687
20688 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20689
20690 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20691 `base' arg of backtrace-frame.
20692
20693 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20694
20695 * simple.el (list-processes): Doc fix.
20696
20697 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20698
20699 * desktop.el (desktop--select-frame):
20700 Try harder to reuse existing frames.
20701
20702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20703
20704 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20705 (edebug-eval): Use backtrace-eval.
20706 (edebug--display, edebug--recursive-edit): Don't let-bind the
20707 edebug-outer-* vars that keep track of variables we locally let-bind.
20708 (edebug-outside-excursion): Don't restore outside values of locally
20709 let-bound vars.
20710 (edebug--display): Use user-error.
20711 (cl-lexical-debug, cl-debug-env): Remove.
20712
20713 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20714
20715 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20716 are restored to be sure that they are visible before deleting any
20717 remaining ones.
20718
20719 2013-07-26 Matthias Meulien <orontee@gmail.com>
20720
20721 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20722 vc-print-root-log. (Bug#14948)
20723
20724 2013-07-26 Richard Stallman <rms@gnu.org>
20725
20726 Add aliases for encrypting mail.
20727 * epa.el (epa-mail-aliases): New option.
20728 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20729 Bind inhibit-read-only so read-only text doesn't ruin everything.
20730 (epa-mail-default-recipients): New subroutine broken out.
20731 Handle epa-mail-aliases.
20732
20733 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20734
20735 Add support for lexical variables to the debugger's `e' command.
20736 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20737 vars, except for debugger-outer-match-data.
20738 (debugger-frame-number): Move check for "on a function call" from
20739 callers into it. Add `skip-base' argument.
20740 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20741 (debugger-env-macro): Only reset the state stored in non-variables,
20742 i.e. current-buffer and match-data.
20743 (debugger-eval-expression): Rewrite using backtrace-eval.
20744 * subr.el (internal--called-interactively-p--get-frame): Remove.
20745 (called-interactively-p):
20746 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20747 `base' arg of backtrace-frame instead.
20748
20749 2013-07-26 Glenn Morris <rgm@gnu.org>
20750
20751 * align.el (align-regexp): Doc fix. (Bug#14857)
20752 (align-region): Explicit error if subexpression missing/does not match.
20753
20754 * simple.el (global-visual-line-mode):
20755 Do not duplicate the mode lighter. (Bug#14858)
20756
20757 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20758
20759 * window.el (display-buffer): In display-buffer bind
20760 split-window-keep-point to t, bug#14829.
20761
20762 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20763
20764 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20765 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20766 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20767 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20768 Change accordingly.
20769 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20770 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20771
20772 2013-07-25 Glenn Morris <rgm@gnu.org>
20773
20774 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20775
20776 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20777
20778 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20779 parameter to modify-frame-parameters if the value has not changed;
20780 this is a workaround for bug#14949.
20781 (desktop--make-frame): On cl-delete-if call, check parameter name,
20782 not full parameter.
20783
20784 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20785
20786 * vc/vc.el (vc-ignore): New function.
20787
20788 * vc/vc-svn.el (vc-svn-ignore): New function.
20789
20790 * vc/vc-hg.el (vc-hg-ignore): New function.
20791
20792 * vc/vc-git.el (vc-git-ignore): New function.
20793
20794 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20795 (vc-dir-ignore): New function.
20796
20797 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20798 (cvs-append-to-ignore): Move here from pcvs.el.
20799
20800 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20801
20802 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20803
20804 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20805
20806 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20807 (desktop-restore-frames): Warn when deleting an existing frame failed.
20808
20809 2013-07-24 Glenn Morris <rgm@gnu.org>
20810
20811 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20812
20813 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20814
20815 * filenotify.el (file-notify-supported-p):
20816 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20817 Remove functions.
20818
20819 * autorevert.el (auto-revert-use-notify)
20820 (auto-revert-notify-add-watch):
20821 * net/tramp.el (tramp-file-name-for-operation):
20822 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20823 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20825 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20826 Remove `file-notify-supported-p' entry.
20827
20828 2013-07-24 Glenn Morris <rgm@gnu.org>
20829
20830 * printing.el: Replace all uses of deleted ps-windows-system,
20831 ps-lp-system, ps-flatten-list with lpr- versions.
20832
20833 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20834
20835 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20836 checked with memq (bug#14935).
20837
20838 * files.el (revert-buffer-function): Use a non-nil default.
20839 (revert-buffer-preserve-modes): Declare var to
20840 provide access to the `preserve-modes' argument.
20841 (revert-buffer): Let-bind it.
20842 (revert-buffer--default): New function, extracted from revert-buffer.
20843
20844 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20845
20846 * lpr.el: Signal print errors more prominently.
20847 (print-region-function): Don't default to nil.
20848 (lpr-print-region): New function, extracted from print-region-1.
20849 Check lpr's return value and signal an error in case of problem.
20850 (print-region-1): Use it.
20851 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20852 versions instead.
20853 (ps-printer-name): Default to nil.
20854 (ps-printer-name-option): Default to lpr-printer-switch.
20855 (ps-print-region-function): Don't default to nil.
20856 (ps-postscript-code-directory): Simplify default.
20857 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20858 (ps-string-list, ps-eval-switch, ps-flatten-list)
20859 (ps-flatten-list-1): Remove.
20860 (ps-multibyte-buffer): Avoid setq.
20861 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20862 (print-region-function, ps-print-region-function): Don't set them here.
20863
20864 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20865
20866 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20867 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20868 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20869 (ido-decorations): Doc fix.
20870
20871 * ansi-color.el: Fix old URL.
20872
20873 2013-07-23 Michael R. Mauger <michael@mauger.com>
20874
20875 * progmodes/sql.el: Version 3.3
20876 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20877 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20878 (sql-interactive-remove-continuation-prompt): Rewrite, use
20879 functions above. Fix continuation prompt and complete output line
20880 handling.
20881 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20882 redirected output buffer.
20883 (sql-mode): Restore deleted code (Bug#13591).
20884
20885 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20886
20887 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20888
20889 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20890
20891 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20892
20893 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20894 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20895 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20896
20897 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20898
20899 * desktop.el (desktop-clear): Simplify; remove useless checks
20900 against invalid buffer names.
20901 (desktop-list*): Use cl-list*.
20902 (desktop-buffer-info, desktop-create-buffer): Simplify.
20903
20904 2013-07-23 Leo Liu <sdl.web@gmail.com>
20905
20906 * bookmark.el (bookmark-make-record): Restore NAME as a default
20907 value. (Bug#14933)
20908
20909 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20910
20911 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20912 extracted from autoload--insert-text.
20913 (autoload--insert-text): Remove.
20914 (autoload--print-cookie-text): New function, extracted from
20915 autoload--insert-cookie-text.
20916 (autoload--insert-cookie-text): Remove.
20917 (autoload-generate-file-autoloads): Adjust calls accordingly.
20918
20919 * winner.el (winner-hook-installed-p): Remove.
20920 (winner-mode): Simplify accordingly.
20921
20922 * subr.el (add-to-list): Fix compiler-macro when `append' is
20923 not constant. Don't use `cl-member' for the base case.
20924
20925 * progmodes/subword.el: Fix boundary case (bug#13758).
20926 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20927 own group.
20928 (subword-backward-regexp): Make it a constant.
20929 (subword-forward-internal): Don't treat a trailing capital as the
20930 beginning of a word.
20931
20932 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20933
20934 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20935 global value of tabulated-list-revert-hook (bug#14930).
20936
20937 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20938
20939 * desktop.el: Require 'cl-lib.
20940 (desktop-before-saving-frames-functions): New hook.
20941 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20942 for frames being saved. Rename from desktop--save-minibuffer-frames.
20943 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20944 Do not save frames with non-nil `desktop-dont-save' parameter.
20945 Filter out deleted frames.
20946 (desktop--find-frame): Use cl-find-if.
20947 (desktop--select-frame): Use cl-(first|second|third) to access values
20948 of desktop-mini.
20949 (desktop--make-frame): Use cl-delete-if.
20950 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20951 (desktop-restore-frames): Use cl-(first|second|third) to access values
20952 of desktop-mini. Look for visible frame at the end, not while
20953 restoring frames.
20954
20955 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20956 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20957 Use string-match-p, looking-at-p (bug#14927).
20958
20959 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20960
20961 * desktop.el (desktop-saved-frame-states):
20962 Rename from desktop--saved-states; all users changed.
20963 (desktop-save-frames): Rename from desktop--save-frames.
20964 Do not save state to desktop file.
20965 (desktop-save): Save desktop-saved-frame-states to desktop file
20966 and reset to nil.
20967 (desktop-restoring-frames-p): New function.
20968 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20969 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20970 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20971
20972 * desktop.el: Correctly restore iconified frames.
20973 (desktop--filter-iconified-position): New function.
20974 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20975
20976 2013-07-20 Glenn Morris <rgm@gnu.org>
20977
20978 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20979 Let `message' do the formatting.
20980 (def-gdb-preempt-display-buffer): Add explicit format.
20981
20982 * image-dired.el (image-dired-track-original-file):
20983 Use with-current-buffer.
20984 (image-dired-track-thumbnail): Use with-current-buffer.
20985 Avoid changing point of wrong window.
20986
20987 * image-dired.el (image-dired-track-original-file):
20988 Avoid changing point of wrong window. (Bug#14909)
20989
20990 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20991
20992 * progmodes/gdb-mi.el (gdb-done-or-error):
20993 Guard against "%" in gdb output. (Bug#14127)
20994
20995 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20996
20997 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20998 (Bug#14826)
20999
21000 * international/mule.el (coding-system-iso-2022-flags): Fix last
21001 change.
21002
21003 2013-07-20 Kenichi Handa <handa@gnu.org>
21004
21005 * international/mule.el (coding-system-iso-2022-flags):
21006 Add `8-bit-level-4'. (Bug#8522)
21007
21008 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21009
21010 * net/shr.el (shr-mouse-browse-url): New command and keystroke
21011 (bug#14815).
21012
21013 * net/eww.el (eww-process-text-input): Allow inputting when the
21014 point is at the start of the line, as the properties aren't
21015 front-sticky.
21016
21017 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
21018 degenerate widths.
21019
21020 2013-07-19 Richard Stallman <rms@gnu.org>
21021
21022 * epa.el (epa-popup-info-window): Doc fix.
21023
21024 * subr.el (split-string): New arg TRIM.
21025
21026 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
21027
21028 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
21029 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
21030
21031 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
21032
21033 * filenotify.el (file-notify--library): Rename from
21034 `file-notify-support'. Do not autoload. Adapt all uses.
21035 (file-notify-supported-p): New defun.
21036
21037 * autorevert.el (auto-revert-use-notify):
21038 Use `file-notify-supported-p' instead of `file-notify-support'.
21039 Adapt docstring.
21040 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
21041
21042 * net/tramp.el (tramp-file-name-for-operation):
21043 Add `file-notify-supported-p'.
21044
21045 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
21046 New defun.
21047 (tramp-sh-file-name-handler-alist): Add it as handler for
21048 `file-notify-supported-p '.
21049
21050 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
21051 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21052 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21053 Add `ignore' as handler for `file-notify-*' functions.
21054
21055 2013-07-17 Eli Zaretskii <eliz@gnu.org>
21056
21057 * simple.el (line-move-partial, line-move): Don't start vscroll or
21058 scroll-up if the current line is not taller than the window.
21059 (Bug#14881)
21060
21061 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
21062
21063 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
21064 highlight question marks in the method names as strings.
21065 (ruby-block-beg-keywords): Inline.
21066 (ruby-font-lock-keyword-beg-re): Extract from
21067 `ruby-font-lock-keywords'.
21068
21069 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
21070
21071 * frame.el (blink-cursor-blinks): New defcustom.
21072 (blink-cursor-blinks-done): New defvar.
21073 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
21074 (blink-cursor-timer-function): Check if number of blinks has been
21075 done on X and NS.
21076 (blink-cursor-suspend, blink-cursor-check): New defuns.
21077
21078 2013-07-15 Glenn Morris <rgm@gnu.org>
21079
21080 * edmacro.el (edmacro-format-keys): Fix previous change.
21081
21082 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
21083
21084 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
21085 The hack didn't work outside English locales anyway.
21086
21087 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
21088
21089 * simple.el (define-alternatives): Rename from alternatives-define,
21090 per RMS' suggestion.
21091
21092 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
21093
21094 * desktop.el (desktop-restore-frames): Change default to t.
21095 (desktop-restore-in-current-display): Now offer more options.
21096 (desktop-restoring-reuses-frames): New customization option.
21097 (desktop--saved-states): Doc fix.
21098 (desktop-filter-parameters-alist): New variable, renamed and expanded
21099 from desktop--excluded-frame-parameters.
21100 (desktop--target-display): New variable.
21101 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
21102 (desktop--filter-tty*, desktop--filter-*-color)
21103 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
21104 (desktop--filter-save-desktop-parm)
21105 (desktop-restore-in-original-display-p): New functions.
21106 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
21107 (desktop--save-minibuffer-frames): New function, inspired by a similar
21108 function from Martin Rudalics.
21109 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
21110 (desktop--restore-in-this-display-p): Remove.
21111 (desktop--find-frame): Rename from desktop--find-frame-in-display
21112 and add predicate argument.
21113 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
21114 (desktop--reuse-list): New variable.
21115 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
21116 New functions.
21117 (desktop--restore-frames): Add support for "minibuffer-special" frames.
21118
21119 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
21120
21121 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
21122
21123 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
21124
21125 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21126 Highlight conversion methods on Kernel.
21127
21128 2013-07-13 Alan Mackenzie <acm@muc.de>
21129
21130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
21131 and comment it out. This out-commenting enables certain C++
21132 declarations to be parsed correctly.
21133
21134 2013-07-13 Eli Zaretskii <eliz@gnu.org>
21135
21136 * international/mule.el (define-coding-system): Doc fix.
21137
21138 * simple.el (default-font-height): Don't call font-info if the
21139 frame's default font didn't change since the frame was created.
21140 (Bug#14838)
21141
21142 2013-07-13 Leo Liu <sdl.web@gmail.com>
21143
21144 * ido.el (ido-read-file-name): Guard against non-symbol value.
21145
21146 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
21147
21148 * progmodes/python.el (python-imenu--build-tree): Fix corner case
21149 in nested defuns.
21150
21151 2013-07-13 Leo Liu <sdl.web@gmail.com>
21152
21153 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
21154 ido-set-matches call. (Bug#6852)
21155
21156 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
21157
21158 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
21159 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
21160 Ruby 2.0.
21161 (ruby-font-lock-keywords): Distinguish calls to functions with
21162 module-like names from module references. Highlight character
21163 literals.
21164
21165 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
21166
21167 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
21168 (gdb-send): Handle continued commands. (Bug#14847)
21169
21170 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21171
21172 * desktop.el (desktop--v2s): Remove unused local variable.
21173 (desktop-save-buffer): Make defvar-local; adjust docstring.
21174 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
21175 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
21176
21177 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
21178
21179 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
21180
21181 2013-07-12 Eli Zaretskii <eliz@gnu.org>
21182
21183 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
21184 (Bug#14842)
21185
21186 2013-07-12 Glenn Morris <rgm@gnu.org>
21187
21188 * doc-view.el: Require cl-lib at runtime too.
21189 (doc-view-remove-if): Remove.
21190 (doc-view-search-next-match, doc-view-search-previous-match):
21191 Use cl-remove-if.
21192
21193 * edmacro.el: Require cl-lib at runtime too.
21194 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
21195 (edmacro-mismatch, edmacro-subseq): Remove.
21196
21197 * shadowfile.el: Require cl-lib.
21198 (shadow-remove-if): Remove.
21199 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
21200 Use cl-remove-if.
21201
21202 * wid-edit.el: Require cl-lib.
21203 (widget-choose): Use cl-remove-if.
21204 (widget-remove-if): Remove.
21205
21206 * progmodes/ebrowse.el: Require cl-lib at runtime too.
21207 (ebrowse-delete-if-not): Remove.
21208 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
21209 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
21210 Use cl-delete-if-not.
21211
21212 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21213
21214 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
21215 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
21216
21217 2013-07-12 Leo Liu <sdl.web@gmail.com>
21218
21219 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
21220
21221 2013-07-11 Glenn Morris <rgm@gnu.org>
21222
21223 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
21224 (edebug-gensym-index, edebug-gensym):
21225 Remove reimplementation of cl-gensym.
21226 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
21227
21228 * thumbs.el: Require cl-lib at run-time too.
21229 (thumbs-gensym-counter, thumbs-gensym):
21230 Remove reimplementation of cl-gensym.
21231 (thumbs-temp-file): Use cl-gensym.
21232
21233 * emacs-lisp/ert.el: Require cl-lib at runtime too.
21234 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
21235 (ert--intersection, ert--set-difference, ert--set-difference-eq)
21236 (ert--union, ert--gensym-counter, ert--gensym-counter)
21237 (ert--coerce-to-vector, ert--remove*, ert--string-position)
21238 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
21239 (ert-make-test-unbound, ert--expand-should-1)
21240 (ert--expand-should, ert--should-error-handle-error)
21241 (should-error, ert--explain-equal-rec)
21242 (ert--plist-difference-explanation, ert-select-tests)
21243 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
21244 Use cl-lib functions rather than reimplementations.
21245
21246 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
21247
21248 * net/tramp.el (tramp-methods): Extend docstring.
21249 (tramp-connection-timeout): New defcustom.
21250 (tramp-error-with-buffer): Reset timestamp only when appropriate.
21251 (with-tramp-progress-reporter): Simplify.
21252 (tramp-process-actions): Improve messages.
21253
21254 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
21255 * net/tramp-sh.el (tramp-maybe-open-connection):
21256 Use `tramp-connection-timeout'.
21257 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
21258 (Bug#14808)
21259
21260 2013-07-11 Leo Liu <sdl.web@gmail.com>
21261
21262 * ido.el (ido-read-file-name): Conform to the requirements of
21263 read-file-name. (Bug#11861)
21264 (ido-read-directory-name): Conform to the requirements of
21265 read-directory-name.
21266
21267 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
21268
21269 * subr.el (delay-warning): New function.
21270
21271 2013-07-10 Eli Zaretskii <eliz@gnu.org>
21272
21273 * simple.el (default-line-height): New function.
21274 (line-move-partial, line-move): Use it instead of computing the
21275 line height inline.
21276 (line-move-partial): Always compute ROWH. If the last line is
21277 partially-visible, but its text is completely visible, allow
21278 cursor to enter such a partially-visible line.
21279
21280 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
21281
21282 Improve error messages. (Bug#14808)
21283
21284 * net/tramp.el (tramp-current-connection): New defvar, moved from
21285 tramp-sh.el.
21286 (tramp-message-show-progress-reporter-message): Remove, not
21287 needed anymore.
21288 (tramp-error-with-buffer): Show message in minibuffer.
21289 Discard input before waiting. Reset connection timestamp.
21290 (with-tramp-progress-reporter): Improve messages.
21291 (tramp-process-actions): Use progress reporter. Delete process in
21292 case of error. Improve messages.
21293
21294 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21295 Call `tramp-error-with-buffer' with vector and buffer.
21296 (tramp-current-connection): Remove.
21297 (tramp-maybe-open-connection): The car of
21298 `tramp-current-connection' are the first 3 slots of the vector.
21299
21300 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
21301
21302 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21303 inside continued strings.
21304
21305 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
21306
21307 Timestamp fixes for undo (Bug#14824).
21308 * files.el (clear-visited-file-modtime): Move here from fileio.c.
21309
21310 2013-07-10 Leo Liu <sdl.web@gmail.com>
21311
21312 * files.el (require-final-newline): Allow safe local value.
21313 (Bug#14834)
21314
21315 2013-07-09 Leo Liu <sdl.web@gmail.com>
21316
21317 * ido.el (ido-read-directory-name): Handle fallback.
21318 (ido-read-file-name): Update DIR to ido-current-directory.
21319 (Bug#1516)
21320 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
21321
21322 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
21323
21324 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21325 "autoload". Remove "warn lower camel case" section, previously
21326 commented out. Highlight negation char. Do not highlight the
21327 target in singleton method definitions.
21328
21329 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21330
21331 * faces.el (tty-setup-hook): Declare the hook.
21332
21333 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21334 and detect when a guard/pred depends on local vars (bug#14773).
21335 (pcase--u1): Adjust caller.
21336
21337 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21338
21339 * simple.el (line-move-partial, line-move): Account for
21340 line-spacing.
21341 (line-move-partial): Avoid setting vscroll when the last
21342 partially-visible line in window is of default height.
21343
21344 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21345
21346 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21347 been used a while.
21348
21349 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21350
21351 * subr.el (read-quoted-char): Remove unused local variable `char'.
21352
21353 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21354
21355 * vc/ediff.el (ediff-version): Version update.
21356 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21357 (ediff-merge-with-ancestor-command, ediff-directories-command)
21358 (ediff-directories3-command, ediff-merge-directories-command)
21359 (ediff-merge-directories-with-ancestor-command): New functions.
21360 All are command-line interfaces to ediff: to facilitate calling
21361 Emacs with the appropriate ediff functions invoked.
21362
21363 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21364 New function.
21365 (viper-save-kill-buffer): Check if buffer is modified.
21366
21367 * emulation/viper.el (viper-version): Version update.
21368 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21369
21370 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21371
21372 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21373 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21374 (viper-intercept-ESC-key): Simplify.
21375 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21376 don't use kbd.
21377 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21378 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21379 (viper-setup-ESC-to-escape): New functions.
21380 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21381 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21382
21383 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21384
21385 * simple.el (default-font-height, window-screen-lines):
21386 New functions.
21387 (line-move, line-move-partial): Use them instead of
21388 frame-char-height and window-text-height. This makes scrolling
21389 text smoother when the buffer's default face uses a font that is
21390 different from the frame's default font.
21391
21392 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21393
21394 * files.el (write-file): Do not display confirm dialog for NS,
21395 it does its own dialog, which can't be canceled (Bug#14578).
21396
21397 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21398
21399 * simple.el (line-move-partial): Adjust the row returned by
21400 posn-at-point for the current window-vscroll. (Bug#14567)
21401
21402 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21403
21404 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21405 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21406 spaces.
21407
21408 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21409
21410 * window.el (window-state-put-stale-windows): New variable.
21411 (window--state-put-2): Save list of windows without matching buffer.
21412 (window-state-put): Remove "bufferless" windows if possible.
21413
21414 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21415
21416 * simple.el (alternatives-define): Remove leftover :group keyword.
21417 Tweak docstring.
21418
21419 2013-07-06 Leo Liu <sdl.web@gmail.com>
21420
21421 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21422 (ido-enable-virtual-buffers): New variable.
21423 (ido-buffer-internal, ido-toggle-virtual-buffers)
21424 (ido-make-buffer-list): Use it.
21425 (ido-exhibit): Support turning on and off virtual buffers
21426 automatically.
21427
21428 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21429
21430 * simple.el (alternatives-define): New macro.
21431
21432 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21433
21434 * subr.el (read-quoted-char): Use read-key.
21435 (sit-for): Let read-event decode tty input (bug#14782).
21436
21437 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21438
21439 * calendar/todo-mode.el: Add handling of file deletion, both by
21440 mode command and externally. Fix various related bugs.
21441 Clarify Commentary and improve some documentation strings and code.
21442 (todo-delete-file): New command.
21443 (todo-check-file): New function.
21444 (todo-show): Handle external deletion of the file we're trying to
21445 show (bug#14688). Replace called-interactively-p by an optional
21446 prefix argument to avoid problematic interaction with catch form
21447 when byte compiled (bug#14702).
21448 (todo-quit): Handle external deletion of the archive's todo file.
21449 Make sure the buffer that was visiting the archive file is still
21450 live before trying to bury it.
21451 (todo-category-completions): Handle external deletion of any
21452 category completion files.
21453 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21454 of todo files, in case of external deletion.
21455 (todo-add-file): Replace unnecessary setq by let-binding.
21456 (todo-find-archive): Check whether there are any archives.
21457 Replace unnecessary setq by let-binding.
21458 (todo-archive-done-item): Use find-file-noselect to get the
21459 archive buffer whether or not the archive already exists.
21460 Remove superfluous code. Use file size instead of buffer-file-name to
21461 check if the archive is new; if it is, update list of archives.
21462 (todo-default-todo-file): Allow nil to be a valid value for when
21463 there are no todo files.
21464 (todo-reevaluate-default-file-defcustom): Use corrected definition
21465 of todo-default-todo-file.
21466 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21467 (todo-delete-category, todo-show-categories-table)
21468 (todo-category-number): Clarify comment.
21469 (todo-filter-items): Clarify documentation string.
21470 (todo-show-current-file, todo-display-as-todo-file)
21471 (todo-reset-and-enable-done-separator): Tweak documentation string.
21472 (todo-done-separator): Make separator length window-width, since
21473 bug#2749 is now fixed.
21474
21475 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21476
21477 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21478 Support both "gvfs-monitor-dir" and "inotifywait".
21479 (tramp-sh-file-inotifywait-process-filter): Rename from
21480 `tramp-sh-file-notify-process-filter'.
21481 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21482 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21483
21484 2013-07-05 Leo Liu <sdl.web@gmail.com>
21485
21486 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21487
21488 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21489
21490 * frame.el (display-pixel-height, display-pixel-width)
21491 (display-mm-height, display-mm-width): Mention behavior on
21492 multi-monitor setups in docstrings.
21493 (w32-display-monitor-attributes-list): Declare function.
21494 (display-monitor-attributes-list): Use it.
21495
21496 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21497
21498 * filenotify.el: New package.
21499
21500 * autorevert.el (top): Require filenotify.el.
21501 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21502 instead.
21503 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21504 (auto-revert-notify-handler): Use `file-notify-*' functions.
21505
21506 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21507
21508 * net/tramp.el (tramp-file-name-for-operation):
21509 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21510
21511 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21512 for `file-notify-add-watch' and `file-notify-rm-watch'.
21513 (tramp-process-sentinel): Improve trace.
21514 (tramp-sh-handle-file-notify-add-watch)
21515 (tramp-sh-file-notify-process-filter)
21516 (tramp-sh-handle-file-notify-rm-watch)
21517 (tramp-get-remote-inotifywait): New defuns.
21518
21519 2013-07-03 Juri Linkov <juri@jurta.org>
21520
21521 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21522 call of `occur-read-primary-args' to interactive spec.
21523
21524 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21525 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21526
21527 2013-07-03 Matthias Meulien <orontee@gmail.com>
21528
21529 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21530 `Buffer-menu-multi-occur'. Add it to the menu.
21531 (Buffer-menu-mode): Document it in docstring.
21532 (Buffer-menu-multi-occur): New command. (Bug#14673)
21533
21534 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21535
21536 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21537 keywords and built-ins.
21538
21539 2013-07-03 Glenn Morris <rgm@gnu.org>
21540
21541 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21542
21543 Make info-xref checks case-sensitive by default
21544 * info.el (Info-find-node, Info-find-in-tag-table)
21545 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21546 Add option for exact case matching of nodes.
21547 * info-xref.el (info-xref): New custom group.
21548 (info-xref-case-fold): New option.
21549 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21550
21551 2013-07-03 Leo Liu <sdl.web@gmail.com>
21552
21553 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21554
21555 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21556
21557 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21558 middle of block statement initially, lower the depth. Remove
21559 FIXME comment, not longer valid. Remove middle of block statement
21560 detection, no need to do that anymore since we've been using
21561 `ruby-parse-region' here.
21562
21563 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21564
21565 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21566
21567 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21568
21569 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21570
21571 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21572
21573 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21574 (desktop-restore-in-current-display): New customization option.
21575 (desktop--excluded-frame-parameters): Add `font'.
21576 (desktop--save-frames): Rename from desktop--save-windows.
21577 (desktop--restore-in-this-display-p): New function.
21578 (desktop--make-full-frame): Remove unwanted width/height from
21579 full(width|height) frames.
21580 (desktop--restore-frames): Rename from desktop--restore-windows.
21581 Obey desktop-restore-current-display. Do not delete old frames or
21582 select a new frame unless we were able to restore at least one frame.
21583
21584 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21585
21586 * files.el (find-file-noselect): Simplify conditional expression.
21587
21588 * textmodes/remember.el (remember-append-to-file):
21589 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21590
21591 Add `remember-notes' function to store random notes across Emacs
21592 restarts.
21593 * textmodes/remember.el (remember-data-file): Add :set callback to
21594 affect notes buffer (if any).
21595 (remember-notes): New command.
21596 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21597 New defcustoms for the `remember-notes' function.
21598 (remember-notes-save-and-bury-buffer): New command.
21599 (remember-notes-mode-map): New variable.
21600 (remember-mode): New minor mode.
21601 (remember-notes--kill-buffer-query): New function.
21602 * startup.el (initial-buffer-choice): Add notes to custom type.
21603
21604 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21605
21606 * bindings.el (right-char, left-char): Don't call sit-for, this is
21607 no longer needed. Use arithmetic comparison only for numerical
21608 arguments.
21609
21610 * international/mule-cmds.el (select-safe-coding-system):
21611 Handle the case of FROM being a string correctly. (Bug#14755)
21612
21613 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21614
21615 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21616 progression on degenerate tables.
21617 (shr-rescale-image): ImageMagick animated images currently don't work.
21618
21619 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21620
21621 Some fixes and improvements for desktop frame restoration.
21622 It is still experimental and disabled by default.
21623 * desktop.el (desktop--save-windows): Put the selected frame at
21624 the head of the list.
21625 (desktop--make-full-frame): New function.
21626 (desktop--restore-windows): Try to re-select the frame that was
21627 selected upon saving. Do not abort if some frames fail to restore,
21628 just show an error message and continue. Set up maximized frames
21629 so they have default non-maximized dimensions.
21630
21631 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21632
21633 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21634 Don't start heredoc inside a string or comment.
21635
21636 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21637
21638 * bindings.el (visual-order-cursor-movement): New defcustom.
21639 (right-char, left-char): Provide visual-order cursor motion by
21640 calling move-point-visually. Update the doc strings.
21641
21642 2013-06-28 Kenichi Handa <handa@gnu.org>
21643
21644 * international/mule.el (define-coding-system): New coding system
21645 properties :inhibit-null-byte-detection,
21646 :inhibit-iso-escape-detection, and :prefer-utf-8.
21647 (set-buffer-file-coding-system): If :charset-list property of
21648 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21649 appropriate for setting.
21650
21651 * international/mule-cmds.el (select-safe-coding-system):
21652 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21653 multibyte characters, return utf-8 (or one of its siblings).
21654
21655 * international/mule-conf.el (prefer-utf-8): New coding system.
21656 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21657 files.
21658
21659 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21660
21661 * net/shr.el (shr-render-region): New function.
21662
21663 * net/eww.el: Autoload `eww-browse-url'.
21664
21665 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21666
21667 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21668 Adapt to `package-desc-version' being a list.
21669 Use `package--ac-desc-version' to retrieve version from a package
21670 archive element.
21671
21672 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21673
21674 New experimental feature to save&restore window and frame setup.
21675 * desktop.el (desktop-save-windows): New defcustom.
21676 (desktop--saved-states): New var.
21677 (desktop--excluded-frame-parameters): New defconst.
21678 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21679 (desktop--restore-windows, desktop--save-windows): New functions.
21680 (desktop-save): Call `desktop--save-windows'.
21681 (desktop-read): Call `desktop--restore-windows'.
21682
21683 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21684
21685 * net/shr.el (add-face-text-property): Remove compat definition.
21686
21687 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21688
21689 * info.el (Info-try-follow-nearest-node): Move search for footnote
21690 above search for node name to prevent missing a footnote (bug#14717).
21691
21692 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21693
21694 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21695
21696 2013-06-27 Leo Liu <sdl.web@gmail.com>
21697
21698 * net/eww.el (eww-read-bookmarks): Check file size.
21699
21700 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21701
21702 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21703 advice--pending if newdef is nil or an autoload (bug#13820).
21704 (advice-mapc): New function.
21705
21706 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21707
21708 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21709 probably.
21710 (eww-mode-map): Add a menu bar.
21711 (eww-add-bookmark): New command.
21712 (eww-bookmark-mode): New mode and commands.
21713 (eww-add-bookmark): Remove newlines from the title.
21714 (eww-bookmark-browse): Don't bug out if it's the only window.
21715
21716 2013-06-26 Glenn Morris <rgm@gnu.org>
21717
21718 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21719 (hfy-size): Handle ttys. (Bug#14668)
21720
21721 * info-xref.el: Update for Texinfo 5 change in *note format.
21722 (info-xref-node-re, info-xref-note-re): New constants.
21723 (info-xref-check-buffer): Use info-xref-note-re.
21724
21725 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21726
21727 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21728
21729 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21730 nil terminate the loop (bug#14718).
21731
21732 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21733
21734 * net/eww.el: Rework history traversal. When going forward/back,
21735 put these actions into the history, too, so that they can be
21736 replayed.
21737 (eww-render): Move the history reset to the correct buffer.
21738
21739 2013-06-25 Juri Linkov <juri@jurta.org>
21740
21741 * files-x.el (modify-dir-local-variable): Change the header comment
21742 in the file with directory local variables. (Bug#14692)
21743
21744 * files-x.el (read-file-local-variable-value): Add `default'.
21745 (Bug#14710)
21746
21747 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21748
21749 * net/eww.el (eww-make-unique-file-name): Create a unique file
21750 name before saving to entering `y' accidentally asynchronously.
21751
21752 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21753
21754 * net/eww.el (eww-download): New command and keystroke.
21755
21756 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21757
21758 * net/eww.el (eww-copy-page-url): Change name of command.
21759
21760 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21761 be more consistent with Info and dired.
21762
21763 * net/eww.el (eww-mode-map): Ditto.
21764
21765 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21766
21767 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21768 packages from archives.
21769 (package-archive-contents): Change format; include obsolete packages.
21770 (package-desc): Use `dir' to mark builtin packages.
21771 (package--from-builtin): Set the `dir' field to `builtin'.
21772 (generated-autoload-file, version-control): Declare.
21773 (package-compute-transaction): Change first arg and return value to be
21774 lists of package-descs. Adjust to new package-archive-contents format.
21775 (package--add-to-archive-contents): Adjust to new
21776 package-archive-contents format.
21777 (package-download-transaction): Arg is now a list of package-descs.
21778 (package-install): If `pkg' is a package name, pass it as
21779 a requirement, so it is subject to the usual (e.g. disabled) checks.
21780 (describe-package): Accept package-desc as well.
21781 (describe-package-1): Describe a specific package-desc. Add links to
21782 other package-descs for the same package name.
21783 (package-menu-describe-package): Pass the actual package-desc.
21784 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21785 works correctly.
21786 (package-desc-status): New function.
21787 (package-menu--refresh): New function, extracted
21788 from package-menu--generate.
21789 (package-menu--generate): Use it.
21790 (package-delete): Update package-alist.
21791 (package-menu-execute): Don't call package-initialize.
21792
21793 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21794 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21795 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21796 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21797 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21798 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21799
21800 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21801
21802 * window.el (window--state-get-1): Workaround for bug#14527.
21803 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21804
21805 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21806
21807 * net/eww.el (eww-back-url): Implement the history by stashing all
21808 the data into a list.
21809 (eww-forward-url): Allow going forward in the history, too.
21810
21811 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21812
21813 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21814 for values and use read--expression for expressions (bug#14710).
21815 (read-file-local-variable): Avoid setq.
21816 (read-file-local-variable-mode): Use minor-mode-list.
21817
21818 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21819
21820 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21821 for DOI URLs.
21822
21823 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21824
21825 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21826 Update imenu-support when dialect changes.
21827
21828 2013-06-25 Leo Liu <sdl.web@gmail.com>
21829
21830 * ido.el (ido-read-internal): Allow forward slash on windows.
21831
21832 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21833
21834 * net/eww.el (eww): Start of strings is \\`, not ^.
21835
21836 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21837
21838 * net/shr.el (shr-browse-url): Fix interactive spec.
21839
21840 * net/eww.el (eww): Add a trailing slash to domain names.
21841
21842 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21843
21844 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21845
21846 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21847
21848 * net/shr.el (shr-browse-url): Use an external browser if given a
21849 prefix.
21850
21851 * net/eww.el (eww-external-browser): Move to shr.
21852
21853 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21854
21855 * net/eww.el (eww): Work more correctly for file: URLs.
21856 (eww-detect-charset): Allow quoted charsets.
21857 (eww-yank-page-url): New command and keystroke.
21858
21859 2013-06-24 Daiki Ueno <ueno@gnu.org>
21860
21861 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21862 file name of gpg executable.
21863 (epg-context-program): New function.
21864 (epg-context-home-directory): New function.
21865 (epg-context-set-program): New function.
21866 (epg-context-set-home-directory): New function.
21867 (epg--start): Use `epg-context-program' instead of
21868 'epg-gpg-program'.
21869 (epg--list-keys-1): Likewise.
21870
21871 2013-06-24 Leo Liu <sdl.web@gmail.com>
21872
21873 * ido.el (ido-read-internal): Fix bug#14620.
21874
21875 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21876
21877 * faces.el (face-documentation): Simplify.
21878 (read-face-attribute, tty-find-type, x-resolve-font-name):
21879 Use `string-match-p'.
21880 (list-faces-display): Use `string-match-p'. Simplify.
21881 (face-spec-recalc): Check face to avoid face alias loops.
21882 (read-color): Use `string-match-p' and non-capturing parenthesis.
21883
21884 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21885
21886 * net/shr.el (shr-rescale-image): Use the new
21887 :max-width/:max-height functionality.
21888
21889 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21890
21891 * net/eww.el (eww-search-prefix): New variable.
21892 (eww): Use it.
21893 (eww-external-browser): New variable.
21894 (eww-mode-map): New keystroke.
21895 (eww-browse-with-external-browser): New command.
21896
21897 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21898
21899 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21900
21901 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21902 Don't skip aligning the next header field when padding is 0;
21903 otherwise, field width is not respected unless the title is as
21904 wide as the field.
21905
21906 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21907
21908 * emacs-lisp/package.el (package-el-version): Remove.
21909 (package-process-define-package): Fix inf-loop.
21910 (package-install): Allow symbols as arguments again.
21911
21912 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21913
21914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21915 add some more keyword-like methods.
21916 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21917
21918 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21919
21920 * bs.el (bs-buffer-show-mark): Make defvar-local.
21921 (bs-mode): Use setq-local.
21922
21923 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21924 (emacs-lock--try-unlocking): Make defvar-local.
21925
21926 2013-06-22 Glenn Morris <rgm@gnu.org>
21927
21928 * play/cookie1.el (cookie-apropos): Minor simplification.
21929
21930 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21931
21932 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21933
21934 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21935 `regexp-opt', it breaks the build during dumping.
21936
21937 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21938
21939 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21940 Highlight keyword-like methods on Kernel and Module with
21941 font-lock-builtin-face.
21942 (auto-mode-alist): Consolidate different entries into one regexp
21943 and add more *file-s.
21944
21945 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21946
21947 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21948
21949 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21950 (diary-entry): Use it in the action of this button type instead of
21951 diary-goto-entry.
21952
21953 * calendar/todo-mode.el: New version.
21954 (todo-add-category): Append new category to end of file and give
21955 it the highest number, instead of putting it at the beginning and
21956 giving it 0. Incorporate noninteractive functionality.
21957 (todo-forward-category): Adapt to 1-based category numbering.
21958 Allow skipping over archived categories.
21959 (todo-backward-category): Derive from todo-forward-category.
21960 (todo-backward-item, todo-forward-item): Make noninteractive and
21961 delegate interactive part to new commands. Make sensitive to done items.
21962 (todo-categories): Make value an alist of category names and
21963 vectors of item counts.
21964 (todo-category-beg): Make a defconst.
21965 (todo-category-number): Use 1 instead of 0 as initial value.
21966 (todo-category-select): Make sensitive to overlays, optional item
21967 highlighting and done items.
21968 (todo-delete-item): Make sensitive to overlays and marked and done items.
21969 (todo-edit-item): Make sensitive to overlays and editing of
21970 date/time header optional. Add format checks.
21971 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21972 no-op if point is not on an item. Advertise using todo-edit-quit.
21973 (todo-edit-mode): Make sensitive to new format, font-locking, and
21974 multiple todo files.
21975 (todo-insert-item, todo-insert-item-here): Derive from
21976 todo-basic-insert-item and extend functionality.
21977 (todo-item-end, todo-item-start): Make sensitive to done items.
21978 (todo-item-string): Don't return text properties. Restore point.
21979 (todo-jump-to-category): Make sensitive to multiple todo files and
21980 todo archives. Use extended category completion.
21981 (todo-lower-item, todo-raise-item): Rename to *-priority and
21982 derive from todo-set-item-priority.
21983 (todo-mode): Derive from special-mode. Make sensitive to new
21984 format, font-locking and multiple todo files. Make read-only.
21985 (todo-mode-map): Don't suppress digit keys, so they can supply
21986 prefix arguments. Add many new key bindings.
21987 (todo-prefix): Insert as an overlay instead of file text.
21988 Change semantics from diary date expression to purely visual mark.
21989 (todo-print): Rename to todo-print-buffer. Make buffer display
21990 features printable. Remove option to restrict number of items
21991 printed. Add option to print to file.
21992 (todo-print-function): Rename to todo-print-buffer-function.
21993 (todo-quit): Extend to handle exiting new todo modes.
21994 (todo-remove-item): Make sensitive to overlays.
21995 (todo-save): Extend to buffers of filtered items.
21996 (todo-show): Make sensitive to done items, multiple todo files and
21997 new todo modes. Offer to convert legacy todo file before creating
21998 first new todo file.
21999 (todo-show-priorities): Rename to todo-top-priorities.
22000 Change semantics of value 0.
22001 (todo-top-priorities): Rename to todo-filter-top-priorities,
22002 derive from todo-filter-items and extend functionality.
22003 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
22004 and extend functionality to other types of filtered items.
22005 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
22006 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
22007 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
22008 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
22009 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
22010 (todo-edit-mode-hook, todo-entry-prefix-function)
22011 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
22012 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
22013 (todo-initials, todo-insert-threshold, todo-item-string-start)
22014 (todo-line-string, todo-menu, todo-mode-hook)
22015 (todo-more-important-p, todo-previous-answer, todo-previous-line)
22016 (todo-print-priorities, todo-remove-separator)
22017 (todo-save-top-priorities-too, todo-string-count-lines)
22018 (todo-string-multiline-p, todo-time-string-format)
22019 (todo-tmp-buffer-name): Remove.
22020 (todo-add-file, todo-archive-done-item, todo-choose-archive)
22021 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
22022 (todo-edit-category-diary-inclusion)
22023 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
22024 (todo-edit-file, todo-edit-item-date-day)
22025 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
22026 (todo-edit-item-date-month, todo-edit-item-date-to-today)
22027 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
22028 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
22029 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
22030 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
22031 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
22032 (todo-filter-top-priorities-multifile, todo-find-archive)
22033 (todo-find-filtered-items-file, todo-go-to-source-item)
22034 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
22035 (todo-jump-to-archive-category, todo-lower-category)
22036 (todo-mark-category, todo-marked-item-p, todo-merge-category)
22037 (todo-move-category, todo-move-item, todo-next-button)
22038 (todo-next-item, todo-padded-string, todo-powerset)
22039 (todo-previous-button, todo-previous-item)
22040 (todo-print-buffer-to-file, todo-raise-category)
22041 (todo-rename-category, todo-repair-categories-sexp, todo-search)
22042 (todo-set-category-number, todo-set-item-priority)
22043 (todo-set-top-priorities-in-category)
22044 (todo-set-top-priorities-in-file, todo-show-categories-table)
22045 (todo-sort-categories-alphabetically-or-numerically)
22046 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
22047 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
22048 (todo-toggle-item-header, todo-toggle-item-highlighting)
22049 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
22050 (todo-toggle-view-done-items, todo-toggle-view-done-only)
22051 (todo-unarchive-items, todo-unmark-category): New commands.
22052 (todo-absolute-file-name, todo-add-to-buffer-list)
22053 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
22054 (todo-basic-insert-item, todo-category-completions)
22055 (todo-category-number, todo-category-string-matcher-1)
22056 (todo-category-string-matcher-2, todo-check-filtered-items-file)
22057 (todo-check-format, todo-clear-matches)
22058 (todo-comment-string-matcher, todo-convert-legacy-date-time)
22059 (todo-current-category, todo-date-string-matcher)
22060 (todo-define-insertion-command, todo-diary-expired-matcher)
22061 (todo-diary-goto-entry, todo-diary-item-p)
22062 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
22063 (todo-display-categories, todo-display-sorted, todo-done-item-p)
22064 (todo-done-item-section-p, todo-done-separator)
22065 (todo-done-string-matcher, todo-files, todo-filter-items)
22066 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
22067 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
22068 (todo-insert-category-line, todo-insert-item-from-calendar)
22069 (todo-insert-sort-button, todo-insert-with-overlays)
22070 (todo-insertion-command-name, todo-insertion-key-bindings)
22071 (todo-label-to-key, todo-longest-category-name-length)
22072 (todo-make-categories-list, todo-mode-external-set)
22073 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
22074 (todo-modes-set-3, todo-multiple-filter-files)
22075 (todo-nondiary-marker-matcher, todo-prefix-overlays)
22076 (todo-read-category, todo-read-date, todo-read-dayname)
22077 (todo-read-file-name, todo-read-time)
22078 (todo-reevaluate-category-completions-files-defcustom)
22079 (todo-reevaluate-default-file-defcustom)
22080 (todo-reevaluate-filelist-defcustoms)
22081 (todo-reevaluate-filter-files-defcustom)
22082 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
22083 (todo-reset-done-separator, todo-reset-done-separator-string)
22084 (todo-reset-done-string, todo-reset-global-current-todo-file)
22085 (todo-reset-highlight-item, todo-reset-nondiary-marker)
22086 (todo-reset-prefix, todo-set-categories)
22087 (todo-set-date-from-calendar, todo-set-show-current-file)
22088 (todo-set-top-priorities, todo-short-file-name)
22089 (todo-show-current-file, todo-sort, todo-time-string-matcher)
22090 (todo-total-item-counts, todo-update-buffer-list)
22091 (todo-update-categories-display, todo-update-categories-sexp)
22092 (todo-update-count, todo-validate-name, todo-y-or-n-p):
22093 New functions.
22094 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
22095 New major modes.
22096 (todo-categories, todo-display, todo-edit, todo-faces)
22097 (todo-filtered): New defgroups.
22098 (todo-archived-only, todo-button, todo-category-string, todo-date)
22099 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
22100 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
22101 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
22102 (todo-add-item-if-new-category, todo-always-add-time-string)
22103 (todo-categories-align, todo-categories-archived-label)
22104 (todo-categories-category-label, todo-categories-diary-label)
22105 (todo-categories-done-label, todo-categories-number-separator)
22106 (todo-categories-todo-label, todo-categories-totals-label)
22107 (todo-category-completions-files, todo-completion-ignore-case)
22108 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
22109 (todo-done-separator-string, todo-done-string)
22110 (todo-files-function, todo-filter-done-items, todo-filter-files)
22111 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
22112 (todo-initial-category, todo-initial-file, todo-item-mark)
22113 (todo-legacy-date-time-regexp, todo-mode-line-function)
22114 (todo-nondiary-marker, todo-number-prefix)
22115 (todo-print-buffer-function, todo-show-current-file)
22116 (todo-show-done-only, todo-show-first, todo-show-with-done)
22117 (todo-skip-archived-categories, todo-top-priorities-overrides)
22118 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
22119 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
22120 New defcustoms.
22121 (todo-category-done, todo-date-pattern, todo-date-string-start)
22122 (todo-diary-items-buffer, todo-done-string-start)
22123 (todo-filtered-items-buffer, todo-item-start)
22124 (todo-month-abbrev-array, todo-month-name-array)
22125 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
22126 (todo-top-priorities-buffer): New defconsts.
22127 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
22128 (todo-categories-with-marks, todo-category-string-face)
22129 (todo-comment-face, todo-comment-string, todo-current-todo-file)
22130 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
22131 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
22132 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
22133 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
22134 (todo-font-lock-keywords, todo-global-current-todo-file)
22135 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
22136 (todo-insertion-commands-args)
22137 (todo-insertion-commands-args-genlist)
22138 (todo-insertion-commands-names, todo-insertion-map)
22139 (todo-key-bindings-t, todo-key-bindings-t+a)
22140 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
22141 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
22142 (todo-nondiary-face, todo-print-buffer, todo-time-face)
22143 (todo-visited): New variables.
22144
22145 2013-06-21 Glenn Morris <rgm@gnu.org>
22146
22147 * play/cookie1.el (cookie-apropos): Add optional display argument.
22148 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
22149 (psychoanalyze-pinhead): Use cookie-doctor.
22150
22151 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22152
22153 * emacs-lisp/package.el (tar-get-file-descriptor)
22154 (tar--extract): Declare.
22155
22156 2013-06-21 Eduard Wiebe <usenet@pusto.de>
22157
22158 Extend flymake's warning predicate to be a function (bug#14217).
22159 * progmodes/flymake.el (flymake-warning-predicate): New.
22160 (flymake-parse-line): Use it.
22161 (flymake-warning-re): Make obsolete alias to
22162 `flymake-warning-predicate'.
22163
22164 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22165
22166 * emacs-lisp/package.el (package-alist): Include obsolete packages.
22167 (package-obsolete-list): Remove.
22168 (package-activate): Remove min-version argument. Add `force' argument.
22169 Adjust to new package-alist format.
22170 (package-mark-obsolete): Remove.
22171 (package-unpack): Force reload of the package's autoloads.
22172 (package-installed-p): Check builtins if the installed package is not
22173 recent enough.
22174 (package-initialize): Don't reset package-obsolete-list.
22175 Don't specify which package version to activate.
22176 (package-process-define-package, describe-package-1)
22177 (package-menu--generate): Adjust to new package-alist format.
22178
22179 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22180
22181 * allout-widgets.el (allout-widgets-mode-off)
22182 (allout-widgets-mode-on, allout-widgets-pre-command-business)
22183 (allout-widgets-post-command-business)
22184 (allout-widgets-after-copy-or-kill-function)
22185 (allout-widgets-after-undo-function, allout-test-range-overlaps)
22186 (allout-decorate-item-and-context)
22187 (allout-graphics-modification-handler): Fix typos in docstrings.
22188 (allout-get-or-create-parent-widget): Use `looking-at-p'.
22189
22190 * cmuscheme.el (scheme-start-file): Doc fix.
22191 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
22192 (scheme-input-filter): Use `string-match-p'.
22193
22194 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
22195
22196 * dired-x.el: Use Dired consistently in docstrings.
22197
22198 * dired.el: Use Dired consistently in docstrings.
22199 (dired-readin, dired-mode): Use `setq-local'.
22200 (dired-switches-alist): Make defvar-local.
22201 (dired-buffers-for-dir): Use `zerop'.
22202 (dired-safe-switches-p, dired-switches-escape-p)
22203 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
22204 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
22205 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
22206 (dired-goto-next-nontrivial-file): Use `string-match-p'.
22207 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
22208 (dired-toggle-marks, dired-mark-files-containing-regexp)
22209 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
22210 (dired-flag-auto-save-files, dired-flag-backup-files):
22211 Use `looking-at-p'.
22212 (dired-mark-files-regexp, dired-build-subdir-alist):
22213 Use `string-match-p', `looking-at-p'.
22214
22215 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
22216 (direct-print-region-helper): Use `string-match-p'.
22217
22218 2013-06-21 Leo Liu <sdl.web@gmail.com>
22219
22220 * comint.el (comint-redirect-results-list-from-process):
22221 Fix infinite loop.
22222
22223 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22224
22225 * net/eww.el (eww-update-header-line-format): Quote % characters.
22226
22227 2013-06-21 Glenn Morris <rgm@gnu.org>
22228
22229 * play/cookie1.el (cookie): New custom group.
22230 (cookie-file): New option.
22231 (cookie-check-file): New function.
22232 (cookie): Make it interactive. Make start and end messages optional.
22233 Interactively, display the result. Default to cookie-file.
22234 (cookie-insert): Default to cookie-file.
22235 (cookie-snarf): Make start and end messages optional.
22236 Default to cookie-file. Use with-temp-buffer.
22237 (cookie-read): Rename from read-cookie.
22238 Make start and end messages optional. Default to cookie-file.
22239 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
22240 Do not autoload it.
22241 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
22242 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
22243
22244 2013-06-21 Leo Liu <sdl.web@gmail.com>
22245
22246 * progmodes/octave.el (octave-mode): Backward compatibility fix.
22247
22248 2013-06-21 Glenn Morris <rgm@gnu.org>
22249
22250 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
22251
22252 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22253 Daniel Hackney <dan@haxney.org>
22254
22255 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
22256 Consolidate the single-file vs tarball code.
22257 (package-desc-suffix): New function.
22258 (package-desc-full-name): Don't bother inlining it.
22259 (package-load-descriptor): Return the new package-desc.
22260 (package-mark-obsolete): Remove unused arg `package'.
22261 (package-unpack): Make it work for single files as well.
22262 Make it update package-alist.
22263 (package--make-autoloads-and-stuff): Rename from
22264 package--make-autoloads-and-compile. Don't compile any more.
22265 (package--compile): New function.
22266 (package-generate-description-file): New function, extracted from
22267 package-unpack-single.
22268 (package-unpack-single): Remove.
22269 (package--with-work-buffer): Add indentation and debugging info.
22270 (package-download-single): Remove.
22271 (package-install-from-archive): Rename from package-download-tar, make
22272 it take a pkg-desc, and make it work for single files as well.
22273 (package-download-transaction): Simplify.
22274 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
22275 external tar program.
22276 (package-install-from-buffer): Remove `pkg-desc' argument.
22277 Use package-tar-file-info for tar-mode buffers.
22278 (package-install-file): Simplify accordingly.
22279 (package-archive-base): Change to take a pkg-desc.
22280 * tar-mode.el (tar--check-descriptor): New function, extracted from
22281 tar-get-descriptor.
22282 (tar-get-descriptor): Use it.
22283 (tar-get-file-descriptor): New function.
22284 (tar--extract): New function, extracted from tar-extract.
22285 (tar--extract): Use it.
22286 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22287 case the summary uses non-ascii. Adjust to new calling convention of
22288 package-tar-file-info.
22289
22290 2013-06-21 Leo Liu <sdl.web@gmail.com>
22291
22292 * comint.el (comint-redirect-results-list-from-process):
22293 Fix random delay. (Bug#14681)
22294
22295 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22296
22297 * profiler.el (profiler-format-number): Use log, not log10.
22298
22299 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22300
22301 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22302
22303 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22304
22305 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22306 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22307 yet available.
22308 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22309 (AUTOGENEL): ... here.
22310 * emacs-lisp/cl-macs.el (cl--sublis): New function.
22311 (cl--defsubst-expand): Use it.
22312
22313 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
22314
22315 * subr.el (log10): Move here from C code, and declare as obsolete.
22316 All uses of (log10 X) replaced with (log X 10).
22317
22318 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22319
22320 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22321 Declare with `defvar-local'.
22322 (tabulated-list-use-header-line, tabulated-list-entries)
22323 (tabulated-list-padding, tabulated-list-printer)
22324 (tabulated-list-sort-key): Declare with `defvar-local'.
22325 (tabulated-list-init-header, tabulated-list-print-fake-header):
22326 Use `setq-local'.
22327
22328 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22329
22330 * arc-mode.el (archive-mode): Add `archive-write-file' to
22331 `write-contents-functions' also for remote files. (Bug#14652)
22332
22333 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22334
22335 * cus-edit.el (custom-commands): Fix typos.
22336 (custom-display): Fix tooltip text.
22337 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22338 Fix typos in docstrings.
22339 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22340 (custom-unlispify-menu-entry, custom-magic-value-create)
22341 (custom-add-see-also, custom-group-value-create): Use ?\s.
22342 (custom-guess-type, customize-apropos, editable-field)
22343 (custom-face-value-create): Use `string-match-p'.
22344 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22345
22346 * custom.el (custom-load-symbol): Use `string-match-p'.
22347
22348 * ansi-color.el: Convert to lexical binding.
22349 (ansi-colors): Fix URL.
22350 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22351 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22352 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22353
22354 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22355
22356 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22357
22358 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22359
22360 2013-06-19 Tom Tromey <tromey@redhat.com>
22361
22362 * net/eww.el (eww-top-url): Remove.
22363 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22364 (eww-render): Set new variables. Don't set eww-top-url.
22365 (eww-handle-link): Handle "prev", "home", and "contents".
22366 Downcase the rel text.
22367 (eww-top-url): Choose best top URL.
22368
22369 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22370
22371 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22372 relying in widget.el. Using widget.el leads to too many
22373 user interface inconsistencies.
22374 (eww-self-insert): Implement entering commands in text fields.
22375 (eww-process-text-input): New function to make text input field editing
22376 work.
22377 (eww-submit): Rewrite to use the new-style form methods.
22378 (eww-select-display): Display the correct selected item.
22379 (eww-change-select): Implement changing the select value.
22380 (eww-toggle-checkbox): Implement radio/checkboxes.
22381 (eww-update-field): Fix compilation error.
22382 (eww-tag-textarea): Implement <textarea>.
22383
22384 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22385 we don't shadow mode-specific bindings.
22386
22387 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22388 nothing to push.
22389
22390 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22391
22392 2013-06-19 Glenn Morris <rgm@gnu.org>
22393
22394 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22395
22396 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22397
22398 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22399 not needed.
22400
22401 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22402
22403 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22404
22405 * net/browse-url.el (browse-url-browser-function):
22406 `eww-browse-url' has the right calling signature, `eww' does not.
22407
22408 2013-06-19 Glenn Morris <rgm@gnu.org>
22409
22410 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22411 Only eval autoloaded macros.
22412 (byte-compile-autoload): Only give the macro warning for macros.
22413
22414 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22415 (ps-underlined-faces): Declare.
22416
22417 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22418 (speedbar-add-supported-extension): Declare.
22419
22420 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22421 Don't include a date stamp in the header of the generated file;
22422 it leads to needless differences between output files.
22423
22424 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22425
22426 * net/secrets.el (secrets-struct-secret-content-type):
22427 Replace check of introspection data by a test call of "CreateItem".
22428 Some servers do not offer introspection.
22429
22430 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22431
22432 * electric.el (electric-pair-mode): Improve interaction with
22433 electric-layout-mode.
22434 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22435 (electric-pair-syntax): Use text-mode-syntax-table in comments
22436 and strings.
22437 (electric-pair--insert): New function.
22438 (electric-pair-post-self-insert-function): Use it and
22439 electric--after-char-pos.
22440
22441 2013-06-19 Leo Liu <sdl.web@gmail.com>
22442
22443 * progmodes/octave.el (octave-help): Fix regexp.
22444
22445 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22446
22447 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22448 (shr-table-horizontal-line): Allow nil as a value, and change the
22449 default.
22450 (shr-insert-table-ruler): Respect the nil value.
22451
22452 2013-06-18 Tom Tromey <tromey@barimba>
22453
22454 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22455 New defvars.
22456 (eww-open-file): New defun.
22457 (eww-render): Initialize new variables.
22458 (eww-display-html): Handle "link" and "a".
22459 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22460 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22461 (eww-back-url): Rename from eww-previous-url.
22462 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22463 New defuns.
22464
22465 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22466
22467 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22468 Distinguish ternary operator tokens from slash symbol and slash
22469 char literal.
22470
22471 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22472
22473 Convert symbol prettification into minor mode and global minor mode.
22474
22475 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22476 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22477 (prettify-symbols--keywords): Rename from
22478 `prog-prettify-symbols-alist' and make a local defvar.
22479 (prettify-symbols--compose-symbol): Rename from
22480 `prog--prettify-font-lock-compose-symbol'.
22481 (prettify-symbols--make-keywords): Rename from
22482 `prog-prettify-font-lock-symbols-keywords' and simplify.
22483 (prog-prettify-install): Remove.
22484 (prettify-symbols-mode): New minor mode, based on
22485 `prog-prettify-install'.
22486 (turn-on-prettify-symbols-mode): New function.
22487 (global-prettify-symbols-mode): New globalized minor mode.
22488
22489 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22490 * progmodes/cfengine.el (cfengine3-mode):
22491 * progmodes/perl-mode.el (perl-mode): Don't call
22492 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22493
22494 2013-06-18 Juri Linkov <juri@jurta.org>
22495
22496 * files-x.el (modify-file-local-variable-message): New function.
22497 (modify-file-local-variable)
22498 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22499 and call `modify-file-local-variable-message' when it's non-nil.
22500 (add-file-local-variable, delete-file-local-variable)
22501 (add-file-local-variable-prop-line)
22502 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22503 and use it. (Bug#9820)
22504
22505 2013-06-18 Juri Linkov <juri@jurta.org>
22506
22507 * emulation/vi.el (vi-shell-op):
22508 * emulation/vip.el (vip-execute-com, ex-command):
22509 * emulation/viper-cmd.el (viper-exec-bang):
22510 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22511 the call of `shell-command-on-region'. (Bug#14637)
22512
22513 * simple.el (shell-command-on-region): Doc fix.
22514
22515 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22516
22517 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22518 (bug#14633).
22519
22520 2013-06-18 Glenn Morris <rgm@gnu.org>
22521
22522 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22523
22524 * newcomment.el (comment-search-forward, comment-search-backward):
22525 Doc fix. (Bug#14376)
22526
22527 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22528
22529 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22530 (buffer-face-mode-invoke): Doc fix.
22531
22532 2013-06-18 Matthias Meulien <orontee@gmail.com>
22533
22534 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22535 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22536
22537 2013-06-18 Glenn Morris <rgm@gnu.org>
22538
22539 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22540 Replace obsolete function generic-make-keywords with its expansion.
22541
22542 * progmodes/python.el (ffap-alist): Declare.
22543
22544 * textmodes/reftex.el (bibtex-mode-map): Declare.
22545
22546 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22547
22548 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22549 (package-unpack, package-unpack-single): Return the pkg-dir.
22550 (package-download-transaction): Use it to update package-alist.
22551
22552 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22553
22554 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22555 possible choice.
22556
22557 2013-06-17 Juri Linkov <juri@jurta.org>
22558
22559 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22560
22561 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22562
22563 * emacs-lisp/package.el (package-load-descriptor):
22564 Remove `with-syntax-table' call, `read' doesn't need it.
22565 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22566
22567 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22568
22569 * startup.el (command-line): Expand package name returned by
22570 `package--description-file' (bug#14639).
22571
22572 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22573
22574 * emacs-lisp/package.el (package-load-descriptor): Do not call
22575 `emacs-lisp-mode', just use its syntax table.
22576
22577 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22578
22579 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22580 `font-lock-extra-managed-props' if any prettifying keyword is added.
22581 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22582 (prog-mode): Use `setq-local'.
22583
22584 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * international/characters.el (standard-case-table): Set syntax of ?»
22587 and ?« to punctuation.
22588
22589 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22590
22591 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22592 Save relevant match data before calling `syntax-ppss' (bug#14595).
22593
22594 2013-06-15 Juri Linkov <juri@jurta.org>
22595
22596 * files-x.el (modify-file-local-variable-prop-line): Add local
22597 variables to the end of the existing comment on the first line.
22598 Use `file-auto-mode-skip' to skip interpreter magic line,
22599 and also skip XML declaration.
22600
22601 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22602
22603 * startup.el (package--builtin-versions): New var.
22604 (package-subdirectory-regexp): Remove.
22605 (package--description-file): Hard code its value instead.
22606
22607 * emacs-lisp/package.el: Don't activate packages older than builtin.
22608 (package-obsolete-list): Rename from package-obsolete-alist, and make
22609 it into a simple list of package-desc.
22610 (package-strip-version): Remove.
22611 (package-built-in-p): Use package--builtin-versions.
22612 (package-mark-obsolete): Simplify.
22613 (package-process-define-package): Mark it obsolete if older than the
22614 builtin version.
22615 (package-handle-response): Use line-end-position.
22616 (package-read-archive-contents, package--download-one-archive):
22617 Simplify.
22618 (package--add-to-archive-contents): Skip if older than the builtin or
22619 installed version.
22620 (package-menu-describe-package): Fix last change.
22621 (package-list-unversioned): New var.
22622 (package-menu--generate): Use it.
22623
22624 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22625 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22626 (autoload-builtin-package-versions): New variable.
22627 (autoload-generate-file-autoloads): Use them.
22628 Remove the list of autoloaded functions/macros from the
22629 (autoload...) comments.
22630
22631 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22632
22633 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22634
22635 * simple.el (line-move-partial): Don't jump to the next screen
22636 line as soon as it becomes visible. Instead, continue enlarging
22637 the vscroll until the portion of a tall screen line that's left on
22638 display is about the height of the frame's default font.
22639 (Bug#14567)
22640
22641 2013-06-15 Glenn Morris <rgm@gnu.org>
22642
22643 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22644 compilation-error-regexp-alist void, or local while let-bound.
22645
22646 * progmodes/make-mode.el (makefile-mode-syntax-table):
22647 Treat "=" as punctuation. (Bug#14614)
22648
22649 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22650
22651 * help-fns.el (describe-variable):
22652 Add extra line for permanent-local variables.
22653
22654 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22655
22656 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22657 Add export, import, library. (Bug#9164)
22658 (library): Set indent function.
22659
22660 2013-06-14 Glenn Morris <rgm@gnu.org>
22661
22662 * term/xterm.el (xterm--query):
22663 Stop after first matching handler. (Bug#14615)
22664
22665 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22666
22667 Add support for dired in saveplace.
22668 * dired.el (dired-initial-position-hook): New variable.
22669 (dired-initial-position): Call hook to place cursor position.
22670 * saveplace.el (save-place-to-alist): Add dired position.
22671 (save-place-dired-hook): New function.
22672
22673 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22674
22675 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22676 through a symbol rather than letrec.
22677
22678 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22679 (package-desc): Add `dir' field.
22680 (package-desc-full-name): New function.
22681 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22682 (package-maybe-load-descriptor): Remove.
22683 (package-load-all-descriptors): Just call package-load-descriptor.
22684 (package--disabled-p): New function.
22685 (package-desc-vers, package-desc-doc): Remove aliases.
22686 (package--dir): Remove function.
22687 (package-activate): Check if a package is disabled.
22688 (package-process-define-package): New function, extracted from
22689 define-package.
22690 (define-package): Turn into a place holder.
22691 (package-unpack-single, package-tar-file-info):
22692 Use package--description-file.
22693 (package-compute-transaction): Use package--disabled-p.
22694 (package-download-transaction): Don't call
22695 package-maybe-load-descriptor since they're all loaded anyway.
22696 (package-install): Change argument to be a pkg-desc.
22697 (package-delete): Use a single pkg-desc argument.
22698 (describe-package-1): Use package-desc-dir instead of package--dir.
22699 Use package-desc property instead of package-symbol.
22700 (package-install-button-action): Adjust accordingly.
22701 (package--push): Rewrite.
22702 (package-menu--print-info): Adjust accordingly. Change the ID format
22703 to be a pkg-desc.
22704 (package-menu-describe-package, package-menu-get-status)
22705 (package-menu--find-upgrades, package-menu-mark-upgrades)
22706 (package-menu-execute, package-menu--name-predicate):
22707 Adjust accordingly.
22708 * startup.el (package--description-file): New function.
22709 (command-line): Use it.
22710 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22711 Use package-desc-version.
22712
22713 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22714 (byte-compile-preprocess): Use it.
22715 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22716 can't quite recognize.
22717 (byte-compile-add-to-list): Remove.
22718 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22719 (cconv-closure-convert): Add assertion.
22720
22721 * emacs-lisp/map-ynp.el: Use lexical-binding.
22722 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22723 Factor out some repeated code.
22724
22725 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22726
22727 * subr.el (with-eval-after-load): New macro.
22728 (eval-after-load): Allow form to be a function.
22729 take advantage of lexical-binding.
22730 (do-after-load-evaluation): Use dolist and adjust to new format.
22731 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22732
22733 2013-06-13 Juri Linkov <juri@jurta.org>
22734
22735 * replace.el (perform-replace): Display "symbol " and other search
22736 modes from `isearch-message-prefix' in the *Help* buffer.
22737
22738 * isearch.el (isearch-query-replace): Add " symbol" and other
22739 possible search modes from `isearch-message-prefix' to the prompt.
22740 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22741 when reading a regexp to collect.
22742
22743 2013-06-13 Juri Linkov <juri@jurta.org>
22744
22745 * isearch.el (word-search-regexp): Match whitespace if the search
22746 string begins or ends in whitespace. The LAX arg is applied to
22747 both ends of the search string. Use `regexp-quote' and explicit
22748 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22749 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22750 boundaries are replaced with symbol boundaries, and characters
22751 between symbols match non-word non-symbol syntax. (Bug#14602)
22752
22753 2013-06-13 Juri Linkov <juri@jurta.org>
22754
22755 * isearch.el (isearch-del-char): Don't exceed the length of
22756 `isearch-string' by the prefix arg. (Bug#14563)
22757
22758 2013-06-13 Juri Linkov <juri@jurta.org>
22759
22760 * isearch.el (isearch-yank-word, isearch-yank-line)
22761 (isearch-char-by-name, isearch-quote-char)
22762 (isearch-printing-char, isearch-process-search-char):
22763 Add optional count prefix arg. (Bug#14563)
22764
22765 * international/isearch-x.el
22766 (isearch-process-search-multibyte-characters):
22767 Add optional count prefix arg.
22768
22769 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22770
22771 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22772 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22773 lexical-binding.
22774
22775 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22776
22777 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22778
22779 2013-06-13 Glenn Morris <rgm@gnu.org>
22780
22781 * startup.el (tty-handle-args):
22782 Don't just discard "--" and anything after. (Bug#14608)
22783
22784 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22785
22786 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22787
22788 Implement changes in Secret Service API. Make it backward compatible.
22789 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22790 (secrets-create-item): Use it. Prefix properties with interface.
22791
22792 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22793
22794 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22795 (term-emulate-terminal): Respect term-suppress-hard-newline.
22796
22797 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22798
22799 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22800 Only remove a `thumb-file' overlay. (Bug#14548)
22801
22802 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22803
22804 * mail/reporter.el (reporter-submit-bug-report):
22805 Handle missing package-name. (Bug#14600)
22806
22807 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22808
22809 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22810 (reftex-citation-prompt, reftex-default-bibliography)
22811 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22812 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22813 (reftex-bib-sort-author, reftex-bib-sort-year)
22814 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22815 (reftex-extract-bib-entries-from-thebibliography)
22816 (reftex-get-bibkey-default, reftex-get-bib-names)
22817 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22818 (reftex-format-bib-entry, reftex-parse-bibitem)
22819 (reftex-format-bibitem, reftex-do-citation)
22820 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22821 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22822 (reftex-insert-bib-matches, reftex-format-citation)
22823 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22824 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22825 existing comments into docstrings.
22826
22827 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22828
22829 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22830
22831 2013-06-12 Andreas Schwab <schwab@suse.de>
22832
22833 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22834 for auto-save files.
22835
22836 2013-06-12 Glenn Morris <rgm@gnu.org>
22837
22838 * ido.el (ido-delete-ignored-files): Remove.
22839 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22840 Go back to calling ido-ignore-item-p directly.
22841
22842 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22843
22844 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22845
22846 * ido.el (ido-delete-ignored-files): New function,
22847 split from ido-make-file-list-1.
22848 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22849 (ido-make-file-list-1): Use ido-delete-ignored-files.
22850
22851 2013-06-12 Leo Liu <sdl.web@gmail.com>
22852
22853 * progmodes/octave.el (inferior-octave-startup)
22854 (inferior-octave-completion-table)
22855 (inferior-octave-track-window-width-change)
22856 (octave-eldoc-function-signatures, octave-help)
22857 (octave-find-definition): Use single quoted strings.
22858 (inferior-octave-startup-args): Change default value.
22859 (inferior-octave-startup): Do not hard code "-i" and
22860 "--no-line-editing".
22861 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22862 (inferior-octave-directory-tracker): Use it.
22863 (octave-goto-function-definition): Robustify.
22864 (octave-help): Support highlighting operators in 'See also'.
22865 (octave-find-definition): Find subfunctions only in Octave mode.
22866
22867 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22868
22869 * help-fns.el (help-fns--compiler-macro): If the handler function is
22870 named, then put a link to it.
22871 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22872 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22873 (cl-typep): Use it.
22874 (cl-eval-when): Simplify debug spec.
22875 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22876 compiler-macro function instead of setting `compiler-macro-file'.
22877
22878 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22879
22880 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22881 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22882
22883 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22884 Daniel Hackney <dan@haxney.org>
22885
22886 First part of Daniel Hackney's patch to package.el.
22887 * emacs-lisp/package.el: Use defstruct.
22888 (package-desc): New, main struct.
22889 (package--bi-desc, package--ac-desc): New structs, used to describe the
22890 format in external files.
22891 (package-desc-vers): Replace with package-desc-version accessor.
22892 (package-desc-doc): Replace with package-desc-summary accessor.
22893 (package-activate-1): Remove `package' arg since the pkg-vec now
22894 includes the name.
22895 (define-package): Use package-desc-from-define.
22896 (package-unpack-single): Change file-name arg to be a symbol.
22897 (package--add-to-archive-contents): Use package-desc-create and new
22898 accessor functions to package--ac-desc.
22899 (package-buffer-info, package-tar-file-info): Return a package-desc.
22900 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22901 arg to be a package-desc.
22902 (package-install-file): Adjust accordingly. Use \' to match EOS.
22903 (package--from-builtin): New function.
22904 (describe-package-1, package-menu--generate): Use it.
22905 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22906 (package-generate-autoloads): Idem and return the name of the file.
22907 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22908 Change pkg-info arg to be a package-desc.
22909 Use package-make-ac-desc.
22910 (package-upload-file): Use \' to match EOS.
22911 * finder.el (finder-compile-keywords): Use package-make-builtin.
22912
22913 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22914
22915 * vc/vc.el (vc-deduce-fileset): Change error message.
22916 (vc-read-backend): New function.
22917 (vc-next-action): Use it.
22918
22919 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22920
22921 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22922 (prolog-font-lock-keywords): Use regexp-opt instead.
22923 Don't manually highlight strings.
22924 (prolog-mode-variables): Simplify comment-start-skip.
22925 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22926
22927 * emacs-lisp/generic.el (generic--normalise-comments)
22928 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22929 (generic-mode-set-comments): Use them.
22930 (generic-bracket-support): Use setq-local.
22931 (generic-make-keywords-list): Declare obsolete.
22932
22933 2013-06-11 Glenn Morris <rgm@gnu.org>
22934
22935 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22936 Prettify after setting font-lock-defaults. (Bug#14574)
22937
22938 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22939
22940 * replace.el (query-replace, occur-read-regexp-defaults-function)
22941 (replace-search):
22942 * subr.el (declare-function, number-sequence, local-set-key)
22943 (substitute-key-definition, locate-user-emacs-file)
22944 (with-silent-modifications, split-string, eval-after-load):
22945 Fix typos, remove unneeded backslashes and reflow some docstrings.
22946
22947 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22948
22949 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22950 default for Elisp files.
22951
22952 2013-06-11 Glenn Morris <rgm@gnu.org>
22953
22954 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22955 although define-derived-mode was doing this anyway. (Bug#14583)
22956
22957 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22958
22959 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22960 Fix make-variable-buffer-local call to refer to the correct variable.
22961
22962 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22963
22964 * eshell/em-term.el (eshell-visual-commands)
22965 (eshell-visual-subcommands, eshell-visual-options):
22966 Add summary line to docstrings. Add cross-references.
22967
22968 2013-06-10 Glenn Morris <rgm@gnu.org>
22969
22970 * epa.el (epa-read-file-name): New function. (Bug#14510)
22971 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22972
22973 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22974
22975 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22976 output redirection to be ignored with visual commands.
22977
22978 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22979
22980 * eshell/em-term.el (eshell-visual-command-p): New function.
22981 (eshell-term-initialize): Move long lambda to separate function
22982 eshell-visual-command-p.
22983 * eshell/em-dirs.el (eshell-dirs-initialize):
22984 * eshell/em-script.el (eshell-script-initialize):
22985 Add missing #' to lambda.
22986
22987 2013-06-08 Leo Liu <sdl.web@gmail.com>
22988
22989 * progmodes/octave.el (octave-add-log-current-defun): New function.
22990 (octave-mode): Set add-log-current-defun-function.
22991 (octave-goto-function-definition): Do not move point if not found.
22992 (octave-find-definition): Enhance to try subfunctions first.
22993
22994 2013-06-08 Glenn Morris <rgm@gnu.org>
22995
22996 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22997 (byte-compile-backward-char, byte-compile-backward-word):
22998 Improve previous change, to handle non-explicit nil.
22999
23000 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
23001
23002 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
23003 (smie--opener/closer-at-point): New function.
23004 (smie--matching-block-data): Use it. Don't match from right after an
23005 opener or right before a closer. Obey smie-blink-matching-inners.
23006 Don't signal a mismatch for repeated inners like "switch..case..case".
23007
23008 2013-06-07 Leo Liu <sdl.web@gmail.com>
23009
23010 * progmodes/octave.el (octave-mode): Set comment-use-global-state
23011 to t. (Bug#14303)
23012 (octave-function-header-regexp): Fix. (Bug#14570)
23013 (octave-help-mode-finish-hook, octave-help-mode-finish):
23014 Remove. Just use temp-buffer-show-hook.
23015
23016 * newcomment.el (comment-search-backward): Revert last change.
23017 (Bug#14434)
23018
23019 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
23020
23021 2013-06-07 Eli Zaretskii <eliz@gnu.org>
23022
23023 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
23024 through xargs, to avoid failure due to MS-Windows limitations on
23025 command-line length.
23026
23027 2013-06-06 Glenn Morris <rgm@gnu.org>
23028
23029 * font-lock.el (lisp-font-lock-keywords-2):
23030 Treat user-error like error.
23031
23032 * emacs-lisp/bytecomp.el (byte-compile-char-before)
23033 (byte-compile-backward-char, byte-compile-backward-word):
23034 Handle explicit nil arguments. (Bug#14565)
23035
23036 2013-06-05 Alan Mackenzie <acm@muc.de>
23037
23038 * isearch.el (isearch-allow-prefix): New user option.
23039 (isearch-other-meta-char): Don't exit isearch when a prefix
23040 argument is typed whilst `isearch-allow-prefix' is non-nil.
23041 (Bug#9706)
23042
23043 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23044
23045 * autorevert.el (auto-revert-notify-handler): Use memq.
23046 Hide assertion failure.
23047
23048 * skeleton.el: Use cl-lib.
23049 (skeleton-further-elements): Use defvar-local.
23050 (skeleton-insert): Use cl-progv.
23051
23052 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23053
23054 * progmodes/prog-mode.el (prog-prettify-symbols)
23055 (prog-prettify-install): Update docstrings.
23056
23057 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23058
23059 * simple.el: Move all the prog-mode code to prog-mode.el.
23060 * progmodes/prog-mode.el: New file.
23061 * loadup.el: Add prog-mode.el.
23062
23063 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23064
23065 * simple.el (prog-prettify-symbols): Add version.
23066 (prog-prettify-install): Add convenience function to prettify symbols.
23067
23068 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
23069 (perl--augmented-font-lock-keywords-1)
23070 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
23071 variables and use it.
23072
23073 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23074 (cfengine3-mode): Remove unneeded variable and use it.
23075
23076 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23077 (lisp--augmented-font-lock-keywords-1)
23078 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
23079 Remove unneeded variables and use it.
23080
23081 2013-06-05 João Távora <joaotavora@gmail.com>
23082
23083 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
23084 to point when opening the connection. (Bug#14380)
23085
23086 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23087
23088 * subr.el (load-history-regexp, load-history-filename-element)
23089 (eval-after-load, after-load-functions, do-after-load-evaluation)
23090 (eval-next-after-load, display-delayed-warnings)
23091 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
23092 definition of save-match-data.
23093 (overriding-local-map): Remove accidental obsolescence declaration.
23094
23095 * emacs-lisp/edebug.el (edebug-result): Move before first use.
23096
23097 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23098
23099 Generalize symbol prettify support to prog-mode and implement it
23100 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
23101 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
23102 (prog--prettify-font-lock-compose-symbol)
23103 (prog-prettify-font-lock-symbols-keywords): New variables and
23104 functions to support symbol prettification.
23105 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23106 (lisp--augmented-font-lock-keywords-1)
23107 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
23108 (lisp--prettify-symbols-alist): Implement prettify of lambda.
23109 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23110 (cfengine3--prettify-symbols-alist, cfengine3-mode):
23111 Implement prettify of -> => :: strings.
23112 * progmodes/perl-mode.el (perl-prettify-symbols)
23113 (perl--font-lock-compose-symbol)
23114 (perl--font-lock-symbols-keywords): Move to prog-mode.
23115 (perl--prettify-symbols-alist): Prettify -> => :: strings.
23116 (perl-font-lock-keywords-1)
23117 (perl-font-lock-keywords-2): Remove explicit prettify support.
23118 (perl--augmented-font-lock-keywords)
23119 (perl--augmented-font-lock-keywords-1)
23120 (perl--augmented-font-lock-keywords-2, perl-mode):
23121 Implement prettify support.
23122
23123 2013-06-05 Leo Liu <sdl.web@gmail.com>
23124
23125 Re-implement SMIE matching block highlight using
23126 show-paren-data-function. (Bug#14395)
23127 * emacs-lisp/smie.el (smie-matching-block-highlight)
23128 (smie--highlight-matching-block-overlay)
23129 (smie--highlight-matching-block-lastpos)
23130 (smie-highlight-matching-block)
23131 (smie-highlight-matching-block-mode): Remove.
23132 (smie--matching-block-data-cache): New variable.
23133 (smie--matching-block-data): New function.
23134 (smie-setup): Use smie--matching-block-data for
23135 show-paren-data-function.
23136
23137 * progmodes/octave.el (octave-mode-menu): Fix.
23138 (octave-find-definition): Skip garbage lines.
23139
23140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23141
23142 Fix compilation error with simultaneous dynamic+lexical scoping.
23143 Add warning when a defvar appears after the first let-binding.
23144 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
23145 (byte-compile-close-variables): Initialize it.
23146 (byte-compile--declare-var): New function.
23147 (byte-compile-file-form-defvar)
23148 (byte-compile-file-form-define-abbrev-table)
23149 (byte-compile-file-form-custom-declare-variable): Use it.
23150 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
23151 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
23152 (byte-compile-bind): Handle dynamic bindings that shadow
23153 lexical bindings.
23154 (byte-compile-unbind): Make arg non-optional.
23155 (byte-compile-let): Simplify.
23156 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
23157 (cconv--analyse-function, cconv-analyse-form): Populate it.
23158 Protect byte-compile-bound-variables to limit the scope of defvars.
23159 (cconv-analyse-form): Add missing rule for (defvar <foo>).
23160 Remove unneeded rule for `declare'.
23161
23162 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
23163 so as to avoid depending on cl-adjoin at run-time.
23164 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
23165
23166 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
23167 (macroexp--warn-and-return): Use it.
23168
23169 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23170
23171 * subr.el: Convert to lexical binding.
23172 (overriding-local-map): Make obsolete.
23173 (add-to-list): Doc fix. Add compiler macro.
23174 (read-key): Swap values of local maps.
23175
23176 2013-06-05 Leo Liu <sdl.web@gmail.com>
23177
23178 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
23179
23180 2013-06-04 Leo Liu <sdl.web@gmail.com>
23181
23182 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
23183 (compilation-auto-jump): Suppress the "Mark set" message to give
23184 way to exit message.
23185
23186 2013-06-04 Alan Mackenzie <acm@muc.de>
23187
23188 Remove faulty optimization from indentation calculation.
23189 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
23190 search limit based on 2000 characters back from indent-point.
23191
23192 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23193
23194 * eshell/em-term.el (cl-lib): Require `cl-lib'.
23195
23196 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
23197
23198 * emacs-lisp/lisp.el: Use lexical-binding.
23199 (lisp--local-variables-1, lisp--local-variables): New functions.
23200 (lisp--local-variables-completion-table): New var.
23201 (lisp-completion-at-point): Use it complete let-bound vars.
23202
23203 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
23204 eagerly (bug#14422).
23205
23206 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
23207
23208 * autorevert.el (auto-revert-notify-enabled)
23209 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
23210 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
23211 (auto-revert-notify-handler): Handle also gfilenotify.
23212
23213 * subr.el (file-notify-handle-event): New defun. Replacing ...
23214 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
23215 Remove.
23216
23217 2013-06-03 Juri Linkov <juri@jurta.org>
23218
23219 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
23220 `M-s h .'. (Bug#14427)
23221
23222 * hi-lock.el (highlight-symbol-at-point): New alias for the new
23223 command `hi-lock-face-symbol-at-point'.
23224 (hi-lock-face-symbol-at-point): New command.
23225 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
23226 (hi-lock-menu): Add `highlight-symbol-at-point'.
23227 (hi-lock-mode): Doc fix.
23228
23229 * isearch.el (isearch-forward-symbol-at-point): New command.
23230 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
23231 (isearch-highlight-regexp): Add a regexp which matches
23232 words/symbols for word/symbol mode.
23233
23234 * subr.el (find-tag-default-bounds): New function with the body
23235 mostly moved from `find-tag-default'.
23236 (find-tag-default): Move most code to `find-tag-default-bounds',
23237 call it and apply `buffer-substring-no-properties' afterwards.
23238
23239 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23240
23241 * eshell/em-term.el (eshell-term-initialize):
23242 Use `cl-intersection' rather than `intersection'.
23243
23244 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
23245
23246 * vc/log-view.el: Doc fix.
23247 (log-view-mode-map): Copy keymap from `special-mode-map'.
23248
23249 2013-06-02 Eric Ludlam <zappo@gnu.org>
23250
23251 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
23252 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
23253 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
23254 (eieio-unbound, eieio-default-superclass)
23255 (eieio--define-field-accessors, method-static, method-before)
23256 (method-primary, method-after, method-num-lists)
23257 (method-generic-before, method-generic-primary)
23258 (method-generic-after, method-num-slots)
23259 (eieio-specialized-key-to-generic-key)
23260 (eieio--check-type, class-v, class-p)
23261 (eieio-class-name, define-obsolete-function-alias)
23262 (eieio-class-parents-fast, eieio-class-children-fast)
23263 (same-class-fast-p, class-constructor, generic-p)
23264 (generic-primary-only-p, generic-primary-only-one-p)
23265 (class-option-assoc, class-option, eieio-object-p)
23266 (class-abstract-p, class-method-invocation-order)
23267 (eieio-defclass-autoload-map, eieio-defclass-autoload)
23268 (eieio-class-un-autoload, eieio-defclass)
23269 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23270 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23271 (eieio--defgeneric-init-form, eieio-defgeneric-form)
23272 (eieio-defgeneric-reset-generic-form)
23273 (eieio-defgeneric-form-primary-only)
23274 (eieio-defgeneric-reset-generic-form-primary-only)
23275 (eieio-defgeneric-form-primary-only-one)
23276 (eieio-defgeneric-reset-generic-form-primary-only-one)
23277 (eieio-unbind-method-implementations)
23278 (eieio--defmethod, eieio--typep)
23279 (eieio-perform-slot-validation, eieio-validate-slot-value)
23280 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23281 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23282 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23283 (eieio-slot-name-index, eieio-class-slot-name-index)
23284 (eieio-set-defaults, eieio-initarg-to-attribute)
23285 (eieio-attribute-to-initarg, eieio-c3-candidate)
23286 (eieio-c3-merge-lists, eieio-class-precedence-c3)
23287 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23288 (eieio-class-precedence-list, eieio-generic-call-methodname)
23289 (eieio-generic-call-arglst, eieio-generic-call-key)
23290 (eieio-generic-call-next-method-list)
23291 (eieio-pre-method-execution-functions, eieio-generic-call)
23292 (eieio-generic-call-primary-only, eieiomt-method-list)
23293 (eieiomt-optimizing-obarray, eieiomt-install)
23294 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23295 (eieio-generic-form, eieio-defmethod, make-obsolete)
23296 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23297 (defclass): Remove `eval-and-compile' from macro.
23298 (call-next-method, shared-initialize): Instead of using
23299 `scoped-class' variable, use new eieio--scoped-class, and
23300 eieio--with-scoped-class.
23301 (initialize-instance): Rename local variable 'scoped-class' to
23302 'this-class' to remove ambiguitity from old global.
23303
23304 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
23305 eieio.el.
23306 (eieio--scoped-class-stack): New variable.
23307 (eieio--scoped-class): New fcn.
23308 (eieio--with-scoped-class): New scoping macro.
23309 (eieio-defclass): Use pushnew instead of add-to-list.
23310 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23311 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23312 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23313 `scoped-class' variable, use new eieio--scoped-class, and
23314 eieio--with-scoped-class.
23315
23316 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23317
23318 2013-06-02 Tassilo Horn <tsdh@gnu.org>
23319
23320 * eshell/esh-ext.el (eshell-external-command): Pass args to
23321 `eshell-find-interpreter'.
23322 (eshell-find-interpreter): Add new second parameter ARGS.
23323
23324 * eshell/em-script.el (eshell-script-initialize): Add second arg
23325 to the function added as MATCH to `eshell-interpreter-alist'.
23326
23327 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23328 the function added as MATCH to `eshell-interpreter-alist'.
23329
23330 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23331 (eshell-visual-options): New defcustom.
23332 (eshell-escape-control-x): Adapt docstring.
23333 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23334 `eshell-visual-options' in addition to `eshell-visual-commands'.
23335 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23336
23337 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23338
23339 * progmodes/python.el (python-indent-block-enders): Add break,
23340 continue and raise keywords.
23341
23342 2013-06-01 Glenn Morris <rgm@gnu.org>
23343
23344 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23345
23346 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23347 * progmodes/cc-cmds.el (delete-forward-p):
23348 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23349 * progmodes/cc-engine.el (buffer-syntactic-context):
23350 * progmodes/cc-fonts.el (face-property-instance):
23351 * progmodes/cc-mode.el (set-keymap-parents):
23352 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23353 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23354 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23355 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23356 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23357
23358 * progmodes/cc-vars.el (other): Emacs has this widget since
23359 at least 21.1, so don't (re)define it.
23360
23361 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23362 Replace the obsolete alias pcomplete-arg-quote-list.
23363
23364 2013-06-01 Leo Liu <sdl.web@gmail.com>
23365
23366 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23367 punctuation syntax.
23368 (inferior-octave-minimal-columns)
23369 (inferior-octave-last-column-width): New variables.
23370 (inferior-octave-track-window-width-change): New function.
23371 (inferior-octave-mode): Adjust column width so that Octave output,
23372 for example from 'ls', can fit into the window nicely.
23373
23374 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23375
23376 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23377 Highlight expansions inside regexp literals.
23378
23379 2013-05-31 Glenn Morris <rgm@gnu.org>
23380
23381 * obsolete/sym-comp.el (symbol-complete):
23382 Replace obsolete completion-annotate-function.
23383
23384 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23385
23386 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23387
23388 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23389 New function, checks if point is inside a literal that allows
23390 expression expansion.
23391 (ruby-syntax-propertize-expansion): Use it.
23392 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23393 around the body.
23394
23395 2013-05-30 Juri Linkov <juri@jurta.org>
23396
23397 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23398 to "\M-si".
23399 (isearch-invisible): New variable.
23400 (isearch-forward): Doc fix.
23401 (isearch-mode): Set `isearch-invisible'
23402 to the value of `search-invisible'.
23403 (isearch-toggle-case-fold): Doc fix.
23404 (isearch-toggle-invisible): New command.
23405 (isearch-query-replace): Let-bind `search-invisible'
23406 to the value of `isearch-invisible'.
23407 (isearch-search): Use `isearch-invisible' instead of
23408 `search-invisible'. Let-bind `search-invisible'
23409 to the value of `isearch-invisible'. (Bug#11378)
23410
23411 2013-05-30 Juri Linkov <juri@jurta.org>
23412
23413 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23414 call when `query-flag' is nil and `search-invisible' is non-nil.
23415 (Bug#11746)
23416
23417 2013-05-30 Glenn Morris <rgm@gnu.org>
23418
23419 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23420
23421 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23422 (cc-require): Suppress spurious "noruntime" warnings.
23423 (cc-require-when-compile): Use fboundp, for sake of compiler.
23424
23425 * progmodes/cc-mode.el: Move load of cc-vars before that of
23426 cc-langs (which in turn loads cc-vars), to quieten compiler.
23427
23428 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23429
23430 * paren.el: Simplify the code.
23431 (show-paren-mode): Always start the timer.
23432 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23433 (show-paren--overlay, show-paren--overlay-1): Rename from
23434 show-paren-overlay and show-paren-overlay-1, and initialize to an
23435 overlay rather than to nil.
23436 (show-paren-function): Misc cleanup and simplifications.
23437
23438 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23439
23440 * paren.el (show-paren-data-function): New hook.
23441 (show-paren--default): New function, extracted from show-paren-function.
23442 (show-paren-function): Use show-paren-data-function.
23443
23444 2013-05-30 Glenn Morris <rgm@gnu.org>
23445
23446 * ielm.el (ielm-map, ielm-complete-symbol):
23447 Use completion-at-point rather than obsolete functions.
23448 (inferior-emacs-lisp-mode): Doc fix.
23449 Set completion-at-point-functions, rather than
23450 comint-dynamic-complete-functions.
23451
23452 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23453 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23454 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23455
23456 * image.el (image-animated-p): Tweak definition.
23457
23458 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23459 (rlogin-process-connection-type): Tweak default. Add set-after.
23460 (rlogin-host): Doc fix.
23461 (rlogin): Tweak prompt.
23462 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23463
23464 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23465 * progmodes/tcl.el (inferior-tcl-mode-map):
23466 Use completion-at-point rather than obsolete alias.
23467
23468 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23469
23470 * minibuffer.el (read-file-name-completion-ignore-case):
23471 Move before completion--in-region, for eager macro expansion.
23472
23473 2013-05-29 Juri Linkov <juri@jurta.org>
23474
23475 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23476 for total count of matching lines. Add `global-matches' for total
23477 count of matches. Rename `matches' to `lines' for count of
23478 matching lines. Add `matches' for count of matches.
23479 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23480 to `prev-line' for line number of prev match endpt.
23481 Increment `matches' for every match. Print the number of
23482 matching lines in the header.
23483 (occur-context-lines): Rename `lines' to `curr-line'.
23484 Rename `prev-lines' to `prev-line'. (Bug#14017)
23485
23486 2013-05-29 Juri Linkov <juri@jurta.org>
23487
23488 * replace.el (perform-replace): Add `skip-read-only-count',
23489 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23490 Increment them for corresponding conditions and report the number
23491 of skipped occurrences in the final message. (Bug#11746)
23492 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23493 (replace-string, replace-regexp): Doc fix.
23494
23495 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23496
23497 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23498
23499 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23500 prog-mode-map (bug#14504).
23501
23502 2013-05-29 Leo Liu <sdl.web@gmail.com>
23503
23504 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23505 (octave-help): Small simplification.
23506
23507 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23508 off the highlight first.
23509
23510 2013-05-29 Glenn Morris <rgm@gnu.org>
23511
23512 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23513 Handle idlwave-last-system-routine-info-cons-cell being nil.
23514
23515 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23516 (idlwave-write-paths): Simplify via with-temp-buffer.
23517
23518 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23519 * emulation/cua-rect.el: Also load cua-base at run time.
23520
23521 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23522 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23523 (cperl-imenu-on-info): Require imenu.
23524
23525 2013-05-28 Alan Mackenzie <acm@muc.de>
23526
23527 Handle "capitalised keywords" correctly.
23528 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23529
23530 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23531
23532 * eshell/em-unix.el: Add -r option to cp.
23533
23534 2013-05-28 Glenn Morris <rgm@gnu.org>
23535
23536 * vc/vc-arch.el (vc-exec-after): Declare.
23537 (vc-switches): Autoload.
23538 * vc/vc-bzr.el: No need to require vc when compiling.
23539 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23540 (vc-resynch-buffer, vc-dir-refresh): Declare.
23541 (vc-setup-buffer, vc-switches): Autoload.
23542 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23543 (vc-resynch-buffer): Declare.
23544 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23545 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23546 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23547 (grep-read-regexp, grep-read-files, grep-expand-template)
23548 (vc-dir-refresh): Declare.
23549 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23550 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23551 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23552 * vc/vc-mtn.el (vc-exec-after): Declare.
23553 (vc-switches): Autoload.
23554 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23555 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23556 (vc-file-tree-walk): Declare.
23557 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23558 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23559 (vc-tag-precondition, vc-rename-master): Autoload.
23560 * vc/vc-svn.el (vc-exec-after): Declare.
23561 (vc-switches, vc-setup-buffer): Autoload.
23562 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23563 Autoload.
23564 (vc-resynch-buffer): Declare.
23565
23566 * obsolete/fast-lock.el (byte-compile-warnings):
23567 Don't warn about obsolete features in this obsolete file.
23568
23569 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23570 Move definition before use.
23571
23572 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23573 (dun-unix-verbs): Remove dun-zippy.
23574 (dun-zippy): Remove function.
23575
23576 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23577
23578 2013-05-27 Juri Linkov <juri@jurta.org>
23579
23580 * replace.el (replace-search): New function with code moved out
23581 from `perform-replace'.
23582 (replace-highlight, replace-dehighlight): Move function definitions
23583 up closer to `replace-search'. (Bug#11746)
23584
23585 2013-05-27 Juri Linkov <juri@jurta.org>
23586
23587 * replace.el (perform-replace): Ignore invisible matches.
23588 In addition to checking `query-replace-skip-read-only', also
23589 filter out matches by calling `run-hook-with-args-until-failure'
23590 on `isearch-filter-predicates', and also check `search-invisible'
23591 for t or call `isearch-range-invisible'.
23592 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23593
23594 2013-05-27 Juri Linkov <juri@jurta.org>
23595
23596 * isearch.el (isearch-filter-predicates): Rename from
23597 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23598 (isearch-message-prefix): Display text from the property
23599 `isearch-message-prefix' of the currently active filters.
23600 (isearch-search): Don't compare `isearch-filter-predicate' with
23601 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23602 on `isearch-filter-predicates'. Also check `search-invisible' for t
23603 or call `isearch-range-invisible'.
23604 (isearch-filter-visible): Make obsolete.
23605 (isearch-lazy-highlight-search):
23606 Call `run-hook-with-args-until-failure' on
23607 `isearch-filter-predicates' and use `isearch-range-invisible'.
23608
23609 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23610 `isearch-filter-predicates' instead of `funcall'ing
23611 `isearch-filter-predicate'.
23612 (Info-mode): Set `Info-isearch-filter' to
23613 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23614
23615 * dired-aux.el (dired-isearch-filter-predicate-orig):
23616 Remove variable.
23617 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23618 (dired-isearch-filenames-end): Add and remove
23619 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23620 instead of changing the value of `isearch-filter-predicate'.
23621 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23622 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23623 Put property `isearch-message-prefix' to "filename " on
23624 `dired-isearch-filter-filenames'.
23625
23626 * wdired.el (wdired-change-to-wdired-mode):
23627 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23628 locally instead of changing `isearch-filter-predicate'.
23629 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23630
23631 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23632
23633 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23634 return the commit hash (Bug#14459). Also set the
23635 `vc-git-detached' property.
23636 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23637 (vc-git-mode-line-string): Use the same help-echo format whether
23638 in detached mode or not, because we know the actual revision now.
23639 When in detached mode, shorten the revision to 7 chars.
23640
23641 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23642
23643 * emacs-lisp/easy-mmode.el (define-minor-mode):
23644 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23645 mode hook and provide a docstring.
23646
23647 2013-05-27 Alan Mackenzie <acm@muc.de>
23648
23649 Remove spurious syntax-table text properties inserted by C-y.
23650 * progmodes/cc-mode.el (c-after-change): Also clear hard
23651 syntax-table property with value nil.
23652
23653 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23654
23655 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23656 when reading the events; the buffer layout shall not be changed.
23657
23658 2013-05-27 Leo Liu <sdl.web@gmail.com>
23659
23660 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23661 New variable.
23662 (inferior-octave-directory-tracker): Automatically re-sync
23663 default-directory.
23664 (octave-help): Improve handling of 'See also'.
23665
23666 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23667
23668 * doc-view.el: Minor naming convention tweaks.
23669 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23670
23671 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23672 even if there's no `display' property yet (bug#14435).
23673
23674 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23675
23676 * subr.el (unmsys--file-name): Rename from reveal-filename.
23677
23678 * Makefile.in (custom-deps, finder-data, autoloads)
23679 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23680 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23681 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23682
23683 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23684
23685 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23686 error-completion on the first 2 args of condition-case (bug#14446).
23687 Don't burp at EOB.
23688
23689 2013-05-25 Leo Liu <sdl.web@gmail.com>
23690
23691 * comint.el (comint-previous-matching-input): Do not flood the
23692 *Messages* buffer with trivial messages.
23693
23694 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23695
23696 * progmodes/flymake.el (flymake-nop): Don't return a string.
23697 (flymake-set-at): Fix typo.
23698
23699 * simple.el (read--expression): New function, extracted from
23700 eval-expression. Set completion-at-point-functions (bug#14465).
23701 (eval-expression, eval-minibuffer): Use it.
23702
23703 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23704
23705 * progmodes/flymake.el (flymake-save-buffer-in-file)
23706 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23707 (flymake-selected-frame, flymake-log, flymake-ins-after)
23708 (flymake-set-at, flymake-get-buildfile-from-cache)
23709 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23710 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23711 Refine the doc string.
23712 (flymake-get-file-name-mode-and-masks): Reformat.
23713 (flymake-get-real-file-name-function): Fix a minor bug.
23714
23715 2013-05-24 Juri Linkov <juri@jurta.org>
23716
23717 * progmodes/grep.el (grep-mode-font-lock-keywords):
23718 Support =linenumber= format used by git-grep for lines with
23719 function names. (Bug#13549)
23720
23721 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23722
23723 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23724 0 after a semi-colon; it works better for smie-auto-fill.
23725 (octave--indent-new-comment-line): New function.
23726 (octave-indent-new-comment-line): Use it (indirectly).
23727 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23728 modify comment-line-break-function.
23729
23730 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23731 (smie-setup): Use add-function to set it.
23732
23733 2013-05-24 Sam Steingold <sds@gnu.org>
23734
23735 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23736 argument (before the `interactive' argument).
23737
23738 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23739
23740 * image-mode.el (image-mode-winprops): Add winprops to
23741 image-mode-winprops-alist before running
23742 image-mode-new-window-functions.
23743 * doc-view.el (doc-view-new-window-function): Don't delay
23744 doc-view-goto-page via timers (bug#14435).
23745
23746 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23747
23748 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23749 (doc-view-desktop-save-buffer): New function.
23750 (doc-view-restore-desktop-buffer): New function.
23751 (desktop-buffer-mode-handlers):
23752 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23753 handler.
23754 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23755 `desktop-save-buffer' function.
23756
23757 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23758
23759 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23760 (tramp-gvfs-file-name-handler): Raise a user error when
23761 `tramp-gvfs-enabled' is nil.
23762 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23763 Do not raise a user error when loading package. (Bug#14447)
23764
23765 * net/xesam.el: Move to obsolete/.
23766
23767 2013-05-24 Glenn Morris <rgm@gnu.org>
23768
23769 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23770
23771 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23772
23773 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23774 (Info-find-node, Man-getpage-in-background): Declare.
23775
23776 * mail/unrmail.el (unrmail):
23777 Replace obsolete detect-coding-with-priority.
23778
23779 * net/socks.el (socks-split-string): Use this rather than split-string.
23780 (socks-nslookup-host): Update for above change.
23781 (dynamic-choice, s5-dynamic-choice-match)
23782 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23783 Comment out unused code.
23784
23785 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23786 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23787 (gud-tooltip-echo-area): Make obsolete.
23788 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23789
23790 * progmodes/js.el (js--optimize-arglist): Declare.
23791
23792 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23793
23794 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23795 (ediff-window-C): Declare.
23796
23797 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23798 Tweak requires to silence compiler.
23799
23800 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23801 (he-search-string, he-tried-table, he-expand-list)
23802 (he-init-string, he-string-member, he-substitute-string)
23803 (he-reset-string): Declare.
23804
23805 * obsolete/options.el (list-options): Use custom-variable-p,
23806 rather than obsolete alias.
23807
23808 2013-05-23 Sam Steingold <sds@gnu.org>
23809
23810 * simple.el (shell-command-on-region): Pass the `replace' argument
23811 down to `call-process-region' to comply with the doc as reported on
23812 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23813
23814 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23815
23816 * emacs-lisp/smie.el (smie-indent-forward-token)
23817 (smie-indent-backward-token): Handle string tokens (bug#14381).
23818
23819 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23820
23821 * ielm.el (ielm-menu): New menu.
23822 (inferior-emacs-lisp-mode): Set comment-start.
23823
23824 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23825
23826 * textmodes/reftex.el (reftex-ref-style-toggle):
23827 Fix deactivate action.
23828
23829 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23830 Add cleveref macros.
23831
23832 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23833 Accept options for bibliography commands.
23834 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23835 Add addbibresource. Basic Biblatex support.
23836
23837 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23838
23839 * net/tramp-gvfs.el (top):
23840 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23841 when loading package. (Bug#14447)
23842
23843 2013-05-23 Glenn Morris <rgm@gnu.org>
23844
23845 * progmodes/js.el: No need to load comint when compiling.
23846 (ring-insert, comint-send-string, comint-send-input)
23847 (comint-last-input-end, ido-chop): Declare.
23848
23849 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23850 * vc/ediff-mult.el: Adjust requires.
23851 (ediff-directories-internal, ediff-directory-revisions-internal)
23852 (ediff-patch-file-internal): Declare.
23853 * vc/ediff-ptch.el: Adjust requires.
23854 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23855 (ediff-find-file): Autoload.
23856 * vc/ediff-util.el: No need to load ediff when compiling.
23857 (ediff-regions-internal): Declare.
23858 * vc/ediff-wind.el: Adjust requires.
23859 (ediff-compute-toolbar-width): Define when compiling.
23860 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23861 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23862 (dired-get-filename, dired-get-marked-files)
23863 (ediff-last-dir-patch, ediff-patch-default-directory)
23864 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23865 (ediff-patch-buffer-internal): Declare.
23866
23867 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23868 (ispell-process, ispell-buffer-local-words, lm-summary)
23869 (lm-section-start, lm-section-end): Declare.
23870 (checkdoc-ispell-init): Simplify.
23871
23872 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23873 (he-string-member, he-reset-string, he-substitute-string): Declare.
23874
23875 * eshell/em-ls.el: Adjust requires.
23876 (eshell-glob-regexp): Declare.
23877 * eshell/em-tramp.el: Adjust requires.
23878 (eshell-parse-command): Autoload.
23879 * eshell/em-xtra.el: Adjust requires.
23880 (eshell-parse-command): Autoload.
23881 * eshell/esh-ext.el: Adjust requires.
23882 (eshell-parse-command, eshell-close-handles): Autoload.
23883 * eshell/esh-io.el: Adjust requires.
23884 (eshell-output-filter): Autoload.
23885 * eshell/esh-util.el: No need to load tramp when compiling.
23886 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23887 Declare.
23888 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23889 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23890 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23891 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23892 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23893 * eshell/esh-opt.el, eshell/esh-proc.el:
23894 * eshell/esh-var.el: Adjust requires.
23895 * eshell/eshell.el: Do not require esh-util twice.
23896 (eshell-add-input-to-history): Declare.
23897 (eshell-command): Check history module is active before using it.
23898
23899 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23900
23901 2013-05-22 Leo Liu <sdl.web@gmail.com>
23902
23903 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23904
23905 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23906
23907 * autorevert.el (auto-revert-notify-add-watch)
23908 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23909 it indicates changes in file modification time.
23910
23911 2013-05-22 Glenn Morris <rgm@gnu.org>
23912
23913 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23914 Always delete the autoloaded function from the noruntime and
23915 unresolved functions lists.
23916
23917 * allout.el: No need to load epa, epg, overlay when compiling.
23918 (epg-context-set-passphrase-callback, epg-list-keys)
23919 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23920 (epg-key-user-id-list): Declare.
23921
23922 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23923 (viper-set-parsing-style-toggling-macro)
23924 (viper-set-emacs-state-searchstyle-macros):
23925 Use called-interactively-p on Emacs.
23926 (viper-looking-back): Make it an obsolete alias. Update callers.
23927 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23928 Use looking-back rather than viper-looking-back.
23929 (viper-tmp-insert-at-eob, viper-enlarge-region)
23930 (viper-read-string-with-history, viper-register-to-point)
23931 (viper-append-to-register, viper-change-state-to-vi)
23932 (viper-backward-char-carefully, viper-forward-char-carefully)
23933 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23934 (viper-change-state-to-emacs): Declare.
23935 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23936 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23937 * emulation/viper-mous.el: Do not load viper-cmd.
23938 (viper-backward-char-carefully, viper-forward-char-carefully)
23939 (viper-forward-word, viper-adjust-window): Declare.
23940
23941 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23942
23943 * progmodes/idlw-help.el (idlwave-help-fontify):
23944 Use called-interactively-p.
23945
23946 * term/w32console.el (w32-get-console-codepage)
23947 (w32-get-console-output-codepage): Declare.
23948
23949 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23950 Remove unnecessary declarations.
23951 (dframe-message): Doc fix.
23952
23953 * info.el (dframe-select-attached-frame, dframe-current-frame):
23954 Declare.
23955
23956 * speedbar.el (speedbar-message): Make it an obsolete alias.
23957 Update all callers.
23958 (speedbar-with-attached-buffer)
23959 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23960 (speedbar-with-writable): Use backquote.
23961 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23962 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23963 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23964 rather than speedbar- aliases.
23965 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23966 (speedbar-make-specialized-keymap, speedbar-insert-button)
23967 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23968 (speedbar-do-function-pointer): Declare.
23969 (rmail-speedbar-button, rmail-speedbar-find-file)
23970 (rmail-speedbar-move-message):
23971 Use dframe-with-attached-buffer rather than speedbar- alias.
23972 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23973 (dframe-message, speedbar-make-specialized-keymap)
23974 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23975 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23976 (speedbar-insert-button, dframe-select-attached-frame)
23977 (dframe-maybee-jump-to-attached-frame)
23978 (speedbar-change-initial-expansion-list)
23979 (speedbar-previously-used-expansion-list-name): Declare.
23980 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23981 Use dframe-message, dframe-with-attached-buffer rather than
23982 speedbar- aliases.
23983 (gud-sentinel): Silence compiler.
23984 * progmodes/vhdl-mode.el (speedbar-refresh)
23985 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23986 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23987 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23988 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23989 (speedbar-file-lists, speedbar-make-tag-line)
23990 (speedbar-line-directory, speedbar-goto-this-file)
23991 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23992 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23993 (speedbar-make-button, speedbar-reset-scanners)
23994 (speedbar-files-item-info, speedbar-line-text)
23995 (speedbar-find-file-in-frame, speedbar-set-timer)
23996 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23997 (speedbar-with-writable): Do not (re)define it.
23998 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23999 rather than speedbar- alias.
24000
24001 2013-05-21 Leo Liu <sdl.web@gmail.com>
24002
24003 * progmodes/octave.el (octave-mode-menu): Update and re-organize
24004 menu items.
24005 (octave-mode): Tweak fill-nobreak-predicate.
24006 (inferior-octave-startup): Check process to avoid infinite loop.
24007 (inferior-octave): Pop to buffer first to show abornmal process
24008 exit information.
24009
24010 2013-05-21 Glenn Morris <rgm@gnu.org>
24011
24012 * printing.el (pr-menu-bar): Define when compiling.
24013
24014 2013-05-21 Leo Liu <sdl.web@gmail.com>
24015
24016 * progmodes/octave.el (octave-auto-fill): Remove.
24017 (octave-indent-new-comment-line): Improve.
24018 (octave-mode): Use auto fill mode through
24019 comment-line-break-function and fill-nobreak-predicate.
24020 (octave-goto-function-definition): Support DEFUN_DLD.
24021 (octave-beginning-of-defun): Small tweak.
24022 (octave-help): Show parent directory.
24023
24024 2013-05-21 Glenn Morris <rgm@gnu.org>
24025
24026 * files.el (dired-unmark):
24027 * progmodes/gud.el (gdb-input): Update declarations.
24028
24029 * calculator.el (electric, ehelp): No need to load when compiling.
24030 (Electric-command-loop, electric-describe-mode): Declare.
24031
24032 * doc-view.el (doc-view-current-converter-processes): Move before use.
24033
24034 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24035 Move MODE-set-explicitly definition before use.
24036
24037 * international/mule-diag.el (mule-diag):
24038 Don't use obsolete window-system-version.
24039
24040 * mail/feedmail.el (smtpmail): No need to load when compiling.
24041 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
24042
24043 * mail/mail-utils.el (rfc822): No need to load when compiling.
24044 (rfc822-addresses): Autoload it.
24045 (mail-strip-quoted-names): Trivial simplification.
24046
24047 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
24048 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
24049
24050 * net/snmp-mode.el (tempo): Don't duplicate requires.
24051
24052 * progmodes/prolog.el (info): No need to load when compiling.
24053 (comint): Require before shell requires it.
24054 (Info-goto-node): Autoload it.
24055 (Info-follow-nearest-node): Declare.
24056 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
24057
24058 * textmodes/artist.el (picture-mode-exit): Declare.
24059
24060 * textmodes/reftex-parse.el (reftex-parse-from-file):
24061 Trivial rewrite so the compiler can parse it better.
24062
24063 2013-05-20 Leo Liu <sdl.web@gmail.com>
24064
24065 * progmodes/octave.el (octave-help-mode-map)
24066 (octave-help-mode-finish-hook): New variables.
24067 (octave-help-mode, octave-help-mode-finish): New functions.
24068 (octave-help): Use octave-help-mode.
24069
24070 2013-05-20 Glenn Morris <rgm@gnu.org>
24071
24072 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
24073
24074 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
24075
24076 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
24077 start at point, so that expansion starting right after opening
24078 slash in a regexp is recognized.
24079 (ruby-syntax-before-regexp-re): New defvar, extracted from
24080 ruby-syntax-propertize-function. Since the value of this regexp
24081 is looked up at runtime now, we should be able to turn
24082 `ruby-syntax-methods-before-regexp' into a defcustom later.
24083 (ruby-syntax-propertize-function): Split regexp matching into two
24084 parts, for opening and closing slashes. That allows us to skip
24085 over string interpolations and support multiline regexps.
24086 Don't call `ruby-syntax-propertize-expansions', instead use another rule
24087 for them, which calls `ruby-syntax-propertize-expansion'.
24088 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
24089 call to `ruby-syntax-propertize-function'.
24090 (ruby-syntax-propertize-expansion): Extracted from
24091 `ruby-syntax-propertize-expansions'. Handles one expansion.
24092 (ruby-syntax-propertize-percent-literal): Leave point right after
24093 the percent symbol, so that the expression expansion rule can
24094 propertize the contents.
24095 (ruby-syntax-propertize-heredoc): Leave point at bol following the
24096 heredoc openers.
24097 (ruby-syntax-propertize-expansions): Remove.
24098
24099 2013-05-18 Juri Linkov <juri@jurta.org>
24100
24101 * man.el (Man-default-man-entry): Remove `-' from the end
24102 of the default value. (Bug#14400)
24103
24104 2013-05-18 Glenn Morris <rgm@gnu.org>
24105
24106 * comint.el (comint-password-prompt-regexp):
24107 Allow "password for XXX" where XXX contains colons (eg https://...).
24108
24109 2013-05-18 Leo Liu <sdl.web@gmail.com>
24110
24111 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
24112 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
24113 (octave-source-directories): Don't check process.
24114 (octave-source-directories, octave-find-definition): Doc fix.
24115
24116 2013-05-18 Glenn Morris <rgm@gnu.org>
24117
24118 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
24119 Remove backspace/delete bindings. (Bug#14392)
24120
24121 * cus-dep.el (custom-make-dependencies): Sort the output.
24122 (custom-versions-load-alist): Convert comment to doc.
24123
24124 2013-05-17 Leo Liu <sdl.web@gmail.com>
24125
24126 * newcomment.el (comment-search-backward): Stricter in finding
24127 comment start. (Bug#14303)
24128
24129 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
24130 (octave-comment-start-skip): Properly anchored.
24131
24132 2013-05-17 Leo Liu <sdl.web@gmail.com>
24133
24134 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
24135 Clean up when turned off. (Bug#14395)
24136 (smie--highlight-matching-block-overlay): No longer buffer-local.
24137 (smie-highlight-matching-block): Adjust.
24138
24139 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
24140
24141 Doc string fix for "nanoseconds" (Bug#14406).
24142 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
24143 Fix doc string typo that had "nanoseconds" instead of "microseconds".
24144
24145 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
24146
24147 * calc/calc-units.el (math-extract-units): Preserve powers
24148 of units.
24149
24150 2013-05-17 Leo Liu <sdl.web@gmail.com>
24151
24152 * subr.el (delete-consecutive-dups): New function.
24153 * ido.el (ido-set-matches-1): Use it.
24154 * progmodes/octave.el (inferior-octave-completion-table): Use it.
24155 * ido.el (ido-remove-consecutive-dups): Remove.
24156
24157 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24158
24159 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24160 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
24161 regexp-opt's `words'.
24162
24163 2013-05-16 Leo Liu <sdl.web@gmail.com>
24164
24165 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
24166 (smie--highlight-matching-block-overlay)
24167 (smie--highlight-matching-block-lastpos)
24168 (smie--highlight-matching-block-timer): New variables.
24169 (smie-highlight-matching-block): New function.
24170 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
24171 (smie-setup): Conditionally enable smie-blink-matching-open.
24172
24173 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
24174
24175 Sync with upstream verilog-mode r840.
24176 * progmodes/verilog-mode.el (verilog-mode-version)
24177 (verilog-mode-release-date): Update.
24178 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
24179 (verilog-sig-tieoff): Fix string error on
24180 AUTORESET with colon define, bug594. Reported by Andrew Hou.
24181 (verilog-read-decls): Fix parameters confusing
24182 AUTOINST interfaces, bug565. Reported by Leith Johnson.
24183
24184 2013-05-16 Eli Zaretskii <eliz@gnu.org>
24185
24186 * subr.el (reveal-filename): New function.
24187
24188 * loadup.el: Compute Emacs executable versions on MS-Windows,
24189 where executables have the .exe extension. Add a hard link
24190 emacs-XX.YY.ZZ.exe on MS-Windows.
24191
24192 * Makefile.in (XARGS_LIMIT): New variable.
24193 (custom-deps, finder-data, autoloads)
24194 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
24195 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24196 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
24197 (compile-main): Limit xargs according to $(XARGS_LIMIT).
24198
24199 2013-05-16 Leo Liu <sdl.web@gmail.com>
24200
24201 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
24202 (octave-mode-menu, octave-mode-map): Remove its uses.
24203
24204 2013-05-16 Reto Zimmermann <reto@gnu.org>
24205
24206 Sync with upstream vhdl mode v3.34.2.
24207 * progmodes/vhdl-mode.el: Use `push' throughout.
24208 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
24209 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
24210 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
24211 (vhdl-actual-generic-name): New option to derive actual generic name.
24212 (vhdl-port-paste-signals): Replace formal by actual generics.
24213 (vhdl-beautify): New name for old group vhdl-align. Update users.
24214 (vhdl-beautify-options): New option.
24215 (vhdl-last-input-event): New compat alias. Use throughout.
24216 (vhdl-goto-line): Replace user level function `goto-line'.
24217 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
24218 vhdl-fix-statement-buffer.
24219 (vhdl-create-mode-menu): Add some entries.
24220 (vhdl-align-region-groups): Respect vhdl-beautify-options.
24221 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
24222 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
24223 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
24224 to force statements on one line.
24225 (vhdl-remove-trailing-spaces-region):
24226 New, split from vhdl-remove-trailing-spaces.
24227 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
24228 Respect vhdl-beautify-options.
24229 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
24230 (vhdl-update-sensitivity-list): Not add with index if exists without.
24231 Not include array index with signal. Ignore keywords in comments.
24232 (vhdl-get-visible-signals): Regexp tweaks.
24233 (vhdl-template-component-inst): Handle empty library.
24234 (vhdl-template-type): Add template for 'enum' type.
24235 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
24236 Use vhdl-replace-string.
24237 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
24238 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
24239 (vhdl-speedbar-initialize): Update for above name change.
24240 (vhdl-compose-wire-components): Fix in handling of constants.
24241 (vhdl-error-regexp-emacs-alist): New variable.
24242 (vhdl-error-regexp-add-emacs): New function;
24243 adds support for new compile.el (Emacs 22+)
24244 (vhdl-generate-makefile-1): Change target order for single lib. units.
24245 Allow use of absolute file names.
24246
24247 2013-05-16 Leo Liu <sdl.web@gmail.com>
24248
24249 * simple.el (prog-indent-sexp): Indent enclosing defun.
24250
24251 2013-05-15 Glenn Morris <rgm@gnu.org>
24252
24253 * cus-start.el (show-trailing-whitespace): Move to editing basics.
24254 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
24255 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
24256 (whitespace-highlight): Move to whitespace group.
24257
24258 * comint.el (comint-source):
24259 * pcmpl-linux.el (pcmpl-linux):
24260 * shell.el (shell-faces):
24261 * eshell/esh-opt.el (eshell-opt):
24262 * international/ccl.el (ccl): Remove empty custom groups.
24263
24264 * completion.el (dynamic-completion-mode):
24265 * jit-lock.el (jit-lock-debug-mode):
24266 * minibuffer.el (completion-in-region-mode):
24267 * type-break.el (type-break-mode-line-message-mode)
24268 (type-break-query-mode):
24269 * emulation/tpu-edt.el (tpu-edt-mode):
24270 * progmodes/subword.el (global-subword-mode, global-superword-mode):
24271 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24272 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24273
24274 * term/xterm.el (xterm): Change parent group to terminals.
24275
24276 * master.el (master): Remove empty custom group.
24277 (master-mode): Remove unused :group argument.
24278 * textmodes/refill.el (refill): Remove empty custom group.
24279 (refill-mode): Remove unused :group argument.
24280
24281 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24282
24283 * cus-dep.el: Provide a feature.
24284 (custom-make-dependencies): Ignore dotfiles (dir-locals).
24285 Don't mistakenly ignore files whose basenames match a basename
24286 from preloaded-file-list (eg cedet/ede/simple.el).
24287 Add a fallback method for getting :group.
24288
24289 2013-05-15 Juri Linkov <juri@jurta.org>
24290
24291 * isearch.el (isearch-char-by-name): Rename from
24292 `isearch-insert-char-by-name'. Doc fix.
24293 (isearch-forward): Mention `isearch-char-by-name' in
24294 the docstring. (Bug#13348)
24295
24296 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24297 `exit-minibuffer' instead of
24298 `isearch-nonincremental-exit-minibuffer'.
24299 (isearch-edit-string): Remove mention of
24300 `isearch-nonincremental-exit-minibuffer' from docstring.
24301 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24302 (isearch-forward-exit-minibuffer)
24303 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
24304
24305 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24306
24307 * loadup.el: Just use unversioned DOC.
24308
24309 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24310 literals as extending to EOB.
24311 (nxml-last-fontify-end): Remove unused variable.
24312 (nxml-after-change1): Use with-silent-modifications.
24313 (nxml-extend-after-change-region): Simplify.
24314 (nxml-extend-after-change-region1): Remove function.
24315 (nxml-after-change1): Don't adjust for dependent regions.
24316 (nxml-fontify-matcher): Simplify.
24317 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24318 (xmltok-add-dependent): Remove function.
24319 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24320 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24321 (xmltok-scan-prolog-after-processing-instruction-open): Treat
24322 unclosed <[[, <?, comment, and other literals as extending to EOB.
24323 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24324 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24325 Remove functions.
24326 (rng-do-some-validation-1): Don't mark dependent regions.
24327 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24328 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24329 (nxml-clear-dependent-regions): Remove functions.
24330 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24331 (nxml-ensure-scan-up-to-date):
24332 Don't clear&mark dependent regions.
24333
24334 2013-05-15 Leo Liu <sdl.web@gmail.com>
24335
24336 * progmodes/octave.el (octave-goto-function-definition):
24337 Improve and fix callers.
24338
24339 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24340
24341 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24342 the setter (bug#14387).
24343
24344 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24345 surrounding group (bug#14402).
24346
24347 2013-05-14 Juri Linkov <juri@jurta.org>
24348
24349 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24350 (Bug#14390)
24351
24352 2013-05-14 Glenn Morris <rgm@gnu.org>
24353
24354 * progmodes/f90.el (f90-imenu-generic-expression):
24355 Fix typo in 2013-05-08 change. (Bug#14402)
24356
24357 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24358
24359 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24360 Remove signals for which replies are never received.
24361
24362 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24363
24364 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24365 (gdb-handler-alist, gdb-handler-number): Remove variables.
24366 (gdb-handler-list): New variable.
24367 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24368 (gdb-pending-handler-p, gdb-handle-reply)
24369 (gdb-remove-all-pending-triggers): New functions.
24370 (gdb-discard-unordered-replies): New defcustom.
24371 (gdb-handler): New defstruct.
24372 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24373 instead of gdb-pending-triggers. Update docstring.
24374 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24375 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24376 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24377 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24378 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24379 (gdb-frame-handler): Pending triggers are now automatically managed.
24380 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24381 Remove argument.
24382 (gdb-input): Automatically handles pending triggers. Update docstring.
24383 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24384 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24385 Update comments.
24386 (gdb-done-or-error): Now use gdb-handle-reply.
24387
24388 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24389
24390 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24391 gdb-debug-log.
24392
24393 2013-05-14 Glenn Morris <rgm@gnu.org>
24394
24395 * subr.el (user-emacs-directory-warning): New option.
24396 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24397
24398 2013-05-14 Leo Liu <sdl.web@gmail.com>
24399
24400 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24401 during redisplay.
24402 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24403 (octave-font-lock-texinfo-comment): Fix invalid search bound
24404 error: wrong side of point.
24405
24406 2013-05-14 Glenn Morris <rgm@gnu.org>
24407
24408 * progmodes/flymake.el (flymake-xml-program): New option.
24409 (flymake-xml-init): Use it.
24410
24411 * term/xterm.el: Provide a feature.
24412
24413 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24414
24415 2013-05-13 Glenn Morris <rgm@gnu.org>
24416
24417 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24418 Add compat aliases as a hack workaround. (Bug#14384)
24419
24420 2013-05-13 Leo Liu <sdl.web@gmail.com>
24421
24422 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24423 ###, and %!.
24424 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24425 C-M-q.
24426 (octave-comment-start-skip): Include %!.
24427 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24428
24429 2013-05-12 Leo Liu <sdl.web@gmail.com>
24430
24431 * progmodes/octave.el (inferior-octave-startup): Store the value
24432 of __octave_srcdir__ for octave-source-directories.
24433 (inferior-octave-check-process): New function refactored out of
24434 inferior-octave-send-list-and-digest.
24435 (octave-source-directories)
24436 (octave-find-definition-filename-function): New variables.
24437 (octave-source-directories)
24438 (octave-find-definition-default-filename): New functions.
24439 (octave-find-definition): Improve to find functions implemented in C++.
24440
24441 2013-05-12 Glenn Morris <rgm@gnu.org>
24442
24443 * calendar/diary-lib.el (diary-outlook-format-1):
24444 Don't include dayname in the output. (Bug#14349)
24445
24446 2013-05-11 Glenn Morris <rgm@gnu.org>
24447
24448 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24449
24450 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24451 Treat cc-provide like provide.
24452
24453 2013-05-11 Kevin Ryde <user42@zip.com.au>
24454
24455 * cus-dep.el (custom-make-dependencies):
24456 Use generated-autoload-load-name for the sake of files such
24457 such cedet/semantic/bovine/c.el, where the base file name
24458 is not in load-path. (Bug#5277)
24459
24460 2013-05-11 Glenn Morris <rgm@gnu.org>
24461
24462 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24463 Provide features.
24464
24465 2013-05-11 Leo Liu <sdl.web@gmail.com>
24466
24467 * progmodes/octave.el (octave-indent-comment): Improve.
24468 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24469 (octave-eldoc-function-signatures, octave-eldoc-function):
24470 New functions.
24471 (octave-mode, inferior-octave-mode): Add eldoc support.
24472
24473 2013-05-11 Richard Stallman <rms@gnu.org>
24474
24475 * epa.el (epa-decrypt-file): Take output file name as argument
24476 and read it using `interactive'.
24477
24478 2013-05-11 Leo Liu <sdl.web@gmail.com>
24479
24480 * progmodes/octave.el (octave-beginning-of-line)
24481 (octave-end-of-line): Check before using up-list because it jumps
24482 out of more syntactic contructs since moving to smie.
24483 (octave-indent-comment): New function.
24484 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24485 (octave-begin-keywords, octave-end-keywords)
24486 (octave-reserved-words, octave-smie-bnf-table)
24487 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24488
24489 2013-05-11 Glenn Morris <rgm@gnu.org>
24490
24491 * faces.el (internal-face-x-get-resource):
24492 * frame.el (ns-display-monitor-attributes-list):
24493 * calc/calc-aent.el (math-to-radians-2):
24494 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24495 Fix declarations.
24496
24497 * calc/calc-menu.el: Make it loadable in isolation.
24498
24499 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24500 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24501 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24502 (eudc-bbdb-query-internal): Require 'bbdb.
24503
24504 * lpr.el (lpr-headers-switches):
24505 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24506
24507 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24508
24509 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24510
24511 * term.el (term-set-escape-char): Make it idempotent.
24512
24513 2013-05-10 Leo Liu <sdl.web@gmail.com>
24514
24515 * progmodes/octave.el (inferior-octave-completion-table):
24516 No longer a function and all uses changed. Use cache to speed up
24517 completion due to bug#11906.
24518 (octave-beginning-of-defun): Re-write to be more general.
24519
24520 2013-05-10 Glenn Morris <rgm@gnu.org>
24521
24522 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24523
24524 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24525
24526 * comint.el (comint-redirect-send-command-to-process): Use :around
24527 rather than :override for comint-redirect-filter.
24528 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24529 Call it instead of comint-redirect-original-filter-function (which
24530 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24531
24532 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24533
24534 * frame.el (display-monitor-attributes-list): Add NS case.
24535 (ns-display-monitor-attributes-list): Declare.
24536
24537 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24538
24539 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24540
24541 2013-05-09 Glenn Morris <rgm@gnu.org>
24542
24543 * international/fontset.el (vertical-centering-font-regexp):
24544 Set standard-value.
24545
24546 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24547
24548 * bookmark.el (bookmark-search-delay):
24549 * cus-start.el (vertical-centering-font-regexp):
24550 * ps-mule.el (ps-mule-font-info-database-default):
24551 * ps-print.el (ps-default-fg, ps-default-bg):
24552 * type-break.el (type-break-good-break-interval):
24553 * whitespace.el (whitespace-indentation-regexp)
24554 (whitespace-space-after-tab-regexp):
24555 * emacs-lisp/testcover.el (testcover-1value-functions)
24556 (testcover-noreturn-functions, testcover-progn-functions)
24557 (testcover-prog1-functions):
24558 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24559 * eshell/em-glob.el (eshell-glob-translate-alist):
24560 * play/tetris.el (tetris-tty-colors):
24561 * progmodes/cpp.el (cpp-face-default-list):
24562 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24563 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24564 (idlwave-help-browser-generic-args):
24565 * progmodes/make-mode.el (makefile-special-targets-list):
24566 * progmodes/python.el (python-shell-virtualenv-path):
24567 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24568 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24569 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24570 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24571 * textmodes/reftex-vars.el (reftex-format-label-function):
24572 * textmodes/remember.el (remember-diary-file): Fix custom types.
24573
24574 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24575 Add :version.
24576
24577 2013-05-09 Leo Liu <sdl.web@gmail.com>
24578
24579 * progmodes/octave.el (inferior-octave-completion-at-point):
24580 Restore file completion. (Bug#14300)
24581 (inferior-octave-startup): Fix incorrect highlighting for the
24582 first prompt.
24583
24584 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24585
24586 * progmodes/ruby-mode.el: First cut at SMIE support.
24587 (ruby-use-smie): New var.
24588 (ruby-smie-grammar): New constant.
24589 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24590 (ruby-smie--forward-token, ruby-smie--backward-token)
24591 (ruby-smie-rules): New functions.
24592 (ruby-mode-variables): Setup SMIE if applicable.
24593
24594 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24595
24596 * simple.el (line-move-visual): Signal beginning/end of buffer
24597 only if vertical-motion moved less than it was requested. Avoids
24598 silly incorrect error messages when there are display strings with
24599 multiple newlines at EOL.
24600
24601 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24602
24603 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24604 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24605 (prolog-char-quote-workaround):
24606 * progmodes/cperl-mode.el (cperl-under-as-char):
24607 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24608 Mark as obsolete.
24609 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24610 their declaration.
24611 (vhdl-mode-syntax-table-init): Remove.
24612
24613 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24614 last change.
24615
24616 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24617 syntax for "_".
24618 (ld-script-font-lock-keywords):
24619 Change regexps to use things like \_< and \_>.
24620
24621 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24622 Change all regexps to use things like \_< and \_>.
24623
24624 * progmodes/autoconf.el (autoconf-definition-regexp)
24625 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24626 Handle a _ with symbol syntax.
24627 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24628
24629 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24630 Consolidate declaration.
24631 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24632 the declaration.
24633 (ada-create-syntax-table): Remove.
24634 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24635 already has the right syntax nowadays.
24636 (ada-goto-next-word): Don't change the syntax of "_".
24637
24638 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24639 with-wrapper-hook.
24640
24641 2013-05-08 Sam Steingold <sds@gnu.org>
24642
24643 * thingatpt.el (thing-at-point): Accept optional second argument
24644 NO-PROPERTIES to strip the text properties from the return value.
24645 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24646 to `thing-at-point' instead of stripping the properties ourselves.
24647 Also, when `thing-at-point' fails to find a url, prepend "http://"
24648 to the filename at point on the assumption that the user is
24649 pointing at something like gnu.org/gnu.
24650
24651 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24652
24653 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24654 * faces.el (crm-separator):
24655 Silence byte-compiler.
24656
24657 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24658 (tool-bar-map): Remove unneeded defvars.
24659
24660 2013-05-08 Leo Liu <sdl.web@gmail.com>
24661
24662 Re-work a fix for bug#10994 based on Le Wang's patch.
24663 * ido.el (ido-remove-consecutive-dups): New helper.
24664 (ido-completing-read): Use it.
24665 (ido-chop): Revert fix for bug#10994.
24666
24667 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24668
24669 * cus-edit.el (custom-save-variables):
24670 Pretty-print long values. (Bug#14187)
24671
24672 2013-05-08 Glenn Morris <rgm@gnu.org>
24673
24674 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24675 (m4-mode-syntax-table): Init in the defvar.
24676 (m4-mode-abbrev-table): Let define-derived-mode define it.
24677
24678 2013-05-08 Tom Tromey <tromey@redhat.com>
24679
24680 * progmodes/m4-mode.el (m4-mode-syntax-table):
24681 Do not treat "_" as word constituent. (Bug#14167)
24682
24683 2013-05-07 Glenn Morris <rgm@gnu.org>
24684
24685 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24686 Remove explicit eshell-isearch-cancel-map.
24687
24688 * progmodes/f90.el (f90-smart-end-names): New option.
24689 (f90-smart-end): Doc fix.
24690 (f90-end-block-optional-name): New constant.
24691 (f90-block-match): Respect f90-smart-end-names.
24692
24693 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24694
24695 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24696 about implicit semi-colons (bug#14218).
24697
24698 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24699
24700 * frame.el (display-monitor-attributes-list)
24701 (frame-monitor-attributes): New functions.
24702
24703 2013-05-06 Leo Liu <sdl.web@gmail.com>
24704
24705 * progmodes/octave.el (octave-syntax-propertize-function): Change
24706 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24707 (octave-font-lock-keywords): Use octave-operator-regexp.
24708 (octave-completion-at-point): Rename from
24709 octave-completion-at-point-function.
24710 (inferior-octave-directory-tracker): Robustify.
24711 (octave-text-functions): Remove and fix its uses. No such things
24712 any more.
24713
24714 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24715
24716 * emacs-lisp/trace.el (trace--display-buffer): New function.
24717 (trace-make-advice): Use it.
24718
24719 2013-05-06 Juri Linkov <juri@jurta.org>
24720
24721 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24722 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24723 Doc fix.
24724 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24725 in the help string. (Bug#12985)
24726
24727 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24728
24729 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24730
24731 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24732
24733 * progmodes/perl-mode.el: Add support for here documents.
24734 (perl-syntax-propertize-function): Match here-doc markers.
24735 (perl-syntax-propertize-special-constructs): Find their end.
24736 (perl-imenu-generic-expression): Use [:alnum:].
24737
24738 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24739 (advice--add-function): Refresh the advice if already present
24740 (bug#14317).
24741
24742 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24743
24744 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24745
24746 2013-05-06 Glenn Morris <rgm@gnu.org>
24747
24748 * w32-fns.el (w32-charset-info-alist): Declare.
24749
24750 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24751 of its defcustom properties.
24752 (eshell-cmpl-initialize): No need to load pcomplete.
24753
24754 * generic-x.el: No need to require comint when compiling.
24755
24756 * net/eudc-export.el: Make it loadable without bbdb.
24757 (top-level): Use require rather than load-library.
24758 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24759 (eudc-batch-export-records-to-bbdb)
24760 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24761 Require bbdb.
24762
24763 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24764
24765 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24766 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24767 some tweaks, instead.
24768
24769 2013-05-05 Leo Liu <sdl.web@gmail.com>
24770
24771 * progmodes/octave.el (octave-font-lock-keywords)
24772 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24773 (inferior-octave-send-list-and-digest): Improve error message.
24774 (octave-mode, inferior-octave-mode): Use setq-local.
24775 (octave-help): Set info-lookup-mode.
24776
24777 2013-05-05 Richard Stallman <rms@gnu.org>
24778
24779 * vc/compare-w.el (compare-windows-whitespace):
24780 Treat no-break space as whitespace.
24781
24782 * mail/rmailsum.el (rmail-summary-rmail-update):
24783 Detect empty summary and don't change selected message.
24784 (rmail-summary-goto-msg): Likewise.
24785
24786 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24787 Doc fixes, rename args.
24788
24789 2013-05-05 Alan Mackenzie <acm@muc.de>
24790
24791 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24792
24793 2013-05-05 Juri Linkov <juri@jurta.org>
24794
24795 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24796 to not add the length of the summary segment to the return value.
24797 (Bug#14125)
24798
24799 2013-05-05 Leo Liu <sdl.web@gmail.com>
24800
24801 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24802 (inferior-octave-output-filter): Remove.
24803 (octave-send-region, inferior-octave-startup): Fix callers.
24804 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24805 (octave-binary-file-extensions): New user variable.
24806 (octave-find-definition): Confirm if opening binary files.
24807 (octave-help-file): Use octave-find-definition to get the binary
24808 confirmation.
24809 (octave-help): Adjust for octave-help-file change.
24810
24811 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24812
24813 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24814 Merge the two entries that handle function definitions.
24815 (pascal--syntax-propertize): New const.
24816 (pascal-mode): Use it. Use setq-local.
24817
24818 2013-05-04 Glenn Morris <rgm@gnu.org>
24819
24820 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24821 (diary-from-outlook): Respect diary-from-outlook-function.
24822
24823 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24824
24825 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24826 Move the declaration from C.
24827 (read-minibuffer, eval-minibuffer): Move from C.
24828 (completion-setup-function): Avoid minibuffer-completion-contents.
24829
24830 2013-05-03 Leo Liu <sdl.web@gmail.com>
24831
24832 * progmodes/octave.el (octave-font-lock-keywords): Do not
24833 dehighlight 'end' in comments or strings.
24834 (octave-completing-read, octave-goto-function-definition):
24835 New helpers.
24836 (octave-help-buffer): New user variable.
24837 (octave-help-file, octave-help-function): New button types.
24838 (octave-help): New command and bind it to C-h ;.
24839 (octave-find-definition): New command and bind it to M-.
24840 (user-error): Alias to error if not defined.
24841
24842 2013-05-02 Leo Liu <sdl.web@gmail.com>
24843
24844 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24845 for \. (bug#14332)
24846 (octave-font-lock-keywords): Include [ and {.
24847
24848 2013-05-02 Leo Liu <sdl.web@gmail.com>
24849
24850 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24851 (inferior-octave): Remove calling comint-mode and return the buffer.
24852 (inferior-octave-startup): Cosmetic changes.
24853
24854 2013-05-02 Leo Liu <sdl.web@gmail.com>
24855
24856 * progmodes/octave.el (octave-syntax-propertize-function):
24857 Include the case when ' is at line beginning. (Bug#14336)
24858
24859 2013-05-02 Glenn Morris <rgm@gnu.org>
24860
24861 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24862 * desktop.el (vc-dir-mode): Just autoload it here.
24863
24864 2013-05-02 Alan Mackenzie <acm@muc.de>
24865
24866 Eliminate variable c-standard-font-lock-fontify-region-function.
24867 * progmodes/cc-mode.el
24868 (c-standard-font-lock-fontify-region-function): Remove.
24869 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24870
24871 2013-05-01 Leo Liu <sdl.web@gmail.com>
24872
24873 * progmodes/octave.el: Compatible with older emacs-24 releases.
24874 (inferior-octave-has-built-in-variables): Remove. Built-in
24875 variables were removed from Octave in 2007.
24876 (inferior-octave-startup): Fix uses.
24877 (comint-line-beginning-position): Remove compatibility code for
24878 emacs 21.
24879
24880 2013-05-01 Juri Linkov <juri@jurta.org>
24881
24882 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24883
24884 2013-05-01 Juri Linkov <juri@jurta.org>
24885
24886 * comint.el (comint-previous-matching-input): Don't print message
24887 "History item: %d" when `isearch-mode' is active.
24888 (comint-history-isearch-message): Print message "History item: %d"
24889 when `comint-input-ring-index' is not empty and this function is
24890 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24891
24892 2013-05-01 Leo Liu <sdl.web@gmail.com>
24893
24894 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24895 definitions. Use completion-at-point to insert keywords.
24896 (octave-abbrev-start): Remove.
24897 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24898
24899 2013-04-30 Leo Liu <sdl.web@gmail.com>
24900
24901 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24902 change.
24903
24904 2013-04-30 Alan Mackenzie <acm@muc.de>
24905
24906 Handle arbitrarily long C++ member initialization lists.
24907 * progmodes/cc-engine.el (c-back-over-member-initializers):
24908 new function.
24909 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24910 (most) member init lists.
24911
24912 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24913
24914 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24915 variable.
24916
24917 2013-04-30 Leo Liu <sdl.web@gmail.com>
24918
24919 * progmodes/octave.el (octave-variables): Remove. No builtin
24920 variables any more. All converted to functions.
24921 (octave-font-lock-keywords, octave-completion-at-point-function):
24922 Fix uses.
24923 (octave-font-lock-texinfo-comment): New user variable.
24924 (octave-texinfo-font-lock-keywords): New variable for texinfo
24925 comment block.
24926 (octave-function-comment-block): New face.
24927 (octave-font-lock-texinfo-comment): New function.
24928 (octave-mode): Font lock texinfo comment block.
24929
24930 2013-04-29 Leo Liu <sdl.web@gmail.com>
24931
24932 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24933 indexing expression.
24934 (octave-continuation-string): Do not use \.
24935 (inferior-octave-complete-impossible): Remove.
24936 (inferior-octave-completion-table)
24937 (inferior-octave-completion-at-point): Remove its uses.
24938 (inferior-octave-startup): completion_matches was introduced to
24939 Octave in 1996 so safe to assume it.
24940 (octave-function-file-comment): Improve to follow how Octave does it.
24941 (octave-update-function-file-comment): Tweak.
24942
24943 2013-04-29 Leo Liu <sdl.web@gmail.com>
24944
24945 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24946 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24947 (octave-function-file-comment): Fix typo.
24948 (octave-sync-function-file-names): Use read-char-choice.
24949
24950 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24951
24952 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24953 to t for the less important warnings.
24954
24955 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24956
24957 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24958
24959 2013-04-27 Glenn Morris <rgm@gnu.org>
24960
24961 * vc/log-view.el (log-view-current-entry):
24962 Treat "---" separator lines as part of the following rev. (Bug#14169)
24963
24964 2013-04-27 Juri Linkov <juri@jurta.org>
24965
24966 * subr.el (read-number): Doc fix about using it by interactive
24967 code letter `n'. (Bug#14254)
24968
24969 2013-04-27 Juri Linkov <juri@jurta.org>
24970
24971 * desktop.el (desktop-auto-save-timeout): New option.
24972 (desktop-file-checksum): New variable.
24973 (desktop-save): Add optional arg `auto-save' and don't auto-save
24974 if nothing changed.
24975 (desktop-auto-save-timer): New variable.
24976 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24977 (after-init-hook): Call `desktop-auto-save-set-timer'.
24978 Suggested by Reuben Thomas <rrt@sc3d.org> in
24979 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24980
24981 2013-04-27 Leo Liu <sdl.web@gmail.com>
24982
24983 * progmodes/octave.el (octave-function-file-p)
24984 (octave-skip-comment-forward, octave-function-file-comment)
24985 (octave-update-function-file-comment): New functions.
24986 (octave-mode-map): Bind C-c ; to
24987 octave-update-function-file-comment.
24988 (octave-mode-menu): Add octave-update-function-file-comment.
24989 (octave-mode, inferior-octave-mode): Fix doc-string.
24990 (octave-insert-defun): Conform to Octave's coding convention.
24991 (Bug#14285)
24992
24993 * files.el (basic-save-buffer): Don't let errors in
24994 before-save-hook prevent saving buffer.
24995
24996 2013-04-20 Roland Winkler <winkler@gnu.org>
24997
24998 * faces.el (read-face-name): Use completing-read if arg multiple
24999 is nil.
25000
25001 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
25002
25003 * ls-lisp.el (ls-lisp-insert-directory): If no files are
25004 displayed, move point to after the totals line.
25005 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
25006 for the details.
25007
25008 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
25009
25010 * emacs-lisp/package.el (package-autoload-ensure-default-file):
25011 Add current dir to the load-path.
25012 (package-generate-autoloads): Don't rely on
25013 autoload-ensure-default-file.
25014
25015 2013-04-26 Reuben Thomas <rrt@sc3d.org>
25016
25017 * textmodes/remember.el (remember-store-in-files): Document that
25018 the file name format is passed to `format-time-string'.
25019
25020 2013-04-26 Leo Liu <sdl.web@gmail.com>
25021
25022 * progmodes/octave.el (octave-sync-function-file-names): New function.
25023 (octave-mode): Use it in before-save-hook.
25024
25025 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
25026
25027 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
25028 (bug#14274).
25029
25030 * progmodes/octave.el (octave-smie-forward-token): Properly skip
25031 \n and comment, even if it's not an implicit ; (bug#14218).
25032
25033 2013-04-26 Glenn Morris <rgm@gnu.org>
25034
25035 * subr.el (read-number): Once more use `read' rather than
25036 `string-to-number', to trap non-numeric input. (Bug#14254)
25037
25038 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
25039
25040 * emacs-lisp/syntax.el (syntax-propertize-multiline):
25041 Use `syntax-multiline' text property consistently instead of
25042 `font-lock-multiline'. (Bug#14237)
25043
25044 2013-04-26 Glenn Morris <rgm@gnu.org>
25045
25046 * emacs-lisp/shadow.el (list-load-path-shadows):
25047 No longer necessary to check for duplicate simple.el, since
25048 2012-07-07 change to init_lread to not include installation lisp
25049 directories in load-path when running uninstalled. (Bug#14270)
25050
25051 2013-04-26 Leo Liu <sdl.web@gmail.com>
25052
25053 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
25054 (octave-mode, inferior-octave-mode): Use setq-local.
25055 (octave-not-in-string-or-comment-p): Rename to
25056 octave-in-string-or-comment-p.
25057 (octave-in-comment-p, octave-in-string-p)
25058 (octave-in-string-or-comment-p): Replace defsubst with defun.
25059
25060 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
25061
25062 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
25063
25064 2013-04-25 Bastien Guerry <bzg@gnu.org>
25065
25066 * textmodes/remember.el (remember-data-directory)
25067 (remember-directory-file-name-format): Fix custom types.
25068
25069 2013-04-25 Leo Liu <sdl.web@gmail.com>
25070
25071 * progmodes/octave.el (octave-completion-at-point-function):
25072 Make use of inferior octave process.
25073 (octave-initialize-completions): Remove.
25074 (inferior-octave-completion-table): New function.
25075 (inferior-octave-completion-at-point): Use it.
25076 (octave-completion-alist): Remove.
25077
25078 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25079
25080 * progmodes/opascal.el: Use font-lock and syntax-propertize.
25081 (opascal-mode-syntax-table): New var.
25082 (opascal-literal-kind, opascal-is-literal-end)
25083 (opascal-literal-token-at): Rewrite.
25084 (opascal--literal-start-re, opascal-font-lock-keywords)
25085 (opascal--syntax-propertize): New constants.
25086 (opascal-font-lock-defaults): Adjust.
25087 (opascal-mode): Use them. Set comment-<foo> variables as well.
25088 (delphi-comment-face, opascal-comment-face, delphi-string-face)
25089 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
25090 (delphi-other-face, opascal-other-face): Remove face variables.
25091 (opascal-save-state): Remove macro.
25092 (opascal-fontifying-progress-step): Remove constant.
25093 (opascal--ignore-changes): Remove var.
25094 (opascal-set-token-property, opascal-parse-next-literal)
25095 (opascal-is-stable-literal, opascal-complete-literal)
25096 (opascal-is-literal-start, opascal-face-of)
25097 (opascal-parse-region, opascal-parse-region-until-stable)
25098 (opascal-fontify-region, opascal-after-change)
25099 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
25100 (opascal-debug-parse-region, opascal-debug-parse-window)
25101 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
25102 (opascal-debug-fontify-buffer): Remove.
25103 (opascal-debug-mode-map): Adjust accordingly.
25104
25105 2013-04-25 Leo Liu <sdl.web@gmail.com>
25106
25107 Merge octave-mod.el and octave-inf.el into octave.el with some
25108 cleanups.
25109 * progmodes/octave.el: New file renamed from octave-mod.el.
25110 * progmodes/octave-inf.el: Merged into octave.el.
25111 * progmodes/octave-mod.el: Renamed to octave.el.
25112
25113 2013-04-25 Tassilo Horn <tsdh@gnu.org>
25114
25115 * textmodes/reftex-vars.el
25116 (reftex-label-ignored-macros-and-environments): New defcustom.
25117
25118 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
25119
25120 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25121
25122 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
25123 (smie-indent-keyword): Improve the check to ensure that the next
25124 comment is really on the same line.
25125 (smie-indent-comment): Don't align with a subsequent closer (or eob).
25126
25127 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
25128 semi-colons if the line is not otherwise empty (bug#14218).
25129
25130 2013-04-25 Glenn Morris <rgm@gnu.org>
25131
25132 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
25133
25134 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
25135
25136 * progmodes/opascal.el (opascal-set-token-property): Rename from
25137 opascal-set-text-properties and only set `token' (bug#14134).
25138 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
25139 (opascal-literal-text-properties): Remove.
25140 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
25141 Adjust callers.
25142
25143 2013-04-24 Reuben Thomas <rrt@sc3d.org>
25144
25145 * textmodes/remember.el (remember-handler-functions): Add an
25146 option for a new handler `remember-store-in-files'.
25147 (remember-data-directory, remember-directory-file-name-format):
25148 New options.
25149 (remember-store-in-files): New function to store remember notes
25150 as separate files within a directory.
25151
25152 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
25153
25154 * progmodes/compile.el (compilation-next-error-function):
25155 Pass "formats" to compilation-find-file (bug#11777).
25156
25157 2013-04-24 Glenn Morris <rgm@gnu.org>
25158
25159 * vc/vc-bzr.el (vc-bzr-print-log):
25160 * vc/vc-hg.el (vc-hg-print-log):
25161 * vc/vc-svn.el (vc-svn-print-log):
25162 Fix START-REVISION with LIMIT != 1. (Bug#14168)
25163
25164 * vc/vc-bzr.el (vc-bzr-print-log):
25165 * vc/vc-cvs.el (vc-cvs-print-log):
25166 * vc/vc-git.el (vc-git-print-log):
25167 * vc/vc-hg.el (vc-hg-print-log):
25168 * vc/vc-mtn.el (vc-mtn-print-log):
25169 * vc/vc-rcs.el (vc-rcs-print-log):
25170 * vc/vc-sccs.el (vc-sccs-print-log):
25171 * vc/vc-svn.el (vc-svn-print-log):
25172 * vc/vc.el (vc-print-log-internal): Doc fixes.
25173
25174 2013-04-23 Glenn Morris <rgm@gnu.org>
25175
25176 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
25177 Remove venerable code attempting to avoid substitute-command-keys.
25178
25179 2013-04-23 Tassilo Horn <tsdh@gnu.org>
25180
25181 * textmodes/reftex-vars.el (reftex-label-regexps):
25182 Call `reftex-compile-variables' after changes to this variable.
25183
25184 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
25185
25186 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
25187 Use lexical-binding.
25188 (jit-lock-force-redisplay): Use markers, check buffer's continued
25189 existence and beware narrowed buffers.
25190 (jit-lock-fontify-now): Adjust call accordingly.
25191
25192 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
25193
25194 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
25195 to avoid misleading the user.
25196
25197 2013-04-22 Leo Liu <sdl.web@gmail.com>
25198
25199 * info-look.el: Prefer latex2e.info. (Bug#14240)
25200
25201 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
25202
25203 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
25204
25205 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
25206 * net/tramp.el (tramp-call-process): ... here.
25207 (tramp-set-completion-function, tramp-parse-putty):
25208 * net/tramp-adb.el (tramp-adb-execute-adb-command):
25209 * net/tramp-gvfs.el (tramp-gvfs-send-command):
25210 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
25211 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
25212 (tramp-call-local-coding-command): Use `tramp-call-process'
25213 instead of `tramp-compat-call-process'.
25214
25215 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
25216 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
25217 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
25218 (tramp-find-inline-compress): Improve traces.
25219 (tramp-maybe-send-script): Check for Perl binary.
25220 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
25221
25222 2013-04-22 Daiki Ueno <ueno@gnu.org>
25223
25224 * epg.el (epg-context-pinentry-mode): New function.
25225 (epg-context-set-pinentry-mode): New function.
25226 (epg--start): Pass --pinentry-mode option to gpg command.
25227
25228 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
25229
25230 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
25231 `comint-dynamic-complete' is obsolete since 24.1, replaced by
25232 `completion-at-point'. (Bug#13774)
25233
25234 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
25235 default key binding for `describe-distribution' has been moved to
25236 `C-h C-o'. (Bug#13970)
25237
25238 2013-04-21 Glenn Morris <rgm@gnu.org>
25239
25240 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
25241 Add doc strings.
25242 (vc-print-log): Clarify interactive prompt.
25243
25244 2013-04-20 Glenn Morris <rgm@gnu.org>
25245
25246 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
25247 No longer include timestamp etc information.
25248
25249 2013-04-20 Roland Winkler <winkler@gnu.org>
25250
25251 * faces.el (read-face-name): Bug fix, return just one face if arg
25252 multiple is nil. (Bug#14209)
25253
25254 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25255
25256 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
25257 (remove-function): Autoload.
25258
25259 * comint.el (comint-redirect-original-filter-function): Remove.
25260 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25261 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25262 (vc-cvs-annotate-command):
25263 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25264 * progmodes/prolog.el (prolog-consult-compile):
25265 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25266 Use add/remove-function instead.
25267 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25268 (gud-tooltip-process-output, gud-tooltip-tips):
25269 Use add/remove-function instead.
25270 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25271 (scheme-interaction-mode, exit-scheme-interaction-mode):
25272 Use add/remove-function instead.
25273
25274 * vc/vc-dispatcher.el: Use lexical-binding.
25275 (vc--process-sentinel): Rename from vc-process-sentinel.
25276 Change last arg to be the code to run. Don't use vc-previous-sentinel
25277 and vc-sentinel-commands any more.
25278 (vc-exec-after): Allow code to be a function. Use add/remove-function.
25279 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25280
25281 2013-04-19 Masatake YAMATO <yamato@redhat.com>
25282
25283 * progmodes/sh-script.el (sh-imenu-generic-expression):
25284 Handle function names with a single character. (Bug#14111)
25285
25286 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
25287
25288 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25289 for subroutines defined in an eval (bug#14182).
25290
25291 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25292
25293 * bookmark.el (bookmark-completing-read): Improve handling of empty
25294 string (bug#14176).
25295
25296 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25297
25298 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25299
25300 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
25301
25302 New faster Imenu implementation (bug#14058).
25303 * progmodes/python.el (python-imenu-prev-index-position)
25304 (python-imenu-format-item-label-function)
25305 (python-imenu-format-parent-item-label-function)
25306 (python-imenu-format-parent-item-jump-label-function):
25307 New vars.
25308 (python-imenu-format-item-label)
25309 (python-imenu-format-parent-item-label)
25310 (python-imenu-format-parent-item-jump-label)
25311 (python-imenu--put-parent, python-imenu--build-tree)
25312 (python-imenu-create-index, python-imenu-create-flat-index)
25313 (python-util-popn): New functions.
25314 (python-mode): Set imenu-create-index-function to
25315 python-imenu-create-index.
25316
25317 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25318
25319 * winner.el (winner-active-region): Use region-active-p, activate-mark
25320 and deactivate-mark (bug#14225).
25321
25322 * simple.el (deactivate-mark): Don't inline it.
25323
25324 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25325
25326 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25327
25328 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25329
25330 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25331 file extensions from the archive-mode entry in order to prefer
25332 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25333
25334 2013-04-18 Leo Liu <sdl.web@gmail.com>
25335
25336 * bindings.el (help-event-list): Add ?\?.
25337
25338 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25339
25340 * subr.el (with-wrapper-hook): Declare obsolete.
25341 * simple.el (filter-buffer-substring-function): New hook.
25342 (filter-buffer-substring): Use it.
25343 (filter-buffer-substring-functions): Mark obsolete.
25344 * minibuffer.el (completion-in-region-function): New hook.
25345 (completion-in-region): Use it.
25346 (completion-in-region-functions): Mark obsolete.
25347 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25348 * abbrev.el (abbrev-expand-function): New hook.
25349 (expand-abbrev): Use it.
25350 (abbrev-expand-functions): Mark obsolete.
25351 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25352 and :filter-return.
25353
25354 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25355
25356 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25357 and do not care about match data.
25358
25359 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25360
25361 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25362 completion tables when completing error conditions and
25363 `declare' arguments.
25364 (lisp-complete-symbol, field-complete): Mark as obsolete.
25365 (check-parens): Unmatched parens are user errors.
25366 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25367
25368 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25369
25370 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25371 command changed buffer (ie. `flyspell-pre-buffer' is not current
25372 buffer), which prevents making decisions based on invalid value of
25373 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25374 cause an error when `flyspell-pre-point' was nil after switching
25375 buffers.
25376 (flyspell-post-command-hook): No longer needs to change buffers when
25377 checking pre-word. While at it remove unnecessary progn.
25378
25379 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25380
25381 * textmodes/ispell.el (ispell-add-per-file-word-list):
25382 Fix `flyspell-correct-word-before-point' error when accepting
25383 words and `coment-padding' is an integer by using
25384 `comment-normalize-vars' (Bug #14214).
25385
25386 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25387
25388 New defun movement commands.
25389 * progmodes/python.el (python-nav--syntactically)
25390 (python-nav--forward-defun, python-nav-backward-defun)
25391 (python-nav-forward-defun): New functions.
25392
25393 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25394
25395 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25396 (python-syntax-context): Use named compiler-macro for backwards
25397 compatibility with Emacs 24.x.
25398
25399 2013-04-17 Leo Liu <sdl.web@gmail.com>
25400
25401 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25402 octave-hide-process-buffer.
25403
25404 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25405
25406 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25407 (bug#14216).
25408
25409 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25410
25411 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25412 Fix adjustment of offset when receiving incomplete responses from GDB
25413 (bug#14129).
25414
25415 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25416
25417 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25418 python-mode-abbrev-table.
25419 (python-skeleton-define): Adjust accordingly.
25420 (python-mode-abbrev-table): New table that inherits from it so that
25421 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25422
25423 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25424 (abbrev-symbol): Use it.
25425 (abbrev--before-point): Use it since we already handle inheritance.
25426
25427 2013-04-16 Leo Liu <sdl.web@gmail.com>
25428
25429 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25430 binding to info-lookup-symbol.
25431
25432 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25433
25434 * minibuffer.el (completion--twq-all):
25435 * term/ns-win.el (ns-initialize-window-system):
25436 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25437
25438 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25439
25440 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25441 global bindings.
25442
25443 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25444
25445 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25446
25447 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25448 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25449 to nil.
25450 (ruby-end-of-defun): Remove the unused arg, change the docstring
25451 to reflect that this function is only used as the value of
25452 `end-of-defun-function'.
25453 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25454 to reflect an earlier change that beginning/end-of-defun functions
25455 jump between methods in a class definition, as well as top-level
25456 functions.
25457
25458 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25459
25460 * minibuffer.el (minibuffer-complete): Don't just scroll
25461 a *Completions* that's been iconified.
25462 (minibuffer-force-complete): Make sure repetitions do cycle when going
25463 through completion-in-region -> minibuffer-complete.
25464
25465 2013-04-15 Alan Mackenzie <acm@muc.de>
25466
25467 Correct the placement of c-cpp-delimiters when there're #s not at
25468 col 0.
25469
25470 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25471 place a submatch around the #.
25472 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25473 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25474 on the #, not BOL.
25475
25476 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25477
25478 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25479 (advice--member-p): New arg `name'.
25480 (advice--add-function, advice-member-p): Use it (bug#14202).
25481
25482 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25483
25484 Reformulate java imenu-generic-expression.
25485 The old expression contained ill formed regexps.
25486
25487 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25488 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25489 (cc-imenu-java-method-arg-regexp): New defconsts.
25490 (cc-imenu-java-build-type-args-regex): New defun.
25491 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25492 handling of spaces in the regexp.
25493
25494 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25495
25496 * textmodes/ispell.el (ispell-command-loop): Remove
25497 flyspell highlight of a word when ispell accepts it (bug #14178).
25498
25499 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25500
25501 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25502 uses code from the previous `ange-ftp-run-real-handler'.
25503 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25504 only in case that function exist. This is needed for proper
25505 unloading of Tramp.
25506
25507 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25508
25509 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25510
25511 * textmodes/reftex.el (reftex-compile-variables): Use it.
25512
25513 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25514
25515 * files.el (normal-mode): Only use default major-mode if no other mode
25516 was specified.
25517
25518 * emacs-lisp/trace.el (trace-values): New function.
25519
25520 * files.el: Allow : in local variables (bug#14089).
25521 (hack-local-variable-regexp): New var.
25522 (hack-local-variables-prop-line, hack-local-variables): Use it.
25523
25524 2013-04-13 Roland Winkler <winkler@gnu.org>
25525
25526 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25527 data before it gets modified by bibtex-beginning-of-entry.
25528
25529 2013-04-13 Roland Winkler <winkler@gnu.org>
25530
25531 * textmodes/bibtex.el (bibtex-url): Doc fix.
25532
25533 2013-04-13 Roland Winkler <winkler@gnu.org>
25534
25535 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25536 does not visit a BibTeX file, exclude it from the list of buffers
25537 returned by bibtex-initialize.
25538
25539 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25540
25541 * window.el (split-window): Remove interactive form, since as a
25542 command this function is a special case of split-window-below.
25543 Correct doc string.
25544
25545 2013-04-12 Roland Winkler <winkler@gnu.org>
25546
25547 * faces.el (read-face-name): Do not override value of arg default.
25548 Allow single faces and strings as default values. Remove those
25549 elements from return value that are not faces.
25550 (describe-face): Simplify.
25551 (face-at-point): New optional args thing and multiple so that this
25552 function can provide the same functionality previously provided by
25553 read-face-name.
25554 (make-face-bold, make-face-unbold, make-face-italic)
25555 (make-face-unitalic, make-face-bold-italic, invert-face)
25556 (modify-face, read-face-and-attribute): Use face-at-point.
25557
25558 * cus-edit.el (customize-face, customize-face-other-window)
25559 * cus-theme.el (custom-theme-add-face)
25560 * face-remap.el (buffer-face-set)
25561 * facemenu.el (facemenu-set-face): Use face-at-point.
25562
25563 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25564
25565 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25566
25567 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25568
25569 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25570 off leading { and trailing } from field values.
25571
25572 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25573
25574 * emacs-lisp/timer.el (timer--check): New function.
25575 (timer--time, timer-set-function, timer-event-handler): Use it.
25576 (timer-set-idle-time): Simplify.
25577 (timer--activate): CSE.
25578 (timer-event-handler): Give more info in error message.
25579 (internal-timer-start-idle): New function, moved from C.
25580
25581 * mpc.el (mpc-proc): Add `restart' argument.
25582 (mpc-proc-cmd): Use it.
25583 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25584 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25585 less often.
25586
25587 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25588
25589 * progmodes/sh-script.el: Implement `sh-mode' own
25590 `add-log-current-defun-function' (bug#14112).
25591 (sh-current-defun-name): New function.
25592 (sh-mode): Use the function.
25593
25594 2013-04-09 Bastien Guerry <bzg@gnu.org>
25595
25596 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25597
25598 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25599
25600 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25601
25602 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25603 timer (bug#14156).
25604
25605 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25606
25607 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25608 declaration.
25609
25610 2013-04-07 Leo Liu <sdl.web@gmail.com>
25611
25612 * pcmpl-x.el: New file.
25613
25614 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25615
25616 Do not set x-display-name until X connection is established.
25617 This is needed to prevent from weird situation described at
25618 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25619 * frame.el (make-frame): Set x-display-name after call to
25620 window system initialization function, not before.
25621 * term/x-win.el (x-initialize-window-system): Add optional
25622 display argument and use it.
25623 * term/w32-win.el (w32-initialize-window-system):
25624 * term/ns-win.el (ns-initialize-window-system):
25625 * term/pc-win.el (msdos-initialize-window-system):
25626 Add compatible optional display argument.
25627
25628 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25629
25630 * files.el (normal-backup-enable-predicate): On MS-Windows and
25631 MS-DOS compare truenames of temporary-file-directory and of the
25632 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25633 don't fail comparison by compare-strings. Also, compare file
25634 names case-insensitively on MS-Windows and MS-DOS.
25635
25636 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25637
25638 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25639 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25640
25641 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25642
25643 * whitespace.el (whitespace-color-on, whitespace-color-off):
25644 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25645
25646 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25647
25648 * ispell.el (ispell-set-spellchecker-params):
25649 Really set `ispell-args' for all equivs.
25650
25651 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25652
25653 * ido.el (ido-completions): Use extra elements of ido-decorations
25654 (bug#14143).
25655 (ido-decorations): Update docstring.
25656
25657 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25658
25659 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25660 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25661 nil during initialization, in order not to miss changes since the
25662 file was opened. (Bug#14140)
25663
25664 2013-04-05 Leo Liu <sdl.web@gmail.com>
25665
25666 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25667
25668 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25669
25670 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25671
25672 2013-04-04 Glenn Morris <rgm@gnu.org>
25673
25674 * electric.el (electric-pair-inhibit-predicate): Add :version.
25675
25676 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25677
25678 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25679 when a package is required several times (bug#14082).
25680
25681 2013-04-04 Roland Winkler <winkler@gnu.org>
25682
25683 * faces.el (read-face-name): Behave as promised by the docstring.
25684 Assume that arg default is a list of faces.
25685 (describe-face): Call read-face-name with list of default faces.
25686
25687 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25688
25689 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25690 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25691 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25692 the header.
25693 (bookmark-exit-hook-internal): Save even if list is empty.
25694
25695 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25696
25697 * emacs-lisp/package.el (package-pinned-packages): New var.
25698 (package--add-to-archive-contents): Obey it (bug#14118).
25699
25700 2013-04-03 Alan Mackenzie <acm@muc.de>
25701
25702 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25703 Also adapt to the new values of element 7 of a parse state.
25704
25705 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25706 parameter `not-in-delimiter'. Handle being inside comment opener.
25707 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25708 character in case we're typing a '*' after a '/'.
25709 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25710 instead by passing the parameter to c-state-pp-to-literal.
25711
25712 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25713 for elt. 7 of a parse state.
25714
25715 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25716
25717 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25718 * international/latin1-disp.el, international/mule-util.el:
25719 * language/cyril-util.el, language/european.el, language/ind-util.el:
25720 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25721 * language/tibetan.el, language/viet-util.el:
25722 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25723
25724 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25725
25726 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25727 (electric-pair-post-self-insert-function): Use it.
25728 (electric-pair-default-inhibit): New function, extracted from
25729 electric-pair-post-self-insert-function.
25730
25731 2013-03-31 Roland Winkler <winkler@gnu.org>
25732
25733 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25734
25735 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25736
25737 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25738
25739 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25740
25741 Un-indent after "pass" and "return" statements (Bug#13888)
25742 * progmodes/python.el (python-indent-block-enders): New var.
25743 (python-indent-calculate-indentation): Use it.
25744
25745 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25746
25747 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25748 defun. Defining it as defalias could introduce too eager
25749 byte-compiler optimization. (Bug#14030)
25750
25751 2013-03-30 Chong Yidong <cyd@gnu.org>
25752
25753 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25754
25755 2013-03-30 Leo Liu <sdl.web@gmail.com>
25756
25757 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25758 (kmacro-execute-from-register): Pass the keyboard macro to
25759 kmacro-call-macro or repeating won't work correctly.
25760
25761 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25762
25763 * progmodes/subword.el: Back to using `forward-symbol'.
25764
25765 * subr.el (forward-whitespace, forward-symbol)
25766 (forward-same-syntax): Move from thingatpt.el.
25767
25768 2013-03-29 Leo Liu <sdl.web@gmail.com>
25769
25770 * kmacro.el (kmacro-to-register): New command.
25771 (kmacro-execute-from-register): New function.
25772 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25773
25774 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25775
25776 * mpc.el: Use defvar-local and setq-local.
25777 (mpc--proc-connect): Connection failures are not bugs.
25778 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25779 (mpc-volume-map): Bind to the up-events.
25780
25781 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25782
25783 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25784 instead of `forward-symbol'.
25785
25786 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25787
25788 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25789 (edebug--recursive-edit): Use it.
25790 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25791 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25792
25793 2013-03-28 Leo Liu <sdl.web@gmail.com>
25794
25795 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25796
25797 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25798
25799 * facemenu.el (list-colors-callback): New defvar.
25800 (list-colors-redisplay): New function.
25801 (list-colors-display): Install list-colors-redisplay as the
25802 revert-buffer-function. (Bug#14063)
25803
25804 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25805
25806 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25807 and suffixes don't overlap (bug#14061).
25808
25809 * case-table.el: Use lexical-binding.
25810 (case-table-get-table): New function.
25811 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25812
25813 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25814
25815 * progmodes/subword.el: Add `superword-mode' to do word motion
25816 over symbol_words (parallels and leverages `subword-mode' which
25817 does word motion inside MixedCaseWords).
25818
25819 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25820
25821 * eshell/em-unix.el: Move su and sudo to...
25822 * eshell/em-tramp.el: ...Eshell tramp module.
25823
25824 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25825
25826 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25827 Change return value to be a sexp. Delay `get-buffer' to after
25828 restoring the desktop (bug#13951).
25829
25830 2013-03-26 Leo Liu <sdl.web@gmail.com>
25831
25832 * register.el: Move semantic tag handling back to
25833 cedet/semantic/senator.el. (Bug#14052)
25834
25835 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25836
25837 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25838 into the prompt either (bug#13963).
25839
25840 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25841
25842 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25843 part of "(error-foo)".
25844
25845 2013-03-24 Juri Linkov <juri@jurta.org>
25846
25847 * replace.el (list-matching-lines-prefix-face): New defcustom.
25848 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25849 `occur-engine' if `face-differs-from-default-p' returns t.
25850 (occur-engine): Add `,' inside backquote construct to evaluate
25851 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25852 Pass `prefix-face' to the functions `occur-context-lines' and
25853 `occur-engine-add-prefix'.
25854 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25855 `prefix-face' and propertize the prefix with `prefix-face'.
25856 (Bug#14017)
25857
25858 2013-03-24 Leo Liu <sdl.web@gmail.com>
25859
25860 * nxml/rng-valid.el (rng-validate-while-idle)
25861 (rng-validate-quick-while-idle): Guard against deleted buffer.
25862 (Bug#13999)
25863
25864 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25865 is the last entry in kill-buffer-hook.
25866
25867 * files.el (kill-buffer-hook): Doc fix.
25868
25869 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25870
25871 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25872 Make it safe-local.
25873
25874 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25875
25876 2013-03-23 Leo Liu <sdl.web@gmail.com>
25877
25878 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25879 Remove.
25880
25881 * nxml/rng-valid.el (rng-validate-mode)
25882 (rng-after-change-function, rng-do-some-validation):
25883 * nxml/rng-maint.el (rng-validate-buffer):
25884 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25885 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25886 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25887 (nxml-extend-after-change-region): Use with-silent-modifications.
25888
25889 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25890 timer-idle-list.
25891
25892 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25893 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25894 timer-idle-list. (Bug#13999)
25895
25896 2013-03-23 Juri Linkov <juri@jurta.org>
25897
25898 * info.el (info-index-match): New face.
25899 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25900 main pattern and add text properties with the new face to matches
25901 in index entries relative to the beginning of the index entry.
25902 (Bug#14015)
25903
25904 2013-03-21 Eric Ludlam <zappo@gnu.org>
25905
25906 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25907 Inhibit read only while inserting objects.
25908
25909 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25910
25911 * progmodes/cfengine.el: Update docs to mention
25912 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25913 symbol motion. Remove "_" from the word syntax.
25914
25915 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25916
25917 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25918 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25919
25920 2013-03-20 Juri Linkov <juri@jurta.org>
25921
25922 * info.el (Info-next-reference-or-link)
25923 (Info-prev-reference-or-link): New functions.
25924 (Info-next-reference, Info-prev-reference): Use them.
25925 (Info-try-follow-nearest-node): Handle footnote navigation.
25926 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25927
25928 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25929
25930 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25931 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25932
25933 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25934
25935 Suppress unnecessary non-ASCII chatter during build process.
25936 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25937 (batch-skkdic-convert): Suppress most of the chatter.
25938 It's not needed so much now that machines are faster,
25939 and its non-ASCII component was confusing; see Dmitry Gutov in
25940 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25941
25942 2013-03-20 Leo Liu <sdl.web@gmail.com>
25943
25944 * ido.el (ido-chop): Fix bug#10994.
25945
25946 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25947
25948 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25949 Remove vars.
25950 (whitespace-color-on, whitespace-color-off):
25951 Use `font-lock-fontify-buffer' (Bug#13817).
25952
25953 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25954
25955 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25956 remapping in mode-line.
25957 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25958
25959 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25960
25961 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25962 value for `whitespace-line' face (Bug#13875).
25963 (whitespace-font-lock-keywords): Change description.
25964 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25965 the constructed keywords instead.
25966 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25967
25968 2013-03-19 Leo Liu <sdl.web@gmail.com>
25969
25970 * progmodes/compile.el (compilation-display-error): New command.
25971 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25972 C-o. (Bug#13992)
25973
25974 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25975
25976 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25977
25978 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25979
25980 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25981
25982 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25983
25984 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25985
25986 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25987 * net/tramp-gvfs.el (top):
25988 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25989 (tramp-handle-shell-command): Use it.
25990 (tramp-dissect-file-name): Raise an error when hostname is a
25991 method name, and neither method nor user is specified.
25992
25993 * net/trampver.el: Update release number.
25994
25995 2013-03-18 Leo Liu <sdl.web@gmail.com>
25996
25997 Make sure eldoc can be turned off properly.
25998 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25999 eldoc-mode.
26000 (eldoc-display-message-p): Revert last change.
26001 (eldoc-display-message-no-interference-p)
26002 (eldoc-print-current-symbol-info): Tweak.
26003
26004 2013-03-18 Tassilo Horn <tsdh@gnu.org>
26005
26006 * doc-view.el (doc-view-new-window-function): Check the new window
26007 overlay's display property instead the char property of the
26008 buffer's first char. Use `with-selected-window' instead of
26009 `save-window-excursion' with `select-window'.
26010 (doc-view-document->bitmap): Check the current doc-view overlay's
26011 display property instead the char property of the buffer's first char.
26012
26013 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
26014
26015 Automate the build of ja-dic.el (Bug#13984).
26016 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
26017 from the input, rather than assume that it's been done for us by the
26018 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
26019 the current date into a ja-dic.el comment, as that complicates
26020 regression testing.
26021
26022 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26023
26024 * whitespace.el: Fix double evaluation.
26025 (whitespace-space, whitespace-hspace, whitespace-tab)
26026 (whitespace-newline, whitespace-trailing, whitespace-line)
26027 (whitespace-space-before-tab, whitespace-indentation)
26028 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
26029 obsolete defvars.
26030 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
26031 (whitespace-color-on): Use a single font-lock-add-keywords call.
26032 Fix double-evaluation of face variables.
26033
26034 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
26035
26036 * net/tramp-adb.el (tramp-adb-parse-device-names):
26037 Use `start-process' instead of `call-process'. Otherwise, the
26038 function might be blocked under MS Windows. (Bug#13299)
26039
26040 2013-03-17 Leo Liu <sdl.web@gmail.com>
26041
26042 Extend eldoc to display info in the mode-line. (Bug#13978)
26043 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
26044 (eldoc-mode-line-string): New variable.
26045 (eldoc-minibuffer-message): New function.
26046 (eldoc-message-function): New variable.
26047 (eldoc-message): Use it.
26048 (eldoc-display-message-p)
26049 (eldoc-display-message-no-interference-p):
26050 Support eldoc-post-insert-mode.
26051
26052 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
26053 (eval-expression): Run it.
26054
26055 2013-03-17 Roland Winkler <winkler@gnu.org>
26056
26057 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
26058 strings in the list of return values.
26059
26060 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26061
26062 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
26063 radix before checking for HMS forms.
26064
26065 2013-03-16 Leo Liu <sdl.web@gmail.com>
26066
26067 * progmodes/scheme.el: Add indentation and font-locking for λ.
26068 (Bug#13975)
26069
26070 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
26071
26072 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
26073 token before point (bug#13942).
26074
26075 2013-03-16 Leo Liu <sdl.web@gmail.com>
26076
26077 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
26078
26079 2013-03-16 Eli Zaretskii <eliz@gnu.org>
26080
26081 * startup.el (command-line-normalize-file-name): Fix handling of
26082 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
26083 <xfq.free@gmail.com> in
26084 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
26085
26086 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
26087
26088 Sync with Tramp 2.2.7.
26089
26090 * net/trampver.el: Update release number.
26091
26092 2013-03-14 Tassilo Horn <tsdh@gnu.org>
26093
26094 * doc-view.el: Fix bug#13887.
26095 (doc-view-insert-image): Don't modify overlay associated to
26096 non-live windows, and implement horizontal centering of image in
26097 case it's smaller than the window.
26098 (doc-view-new-window-function): Force redisplay of new windows on
26099 doc-view buffers.
26100
26101 2013-03-13 Karl Fogel <kfogel@red-bean.com>
26102
26103 * saveplace.el (save-place-alist-to-file): Don't sort
26104 `save-place-alist', just pretty-print it (bug#13882).
26105
26106 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
26107
26108 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
26109 Check whether `default-file-name-coding-system' is bound.
26110 It isn't in XEmacs.
26111
26112 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
26113
26114 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
26115 backquotes for `obsolete' (bug#13929).
26116
26117 * international/mule.el (find-auto-coding): Include file name in
26118 obsolescence warning (bug#13922).
26119
26120 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
26121
26122 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
26123 for CFEngine 3-specific indentation.
26124 (cfengine3-indent-line): Use it. Fix up category regex.
26125 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
26126
26127 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26128
26129 * type-break.el (type-break-file-name):
26130 * textmodes/remember.el (remember-data-file):
26131 * strokes.el (strokes-file):
26132 * shadowfile.el (shadow-initialize):
26133 * saveplace.el (save-place-file):
26134 * ps-bdf.el (bdf-cache-file):
26135 * progmodes/idlwave.el (idlwave-config-directory):
26136 * net/quickurl.el (quickurl-url-file):
26137 * international/kkc.el (kkc-init-file-name):
26138 * ido.el (ido-save-directory-list-file):
26139 * emulation/viper.el (viper-custom-file-name):
26140 * emulation/vip.el (vip-startup-file):
26141 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
26142 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
26143
26144 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
26145
26146 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
26147 * language/thai-word.el: Switch to UTF-8.
26148
26149 See ChangeLog.16 for earlier changes.
26150
26151 ;; Local Variables:
26152 ;; coding: utf-8
26153 ;; End:
26154
26155 Copyright (C) 2011-2015 Free Software Foundation, Inc.
26156
26157 This file is part of GNU Emacs.
26158
26159 GNU Emacs is free software: you can redistribute it and/or modify
26160 it under the terms of the GNU General Public License as published by
26161 the Free Software Foundation, either version 3 of the License, or
26162 (at your option) any later version.
26163
26164 GNU Emacs is distributed in the hope that it will be useful,
26165 but WITHOUT ANY WARRANTY; without even the implied warranty of
26166 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26167 GNU General Public License for more details.
26168
26169 You should have received a copy of the GNU General Public License
26170 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.